€•É0Œ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”ŒI/translations/zh_CN/userspace-api/media/mediactl/media-request-ioc-reinit”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒI/translations/zh_TW/userspace-api/media/mediactl/media-request-ioc-reinit”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒI/translations/it_IT/userspace-api/media/mediactl/media-request-ioc-reinit”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒI/translations/ja_JP/userspace-api/media/mediactl/media-request-ioc-reinit”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒI/translations/ko_KR/userspace-api/media/mediactl/media-request-ioc-reinit”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒI/translations/pt_BR/userspace-api/media/mediactl/media-request-ioc-reinit”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒI/translations/sp_SP/userspace-api/media/mediactl/media-request-ioc-reinit”Œ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ŒCSPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later”h]”hŒCSPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later”…””}”hh·sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1hµhhh²hh³Œc/var/lib/git/docbuild/linux/Documentation/userspace-api/media/mediactl/media-request-ioc-reinit.rst”h´KubhŒtarget”“”)”}”(hŒ.. _media_request_ioc_reinit:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œmedia-request-ioc-reinit”uh1hÈh´Khhh²hh³hÇubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒioctl MEDIA_REQUEST_IOC_REINIT”h]”hŒioctl MEDIA_REQUEST_IOC_REINIT”…””}”(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Œ2MEDIA_REQUEST_IOC_REINIT - Re-initialize a request”h]”hŒ2MEDIA_REQUEST_IOC_REINIT - Re-initialize a request”…””}”(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”Œ%MC.MEDIA_REQUEST_IOC_REINIT (C macro)”Œc.MC.MEDIA_REQUEST_IOC_REINIT”hNt”auh1j%hjh²hh³Nh´NubhŒdesc”“”)”}”(hhh]”(hŒdesc_signature”“”)”}”(hŒMEDIA_REQUEST_IOC_REINIT”h]”hŒdesc_signature_line”“”)”}”(hŒMEDIA_REQUEST_IOC_REINIT”h]”hŒ desc_name”“”)”}”(hŒMEDIA_REQUEST_IOC_REINIT”h]”hŒ desc_sig_name”“”)”}”(hj?h]”hŒMEDIA_REQUEST_IOC_REINIT”…””}”(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Œ7``int ioctl(int request_fd, MEDIA_REQUEST_IOC_REINIT)``”h]”hŒliteral”“”)”}”(hj”h]”hŒ3int ioctl(int request_fd, MEDIA_REQUEST_IOC_REINIT)”…””}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj’ubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Khjh²hubeh}”(h]”Œsynopsis”ah ]”h"]”Œsynopsis”ah$]”h&]”uh1hÖhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒ Arguments”h]”hŒ Arguments”…””}”(hj¶h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhj³h²hh³hÇh´KubhŒdefinition_list”“”)”}”(hhh]”hŒdefinition_list_item”“”)”}”(hŒK``request_fd`` File descriptor returned by :ref:`MEDIA_IOC_REQUEST_ALLOC`. ”h]”(hŒterm”“”)”}”(hŒ``request_fd``”h]”j—)”}”(hjÓh]”hŒ request_fd”…””}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjÑubah}”(h]”h ]”h"]”h$]”h&]”uh1jÏh³hÇh´KhjËubhŒ definition”“”)”}”(hhh]”hý)”}”(hŒ;File descriptor returned by :ref:`MEDIA_IOC_REQUEST_ALLOC`.”h]”(hŒFile descriptor returned by ”…””}”(hjíh²hh³Nh´Nubh)”}”(hŒ:ref:`MEDIA_IOC_REQUEST_ALLOC`”h]”hŒinline”“”)”}”(hj÷h]”hŒMEDIA_IOC_REQUEST_ALLOC”…””}”(hjûh²hh³Nh´Nubah}”(h]”h ]”(Œxref”Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jùhjõubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œ5userspace-api/media/mediactl/media-request-ioc-reinit”Œ refdomain”jŒreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆŒ reftarget”Œmedia_ioc_request_alloc”uh1hh³hÇh´KhjíubhŒ.”…””}”(hjíh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Khjêubah}”(h]”h ]”h"]”h$]”h&]”uh1jèhjËubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÇh´KhjÆubah}”(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”…””}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhj>h²hh³hÇh´Kubhý)”}”(hŒ–If the media device supports :ref:`requests `, then this request ioctl can be used to re-initialize a previously allocated request.”h]”(hŒIf the media device supports ”…””}”(hjOh²hh³Nh´Nubh)”}”(hŒ#:ref:`requests `”h]”jú)”}”(hjYh]”hŒrequests”…””}”(hj[h²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jùhjWubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jeŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjŒmedia-request-api”uh1hh³hÇh´KhjOubhŒV, then this request ioctl can be used to re-initialize a previously allocated request.”…””}”(hjOh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Khj>h²hubhý)”}”(hŒûRe-initializing a request will clear any existing data from the request. This avoids having to :c:func:`close()` a completed request and allocate a new request. Instead the completed request can just be re-initialized and it is ready to be used again.”h]”(hŒ_Re-initializing a request will clear any existing data from the request. This avoids having to ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ:c:func:`close()`”h]”j—)”}”(hj‹h]”hŒclose()”…””}”(hjh²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”‰Œ c:parent_key”Œsphinx.domains.c”Œ LookupKey”“”)”}”Œdata”]”j¨Œ ASTIdentifier”“”)”}”Œ identifier”ŒMC”sbN†”asbjŒclose”uh1hh³hÇh´K#hjubhŒ‹ a completed request and allocate a new request. Instead the completed request can just be re-initialized and it is ready to be used again.”…””}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K#hj>h²hubhý)”}”(hŒÁA request can only be re-initialized if it either has not been queued yet, or if it was queued and completed. Otherwise it will set ``errno`` to ``EBUSY``. No other error codes can be returned.”h]”(hŒ„A request can only be re-initialized if it either has not been queued yet, or if it was queued and completed. Otherwise it will set ”…””}”(hjÁh²hh³Nh´Nubj—)”}”(hŒ ``errno``”h]”hŒerrno”…””}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjÁubhŒ to ”…””}”(hjÁh²hh³Nh´Nubj—)”}”(hŒ ``EBUSY``”h]”hŒEBUSY”…””}”(hjÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjÁubhŒ'. No other error codes can be returned.”…””}”(hjÁh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K(hj>h²hubeh}”(h]”Œ description”ah ]”h"]”Œ description”ah$]”h&]”uh1hÖhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒ Return Value”h]”hŒ Return Value”…””}”(hjþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjûh²hh³hÇh´K-ubhý)”}”(hŒVOn success 0 is returned, on error -1 and the ``errno`` variable is set appropriately.”h]”(hŒ.On success 0 is returned, on error -1 and the ”…””}”(hj h²hh³Nh´Nubj—)”}”(hŒ ``errno``”h]”hŒerrno”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj ubhŒ variable is set appropriately.”…””}”(hj h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K/hjûh²hubjÅ)”}”(hhh]”jÊ)”}”(hŒ2EBUSY The request is queued but not yet completed.”h]”(jÐ)”}”(hŒEBUSY”h]”hŒEBUSY”…””}”(hj3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÏh³hÇh´K2hj/ubjé)”}”(hhh]”hý)”}”(hŒ,The request is queued but not yet completed.”h]”hŒ,The request is queued but not yet completed.”…””}”(hjDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K3hjAubah}”(h]”h ]”h"]”h$]”h&]”uh1jèhj/ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÇh´K2hj,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´K-ubeh}”(h]”(Œioctl-media-request-ioc-reinit”hÕeh ]”h"]”(Œioctl media_request_ioc_reinit”Œmedia_request_ioc_reinit”eh$]”h&]”uh1hÖhhh²hh³hÇh´KŒexpect_referenced_by_name”}”jrhÊ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”}”(jrhÕjqjnjjj°j­j;j8jøjõjijfuŒ nametypes”}”(jrˆjq‰j‰j°‰j;‰jø‰ji‰uh}”(hÕhØjnhØjhëj­jj4j=j8j³jõj>jfjû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Œ>Hyperlink target "media-request-ioc-reinit" is not referenced.”…””}”hjsbah}”(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.