€•ºWŒsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ;/translations/zh_CN/userspace-api/media/v4l/vidioc-querybuf”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ;/translations/zh_TW/userspace-api/media/v4l/vidioc-querybuf”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ;/translations/it_IT/userspace-api/media/v4l/vidioc-querybuf”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ;/translations/ja_JP/userspace-api/media/v4l/vidioc-querybuf”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ;/translations/ko_KR/userspace-api/media/v4l/vidioc-querybuf”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ;/translations/pt_BR/userspace-api/media/v4l/vidioc-querybuf”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ;/translations/sp_SP/userspace-api/media/v4l/vidioc-querybuf”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)”}”(hŒ8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later”h]”hŒ8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later”…””}”hh·sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1hµhhh²hh³ŒU/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/vidioc-querybuf.rst”h´KubhŒtarget”“”)”}”(hŒ.. _VIDIOC_QUERYBUF:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œvidioc-querybuf”uh1hÈh´Khhh²hh³hÇubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒioctl VIDIOC_QUERYBUF”h]”hŒioctl VIDIOC_QUERYBUF”…””}”(hhÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒName”h]”hŒName”…””}”(hhîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhhëh²hh³hÇh´K ubhŒ paragraph”“”)”}”(hŒ.VIDIOC_QUERYBUF - Query the status of a buffer”h]”hŒ.VIDIOC_QUERYBUF - Query the status of a buffer”…””}”(hhþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K hhëh²hubeh}”(h]”Œname”ah ]”h"]”Œname”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K ubh×)”}”(hhh]”(hÜ)”}”(hŒSynopsis”h]”hŒSynopsis”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjh²hh³hÇh´KubhŒindex”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(Œsingle”ŒV4L.VIDIOC_QUERYBUF (C macro)”Œc.V4L.VIDIOC_QUERYBUF”hNt”auh1j%hjh²hh³Nh´NubhŒdesc”“”)”}”(hhh]”(hŒdesc_signature”“”)”}”(hŒVIDIOC_QUERYBUF”h]”hŒdesc_signature_line”“”)”}”(hŒVIDIOC_QUERYBUF”h]”hŒ desc_name”“”)”}”(hŒVIDIOC_QUERYBUF”h]”hŒ desc_sig_name”“”)”}”(hj?h]”hŒVIDIOC_QUERYBUF”…””}”(hjOh²hh³Nh´Nubah}”(h]”h ]”Œn”ah"]”h$]”h&]”uh1jMhjIubah}”(h]”h ]”(Œsig-name”Œdescname”eh"]”h$]”h&]”hÅhÆuh1jGhjCh²hh³hÇh´Kubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆŒ add_permalink”ˆuh1jAŒsphinx_line_type”Œ declarator”hj=h²hh³hÇh´Kubah}”(h]”j4ah ]”(Œsig”Œ sig-object”eh"]”h$]”h&]”Œ is_multiline”ˆŒ _toc_parts”)Œ _toc_name”huh1j;h³hÇh´Khj8h²hubhŒ desc_content”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jyhj8h²hh³hÇh´Kubeh}”(h]”h ]”(Œc”Œmacro”eh"]”h$]”h&]”Œdomain”j‡Œobjtype”jˆŒdesctype”jˆŒnoindex”‰Œ noindexentry”‰Œnocontentsentry”‰uh1j6h²hhjh³Nh´Nubhý)”}”(hŒ@``int ioctl(int fd, VIDIOC_QUERYBUF, struct v4l2_buffer *argp)``”h]”hŒliteral”“”)”}”(hj”h]”hŒ` I/O method. It can be used to query the status of a buffer at any time after buffers have been allocated with the :ref:`VIDIOC_REQBUFS` ioctl.”h]”(hŒThis ioctl is part of the ”…””}”(hj¶h²hh³Nh´Nubh)”}”(hŒ:ref:`streaming `”h]”hŒinline”“”)”}”(hjÀh]”hŒ streaming”…””}”(hjÄh²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jÂhj¾ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jÎŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj$Œmmap”uh1hh³hÇh´K"hj¶ubhŒs I/O method. It can be used to query the status of a buffer at any time after buffers have been allocated with the ”…””}”(hj¶h²hh³Nh´Nubh)”}”(hŒ:ref:`VIDIOC_REQBUFS`”h]”jÃ)”}”(hjæh]”hŒVIDIOC_REQBUFS”…””}”(hjèh²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jÂhjäubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jòŒreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj$Œvidioc_reqbufs”uh1hh³hÇh´K"hj¶ubhŒ ioctl.”…””}”(hj¶h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K"hj¥h²hubhý)”}”(hX4Applications set the ``type`` field of a struct :c:type:`v4l2_buffer` to the same buffer type as was previously used with struct :c:type:`v4l2_format` ``type`` and struct :c:type:`v4l2_requestbuffers` ``type``, and the ``index`` field. Valid index numbers range from zero to the number of buffers allocated with :ref:`VIDIOC_REQBUFS` (struct :c:type:`v4l2_requestbuffers` ``count``) minus one. The ``reserved`` and ``reserved2`` fields must be set to 0. When using the :ref:`multi-planar API `, the ``m.planes`` field must contain a userspace pointer to an array of struct :c:type:`v4l2_plane` and the ``length`` field has to be set to the number of elements in that array. After calling :ref:`VIDIOC_QUERYBUF` with a pointer to this structure drivers return an error code or fill the rest of the structure.”h]”(hŒApplications set the ”…””}”(hjh²hh³Nh´Nubj—)”}”(hŒ``type``”h]”hŒtype”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhŒ field of a struct ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_buffer`”h]”j—)”}”(hj*h]”hŒ v4l2_buffer”…””}”(hj,h²hh³Nh´Nubah}”(h]”h ]”(jj‡Œc-type”eh"]”h$]”h&]”uh1j–hj(ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jjj$Œ v4l2_buffer”uh1hh³hÇh´K&hjubhŒ< to the same buffer type as was previously used with struct ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_format`”h]”j—)”}”(hjMh]”hŒ v4l2_format”…””}”(hjOh²hh³Nh´Nubah}”(h]”h ]”(jj‡Œc-type”eh"]”h$]”h&]”uh1j–hjKubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jjj$Œ v4l2_format”uh1hh³hÇh´K&hjubhŒ ”…””}”(hjh²hh³Nh´Nubj—)”}”(hŒ``type``”h]”hŒtype”…””}”(hjnh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhŒ and struct ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_requestbuffers`”h]”j—)”}”(hj‚h]”hŒv4l2_requestbuffers”…””}”(hj„h²hh³Nh´Nubah}”(h]”h ]”(jj‡Œc-type”eh"]”h$]”h&]”uh1j–hj€ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jjj$Œv4l2_requestbuffers”uh1hh³hÇh´K&hjubhŒ ”…””}”hjsbj—)”}”(hŒ``type``”h]”hŒtype”…””}”(hj£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhŒ , and the ”…””}”(hjh²hh³Nh´Nubj—)”}”(hŒ ``index``”h]”hŒindex”…””}”(hjµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhŒT field. Valid index numbers range from zero to the number of buffers allocated with ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ:ref:`VIDIOC_REQBUFS`”h]”jÃ)”}”(hjÉh]”hŒVIDIOC_REQBUFS”…””}”(hjËh²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jÂhjÇubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jÕŒreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj$Œvidioc_reqbufs”uh1hh³hÇh´K&hjubhŒ (struct ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_requestbuffers`”h]”j—)”}”(hjíh]”hŒv4l2_requestbuffers”…””}”(hjïh²hh³Nh´Nubah}”(h]”h ]”(jj‡Œc-type”eh"]”h$]”h&]”uh1j–hjëubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jjj$Œv4l2_requestbuffers”uh1hh³hÇh´K&hjubhŒ ”…””}”hjsbj—)”}”(hŒ ``count``”h]”hŒcount”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhŒ) minus one. The ”…””}”(hjh²hh³Nh´Nubj—)”}”(hŒ ``reserved``”h]”hŒreserved”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhŒ and ”…””}”(hjh²hh³Nh´Nubj—)”}”(hŒ ``reserved2``”h]”hŒ reserved2”…””}”(hj2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhŒ) fields must be set to 0. When using the ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ%:ref:`multi-planar API `”h]”jÃ)”}”(hjFh]”hŒmulti-planar API”…””}”(hjHh²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jÂhjDubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jRŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj$Œ planar-apis”uh1hh³hÇh´K&hjubhŒ, the ”…””}”(hjh²hh³Nh´Nubj—)”}”(hŒ ``m.planes``”h]”hŒm.planes”…””}”(hjhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhŒ> field must contain a userspace pointer to an array of struct ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_plane`”h]”j—)”}”(hj|h]”hŒ v4l2_plane”…””}”(hj~h²hh³Nh´Nubah}”(h]”h ]”(jj‡Œc-type”eh"]”h$]”h&]”uh1j–hjzubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jjj$Œ v4l2_plane”uh1hh³hÇh´K&hjubhŒ and the ”…””}”(hjh²hh³Nh´Nubj—)”}”(hŒ ``length``”h]”hŒlength”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhŒL field has to be set to the number of elements in that array. After calling ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ:ref:`VIDIOC_QUERYBUF`”h]”jÃ)”}”(hj±h]”hŒVIDIOC_QUERYBUF”…””}”(hj³h²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jÂhj¯ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j½Œreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj$Œvidioc_querybuf”uh1hh³hÇh´K&hjubhŒa with a pointer to this structure drivers return an error code or fill the rest of the structure.”…””}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K&hj¥h²hubhý)”}”(hX¯In the ``flags`` field the ``V4L2_BUF_FLAG_MAPPED``, ``V4L2_BUF_FLAG_PREPARED``, ``V4L2_BUF_FLAG_QUEUED`` and ``V4L2_BUF_FLAG_DONE`` flags will be valid. The ``memory`` field will be set to the current I/O method. For the single-planar API, the ``m.offset`` contains the offset of the buffer from the start of the device memory, the ``length`` field its size. For the multi-planar API, fields ``m.mem_offset`` and ``length`` in the ``m.planes`` array elements will be used instead and the ``length`` field of struct :c:type:`v4l2_buffer` is set to the number of filled-in array elements. The driver may or may not set the remaining fields and flags, they are meaningless in this context.”h]”(hŒIn the ”…””}”(hjÙh²hh³Nh´Nubj—)”}”(hŒ ``flags``”h]”hŒflags”…””}”(hjáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjÙubhŒ field the ”…””}”(hjÙh²hh³Nh´Nubj—)”}”(hŒ``V4L2_BUF_FLAG_MAPPED``”h]”hŒV4L2_BUF_FLAG_MAPPED”…””}”(hjóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjÙubhŒ, ”…””}”(hjÙh²hh³Nh´Nubj—)”}”(hŒ``V4L2_BUF_FLAG_PREPARED``”h]”hŒV4L2_BUF_FLAG_PREPARED”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjÙubhŒ, ”…””}”(hjÙh²hh³Nh´Nubj—)”}”(hŒ``V4L2_BUF_FLAG_QUEUED``”h]”hŒV4L2_BUF_FLAG_QUEUED”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjÙubhŒ and ”…””}”(hjÙh²hh³Nh´Nubj—)”}”(hŒ``V4L2_BUF_FLAG_DONE``”h]”hŒV4L2_BUF_FLAG_DONE”…””}”(hj)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjÙubhŒ flags will be valid. The ”…””}”(hjÙh²hh³Nh´Nubj—)”}”(hŒ ``memory``”h]”hŒmemory”…””}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjÙubhŒM field will be set to the current I/O method. For the single-planar API, the ”…””}”(hjÙh²hh³Nh´Nubj—)”}”(hŒ ``m.offset``”h]”hŒm.offset”…””}”(hjMh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjÙubhŒL contains the offset of the buffer from the start of the device memory, the ”…””}”(hjÙh²hh³Nh´Nubj—)”}”(hŒ ``length``”h]”hŒlength”…””}”(hj_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjÙubhŒ2 field its size. For the multi-planar API, fields ”…””}”(hjÙh²hh³Nh´Nubj—)”}”(hŒ``m.mem_offset``”h]”hŒ m.mem_offset”…””}”(hjqh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjÙubhŒ and ”…””}”(hjÙh²hh³Nh´Nubj—)”}”(hŒ ``length``”h]”hŒlength”…””}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjÙubhŒ in the ”…””}”(hjÙh²hh³Nh´Nubj—)”}”(hŒ ``m.planes``”h]”hŒm.planes”…””}”(hj•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjÙubhŒ- array elements will be used instead and the ”…””}”(hjÙh²hh³Nh´Nubj—)”}”(hŒ ``length``”h]”hŒlength”…””}”(hj§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjÙubhŒ field of struct ”…””}”(hjÙh²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_buffer`”h]”j—)”}”(hj»h]”hŒ v4l2_buffer”…””}”(hj½h²hh³Nh´Nubah}”(h]”h ]”(jj‡Œc-type”eh"]”h$]”h&]”uh1j–hj¹ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jjj$Œ v4l2_buffer”uh1hh³hÇh´K6hjÙubhŒ– is set to the number of filled-in array elements. The driver may or may not set the remaining fields and flags, they are meaningless in this context.”…””}”(hjÙh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K6hj¥h²hubhý)”}”(hŒIThe struct :c:type:`v4l2_buffer` structure is specified in :ref:`buffer`.”h]”(hŒ The struct ”…””}”(hjâh²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_buffer`”h]”j—)”}”(hjìh]”hŒ v4l2_buffer”…””}”(hjîh²hh³Nh´Nubah}”(h]”h ]”(jj‡Œc-type”eh"]”h$]”h&]”uh1j–hjêubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jjj$Œ v4l2_buffer”uh1hh³hÇh´KBhjâubhŒ structure is specified in ”…””}”(hjâh²hh³Nh´Nubh)”}”(hŒ :ref:`buffer`”h]”jÃ)”}”(hjh]”hŒbuffer”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jÂhj ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jŒreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj$Œbuffer”uh1hh³hÇh´KBhjâubhŒ.”…””}”(hjâh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KBhj¥h²hubeh}”(h]”Œ description”ah ]”h"]”Œ description”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K ubh×)”}”(hhh]”(hÜ)”}”(hŒ Return Value”h]”hŒ Return Value”…””}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhj?h²hh³hÇh´KFubhý)”}”(hŒ´On success 0 is returned, on error -1 and the ``errno`` variable is set appropriately. The generic error codes are described at the :ref:`Generic Error Codes ` chapter.”h]”(hŒ.On success 0 is returned, on error -1 and the ”…””}”(hjPh²hh³Nh´Nubj—)”}”(hŒ ``errno``”h]”hŒerrno”…””}”(hjXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjPubhŒM variable is set appropriately. The generic error codes are described at the ”…””}”(hjPh²hh³Nh´Nubh)”}”(hŒ':ref:`Generic Error Codes `”h]”jÃ)”}”(hjlh]”hŒGeneric Error Codes”…””}”(hjnh²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jÂhjjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jxŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj$Œ gen-errors”uh1hh³hÇh´KHhjPubhŒ chapter.”…””}”(hjPh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KHhj?h²hubjÅ)”}”(hhh]”jÊ)”}”(hŒOEINVAL The buffer ``type`` is not supported, or the ``index`` is out of bounds.”h]”(jÐ)”}”(hŒEINVAL”h]”hŒEINVAL”…””}”(hj›h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÏh³hÇh´KMhj—ubjé)”}”(hhh]”hý)”}”(hŒHThe buffer ``type`` is not supported, or the ``index`` is out of bounds.”h]”(hŒ The buffer ”…””}”(hj¬h²hh³Nh´Nubj—)”}”(hŒ``type``”h]”hŒtype”…””}”(hj´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj¬ubhŒ is not supported, or the ”…””}”(hj¬h²hh³Nh´Nubj—)”}”(hŒ ``index``”h]”hŒindex”…””}”(hjÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj¬ubhŒ is out of bounds.”…””}”(hj¬h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KMhj©ubah}”(h]”h ]”h"]”h$]”h&]”uh1jèhj—ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÇh´KMhj”ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÄhj?h²hh³hÇh´Nubeh}”(h]”Œ return-value”ah ]”h"]”Œ return value”ah$]”h&]”uh1hÖhhØh²hh³hÇh´KFubeh}”(h]”(Œioctl-vidioc-querybuf”hÕeh ]”h"]”(Œioctl vidioc_querybuf”Œvidioc_querybuf”eh$]”h&]”uh1hÖhhh²hh³hÇh´KŒexpect_referenced_by_name”}”jþhÊsŒexpect_referenced_by_id”}”hÕhÊsubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÇuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(hÛNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”j(Œerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÇŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”hÕ]”hÊasŒnameids”}”(jþhÕjýjújjj°j­j¢jŸj<j9jõjòuŒ nametypes”}”(jþˆjý‰j‰j°‰j¢‰j<‰jõ‰uh}”(hÕhØjúhØjhëj­jj4j=jŸj³j9j¥jòj?uŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”hŒsystem_message”“”)”}”(hhh]”hý)”}”(hhh]”hŒ5Hyperlink target "vidioc-querybuf" is not referenced.”…””}”hj’sbah}”(h]”h ]”h"]”h$]”h&]”uh1hühjubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œsource”hÇŒline”Kuh1jubaŒ transformer”NŒ include_log”]”Œ decoration”Nh²hub.