€•TŒ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”Œ4/translations/zh_CN/userspace-api/media/dvb/dmx-qbuf”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ4/translations/zh_TW/userspace-api/media/dvb/dmx-qbuf”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ4/translations/it_IT/userspace-api/media/dvb/dmx-qbuf”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ4/translations/ja_JP/userspace-api/media/dvb/dmx-qbuf”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ4/translations/ko_KR/userspace-api/media/dvb/dmx-qbuf”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ4/translations/pt_BR/userspace-api/media/dvb/dmx-qbuf”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ4/translations/sp_SP/userspace-api/media/dvb/dmx-qbuf”Œ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³ŒN/var/lib/git/docbuild/linux/Documentation/userspace-api/media/dvb/dmx-qbuf.rst”h´KubhŒtarget”“”)”}”(hŒ .. _DMX_QBUF:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œdmx-qbuf”uh1hÈh´Khhh²hh³hÇubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒioctl DMX_QBUF, DMX_DQBUF”h]”hŒioctl DMX_QBUF, DMX_DQBUF”…””}”(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Œ8DMX_QBUF - DMX_DQBUF - Exchange a buffer with the driver”h]”hŒ8DMX_QBUF - DMX_DQBUF - Exchange a buffer with the driver”…””}”(hhþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K hhëh²hubhŒwarning”“”)”}”(hŒthis API is still experimental”h]”hý)”}”(hjh]”hŒthis API is still experimental”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1j hhëh²hh³hÇh´Nubeh}”(h]”Œname”ah ]”h"]”Œname”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K ubh×)”}”(hhh]”(hÜ)”}”(hŒSynopsis”h]”hŒSynopsis”…””}”(hj0h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhj-h²hh³hÇh´KubhŒindex”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(Œsingle”ŒDTV.dmx.DMX_QBUF (C macro)”Œc.DTV.dmx.DMX_QBUF”hNt”auh1j>hj-h²hh³Nh´NubhŒdesc”“”)”}”(hhh]”(hŒdesc_signature”“”)”}”(hŒDMX_QBUF”h]”hŒdesc_signature_line”“”)”}”(hŒDMX_QBUF”h]”hŒ desc_name”“”)”}”(hŒDMX_QBUF”h]”hŒ desc_sig_name”“”)”}”(hjXh]”hŒDMX_QBUF”…””}”(hjhh²hh³Nh´Nubah}”(h]”h ]”Œn”ah"]”h$]”h&]”uh1jfhjbubah}”(h]”h ]”(Œsig-name”Œdescname”eh"]”h$]”h&]”hÅhÆuh1j`hj\h²hh³hÇh´Kubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆŒ add_permalink”ˆuh1jZŒsphinx_line_type”Œ declarator”hjVh²hh³hÇh´Kubah}”(h]”jMah ]”(Œsig”Œ sig-object”eh"]”h$]”h&]”Œ is_multiline”ˆŒ _toc_parts”)Œ _toc_name”huh1jTh³hÇh´KhjQh²hubhŒ desc_content”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1j’hjQh²hh³hÇh´Kubeh}”(h]”h ]”(Œc”Œmacro”eh"]”h$]”h&]”Œdomain”j Œobjtype”j¡Œdesctype”j¡Œnoindex”‰Œ noindexentry”‰Œnocontentsentry”‰uh1jOh²hhj-h³Nh´Nubhý)”}”(hŒ8``int ioctl(int fd, DMX_QBUF, struct dmx_buffer *argp)``”h]”hŒliteral”“”)”}”(hj­h]”hŒ4int ioctl(int fd, DMX_QBUF, struct dmx_buffer *argp)”…””}”(hj±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¯hj«ubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Khj-h²hubj?)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jKŒDTV.dmx.DMX_DQBUF (C macro)”Œc.DTV.dmx.DMX_DQBUF”hNt”auh1j>hj-h²hh³Nh´NubjP)”}”(hhh]”(jU)”}”(hŒ DMX_DQBUF”h]”j[)”}”(hŒ DMX_DQBUF”h]”ja)”}”(hŒ DMX_DQBUF”h]”jg)”}”(hj×h]”hŒ DMX_DQBUF”…””}”(hjáh²hh³Nh´Nubah}”(h]”h ]”jrah"]”h$]”h&]”uh1jfhjÝubah}”(h]”h ]”(jyjzeh"]”h$]”h&]”hÅhÆuh1j`hjÙh²hh³hÇh´Kubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆj„ˆuh1jZj…j†hjÕh²hh³hÇh´Kubah}”(h]”jÐah ]”(jŠj‹eh"]”h$]”h&]”jˆj)j‘huh1jTh³hÇh´KhjÒh²hubj“)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1j’hjÒh²hh³hÇh´Kubeh}”(h]”h ]”(j Œmacro”eh"]”h$]”h&]”j¥j j¦j j§j j¨‰j©‰jª‰uh1jOh²hhj-h³Nh´Nubhý)”}”(hŒ9``int ioctl(int fd, DMX_DQBUF, struct dmx_buffer *argp)``”h]”j°)”}”(hjh]”hŒ5int ioctl(int fd, DMX_DQBUF, struct dmx_buffer *argp)”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¯hjubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Khj-h²hubeh}”(h]”Œsynopsis”ah ]”h"]”Œsynopsis”ah$]”h&]”uh1hÖhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒ Arguments”h]”hŒ Arguments”…””}”(hj2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhj/h²hh³hÇh´KubhŒdefinition_list”“”)”}”(hhh]”(hŒdefinition_list_item”“”)”}”(hŒ5``fd`` File descriptor returned by :c:func:`open()`. ”h]”(hŒterm”“”)”}”(hŒ``fd``”h]”j°)”}”(hjOh]”hŒfd”…””}”(hjQh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¯hjMubah}”(h]”h ]”h"]”h$]”h&]”uh1jKh³hÇh´K hjGubhŒ definition”“”)”}”(hhh]”hý)”}”(hŒ-File descriptor returned by :c:func:`open()`.”h]”(hŒFile descriptor returned by ”…””}”(hjih²hh³Nh´Nubh)”}”(hŒ:c:func:`open()`”h]”j°)”}”(hjsh]”hŒopen()”…””}”(hjuh²hh³Nh´Nubah}”(h]”h ]”(Œxref”j Œc-func”eh"]”h$]”h&]”uh1j¯hjqubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œ userspace-api/media/dvb/dmx-qbuf”Œ refdomain”j Œreftype”Œfunc”Œ refexplicit”‰Œrefwarn”‰Œ c:parent_key”Œsphinx.domains.c”Œ LookupKey”“”)”}”Œdata”]”(j’Œ ASTIdentifier”“”)”}”Œ identifier”ŒDTV”sbN†”jš)”}”jŒdmx”sbN†”esbŒ reftarget”Œopen”uh1hh³hÇh´K hjiubhŒ.”…””}”(hjih²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K hjfubah}”(h]”h ]”h"]”h$]”h&]”uh1jdhjGubeh}”(h]”h ]”h"]”h$]”h&]”uh1jEh³hÇh´K hjBubjF)”}”(hŒ1``argp`` Pointer to struct :c:type:`dmx_buffer`. ”h]”(jL)”}”(hŒ``argp``”h]”j°)”}”(hjÂh]”hŒargp”…””}”(hjÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¯hjÀubah}”(h]”h ]”h"]”h$]”h&]”uh1jKh³hÇh´K#hj¼ubje)”}”(hhh]”hý)”}”(hŒ'Pointer to struct :c:type:`dmx_buffer`.”h]”(hŒPointer to struct ”…””}”(hjÚh²hh³Nh´Nubh)”}”(hŒ:c:type:`dmx_buffer`”h]”j°)”}”(hjäh]”hŒ dmx_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”‰j‘j•j¤Œ dmx_buffer”uh1hh³hÇh´K#hjÚubhŒ.”…””}”(hjÚh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K#hj×ubah}”(h]”h ]”h"]”h$]”h&]”uh1jdhj¼ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jEh³hÇh´K#hjBh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j@hj/h²hh³hÇh´Nubeh}”(h]”Œ arguments”ah ]”h"]”Œ arguments”ah$]”h&]”uh1hÖhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒ Description”h]”hŒ Description”…””}”(hj(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhj%h²hh³hÇh´K&ubhý)”}”(hŒ³Applications call the ``DMX_QBUF`` ioctl to enqueue an empty (capturing) or filled (output) buffer in the driver's incoming queue. The semantics depend on the selected I/O method.”h]”(hŒApplications call the ”…””}”(hj6h²hh³Nh´Nubj°)”}”(hŒ ``DMX_QBUF``”h]”hŒDMX_QBUF”…””}”(hj>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¯hj6ubhŒ“ ioctl to enqueue an empty (capturing) or filled (output) buffer in the driver’s incoming queue. The semantics depend on the selected I/O method.”…””}”(hj6h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K(hj%h²hubhý)”}”(hX<To enqueue a buffer applications set the ``index`` field. Valid index numbers range from zero to the number of buffers allocated with :ref:`DMX_REQBUFS` (struct :c:type:`dmx_requestbuffers` ``count``) minus one. The contents of the struct :c:type:`dmx_buffer` returned by a :ref:`DMX_QUERYBUF` ioctl will do as well.”h]”(hŒ)To enqueue a buffer applications set the ”…””}”(hjVh²hh³Nh´Nubj°)”}”(hŒ ``index``”h]”hŒindex”…””}”(hj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¯hjVubhŒT field. Valid index numbers range from zero to the number of buffers allocated with ”…””}”(hjVh²hh³Nh´Nubh)”}”(hŒ:ref:`DMX_REQBUFS`”h]”hŒinline”“”)”}”(hjrh]”hŒ DMX_REQBUFS”…””}”(hjvh²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jthjpubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j‹Œ refdomain”j€Œreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj¤Œ dmx_reqbufs”uh1hh³hÇh´K,hjVubhŒ (struct ”…””}”(hjVh²hh³Nh´Nubh)”}”(hŒ:c:type:`dmx_requestbuffers`”h]”j°)”}”(hj˜h]”hŒdmx_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”‰j‘j•j¤Œdmx_requestbuffers”uh1hh³hÇh´K,hjVubhŒ ”…””}”(hjVh²hh³Nh´Nubj°)”}”(hŒ ``count``”h]”hŒcount”…””}”(hj¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¯hjVubhŒ() minus one. The contents of the struct ”…””}”(hjVh²hh³Nh´Nubh)”}”(hŒ:c:type:`dmx_buffer`”h]”j°)”}”(hjÍh]”hŒ dmx_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”‰j‘j•j¤Œ dmx_buffer”uh1hh³hÇh´K,hjVubhŒ returned by a ”…””}”(hjVh²hh³Nh´Nubh)”}”(hŒ:ref:`DMX_QUERYBUF`”h]”ju)”}”(hjðh]”hŒ DMX_QUERYBUF”…””}”(hjòh²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jthjîubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j‹Œ refdomain”jüŒreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj¤Œ dmx_querybuf”uh1hh³hÇh´K,hjVubhŒ ioctl will do as well.”…””}”(hjVh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K,hj%h²hubhý)”}”(hŒâWhen ``DMX_QBUF`` is called with a pointer to this structure, it locks the memory pages of the buffer in physical memory, so they cannot be swapped out to disk. Buffers remain locked until dequeued, until the device is closed.”h]”(hŒWhen ”…””}”(hjh²hh³Nh´Nubj°)”}”(hŒ ``DMX_QBUF``”h]”hŒDMX_QBUF”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¯hjubhŒÑ is called with a pointer to this structure, it locks the memory pages of the buffer in physical memory, so they cannot be swapped out to disk. Buffers remain locked until dequeued, until the device is closed.”…””}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K2hj%h²hubhý)”}”(hXAApplications call the ``DMX_DQBUF`` ioctl to dequeue a filled (capturing) buffer from the driver's outgoing queue. They just set the ``index`` field with the buffer ID to be queued. When ``DMX_DQBUF`` is called with a pointer to struct :c:type:`dmx_buffer`, the driver fills the remaining fields or returns an error code.”h]”(hŒApplications call the ”…””}”(hj8h²hh³Nh´Nubj°)”}”(hŒ ``DMX_DQBUF``”h]”hŒ DMX_DQBUF”…””}”(hj@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¯hj8ubhŒd ioctl to dequeue a filled (capturing) buffer from the driver’s outgoing queue. They just set the ”…””}”(hj8h²hh³Nh´Nubj°)”}”(hŒ ``index``”h]”hŒindex”…””}”(hjRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¯hj8ubhŒ- field with the buffer ID to be queued. When ”…””}”(hj8h²hh³Nh´Nubj°)”}”(hŒ ``DMX_DQBUF``”h]”hŒ DMX_DQBUF”…””}”(hjdh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¯hj8ubhŒ$ is called with a pointer to struct ”…””}”(hj8h²hh³Nh´Nubh)”}”(hŒ:c:type:`dmx_buffer`”h]”j°)”}”(hjxh]”hŒ dmx_buffer”…””}”(hjzh²hh³Nh´Nubah}”(h]”h ]”(jj Œc-type”eh"]”h$]”h&]”uh1j¯hjvubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j‹Œ refdomain”j Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰j‘j•j¤Œ dmx_buffer”uh1hh³hÇh´K7hj8ubhŒA, the driver fills the remaining fields or returns an error code.”…””}”(hj8h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K7hj%h²hubhý)”}”(hŒîBy default ``DMX_DQBUF`` blocks when no buffer is in the outgoing queue. When the ``O_NONBLOCK`` flag was given to the :c:func:`open()` function, ``DMX_DQBUF`` returns immediately with an ``EAGAIN`` error code when no buffer is available.”h]”(hŒ By default ”…””}”(hjŸh²hh³Nh´Nubj°)”}”(hŒ ``DMX_DQBUF``”h]”hŒ DMX_DQBUF”…””}”(hj§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¯hjŸubhŒ: blocks when no buffer is in the outgoing queue. When the ”…””}”(hjŸh²hh³Nh´Nubj°)”}”(hŒ``O_NONBLOCK``”h]”hŒ O_NONBLOCK”…””}”(hj¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¯hjŸubhŒ flag was given to the ”…””}”(hjŸh²hh³Nh´Nubh)”}”(hŒ:c:func:`open()`”h]”j°)”}”(hjÍh]”hŒopen()”…””}”(hjÏh²hh³Nh´Nubah}”(h]”h ]”(jj Œc-func”eh"]”h$]”h&]”uh1j¯hjËubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j‹Œ refdomain”j Œreftype”Œfunc”Œ refexplicit”‰Œrefwarn”‰j‘j•j¤Œopen”uh1hh³hÇh´K=hjŸubhŒ function, ”…””}”(hjŸh²hh³Nh´Nubj°)”}”(hŒ ``DMX_DQBUF``”h]”hŒ DMX_DQBUF”…””}”(hjîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¯hjŸubhŒ returns immediately with an ”…””}”(hjŸh²hh³Nh´Nubj°)”}”(hŒ ``EAGAIN``”h]”hŒEAGAIN”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¯hjŸubhŒ( error code when no buffer is available.”…””}”(hjŸh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K=hj%h²hubhý)”}”(hŒHThe struct :c:type:`dmx_buffer` structure is specified in :ref:`buffer`.”h]”(hŒ The struct ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ:c:type:`dmx_buffer`”h]”j°)”}”(hj"h]”hŒ dmx_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”‰j‘j•j¤Œ dmx_buffer”uh1hh³hÇh´KBhjubhŒ structure is specified in ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ :ref:`buffer`”h]”ju)”}”(hjEh]”hŒbuffer”…””}”(hjGh²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jthjCubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j‹Œ refdomain”jQŒreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj¤Œbuffer”uh1hh³hÇh´KBhjubhŒ.”…””}”(hjh²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”…””}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjuh²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 ”…””}”(hj†h²hh³Nh´Nubj°)”}”(hŒ ``errno``”h]”hŒerrno”…””}”(hjŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¯hj†ubhŒM variable is set appropriately. The generic error codes are described at the ”…””}”(hj†h²hh³Nh´Nubh)”}”(hŒ':ref:`Generic Error Codes `”h]”ju)”}”(hj¢h]”hŒGeneric Error Codes”…””}”(hj¤h²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jthj ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j‹Œ refdomain”j®Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj¤Œ gen-errors”uh1hh³hÇh´KHhj†ubhŒ chapter.”…””}”(hj†h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KHhjuh²hubjA)”}”(hhh]”(jF)”}”(hŒhEAGAIN Non-blocking I/O has been selected using ``O_NONBLOCK`` and no buffer was in the outgoing queue. ”h]”(jL)”}”(hŒEAGAIN”h]”hŒEAGAIN”…””}”(hjÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jKh³hÇh´KNhjÍubje)”}”(hhh]”hý)”}”(hŒ`Non-blocking I/O has been selected using ``O_NONBLOCK`` and no buffer was in the outgoing queue.”h]”(hŒ)Non-blocking I/O has been selected using ”…””}”(hjâh²hh³Nh´Nubj°)”}”(hŒ``O_NONBLOCK``”h]”hŒ O_NONBLOCK”…””}”(hjêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¯hjâubhŒ) and no buffer was in the outgoing queue.”…””}”(hjâh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KMhjßubah}”(h]”h ]”h"]”h$]”h&]”uh1jdhjÍubeh}”(h]”h ]”h"]”h$]”h&]”uh1jEh³hÇh´KNhjÊubjF)”}”(hŒNEINVAL The ``index`` is out of bounds, or no buffers have been allocated yet. ”h]”(jL)”}”(hŒEINVAL”h]”hŒEINVAL”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jKh³hÇh´KQhjubje)”}”(hhh]”hý)”}”(hŒFThe ``index`` is out of bounds, or no buffers have been allocated yet.”h]”(hŒThe ”…””}”(hj#h²hh³Nh´Nubj°)”}”(hŒ ``index``”h]”hŒindex”…””}”(hj+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¯hj#ubhŒ9 is out of bounds, or no buffers have been allocated yet.”…””}”(hj#h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KQhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jdhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jEh³hÇh´KQhjÊh²hubjF)”}”(hŒwEIO ``DMX_DQBUF`` failed due to an internal error. Can also indicate temporary problems like signal loss or CRC errors.”h]”(jL)”}”(hŒEIO”h]”hŒEIO”…””}”(hjSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jKh³hÇh´KThjOubje)”}”(hhh]”hý)”}”(hŒs``DMX_DQBUF`` failed due to an internal error. Can also indicate temporary problems like signal loss or CRC errors.”h]”(j°)”}”(hŒ ``DMX_DQBUF``”h]”hŒ DMX_DQBUF”…””}”(hjhh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¯hjdubhŒf failed due to an internal error. Can also indicate temporary problems like signal loss or CRC errors.”…””}”(hjdh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KThjaubah}”(h]”h ]”h"]”h$]”h&]”uh1jdhjOubeh}”(h]”h ]”h"]”h$]”h&]”uh1jEh³hÇh´KThjÊh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j@hjuh²hh³hÇh´Nubeh}”(h]”Œ return-value”ah ]”h"]”Œ return value”ah$]”h&]”uh1hÖhhØh²hh³hÇh´KFubeh}”(h]”(Œioctl-dmx-qbuf-dmx-dqbuf”hÕeh ]”h"]”(Œioctl dmx_qbuf, dmx_dqbuf”Œdmx_qbuf”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œj*j'j,j)j"jjrjoj—j”uŒ nametypes”}”(j ˆjŸ‰j*‰j,‰j"‰jr‰j—‰uh}”(hÕhØjœhØj'hëj)j-jMjVjÐjÕjj/joj%j”juuŒ 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Œ.Hyperlink target "dmx-qbuf" is not referenced.”…””}”hj4sbah}”(h]”h ]”h"]”h$]”h&]”uh1hühj1ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œsource”hÇŒline”Kuh1j/ubaŒ transformer”NŒ include_log”]”Œ decoration”Nh²hub.