sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget+/translations/zh_CN/filesystems/api-summarymodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget+/translations/zh_TW/filesystems/api-summarymodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget+/translations/it_IT/filesystems/api-summarymodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget+/translations/ja_JP/filesystems/api-summarymodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget+/translations/ko_KR/filesystems/api-summarymodnameN classnameN refexplicituh1hhh ubh)}(hhh]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget+/translations/pt_BR/filesystems/api-summarymodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget+/translations/sp_SP/filesystems/api-summarymodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhsection)}(hhh](htitle)}(hLinux Filesystems API summaryh]hLinux Filesystems API summary}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhE/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary.rsthKubh paragraph)}(hXThis section contains API-level documentation, mostly taken from the source code itself.h]hXThis section contains API-level documentation, mostly taken from the source code itself.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hhh](h)}(h The Linux VFSh]h The Linux VFS}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(hThe Filesystem typesh]hThe Filesystem types}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubhindex)}(hhh]h}(h]h ]h"]h$]h&]entries](singlepositive_aop_returns (C enum)c.positive_aop_returnshNtauh1hhhhhhNhNubhdesc)}(hhh](hdesc_signature)}(hpositive_aop_returnsh]hdesc_signature_line)}(henum positive_aop_returnsh](hdesc_sig_keyword)}(henumh]henum}(hj!hhhNhNubah}(h]h ]kah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhKubhdesc_sig_space)}(h h]h }(hj3hhhNhNubah}(h]h ]wah"]h$]h&]uh1j1hjhhhj0hKubh desc_name)}(hpositive_aop_returnsh]h desc_sig_name)}(hjh]hpositive_aop_returns}(hjJhhhNhNubah}(h]h ]nah"]h$]h&]uh1jHhjDubah}(h]h ](sig-namedescnameeh"]h$]h&] xml:spacepreserveuh1jBhjhhhj0hKubeh}(h]h ]h"]h$]h&]j`ja add_permalinkuh1jsphinx_line_type declaratorhjhhhj0hKubah}(h]j ah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1jhj0hKhjhhubh desc_content)}(hhh]h)}(h(aop return codes with specific semanticsh]h(aop return codes with specific semantics}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM,hjxhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj0hKubeh}(h]h ](cenumeh"]h$]h&]domainjobjtypejdesctypejnoindex noindexentrynocontentsentryuh1jhhhhhNhNubh container)}(hX**Constants** ``AOP_WRITEPAGE_ACTIVATE`` Informs the caller that page writeback has completed, that the page is still locked, and should be considered active. The VM uses this hint to return the page to the active list -- it won't be a candidate for writeback again in the near future. Other callers must be careful to unlock the page if they get this return. Returned by writepage(); ``AOP_TRUNCATED_PAGE`` The AOP method that was handed a locked page has unlocked it and the page might have been truncated. The caller should back up to acquiring a new page and trying again. The aop will be taking reasonable precautions not to livelock. If the caller held a page reference, it should drop it before retrying. Returned by read_folio().h](h)}(h **Constants**h]hstrong)}(hjh]h Constants}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM0hjubhdefinition_list)}(hhh](hdefinition_list_item)}(hXv``AOP_WRITEPAGE_ACTIVATE`` Informs the caller that page writeback has completed, that the page is still locked, and should be considered active. The VM uses this hint to return the page to the active list -- it won't be a candidate for writeback again in the near future. Other callers must be careful to unlock the page if they get this return. Returned by writepage(); h](hterm)}(h``AOP_WRITEPAGE_ACTIVATE``h]hliteral)}(hjh]hAOP_WRITEPAGE_ACTIVATE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM:hjubh definition)}(hhh]h)}(hXZInforms the caller that page writeback has completed, that the page is still locked, and should be considered active. The VM uses this hint to return the page to the active list -- it won't be a candidate for writeback again in the near future. Other callers must be careful to unlock the page if they get this return. Returned by writepage();h]hX\Informs the caller that page writeback has completed, that the page is still locked, and should be considered active. The VM uses this hint to return the page to the active list -- it won’t be a candidate for writeback again in the near future. Other callers must be careful to unlock the page if they get this return. Returned by writepage();}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjubj)}(hXc``AOP_TRUNCATED_PAGE`` The AOP method that was handed a locked page has unlocked it and the page might have been truncated. The caller should back up to acquiring a new page and trying again. The aop will be taking reasonable precautions not to livelock. If the caller held a page reference, it should drop it before retrying. Returned by read_folio().h](j)}(h``AOP_TRUNCATED_PAGE``h]j)}(hj h]hAOP_TRUNCATED_PAGE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMBhjubj)}(hhh]h)}(hXLThe AOP method that was handed a locked page has unlocked it and the page might have been truncated. The caller should back up to acquiring a new page and trying again. The aop will be taking reasonable precautions not to livelock. If the caller held a page reference, it should drop it before retrying. Returned by read_folio().h]hXLThe AOP method that was handed a locked page has unlocked it and the page might have been truncated. The caller should back up to acquiring a new page and trying again. The aop will be taking reasonable precautions not to livelock. If the caller held a page reference, it should drop it before retrying. Returned by read_folio().}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM=hj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMBhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(h**Description**h]j)}(hjNh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMEhhhhubh)}(haddress_space_operation functions return these large constants to indicate special semantics to the caller. These are much larger than the bytes in a page to allow for functions that return the number of bytes operated on in a given page.h]haddress_space_operation functions return these large constants to indicate special semantics to the caller. These are much larger than the bytes in a page to allow for functions that return the number of bytes operated on in a given page.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM>hhhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j address_space (C struct)c.address_spacehNtauh1hhhhhhNhNubj)}(hhh](j)}(h address_spaceh]j)}(hstruct address_spaceh](j )}(hstructh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMFubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMFubjC)}(h address_spaceh]jI)}(hjh]h address_space}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMFubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMFubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMFhjhhubjw)}(hhh]h)}(h)Contents of a cacheable, mappable object.h]h)Contents of a cacheable, mappable object.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMFubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1jhhhhhNhNubj)}(hX**Definition**:: struct address_space { struct inode *host; struct xarray i_pages; struct rw_semaphore invalidate_lock; gfp_t gfp_mask; atomic_t i_mmap_writable; struct rb_root_cached i_mmap; unsigned long nrpages; pgoff_t writeback_index; const struct address_space_operations *a_ops; unsigned long flags; errseq_t wb_err; spinlock_t i_private_lock; struct rw_semaphore i_mmap_rwsem; }; **Members** ``host`` Owner, either the inode or the block_device. ``i_pages`` Cached pages. ``invalidate_lock`` Guards coherency between page cache contents and file offset->disk block mappings in the filesystem during invalidates. It is also used to block modification of page cache contents through memory mappings. ``gfp_mask`` Memory allocation flags to use for allocating pages. ``i_mmap_writable`` Number of VM_SHARED, VM_MAYWRITE mappings. ``i_mmap`` Tree of private and shared mappings. ``nrpages`` Number of page entries, protected by the i_pages lock. ``writeback_index`` Writeback starts here. ``a_ops`` Methods. ``flags`` Error bits and flags (AS_*). ``wb_err`` The most recent error which has occurred. ``i_private_lock`` For use by the owner of the address_space. ``i_mmap_rwsem`` Protects **i_mmap** and **i_mmap_writable**.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubh literal_block)}(hXstruct address_space { struct inode *host; struct xarray i_pages; struct rw_semaphore invalidate_lock; gfp_t gfp_mask; atomic_t i_mmap_writable; struct rb_root_cached i_mmap; unsigned long nrpages; pgoff_t writeback_index; const struct address_space_operations *a_ops; unsigned long flags; errseq_t wb_err; spinlock_t i_private_lock; struct rw_semaphore i_mmap_rwsem; };h]hXstruct address_space { struct inode *host; struct xarray i_pages; struct rw_semaphore invalidate_lock; gfp_t gfp_mask; atomic_t i_mmap_writable; struct rb_root_cached i_mmap; unsigned long nrpages; pgoff_t writeback_index; const struct address_space_operations *a_ops; unsigned long flags; errseq_t wb_err; spinlock_t i_private_lock; struct rw_semaphore i_mmap_rwsem; };}hjsbah}(h]h ]h"]h$]h&]j`jauh1j hZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubh)}(h **Members**h]j)}(hjh]hMembers}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh](j)}(h6``host`` Owner, either the inode or the block_device. h](j)}(h``host``h]j)}(hj>h]hhost}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj8ubj)}(hhh]h)}(h,Owner, either the inode or the block_device.h]h,Owner, either the inode or the block_device.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhj5ubj)}(h``i_pages`` Cached pages. h](j)}(h ``i_pages``h]j)}(hjwh]hi_pages}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjqubj)}(hhh]h)}(h Cached pages.h]h Cached pages.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhj5ubj)}(h``invalidate_lock`` Guards coherency between page cache contents and file offset->disk block mappings in the filesystem during invalidates. It is also used to block modification of page cache contents through memory mappings. h](j)}(h``invalidate_lock``h]j)}(hjh]hinvalidate_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hGuards coherency between page cache contents and file offset->disk block mappings in the filesystem during invalidates. It is also used to block modification of page cache contents through memory mappings.h]hGuards coherency between page cache contents and file offset->disk block mappings in the filesystem during invalidates. It is also used to block modification of page cache contents through memory mappings.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj5ubj)}(hB``gfp_mask`` Memory allocation flags to use for allocating pages. h](j)}(h ``gfp_mask``h]j)}(hjh]hgfp_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h4Memory allocation flags to use for allocating pages.h]h4Memory allocation flags to use for allocating pages.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj5ubj)}(h?``i_mmap_writable`` Number of VM_SHARED, VM_MAYWRITE mappings. h](j)}(h``i_mmap_writable``h]j)}(hj#h]hi_mmap_writable}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h*Number of VM_SHARED, VM_MAYWRITE mappings.h]h*Number of VM_SHARED, VM_MAYWRITE mappings.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhj5ubj)}(h0``i_mmap`` Tree of private and shared mappings. h](j)}(h ``i_mmap``h]j)}(hj\h]hi_mmap}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjVubj)}(hhh]h)}(h$Tree of private and shared mappings.h]h$Tree of private and shared mappings.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhj5ubj)}(hC``nrpages`` Number of page entries, protected by the i_pages lock. h](j)}(h ``nrpages``h]j)}(hjh]hnrpages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h6Number of page entries, protected by the i_pages lock.h]h6Number of page entries, protected by the i_pages lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj5ubj)}(h+``writeback_index`` Writeback starts here. h](j)}(h``writeback_index``h]j)}(hjh]hwriteback_index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hWriteback starts here.h]hWriteback starts here.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj5ubj)}(h``a_ops`` Methods. h](j)}(h ``a_ops``h]j)}(hjh]ha_ops}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hMethods.h]hMethods.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj5ubj)}(h'``flags`` Error bits and flags (AS_*). h](j)}(h ``flags``h]j)}(hj@h]hflags}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj:ubj)}(hhh]h)}(hError bits and flags (AS_*).h]hError bits and flags (AS_*).}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhj5ubj)}(h5``wb_err`` The most recent error which has occurred. h](j)}(h ``wb_err``h]j)}(hjyh]hwb_err}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjsubj)}(hhh]h)}(h)The most recent error which has occurred.h]h)The most recent error which has occurred.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhj5ubj)}(h>``i_private_lock`` For use by the owner of the address_space. h](j)}(h``i_private_lock``h]j)}(hjh]hi_private_lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h*For use by the owner of the address_space.h]h*For use by the owner of the address_space.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj5ubj)}(h=``i_mmap_rwsem`` Protects **i_mmap** and **i_mmap_writable**.h](j)}(h``i_mmap_rwsem``h]j)}(hjh]h i_mmap_rwsem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h,Protects **i_mmap** and **i_mmap_writable**.h](h Protects }(hjhhhNhNubj)}(h **i_mmap**h]hi_mmap}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**i_mmap_writable**h]hi_mmap_writable}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj5ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j file_ra_state (C struct)c.file_ra_statehNtauh1hhhhhhNhNubj)}(hhh](j)}(h file_ra_stateh]j)}(hstruct file_ra_stateh](j )}(hjh]hstruct}(hjihhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjehhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjehhhjvhMubjC)}(h file_ra_stateh]jI)}(hjch]h file_ra_state}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjehhhjvhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjahhhjvhMubah}(h]j\ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjvhMhj^hhubjw)}(hhh]h)}(hTrack a file's readahead state.h]h!Track a file’s readahead state.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jvhj^hhhjvhMubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1jhhhhhNhNubj)}(hX***Definition**:: struct file_ra_state { pgoff_t start; unsigned int size; unsigned int async_size; unsigned int ra_pages; unsigned short order; unsigned short mmap_miss; loff_t prev_pos; }; **Members** ``start`` Where the most recent readahead started. ``size`` Number of pages read in the most recent readahead. ``async_size`` Numer of pages that were/are not needed immediately and so were/are genuinely "ahead". Start next readahead when the first of these pages is accessed. ``ra_pages`` Maximum size of a readahead request, copied from the bdi. ``order`` Preferred folio order used for most recent readahead. ``mmap_miss`` How many mmap accesses missed in the page cache. ``prev_pos`` The last byte in the most recent read request.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj )}(hstruct file_ra_state { pgoff_t start; unsigned int size; unsigned int async_size; unsigned int ra_pages; unsigned short order; unsigned short mmap_miss; loff_t prev_pos; };h]hstruct file_ra_state { pgoff_t start; unsigned int size; unsigned int async_size; unsigned int ra_pages; unsigned short order; unsigned short mmap_miss; loff_t prev_pos; };}hjsbah}(h]h ]h"]h$]h&]j`jauh1j hZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubh)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh](j)}(h3``start`` Where the most recent readahead started. h](j)}(h ``start``h]j)}(hjh]hstart}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h(Where the most recent readahead started.h]h(Where the most recent readahead started.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjubj)}(h<``size`` Number of pages read in the most recent readahead. h](j)}(h``size``h]j)}(hjQh]hsize}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjKubj)}(hhh]h)}(h2Number of pages read in the most recent readahead.h]h2Number of pages read in the most recent readahead.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjubj)}(h``async_size`` Numer of pages that were/are not needed immediately and so were/are genuinely "ahead". Start next readahead when the first of these pages is accessed. h](j)}(h``async_size``h]j)}(hjh]h async_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hNumer of pages that were/are not needed immediately and so were/are genuinely "ahead". Start next readahead when the first of these pages is accessed.h]hNumer of pages that were/are not needed immediately and so were/are genuinely “ahead”. Start next readahead when the first of these pages is accessed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hG``ra_pages`` Maximum size of a readahead request, copied from the bdi. h](j)}(h ``ra_pages``h]j)}(hjh]hra_pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h9Maximum size of a readahead request, copied from the bdi.h]h9Maximum size of a readahead request, copied from the bdi.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h@``order`` Preferred folio order used for most recent readahead. h](j)}(h ``order``h]j)}(hjh]horder}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h5Preferred folio order used for most recent readahead.h]h5Preferred folio order used for most recent readahead.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h?``mmap_miss`` How many mmap accesses missed in the page cache. h](j)}(h ``mmap_miss``h]j)}(hj6h]h mmap_miss}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj0ubj)}(hhh]h)}(h0How many mmap accesses missed in the page cache.h]h0How many mmap accesses missed in the page cache.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjubj)}(h;``prev_pos`` The last byte in the most recent read request.h](j)}(h ``prev_pos``h]j)}(hjoh]hprev_pos}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjiubj)}(hhh]h)}(h.The last byte in the most recent read request.h]h.The last byte in the most recent read request.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhhhhubh)}(hhWhen this structure is passed to ->readahead(), the "most recent" readahead means the current readahead.h]hlWhen this structure is passed to ->readahead(), the “most recent” readahead means the current readahead.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhhhhubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j file (C struct)c.filehNtauh1hhhhhhNhNubj)}(hhh](j)}(hfileh]j)}(h struct fileh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hfileh]jI)}(hjh]hfile}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hRepresents a fileh]hRepresents a file}(hj2 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj/ hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jstructeh"]h$]h&]jjjjJ jjJ jjjuh1jhhhhhNhNubj)}(hX**Definition**:: struct file { spinlock_t f_lock; fmode_t f_mode; const struct file_operations *f_op; struct address_space *f_mapping; void *private_data; struct inode *f_inode; unsigned int f_flags; unsigned int f_iocb_flags; const struct cred *f_cred; struct fown_struct *f_owner; union { const struct path f_path; struct path __f_path; }; union { struct mutex f_pos_lock; u64 f_pipe; }; loff_t f_pos; #ifdef CONFIG_SECURITY; void *f_security; #endif; errseq_t f_wb_err; errseq_t f_sb_err; #ifdef CONFIG_EPOLL; struct hlist_head *f_ep; #endif; union { struct callback_head f_task_work; struct llist_node f_llist; struct file_ra_state f_ra; freeptr_t f_freeptr; }; file_ref_t f_ref; }; **Members** ``f_lock`` Protects f_ep, f_flags. Must not be taken from IRQ context. ``f_mode`` FMODE_* flags often used in hotpaths ``f_op`` file operations ``f_mapping`` Contents of a cacheable, mappable object. ``private_data`` filesystem or driver specific data ``f_inode`` cached inode ``f_flags`` file flags ``f_iocb_flags`` iocb flags ``f_cred`` stashed credentials of creator/opener ``f_owner`` file owner ``{unnamed_union}`` anonymous ``f_path`` path of the file ``__f_path`` writable alias for **f_path**; *ONLY* for core VFS and only before the file gets open ``{unnamed_union}`` anonymous ``f_pos_lock`` lock protecting file position ``f_pipe`` specific to pipes ``f_pos`` file position ``f_security`` LSM security context of this file ``f_wb_err`` writeback error ``f_sb_err`` per sb writeback errors ``f_ep`` link of all epoll hooks for this file ``{unnamed_union}`` anonymous ``f_task_work`` task work entry point ``f_llist`` work queue entrypoint ``f_ra`` file's readahead state ``f_freeptr`` Pointer used by SLAB_TYPESAFE_BY_RCU file cache (don't touch.) ``f_ref`` reference counth](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hjV hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR ubh:}(hjR hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjN ubj )}(hXstruct file { spinlock_t f_lock; fmode_t f_mode; const struct file_operations *f_op; struct address_space *f_mapping; void *private_data; struct inode *f_inode; unsigned int f_flags; unsigned int f_iocb_flags; const struct cred *f_cred; struct fown_struct *f_owner; union { const struct path f_path; struct path __f_path; }; union { struct mutex f_pos_lock; u64 f_pipe; }; loff_t f_pos; #ifdef CONFIG_SECURITY; void *f_security; #endif; errseq_t f_wb_err; errseq_t f_sb_err; #ifdef CONFIG_EPOLL; struct hlist_head *f_ep; #endif; union { struct callback_head f_task_work; struct llist_node f_llist; struct file_ra_state f_ra; freeptr_t f_freeptr; }; file_ref_t f_ref; };h]hXstruct file { spinlock_t f_lock; fmode_t f_mode; const struct file_operations *f_op; struct address_space *f_mapping; void *private_data; struct inode *f_inode; unsigned int f_flags; unsigned int f_iocb_flags; const struct cred *f_cred; struct fown_struct *f_owner; union { const struct path f_path; struct path __f_path; }; union { struct mutex f_pos_lock; u64 f_pipe; }; loff_t f_pos; #ifdef CONFIG_SECURITY; void *f_security; #endif; errseq_t f_wb_err; errseq_t f_sb_err; #ifdef CONFIG_EPOLL; struct hlist_head *f_ep; #endif; union { struct callback_head f_task_work; struct llist_node f_llist; struct file_ra_state f_ra; freeptr_t f_freeptr; }; file_ref_t f_ref; };}hjo sbah}(h]h ]h"]h$]h&]j`jauh1j hZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjN ubh)}(h **Members**h]j)}(hj h]hMembers}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjN ubj)}(hhh](j)}(hG``f_lock`` Protects f_ep, f_flags. Must not be taken from IRQ context. h](j)}(h ``f_lock``h]j)}(hj h]hf_lock}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(h;Protects f_ep, f_flags. Must not be taken from IRQ context.h]h;Protects f_ep, f_flags. Must not be taken from IRQ context.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h0``f_mode`` FMODE_* flags often used in hotpaths h](j)}(h ``f_mode``h]j)}(hj h]hf_mode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(h$FMODE_* flags often used in hotpathsh]h$FMODE_* flags often used in hotpaths}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h``f_op`` file operations h](j)}(h``f_op``h]j)}(hj h]hf_op}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(hfile operationsh]hfile operations}(hj* hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj& hMhj' ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj& hMhj ubj)}(h8``f_mapping`` Contents of a cacheable, mappable object. h](j)}(h ``f_mapping``h]j)}(hjJ h]h f_mapping}(hjL hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjD ubj)}(hhh]h)}(h)Contents of a cacheable, mappable object.h]h)Contents of a cacheable, mappable object.}(hjc hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_ hMhj` ubah}(h]h ]h"]h$]h&]uh1jhjD ubeh}(h]h ]h"]h$]h&]uh1jhj_ hMhj ubj)}(h4``private_data`` filesystem or driver specific data h](j)}(h``private_data``h]j)}(hj h]h private_data}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj} ubj)}(hhh]h)}(h"filesystem or driver specific datah]h"filesystem or driver specific data}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj} ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h``f_inode`` cached inode h](j)}(h ``f_inode``h]j)}(hj h]hf_inode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(h cached inodeh]h cached inode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h``f_flags`` file flags h](j)}(h ``f_flags``h]j)}(hj h]hf_flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(h file flagsh]h file flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h``f_iocb_flags`` iocb flags h](j)}(h``f_iocb_flags``h]j)}(hj. h]h f_iocb_flags}(hj0 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj, ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj( ubj)}(hhh]h)}(h iocb flagsh]h iocb flags}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjC hMhjD ubah}(h]h ]h"]h$]h&]uh1jhj( ubeh}(h]h ]h"]h$]h&]uh1jhjC hMhj ubj)}(h1``f_cred`` stashed credentials of creator/opener h](j)}(h ``f_cred``h]j)}(hjg h]hf_cred}(hji hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhja ubj)}(hhh]h)}(h%stashed credentials of creator/openerh]h%stashed credentials of creator/opener}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj| hMhj} ubah}(h]h ]h"]h$]h&]uh1jhja ubeh}(h]h ]h"]h$]h&]uh1jhj| hMhj ubj)}(h``f_owner`` file owner h](j)}(h ``f_owner``h]j)}(hj h]hf_owner}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(h file ownerh]h file owner}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj h]h{unnamed_union}}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhKhj ubj)}(hhh]h)}(h anonymoush]h anonymous}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj ubj)}(h``f_path`` path of the file h](j)}(h ``f_path``h]j)}(hj h]hf_path}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(hpath of the fileh]hpath of the file}(hj+ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj' hMhj( ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj' hMhj ubj)}(hc``__f_path`` writable alias for **f_path**; *ONLY* for core VFS and only before the file gets open h](j)}(h ``__f_path``h]j)}(hjK h]h__f_path}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjE ubj)}(hhh]h)}(hUwritable alias for **f_path**; *ONLY* for core VFS and only before the file gets openh](hwritable alias for }(hjd hhhNhNubj)}(h **f_path**h]hf_path}(hjl hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd ubh; }(hjd hhhNhNubhemphasis)}(h*ONLY*h]hONLY}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j~ hjd ubh0 for core VFS and only before the file gets open}(hjd hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhja ubah}(h]h ]h"]h$]h&]uh1jhjE ubeh}(h]h ]h"]h$]h&]uh1jhj` hMhj ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj h]h{unnamed_union}}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhKhj ubj)}(hhh]h)}(h anonymoush]h anonymous}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj ubj)}(h-``f_pos_lock`` lock protecting file position h](j)}(h``f_pos_lock``h]j)}(hj h]h f_pos_lock}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(hlock protecting file positionh]hlock protecting file position}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h``f_pipe`` specific to pipes h](j)}(h ``f_pipe``h]j)}(hj h]hf_pipe}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(hspecific to pipesh]hspecific to pipes}(hj6 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2 hMhj3 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj2 hMhj ubj)}(h``f_pos`` file position h](j)}(h ``f_pos``h]j)}(hjV h]hf_pos}(hjX hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjP ubj)}(hhh]h)}(h file positionh]h file position}(hjo hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjk hMhjl ubah}(h]h ]h"]h$]h&]uh1jhjP ubeh}(h]h ]h"]h$]h&]uh1jhjk hMhj ubj)}(h1``f_security`` LSM security context of this file h](j)}(h``f_security``h]j)}(hj h]h f_security}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(h!LSM security context of this fileh]h!LSM security context of this file}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h``f_wb_err`` writeback error h](j)}(h ``f_wb_err``h]j)}(hj h]hf_wb_err}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(hwriteback errorh]hwriteback error}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h%``f_sb_err`` per sb writeback errors h](j)}(h ``f_sb_err``h]j)}(hjh]hf_sb_err}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(hper sb writeback errorsh]hper sb writeback errors}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h/``f_ep`` link of all epoll hooks for this file h](j)}(h``f_ep``h]j)}(hj:h]hf_ep}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj4ubj)}(hhh]h)}(h%link of all epoll hooks for this fileh]h%link of all epoll hooks for this file}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhj ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjsh]h{unnamed_union}}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhKhjmubj)}(hhh]h)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhKhj ubj)}(h&``f_task_work`` task work entry point h](j)}(h``f_task_work``h]j)}(hjh]h f_task_work}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(htask work entry pointh]htask work entry point}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h"``f_llist`` work queue entrypoint h](j)}(h ``f_llist``h]j)}(hjh]hf_llist}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hwork queue entrypointh]hwork queue entrypoint}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h ``f_ra`` file's readahead state h](j)}(h``f_ra``h]j)}(hjh]hf_ra}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hfile's readahead stateh]hfile’s readahead state}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhj ubj)}(hM``f_freeptr`` Pointer used by SLAB_TYPESAFE_BY_RCU file cache (don't touch.) h](j)}(h ``f_freeptr``h]j)}(hjWh]h f_freeptr}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjQubj)}(hhh]h)}(h>Pointer used by SLAB_TYPESAFE_BY_RCU file cache (don't touch.)h]h@Pointer used by SLAB_TYPESAFE_BY_RCU file cache (don’t touch.)}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhj ubj)}(h``f_ref`` reference counth](j)}(h ``f_ref``h]j)}(hjh]hf_ref}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hreference counth]hreference count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubeh}(h]h ]h"]h$]h&]uh1jhjN ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j i_uid_into_vfsuid (C function)c.i_uid_into_vfsuidhNtauh1hhhhhhNhNubj)}(hhh](j)}(hOvfsuid_t i_uid_into_vfsuid (struct mnt_idmap *idmap, const struct inode *inode)h]j)}(hNvfsuid_t i_uid_into_vfsuid(struct mnt_idmap *idmap, const struct inode *inode)h](h)}(hhh]jI)}(hvfsuid_th]hvfsuid_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftype identifier reftargetjmodnameN classnameN c:parent_keysphinx.domains.c LookupKey)}data]j ASTIdentifier)}ji_uid_into_vfsuidsbc.i_uid_into_vfsuidasbuh1hhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hi_uid_into_vfsuidh]jI)}(hjh]hi_uid_into_vfsuid}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubhdesc_parameterlist)}(h4(struct mnt_idmap *idmap, const struct inode *inode)h](hdesc_parameter)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjDubj2)}(h h]h }(hjUhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjDubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj )}j ]jc.i_uid_into_vfsuidasbuh1hhjDubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjDubhdesc_sig_punctuation)}(h*h]h*}(hjhhhNhNubah}(h]h ]pah"]h$]h&]uh1jhjDubjI)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjDubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj>ubjC)}(hconst struct inode *inodeh](j )}(hconsth]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.i_uid_into_vfsuidasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj>ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h3map an inode's i_uid down according to an idmappingh]h5map an inode’s i_uid down according to an idmapping}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjVhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1jhhhhhNhNubj)}(hX **Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``const struct inode *inode`` inode to map **Return** whe inode's i_uid mapped down according to **idmap**. If the inode's i_uid has no mapping INVALID_VFSUID is returned.h](h)}(h**Parameters**h]j)}(hj{h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjuubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``const struct inode *inode`` inode to map h](j)}(h``const struct inode *inode``h]j)}(hjh]hconst struct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h inode to maph]h inode to map}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjuubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjuubh)}(huwhe inode's i_uid mapped down according to **idmap**. If the inode's i_uid has no mapping INVALID_VFSUID is returned.h](h-whe inode’s i_uid mapped down according to }(hj$hhhNhNubj)}(h **idmap**h]hidmap}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubhC. If the inode’s i_uid has no mapping INVALID_VFSUID is returned.}(hj$hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j i_uid_needs_update (C function)c.i_uid_needs_updatehNtauh1hhhhhhNhNubj)}(hhh](j)}(hfbool i_uid_needs_update (struct mnt_idmap *idmap, const struct iattr *attr, const struct inode *inode)h]j)}(hebool i_uid_needs_update(struct mnt_idmap *idmap, const struct iattr *attr, const struct inode *inode)h](hdesc_sig_keyword_type)}(hboolh]hbool}(hjghhhNhNubah}(h]h ]ktah"]h$]h&]uh1jehjahhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjahhhjvhMubjC)}(hi_uid_needs_updateh]jI)}(hi_uid_needs_updateh]hi_uid_needs_update}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjahhhjvhMubj=)}(hN(struct mnt_idmap *idmap, const struct iattr *attr, const struct inode *inode)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.i_uid_needs_updateasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst struct iattr *attrh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj$hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hiattrh]hiattr}(hjPhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNjj )}j ]jc.i_uid_needs_updateasbuh1hhjubj2)}(h h]h }(hjnhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hattrh]hattr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.i_uid_needs_updateasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjahhhjvhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj]hhhjvhMubah}(h]jXah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjvhMhjZhhubjw)}(hhh]h)}(h/check whether inode's i_uid needs to be updatedh]h1check whether inode’s i_uid needs to be updated}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj;hhubah}(h]h ]h"]h$]h&]uh1jvhjZhhhjvhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``const struct iattr *attr`` the new attributes of **inode** ``const struct inode *inode`` the inode to update **Description** Check whether the $inode's i_uid field needs to be updated taking idmapped mounts into account if the filesystem supports it. **Return** true if **inode**'s i_uid field needs to be updated, false if not.h](h)}(h**Parameters**h]j)}(hj`h]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjZubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjyubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjvubj)}(h=``const struct iattr *attr`` the new attributes of **inode** h](j)}(h``const struct iattr *attr``h]j)}(hjh]hconst struct iattr *attr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hthe new attributes of **inode**h](hthe new attributes of }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjvubj)}(h2``const struct inode *inode`` the inode to update h](j)}(h``const struct inode *inode``h]j)}(hjh]hconst struct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hthe inode to updateh]hthe inode to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjvubeh}(h]h ]h"]h$]h&]uh1jhjZubh)}(h**Description**h]j)}(hj:h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjZubh)}(h}Check whether the $inode's i_uid field needs to be updated taking idmapped mounts into account if the filesystem supports it.h]hCheck whether the $inode’s i_uid field needs to be updated taking idmapped mounts into account if the filesystem supports it.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjZubh)}(h **Return**h]j)}(hjah]hReturn}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjZubh)}(hBtrue if **inode**'s i_uid field needs to be updated, false if not.h](htrue if }(hjwhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh3’s i_uid field needs to be updated, false if not.}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j i_uid_update (C function)c.i_uid_updatehNtauh1hhhhhhNhNubj)}(hhh](j)}(hZvoid i_uid_update (struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode)h]j)}(hYvoid i_uid_update(struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(h i_uid_updateh]jI)}(h i_uid_updateh]h i_uid_update}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hH(struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.i_uid_updateasbuh1hhjubj2)}(h h]h }(hj3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hjNhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst struct iattr *attrh](j )}(hjh]hconst}(hjghhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjcubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjcubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubh)}(hhh]jI)}(hiattrh]hiattr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j/c.i_uid_updateasbuh1hhjcubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubjI)}(hattrh]hattr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjcubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j/c.i_uid_updateasbuh1hhjubj2)}(h h]h }(hj.hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjIhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hupdate **inode**'s i_uid fieldh](hupdate }(hjshhhNhNubj)}(h **inode**h]hinode}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubh’s i_uid field}(hjshhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjphhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhhhNhNubj)}(hXG**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``const struct iattr *attr`` the new attributes of **inode** ``struct inode *inode`` the inode to update **Description** Safely update **inode**'s i_uid field translating the vfsuid of any idmapped mount into the filesystem kuid.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h=``const struct iattr *attr`` the new attributes of **inode** h](j)}(h``const struct iattr *attr``h]j)}(hjh]hconst struct iattr *attr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hthe new attributes of **inode**h](hthe new attributes of }(hjhhhNhNubj)}(h **inode**h]hinode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h,``struct inode *inode`` the inode to update h](j)}(h``struct inode *inode``h]j)}(hjFh]hstruct inode *inode}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj@ubj)}(hhh]h)}(hthe inode to updateh]hthe inode to update}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubh)}(hlSafely update **inode**'s i_uid field translating the vfsuid of any idmapped mount into the filesystem kuid.h](hSafely update }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhW’s i_uid field translating the vfsuid of any idmapped mount into the filesystem kuid.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j i_gid_into_vfsgid (C function)c.i_gid_into_vfsgidhNtauh1hhhhhhNhNubj)}(hhh](j)}(hOvfsgid_t i_gid_into_vfsgid (struct mnt_idmap *idmap, const struct inode *inode)h]j)}(hNvfsgid_t i_gid_into_vfsgid(struct mnt_idmap *idmap, const struct inode *inode)h](h)}(hhh]jI)}(hvfsgid_th]hvfsgid_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}ji_gid_into_vfsgidsbc.i_gid_into_vfsgidasbuh1hhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hi_gid_into_vfsgidh]jI)}(hjh]hi_gid_into_vfsgid}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h4(struct mnt_idmap *idmap, const struct inode *inode)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj&ubj2)}(h h]h }(hj7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&ubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj )}j ]jc.i_gid_into_vfsgidasbuh1hhj&ubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&ubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubjI)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj"ubjC)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.i_gid_into_vfsgidasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj"ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h3map an inode's i_gid down according to an idmappingh]h5map an inode’s i_gid down according to an idmapping}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj3hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1jhhhhhNhNubj)}(hX **Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``const struct inode *inode`` inode to map **Return** the inode's i_gid mapped down according to **idmap**. If the inode's i_gid has no mapping INVALID_VFSGID is returned.h](h)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjRubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjwh]hstruct mnt_idmap *idmap}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjqubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhjnubj)}(h+``const struct inode *inode`` inode to map h](j)}(h``const struct inode *inode``h]j)}(hjh]hconst struct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h inode to maph]h inode to map}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjnubeh}(h]h ]h"]h$]h&]uh1jhjRubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjRubh)}(huthe inode's i_gid mapped down according to **idmap**. If the inode's i_gid has no mapping INVALID_VFSGID is returned.h](h-the inode’s i_gid mapped down according to }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhC. If the inode’s i_gid has no mapping INVALID_VFSGID is returned.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j i_gid_needs_update (C function)c.i_gid_needs_updatehNtauh1hhhhhhNhNubj)}(hhh](j)}(hfbool i_gid_needs_update (struct mnt_idmap *idmap, const struct iattr *attr, const struct inode *inode)h]j)}(hebool i_gid_needs_update(struct mnt_idmap *idmap, const struct iattr *attr, const struct inode *inode)h](jf)}(hjih]hbool}(hjBhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj>hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj2)}(h h]h }(hjPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj>hhhjOhMubjC)}(hi_gid_needs_updateh]jI)}(hi_gid_needs_updateh]hi_gid_needs_update}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj^ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj>hhhjOhMubj=)}(hN(struct mnt_idmap *idmap, const struct iattr *attr, const struct inode *inode)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hj~hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjzubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjzubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjdsbc.i_gid_needs_updateasbuh1hhjzubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjzubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubjI)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjvubjC)}(hconst struct iattr *attrh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hiattrh]hiattr}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+modnameN classnameNjj )}j ]jc.i_gid_needs_updateasbuh1hhjubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hattrh]hattr}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjvubjC)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hj{hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.i_gid_needs_updateasbuh1hhjwubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjvubeh}(h]h ]h"]h$]h&]j`jauh1j<hj>hhhjOhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj:hhhjOhMubah}(h]j5ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjOhMhj7hhubjw)}(hhh]h)}(h/check whether inode's i_gid needs to be updatedh]h1check whether inode’s i_gid needs to be updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jvhj7hhhjOhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``const struct iattr *attr`` the new attributes of **inode** ``const struct inode *inode`` the inode to update **Description** Check whether the $inode's i_gid field needs to be updated taking idmapped mounts into account if the filesystem supports it. **Return** true if **inode**'s i_gid field needs to be updated, false if not.h](h)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj3ubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjXh]hstruct mnt_idmap *idmap}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjRubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjOubj)}(h=``const struct iattr *attr`` the new attributes of **inode** h](j)}(h``const struct iattr *attr``h]j)}(hjh]hconst struct iattr *attr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hthe new attributes of **inode**h](hthe new attributes of }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjOubj)}(h2``const struct inode *inode`` the inode to update h](j)}(h``const struct inode *inode``h]j)}(hjh]hconst struct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hthe inode to updateh]hthe inode to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjOubeh}(h]h ]h"]h$]h&]uh1jhj3ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj3ubh)}(h}Check whether the $inode's i_gid field needs to be updated taking idmapped mounts into account if the filesystem supports it.h]hCheck whether the $inode’s i_gid field needs to be updated taking idmapped mounts into account if the filesystem supports it.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj3ubh)}(h **Return**h]j)}(hj:h]hReturn}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj3ubh)}(hBtrue if **inode**'s i_gid field needs to be updated, false if not.h](htrue if }(hjPhhhNhNubj)}(h **inode**h]hinode}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh3’s i_gid field needs to be updated, false if not.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j i_gid_update (C function)c.i_gid_updatehNtauh1hhhhhhNhNubj)}(hhh](j)}(hZvoid i_gid_update (struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode)h]j)}(hYvoid i_gid_update(struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(h i_gid_updateh]jI)}(h i_gid_updateh]h i_gid_update}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hH(struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.i_gid_updateasbuh1hhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hj'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst struct iattr *attrh](j )}(hjh]hconst}(hj@hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj<ubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj<ubj )}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj<ubj2)}(h h]h }(hjhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj<ubh)}(hhh]jI)}(hiattrh]hiattr}(hjyhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNjj )}j ]jc.i_gid_updateasbuh1hhj<ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj<ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubjI)}(hattrh]hattr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj<ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.i_gid_updateasbuh1hhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hj" hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hupdate **inode**'s i_gid fieldh](hupdate }(hjL hhhNhNubj)}(h **inode**h]hinode}(hjT hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL ubh’s i_gid field}(hjL hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjI hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjv jjv jjjuh1jhhhhhNhNubj)}(hXG**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``const struct iattr *attr`` the new attributes of **inode** ``struct inode *inode`` the inode to update **Description** Safely update **inode**'s i_gid field translating the vfsgid of any idmapped mount into the filesystem kgid.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjz ubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj h]hstruct mnt_idmap *idmap}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h=``const struct iattr *attr`` the new attributes of **inode** h](j)}(h``const struct iattr *attr``h]j)}(hj h]hconst struct iattr *attr}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(hthe new attributes of **inode**h](hthe new attributes of }(hj hhhNhNubj)}(h **inode**h]hinode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h,``struct inode *inode`` the inode to update h](j)}(h``struct inode *inode``h]j)}(hj!h]hstruct inode *inode}(hj!!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj!ubj)}(hhh]h)}(hthe inode to updateh]hthe inode to update}(hj8!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4!hMhj5!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj4!hMhj ubeh}(h]h ]h"]h$]h&]uh1jhjz ubh)}(h**Description**h]j)}(hjZ!h]h Description}(hj\!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX!ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjz ubh)}(hlSafely update **inode**'s i_gid field translating the vfsgid of any idmapped mount into the filesystem kgid.h](hSafely update }(hjp!hhhNhNubj)}(h **inode**h]hinode}(hjx!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp!ubhW’s i_gid field translating the vfsgid of any idmapped mount into the filesystem kgid.}(hjp!hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjz ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j inode_fsuid_set (C function)c.inode_fsuid_sethNtauh1hhhhhhNhNubj)}(hhh](j)}(hCvoid inode_fsuid_set (struct inode *inode, struct mnt_idmap *idmap)h]j)}(hBvoid inode_fsuid_set(struct inode *inode, struct mnt_idmap *idmap)h](jf)}(hvoidh]hvoid}(hj!hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj!hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj2)}(h h]h }(hj!hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!hhhj!hMubjC)}(hinode_fsuid_seth]jI)}(hinode_fsuid_seth]hinode_fsuid_set}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj!hhhj!hMubj=)}(h.(struct inode *inode, struct mnt_idmap *idmap)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj!ubj2)}(h h]h }(hj!hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!ubh)}(hhh]jI)}(hinodeh]hinode}(hj "hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj "ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNjj )}j ]j)}jj!sbc.inode_fsuid_setasbuh1hhj!ubj2)}(h h]h }(hj,"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!ubj)}(hjh]h*}(hj:"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubjI)}(hinodeh]hinode}(hjG"hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj!ubjC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hj`"hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj\"ubj2)}(h h]h }(hjm"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\"ubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hj~"hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj{"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNjj )}j ]j("c.inode_fsuid_setasbuh1hhj\"ubj2)}(h h]h }(hj"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\"ubj)}(hjh]h*}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\"ubjI)}(hidmaph]hidmap}(hj"hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\"ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj!ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj!hhhj!hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj!hhhj!hMubah}(h]j!ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj!hMhj!hhubjw)}(hhh]h)}(h1initialize inode's i_uid field with callers fsuidh]h3initialize inode’s i_uid field with callers fsuid}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj"hhubah}(h]h ]h"]h$]h&]uh1jvhj!hhhj!hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1jhhhhhNhNubj)}(hX'**Parameters** ``struct inode *inode`` inode to initialize ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from **Description** Initialize the i_uid field of **inode**. If the inode was found/created via an idmapped mount map the caller's fsuid according to **idmap**.h](h)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj"ubj)}(hhh](j)}(h,``struct inode *inode`` inode to initialize h](j)}(h``struct inode *inode``h]j)}(hj"#h]hstruct inode *inode}(hj$#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj #ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj#ubj)}(hhh]h)}(hinode to initializeh]hinode to initialize}(hj;#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7#hMhj8#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj7#hMhj#ubj)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj[#h]hstruct mnt_idmap *idmap}(hj]#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY#ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjU#ubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjt#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjp#hMhjq#ubah}(h]h ]h"]h$]h&]uh1jhjU#ubeh}(h]h ]h"]h$]h&]uh1jhjp#hMhj#ubeh}(h]h ]h"]h$]h&]uh1jhj"ubh)}(h**Description**h]j)}(hj#h]h Description}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj"ubh)}(hInitialize the i_uid field of **inode**. If the inode was found/created via an idmapped mount map the caller's fsuid according to **idmap**.h](hInitialize the i_uid field of }(hj#hhhNhNubj)}(h **inode**h]hinode}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh]. If the inode was found/created via an idmapped mount map the caller’s fsuid according to }(hj#hhhNhNubj)}(h **idmap**h]hidmap}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh.}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j inode_fsgid_set (C function)c.inode_fsgid_sethNtauh1hhhhhhNhNubj)}(hhh](j)}(hCvoid inode_fsgid_set (struct inode *inode, struct mnt_idmap *idmap)h]j)}(hBvoid inode_fsgid_set(struct inode *inode, struct mnt_idmap *idmap)h](jf)}(hvoidh]hvoid}(hj#hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj#hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj2)}(h h]h }(hj$hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#hhhj $hMubjC)}(hinode_fsgid_seth]jI)}(hinode_fsgid_seth]hinode_fsgid_set}(hj $hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj#hhhj $hMubj=)}(h.(struct inode *inode, struct mnt_idmap *idmap)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj<$hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj8$ubj2)}(h h]h }(hjI$hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8$ubh)}(hhh]jI)}(hinodeh]hinode}(hjZ$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjW$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\$modnameN classnameNjj )}j ]j)}jj"$sbc.inode_fsgid_setasbuh1hhj8$ubj2)}(h h]h }(hjz$hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8$ubj)}(hjh]h*}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8$ubjI)}(hinodeh]hinode}(hj$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8$ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj4$ubjC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj$ubj2)}(h h]h }(hj$hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj$ubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hj$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNjj )}j ]jv$c.inode_fsgid_setasbuh1hhj$ubj2)}(h h]h }(hj$hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj$ubj)}(hjh]h*}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubjI)}(hidmaph]hidmap}(hj%hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj4$ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj#hhhj $hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj#hhhj $hMubah}(h]j#ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj $hMhj#hhubjw)}(hhh]h)}(h1initialize inode's i_gid field with callers fsgidh]h3initialize inode’s i_gid field with callers fsgid}(hj/%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj,%hhubah}(h]h ]h"]h$]h&]uh1jvhj#hhhj $hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjG%jjG%jjjuh1jhhhhhNhNubj)}(hX'**Parameters** ``struct inode *inode`` inode to initialize ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from **Description** Initialize the i_gid field of **inode**. If the inode was found/created via an idmapped mount map the caller's fsgid according to **idmap**.h](h)}(h**Parameters**h]j)}(hjQ%h]h Parameters}(hjS%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO%ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjK%ubj)}(hhh](j)}(h,``struct inode *inode`` inode to initialize h](j)}(h``struct inode *inode``h]j)}(hjp%h]hstruct inode *inode}(hjr%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn%ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjj%ubj)}(hhh]h)}(hinode to initializeh]hinode to initialize}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhjj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhjg%ubj)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj%h]hstruct mnt_idmap *idmap}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj%ubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhjg%ubeh}(h]h ]h"]h$]h&]uh1jhjK%ubh)}(h**Description**h]j)}(hj%h]h Description}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjK%ubh)}(hInitialize the i_gid field of **inode**. If the inode was found/created via an idmapped mount map the caller's fsgid according to **idmap**.h](hInitialize the i_gid field of }(hj%hhhNhNubj)}(h **inode**h]hinode}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubh]. If the inode was found/created via an idmapped mount map the caller’s fsgid according to }(hj%hhhNhNubj)}(h **idmap**h]hidmap}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubh.}(hj%hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjK%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !fsuidgid_has_mapping (C function)c.fsuidgid_has_mappinghNtauh1hhhhhhNhNubj)}(hhh](j)}(hKbool fsuidgid_has_mapping (struct super_block *sb, struct mnt_idmap *idmap)h]j)}(hJbool fsuidgid_has_mapping(struct super_block *sb, struct mnt_idmap *idmap)h](jf)}(hjih]hbool}(hjM&hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjI&hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj2)}(h h]h }(hj[&hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjI&hhhjZ&hMubjC)}(hfsuidgid_has_mappingh]jI)}(hfsuidgid_has_mappingh]hfsuidgid_has_mapping}(hjm&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhji&ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjI&hhhjZ&hMubj=)}(h1(struct super_block *sb, struct mnt_idmap *idmap)h](jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj&ubj2)}(h h]h }(hj&hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&ubh)}(hhh]jI)}(h super_blockh]h super_block}(hj&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNjj )}j ]j)}jjo&sbc.fsuidgid_has_mappingasbuh1hhj&ubj2)}(h h]h }(hj&hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&ubj)}(hjh]h*}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubjI)}(hsbh]hsb}(hj&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj&ubjC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj&ubj2)}(h h]h }(hj'hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&ubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hj'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNjj )}j ]j&c.fsuidgid_has_mappingasbuh1hhj&ubj2)}(h h]h }(hj7'hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&ubj)}(hjh]h*}(hjE'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubjI)}(hidmaph]hidmap}(hjR'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj&ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjI&hhhjZ&hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjE&hhhjZ&hMubah}(h]j@&ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjZ&hMhjB&hhubjw)}(hhh]h)}(h,check whether caller's fsuid/fsgid is mappedh]h.check whether caller’s fsuid/fsgid is mapped}(hj|'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjy'hhubah}(h]h ]h"]h$]h&]uh1jvhjB&hhhjZ&hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1jhhhhhNhNubj)}(hX**Parameters** ``struct super_block *sb`` the superblock we want a mapping in ``struct mnt_idmap *idmap`` idmap of the relevant mount **Description** Check whether the caller's fsuid and fsgid have a valid mapping in the s_user_ns of the superblock **sb**. If the caller is on an idmapped mount map the caller's fsuid and fsgid according to the **idmap** first. **Return** true if fsuid and fsgid is mapped, false if not.h](h)}(h**Parameters**h]j)}(hj'h]h Parameters}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM#hj'ubj)}(hhh](j)}(h?``struct super_block *sb`` the superblock we want a mapping in h](j)}(h``struct super_block *sb``h]j)}(hj'h]hstruct super_block *sb}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj'ubj)}(hhh]h)}(h#the superblock we want a mapping inh]h#the superblock we want a mapping in}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hM hj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hM hj'ubj)}(h8``struct mnt_idmap *idmap`` idmap of the relevant mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj'h]hstruct mnt_idmap *idmap}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM!hj'ubj)}(hhh]h)}(hidmap of the relevant mounth]hidmap of the relevant mount}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj (hM!hj (ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj (hM!hj'ubeh}(h]h ]h"]h$]h&]uh1jhj'ubh)}(h**Description**h]j)}(hj1(h]h Description}(hj3(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/(ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM#hj'ubh)}(hCheck whether the caller's fsuid and fsgid have a valid mapping in the s_user_ns of the superblock **sb**. If the caller is on an idmapped mount map the caller's fsuid and fsgid according to the **idmap** first.h](heCheck whether the caller’s fsuid and fsgid have a valid mapping in the s_user_ns of the superblock }(hjG(hhhNhNubj)}(h**sb**h]hsb}(hjO(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG(ubh\. If the caller is on an idmapped mount map the caller’s fsuid and fsgid according to the }(hjG(hhhNhNubj)}(h **idmap**h]hidmap}(hja(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG(ubh first.}(hjG(hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM"hj'ubh)}(h **Return**h]j)}(hj|(h]hReturn}(hj~(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz(ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM&hj'ubh)}(h0true if fsuid and fsgid is mapped, false if not.h]h0true if fsuid and fsgid is mapped, false if not.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM'hj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j inode_set_ctime (C function)c.inode_set_ctimehNtauh1hhhhhhNhNubj)}(hhh](j)}(hPstruct timespec64 inode_set_ctime (struct inode *inode, time64_t sec, long nsec)h]j)}(hOstruct timespec64 inode_set_ctime(struct inode *inode, time64_t sec, long nsec)h](j )}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj(hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj2)}(h h]h }(hj(hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj(hhhj(hMubh)}(hhh]jI)}(h timespec64h]h timespec64}(hj(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNjj )}j ]j)}jinode_set_ctimesbc.inode_set_ctimeasbuh1hhj(hhhj(hMubj2)}(h h]h }(hj)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj(hhhj(hMubjC)}(hinode_set_ctimeh]jI)}(hj(h]hinode_set_ctime}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj(hhhj(hMubj=)}(h.(struct inode *inode, time64_t sec, long nsec)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj.)hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj*)ubj2)}(h h]h }(hj;)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*)ubh)}(hhh]jI)}(hinodeh]hinode}(hjL)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjI)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjN)modnameN classnameNjj )}j ]j(c.inode_set_ctimeasbuh1hhj*)ubj2)}(h h]h }(hjj)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*)ubj)}(hjh]h*}(hjx)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*)ubjI)}(hinodeh]hinode}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*)ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj&)ubjC)}(h time64_t sech](h)}(hhh]jI)}(htime64_th]htime64_t}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNjj )}j ]j(c.inode_set_ctimeasbuh1hhj)ubj2)}(h h]h }(hj)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj)ubjI)}(hsech]hsec}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj&)ubjC)}(h long nsech](jf)}(hlongh]hlong}(hj)hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj)ubj2)}(h h]h }(hj)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj)ubjI)}(hnsech]hnsec}(hj*hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj&)ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj(hhhj(hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj(hhhj(hMubah}(h]j(ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj(hMhj(hhubjw)}(hhh]h)}(hset the ctime in the inodeh]hset the ctime in the inode}(hj,*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj)*hhubah}(h]h ]h"]h$]h&]uh1jvhj(hhhj(hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjD*jjD*jjjuh1jhhhhhNhNubj)}(h**Parameters** ``struct inode *inode`` inode in which to set the ctime ``time64_t sec`` tv_sec value to set ``long nsec`` tv_nsec value to set **Description** Set the ctime in **inode** to { **sec**, **nsec** }h](h)}(h**Parameters**h]j)}(hjN*h]h Parameters}(hjP*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL*ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjH*ubj)}(hhh](j)}(h8``struct inode *inode`` inode in which to set the ctime h](j)}(h``struct inode *inode``h]j)}(hjm*h]hstruct inode *inode}(hjo*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk*ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjg*ubj)}(hhh]h)}(hinode in which to set the ctimeh]hinode in which to set the ctime}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMhj*ubah}(h]h ]h"]h$]h&]uh1jhjg*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjd*ubj)}(h%``time64_t sec`` tv_sec value to set h](j)}(h``time64_t sec``h]j)}(hj*h]h time64_t sec}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj*ubj)}(hhh]h)}(htv_sec value to seth]htv_sec value to set}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjd*ubj)}(h#``long nsec`` tv_nsec value to set h](j)}(h ``long nsec``h]j)}(hj*h]h long nsec}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj*ubj)}(hhh]h)}(htv_nsec value to seth]htv_nsec value to set}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjd*ubeh}(h]h ]h"]h$]h&]uh1jhjH*ubh)}(h**Description**h]j)}(hj+h]h Description}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjH*ubh)}(h3Set the ctime in **inode** to { **sec**, **nsec** }h](hSet the ctime in }(hj0+hhhNhNubj)}(h **inode**h]hinode}(hj8+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0+ubh to { }(hj0+hhhNhNubj)}(h**sec**h]hsec}(hjJ+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0+ubh, }(hj0+hhhNhNubj)}(h**nsec**h]hnsec}(hj\+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0+ubh }}(hj0+hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjH*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j file_write_started (C function)c.file_write_startedhNtauh1hhhhhhNhNubj)}(hhh](j)}(h1bool file_write_started (const struct file *file)h]j)}(h0bool file_write_started(const struct file *file)h](jf)}(hjih]hbool}(hj+hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj+hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj2)}(h h]h }(hj+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj+hhhj+hMubjC)}(hfile_write_startedh]jI)}(hfile_write_startedh]hfile_write_started}(hj+hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj+ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj+hhhj+hMubj=)}(h(const struct file *file)h]jC)}(hconst struct file *fileh](j )}(hjh]hconst}(hj+hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj+ubj2)}(h h]h }(hj+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj+ubj )}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj+ubj2)}(h h]h }(hj+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj+ubh)}(hhh]jI)}(hfileh]hfile}(hj ,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj ,modnameN classnameNjj )}j ]j)}jj+sbc.file_write_startedasbuh1hhj+ubj2)}(h h]h }(hj*,hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj+ubj)}(hjh]h*}(hj8,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubjI)}(hfileh]hfile}(hjE,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj+ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj+ubah}(h]h ]h"]h$]h&]j`jauh1j<hj+hhhj+hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj+hhhj+hMubah}(h]j+ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj+hMhj+hhubjw)}(hhh]h)}(h check if SB_FREEZE_WRITE is heldh]h check if SB_FREEZE_WRITE is held}(hjo,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjl,hhubah}(h]h ]h"]h$]h&]uh1jvhj+hhhj+hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1jhhhhhNhNubj)}(h**Parameters** ``const struct file *file`` the file we write to **Description** May be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN. May be false positive with !S_ISREG, because file_start_write() has no effect on !S_ISREG.h](h)}(h**Parameters**h]j)}(hj,h]h Parameters}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj,ubj)}(hhh]j)}(h1``const struct file *file`` the file we write to h](j)}(h``const struct file *file``h]j)}(hj,h]hconst struct file *file}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj,ubj)}(hhh]h)}(hthe file we write toh]hthe file we write to}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hMhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubh)}(h**Description**h]j)}(hj,h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj,ubh)}(hMay be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN. May be false positive with !S_ISREG, because file_start_write() has no effect on !S_ISREG.h]hMay be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN. May be false positive with !S_ISREG, because file_start_write() has no effect on !S_ISREG.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j #file_write_not_started (C function)c.file_write_not_startedhNtauh1hhhhhhNhNubj)}(hhh](j)}(h5bool file_write_not_started (const struct file *file)h]j)}(h4bool file_write_not_started(const struct file *file)h](jf)}(hjih]hbool}(hj0-hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj,-hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj2)}(h h]h }(hj>-hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj,-hhhj=-hMubjC)}(hfile_write_not_startedh]jI)}(hfile_write_not_startedh]hfile_write_not_started}(hjP-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjL-ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj,-hhhj=-hMubj=)}(h(const struct file *file)h]jC)}(hconst struct file *fileh](j )}(hjh]hconst}(hjl-hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjh-ubj2)}(h h]h }(hjy-hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjh-ubj )}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjh-ubj2)}(h h]h }(hj-hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjh-ubh)}(hhh]jI)}(hfileh]hfile}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNjj )}j ]j)}jjR-sbc.file_write_not_startedasbuh1hhjh-ubj2)}(h h]h }(hj-hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjh-ubj)}(hjh]h*}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh-ubjI)}(hfileh]hfile}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjh-ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjd-ubah}(h]h ]h"]h$]h&]j`jauh1j<hj,-hhhj=-hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj(-hhhj=-hMubah}(h]j#-ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj=-hMhj%-hhubjw)}(hhh]h)}(h$check if SB_FREEZE_WRITE is not heldh]h$check if SB_FREEZE_WRITE is not held}(hj .hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj.hhubah}(h]h ]h"]h$]h&]uh1jvhj%-hhhj=-hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj".jj".jjjuh1jhhhhhNhNubj)}(h**Parameters** ``const struct file *file`` the file we write to **Description** May be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN. May be false positive with !S_ISREG, because file_start_write() has no effect on !S_ISREG.h](h)}(h**Parameters**h]j)}(hj,.h]h Parameters}(hj..hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*.ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj&.ubj)}(hhh]j)}(h1``const struct file *file`` the file we write to h](j)}(h``const struct file *file``h]j)}(hjK.h]hconst struct file *file}(hjM.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI.ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjE.ubj)}(hhh]h)}(hthe file we write toh]hthe file we write to}(hjd.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`.hMhja.ubah}(h]h ]h"]h$]h&]uh1jhjE.ubeh}(h]h ]h"]h$]h&]uh1jhj`.hMhjB.ubah}(h]h ]h"]h$]h&]uh1jhj&.ubh)}(h**Description**h]j)}(hj.h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj&.ubh)}(hMay be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN. May be false positive with !S_ISREG, because file_start_write() has no effect on !S_ISREG.h]hMay be false positive with !CONFIG_LOCKDEP/LOCK_STATE_UNKNOWN. May be false positive with !S_ISREG, because file_start_write() has no effect on !S_ISREG.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj&.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j renamedata (C struct) c.renamedatahNtauh1hhhhhhNhNubj)}(hhh](j)}(h renamedatah]j)}(hstruct renamedatah](j )}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj.hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj2)}(h h]h }(hj.hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.hhhj.hMubjC)}(h renamedatah]jI)}(hj.h]h renamedata}(hj.hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj.ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj.hhhj.hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj.hhhj.hMubah}(h]j.ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj.hMhj.hhubjw)}(hhh]h)}(h.contains all information required for renamingh]h.contains all information required for renaming}(hj /hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj /hhubah}(h]h ]h"]h$]h&]uh1jvhj.hhhj.hMubeh}(h]h ](jstructeh"]h$]h&]jjjj%/jj%/jjjuh1jhhhhhNhNubj)}(hXN**Definition**:: struct renamedata { struct mnt_idmap *mnt_idmap; struct dentry *old_parent; struct dentry *old_dentry; struct dentry *new_parent; struct dentry *new_dentry; struct delegated_inode *delegated_inode; unsigned int flags; }; **Members** ``mnt_idmap`` idmap of the mount in which the rename is happening. ``old_parent`` parent of source ``old_dentry`` source ``new_parent`` parent of destination ``new_dentry`` destination ``delegated_inode`` returns an inode needing a delegation break ``flags`` rename flagsh](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj1/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-/ubh:}(hj-/hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj)/ubj )}(hstruct renamedata { struct mnt_idmap *mnt_idmap; struct dentry *old_parent; struct dentry *old_dentry; struct dentry *new_parent; struct dentry *new_dentry; struct delegated_inode *delegated_inode; unsigned int flags; };h]hstruct renamedata { struct mnt_idmap *mnt_idmap; struct dentry *old_parent; struct dentry *old_dentry; struct dentry *new_parent; struct dentry *new_dentry; struct delegated_inode *delegated_inode; unsigned int flags; };}hjJ/sbah}(h]h ]h"]h$]h&]j`jauh1j hZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj)/ubh)}(h **Members**h]j)}(hj[/h]hMembers}(hj]/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY/ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj)/ubj)}(hhh](j)}(hC``mnt_idmap`` idmap of the mount in which the rename is happening. h](j)}(h ``mnt_idmap``h]j)}(hjz/h]h mnt_idmap}(hj|/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx/ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjt/ubj)}(hhh]h)}(h4idmap of the mount in which the rename is happening.h]h4idmap of the mount in which the rename is happening.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjt/ubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjq/ubj)}(h ``old_parent`` parent of source h](j)}(h``old_parent``h]j)}(hj/h]h old_parent}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj/ubj)}(hhh]h)}(hparent of sourceh]hparent of source}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMhj/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjq/ubj)}(h``old_dentry`` source h](j)}(h``old_dentry``h]j)}(hj/h]h old_dentry}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj/ubj)}(hhh]h)}(hsourceh]hsource}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhjq/ubj)}(h%``new_parent`` parent of destination h](j)}(h``new_parent``h]j)}(hj%0h]h new_parent}(hj'0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj0ubj)}(hhh]h)}(hparent of destinationh]hparent of destination}(hj>0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:0hMhj;0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj:0hMhjq/ubj)}(h``new_dentry`` destination h](j)}(h``new_dentry``h]j)}(hj^0h]h new_dentry}(hj`0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjX0ubj)}(hhh]h)}(h destinationh]h destination}(hjw0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjs0hMhjt0ubah}(h]h ]h"]h$]h&]uh1jhjX0ubeh}(h]h ]h"]h$]h&]uh1jhjs0hMhjq/ubj)}(h@``delegated_inode`` returns an inode needing a delegation break h](j)}(h``delegated_inode``h]j)}(hj0h]hdelegated_inode}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj0ubj)}(hhh]h)}(h+returns an inode needing a delegation breakh]h+returns an inode needing a delegation break}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhjq/ubj)}(h``flags`` rename flagsh](j)}(h ``flags``h]j)}(hj0h]hflags}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj0ubj)}(hhh]h)}(h rename flagsh]h rename flags}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhjq/ubeh}(h]h ]h"]h$]h&]uh1jhj)/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j is_mgtime (C function) c.is_mgtimehNtauh1hhhhhhNhNubj)}(hhh](j)}(h*bool is_mgtime (const struct inode *inode)h]j)}(h)bool is_mgtime(const struct inode *inode)h](jf)}(hjih]hbool}(hj*1hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj&1hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj2)}(h h]h }(hj81hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&1hhhj71hM ubjC)}(h is_mgtimeh]jI)}(h is_mgtimeh]h is_mgtime}(hjJ1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjF1ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj&1hhhj71hM ubj=)}(h(const struct inode *inode)h]jC)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hjf1hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjb1ubj2)}(h h]h }(hjs1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjb1ubj )}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjb1ubj2)}(h h]h }(hj1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjb1ubh)}(hhh]jI)}(hinodeh]hinode}(hj1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNjj )}j ]j)}jjL1sb c.is_mgtimeasbuh1hhjb1ubj2)}(h h]h }(hj1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjb1ubj)}(hjh]h*}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb1ubjI)}(hinodeh]hinode}(hj1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjb1ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj^1ubah}(h]h ]h"]h$]h&]j`jauh1j<hj&1hhhj71hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj"1hhhj71hM ubah}(h]j1ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj71hM hj1hhubjw)}(hhh]h)}(h)is this inode using multigrain timestampsh]h)is this inode using multigrain timestamps}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj2hhubah}(h]h ]h"]h$]h&]uh1jvhj1hhhj71hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2jj2jjjuh1jhhhhhNhNubj)}(h**Parameters** ``const struct inode *inode`` inode to test for multigrain timestamps **Description** Return true if the inode uses multigrain timestamps, false otherwise.h](h)}(h**Parameters**h]j)}(hj&2h]h Parameters}(hj(2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$2ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj 2ubj)}(hhh]j)}(hF``const struct inode *inode`` inode to test for multigrain timestamps h](j)}(h``const struct inode *inode``h]j)}(hjE2h]hconst struct inode *inode}(hjG2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC2ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj?2ubj)}(hhh]h)}(h'inode to test for multigrain timestampsh]h'inode to test for multigrain timestamps}(hj^2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZ2hM hj[2ubah}(h]h ]h"]h$]h&]uh1jhj?2ubeh}(h]h ]h"]h$]h&]uh1jhjZ2hM hj<2ubah}(h]h ]h"]h$]h&]uh1jhj 2ubh)}(h**Description**h]j)}(hj2h]h Description}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~2ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj 2ubh)}(hEReturn true if the inode uses multigrain timestamps, false otherwise.h]hEReturn true if the inode uses multigrain timestamps, false otherwise.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj 2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j is_idmapped_mnt (C function)c.is_idmapped_mnthNtauh1hhhhhhNhNubj)}(hhh](j)}(h1bool is_idmapped_mnt (const struct vfsmount *mnt)h]j)}(h0bool is_idmapped_mnt(const struct vfsmount *mnt)h](jf)}(hjih]hbool}(hj2hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj2hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj2)}(h h]h }(hj2hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2hhhj2hM ubjC)}(his_idmapped_mnth]jI)}(his_idmapped_mnth]his_idmapped_mnt}(hj2hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj2hhhj2hM ubj=)}(h(const struct vfsmount *mnt)h]jC)}(hconst struct vfsmount *mnth](j )}(hjh]hconst}(hj3hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj2ubj2)}(h h]h }(hj3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubj )}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj2ubj2)}(h h]h }(hj)3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubh)}(hhh]jI)}(hvfsmounth]hvfsmount}(hj:3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj73ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<3modnameN classnameNjj )}j ]j)}jj2sbc.is_idmapped_mntasbuh1hhj2ubj2)}(h h]h }(hjZ3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubj)}(hjh]h*}(hjh3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubjI)}(hmnth]hmnt}(hju3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj2ubah}(h]h ]h"]h$]h&]j`jauh1j<hj2hhhj2hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj2hhhj2hM ubah}(h]j2ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj2hM hj2hhubjw)}(hhh]h)}(hcheck whether a mount is mappedh]hcheck whether a mount is mapped}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj3hhubah}(h]h ]h"]h$]h&]uh1jvhj2hhhj2hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1jhhhhhNhNubj)}(h**Parameters** ``const struct vfsmount *mnt`` the mount to check **Description** If **mnt** has an non **nop_mnt_idmap** attached to it then **mnt** is mapped. **Return** true if mount is mapped, false if not.h](h)}(h**Parameters**h]j)}(hj3h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj3ubj)}(hhh]j)}(h2``const struct vfsmount *mnt`` the mount to check h](j)}(h``const struct vfsmount *mnt``h]j)}(hj3h]hconst struct vfsmount *mnt}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj3ubj)}(hhh]h)}(hthe mount to checkh]hthe mount to check}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hM hj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hM hj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubh)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj3ubh)}(hNIf **mnt** has an non **nop_mnt_idmap** attached to it then **mnt** is mapped.h](hIf }(hj14hhhNhNubj)}(h**mnt**h]hmnt}(hj94hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj14ubh has an non }(hj14hhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjK4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj14ubh attached to it then }(hj14hhhNhNubj)}(h**mnt**h]hmnt}(hj]4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj14ubh is mapped.}(hj14hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj3ubh)}(h **Return**h]j)}(hjx4h]hReturn}(hjz4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv4ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj3ubh)}(h&true if mount is mapped, false if not.h]h&true if mount is mapped, false if not.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j file_start_write (C function)c.file_start_writehNtauh1hhhhhhNhNubj)}(hhh](j)}(h)void file_start_write (struct file *file)h]j)}(h(void file_start_write(struct file *file)h](jf)}(hvoidh]hvoid}(hj4hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj4hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj2)}(h h]h }(hj4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4hhhj4hM ubjC)}(hfile_start_writeh]jI)}(hfile_start_writeh]hfile_start_write}(hj4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj4hhhj4hM ubj=)}(h(struct file *file)h]jC)}(hstruct file *fileh](j )}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj4ubj2)}(h h]h }(hj5hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4ubh)}(hhh]jI)}(hfileh]hfile}(hj5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNjj )}j ]j)}jj4sbc.file_start_writeasbuh1hhj4ubj2)}(h h]h }(hj85hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4ubj)}(hjh]h*}(hjF5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubjI)}(hfileh]hfile}(hjS5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj4ubah}(h]h ]h"]h$]h&]j`jauh1j<hj4hhhj4hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj4hhhj4hM ubah}(h]j4ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj4hM hj4hhubjw)}(hhh]h)}(h4get write access to a superblock for regular file ioh]h4get write access to a superblock for regular file io}(hj}5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjz5hhubah}(h]h ]h"]h$]h&]uh1jvhj4hhhj4hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1jhhhhhNhNubj)}(h**Parameters** ``struct file *file`` the file we want to write to **Description** This is a variant of sb_start_write() which is a noop on non-regular file. Should be matched with a call to file_end_write().h](h)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj5ubj)}(hhh]j)}(h3``struct file *file`` the file we want to write to h](j)}(h``struct file *file``h]j)}(hj5h]hstruct file *file}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj5ubj)}(hhh]h)}(hthe file we want to write toh]hthe file we want to write to}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hM hj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hM hj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubh)}(h**Description**h]j)}(hj5h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj5ubh)}(h}This is a variant of sb_start_write() which is a noop on non-regular file. Should be matched with a call to file_end_write().h]h}This is a variant of sb_start_write() which is a noop on non-regular file. Should be matched with a call to file_end_write().}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j file_end_write (C function)c.file_end_writehNtauh1hhhhhhNhNubj)}(hhh](j)}(h'void file_end_write (struct file *file)h]j)}(h&void file_end_write(struct file *file)h](jf)}(hvoidh]hvoid}(hj>6hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj:6hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj2)}(h h]h }(hjM6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj:6hhhjL6hM ubjC)}(hfile_end_writeh]jI)}(hfile_end_writeh]hfile_end_write}(hj_6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[6ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj:6hhhjL6hM ubj=)}(h(struct file *file)h]jC)}(hstruct file *fileh](j )}(hjh]hstruct}(hj{6hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjw6ubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjw6ubh)}(hhh]jI)}(hfileh]hfile}(hj6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj )}j ]j)}jja6sbc.file_end_writeasbuh1hhjw6ubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjw6ubj)}(hjh]h*}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjw6ubjI)}(hfileh]hfile}(hj6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjw6ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjs6ubah}(h]h ]h"]h$]h&]j`jauh1j<hj:6hhhjL6hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj66hhhjL6hM ubah}(h]j16ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjL6hM hj36hhubjw)}(hhh]h)}(h3drop write access to a superblock of a regular fileh]h3drop write access to a superblock of a regular file}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj6hhubah}(h]h ]h"]h$]h&]uh1jvhj36hhhjL6hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1jhhhhhNhNubj)}(h**Parameters** ``struct file *file`` the file we wrote to **Description** Should be matched with a call to file_start_write().h](h)}(h**Parameters**h]j)}(hj 7h]h Parameters}(hj"7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj7ubj)}(hhh]j)}(h+``struct file *file`` the file we wrote to h](j)}(h``struct file *file``h]j)}(hj?7h]hstruct file *file}(hjA7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj97ubj)}(hhh]h)}(hthe file we wrote toh]hthe file we wrote to}(hjX7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjT7hM hjU7ubah}(h]h ]h"]h$]h&]uh1jhj97ubeh}(h]h ]h"]h$]h&]uh1jhjT7hM hj67ubah}(h]h ]h"]h$]h&]uh1jhj7ubh)}(h**Description**h]j)}(hjz7h]h Description}(hj|7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx7ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj7ubh)}(h4Should be matched with a call to file_start_write().h]h4Should be matched with a call to file_start_write().}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j kiocb_start_write (C function)c.kiocb_start_writehNtauh1hhhhhhNhNubj)}(hhh](j)}(h+void kiocb_start_write (struct kiocb *iocb)h]j)}(h*void kiocb_start_write(struct kiocb *iocb)h](jf)}(hvoidh]hvoid}(hj7hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj7hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj2)}(h h]h }(hj7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7hhhj7hM ubjC)}(hkiocb_start_writeh]jI)}(hkiocb_start_writeh]hkiocb_start_write}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj7hhhj7hM ubj=)}(h(struct kiocb *iocb)h]jC)}(hstruct kiocb *iocbh](j )}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj7ubj2)}(h h]h }(hj 8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7ubh)}(hhh]jI)}(hkiocbh]hkiocb}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj )}j ]j)}jj7sbc.kiocb_start_writeasbuh1hhj7ubj2)}(h h]h }(hj:8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7ubj)}(hjh]h*}(hjH8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubjI)}(hiocbh]hiocb}(hjU8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj7ubah}(h]h ]h"]h$]h&]j`jauh1j<hj7hhhj7hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj7hhhj7hM ubah}(h]j7ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj7hM hj7hhubjw)}(hhh]h)}(h2get write access to a superblock for async file ioh]h2get write access to a superblock for async file io}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj|8hhubah}(h]h ]h"]h$]h&]uh1jvhj7hhhj7hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1jhhhhhNhNubj)}(h**Parameters** ``struct kiocb *iocb`` the io context we want to submit the write with **Description** This is a variant of sb_start_write() for async io submission. Should be matched with a call to kiocb_end_write().h](h)}(h**Parameters**h]j)}(hj8h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj8ubj)}(hhh]j)}(hG``struct kiocb *iocb`` the io context we want to submit the write with h](j)}(h``struct kiocb *iocb``h]j)}(hj8h]hstruct kiocb *iocb}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj8ubj)}(hhh]h)}(h/the io context we want to submit the write withh]h/the io context we want to submit the write with}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hM hj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hM hj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubh)}(h**Description**h]j)}(hj8h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj8ubh)}(hrThis is a variant of sb_start_write() for async io submission. Should be matched with a call to kiocb_end_write().h]hrThis is a variant of sb_start_write() for async io submission. Should be matched with a call to kiocb_end_write().}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j kiocb_end_write (C function)c.kiocb_end_writehNtauh1hhhhhhNhNubj)}(hhh](j)}(h)void kiocb_end_write (struct kiocb *iocb)h]j)}(h(void kiocb_end_write(struct kiocb *iocb)h](jf)}(hvoidh]hvoid}(hj@9hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj<9hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj2)}(h h]h }(hjO9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj<9hhhjN9hM ubjC)}(hkiocb_end_writeh]jI)}(hkiocb_end_writeh]hkiocb_end_write}(hja9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj]9ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj<9hhhjN9hM ubj=)}(h(struct kiocb *iocb)h]jC)}(hstruct kiocb *iocbh](j )}(hjh]hstruct}(hj}9hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjy9ubj2)}(h h]h }(hj9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjy9ubh)}(hhh]jI)}(hkiocbh]hkiocb}(hj9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj )}j ]j)}jjc9sbc.kiocb_end_writeasbuh1hhjy9ubj2)}(h h]h }(hj9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjy9ubj)}(hjh]h*}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjy9ubjI)}(hiocbh]hiocb}(hj9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjy9ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhju9ubah}(h]h ]h"]h$]h&]j`jauh1j<hj<9hhhjN9hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj89hhhjN9hM ubah}(h]j39ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjN9hM hj59hhubjw)}(hhh]h)}(h5drop write access to a superblock after async file ioh]h5drop write access to a superblock after async file io}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj9hhubah}(h]h ]h"]h$]h&]uh1jvhj59hhhjN9hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jj:jjjuh1jhhhhhNhNubj)}(h**Parameters** ``struct kiocb *iocb`` the io context we sumbitted the write with **Description** Should be matched with a call to kiocb_start_write().h](h)}(h**Parameters**h]j)}(hj":h]h Parameters}(hj$:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj :ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj:ubj)}(hhh]j)}(hB``struct kiocb *iocb`` the io context we sumbitted the write with h](j)}(h``struct kiocb *iocb``h]j)}(hjA:h]hstruct kiocb *iocb}(hjC:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?:ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj;:ubj)}(hhh]h)}(h*the io context we sumbitted the write withh]h*the io context we sumbitted the write with}(hjZ:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjV:hM hjW:ubah}(h]h ]h"]h$]h&]uh1jhj;:ubeh}(h]h ]h"]h$]h&]uh1jhjV:hM hj8:ubah}(h]h ]h"]h$]h&]uh1jhj:ubh)}(h**Description**h]j)}(hj|:h]h Description}(hj~:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz:ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj:ubh)}(h5Should be matched with a call to kiocb_start_write().h]h5Should be matched with a call to kiocb_start_write().}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j name_is_dot_dotdot (C function)c.name_is_dot_dotdothNtauh1hhhhhhNhNubj)}(hhh](j)}(h6bool name_is_dot_dotdot (const char *name, size_t len)h]j)}(h5bool name_is_dot_dotdot(const char *name, size_t len)h](jf)}(hjih]hbool}(hj:hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj:hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM] ubj2)}(h h]h }(hj:hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj:hhhj:hM] ubjC)}(hname_is_dot_dotdoth]jI)}(hname_is_dot_dotdoth]hname_is_dot_dotdot}(hj:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj:ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj:hhhj:hM] ubj=)}(h(const char *name, size_t len)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hj:hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj:ubj2)}(h h]h }(hj ;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj:ubjf)}(hcharh]hchar}(hj;hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj:ubj2)}(h h]h }(hj&;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj:ubj)}(hjh]h*}(hj4;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubjI)}(hnameh]hname}(hjA;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj:ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj:ubjC)}(h size_t lenh](h)}(hhh]jI)}(hsize_th]hsize_t}(hj];hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjZ;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_;modnameN classnameNjj )}j ]j)}jj:sbc.name_is_dot_dotdotasbuh1hhjV;ubj2)}(h h]h }(hj};hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjV;ubjI)}(hlenh]hlen}(hj;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjV;ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj:ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj:hhhj:hM] ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj:hhhj:hM] ubah}(h]j:ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj:hM] hj:hhubjw)}(hhh]h)}(h,returns true only if **name** is "." or ".."h](hreturns true only if }(hj;hhhNhNubj)}(h**name**h]hname}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubh is “.” or “..”}(hj;hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM] hj;hhubah}(h]h ]h"]h$]h&]uh1jvhj:hhhj:hM] ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1jhhhhhNhNubj)}(hi**Parameters** ``const char *name`` file name to check ``size_t len`` length of file name, in bytesh](h)}(h**Parameters**h]j)}(hj;h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMa hj;ubj)}(hhh](j)}(h(``const char *name`` file name to check h](j)}(h``const char *name``h]j)}(hj<h]hconst char *name}(hj <hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM^ hj<ubj)}(hhh]h)}(hfile name to checkh]hfile name to check}(hj!<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<hM^ hj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hM^ hj;ubj)}(h,``size_t len`` length of file name, in bytesh](j)}(h``size_t len``h]j)}(hjA<h]h size_t len}(hjC<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM` hj;<ubj)}(hhh]h)}(hlength of file name, in bytesh]hlength of file name, in bytes}(hjZ<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM_ hjW<ubah}(h]h ]h"]h$]h&]uh1jhj;<ubeh}(h]h ]h"]h$]h&]uh1jhjV<hM` hj;ubeh}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !name_contains_dotdot (C function)c.name_contains_dotdothNtauh1hhhhhhNhNubj)}(hhh](j)}(h,bool name_contains_dotdot (const char *name)h]j)}(h+bool name_contains_dotdot(const char *name)h](jf)}(hjih]hbool}(hj<hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj<hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMh ubj2)}(h h]h }(hj<hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj<hhhj<hMh ubjC)}(hname_contains_dotdoth]jI)}(hname_contains_dotdoth]hname_contains_dotdot}(hj<hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj<ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj<hhhj<hMh ubj=)}(h(const char *name)h]jC)}(hconst char *nameh](j )}(hjh]hconst}(hj<hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj<ubj2)}(h h]h }(hj<hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj<ubjf)}(hcharh]hchar}(hj<hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj<ubj2)}(h h]h }(hj=hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj<ubj)}(hjh]h*}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubjI)}(hnameh]hname}(hj=hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj<ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj<ubah}(h]h ]h"]h$]h&]j`jauh1j<hj<hhhj<hMh ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj<hhhj<hMh ubah}(h]j<ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj<hMh hj<hhubjw)}(hhh]h)}(h2check if a file name contains ".." path componentsh]h6check if a file name contains “..” path components}(hjE=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMh hjB=hhubah}(h]h ]h"]h$]h&]uh1jvhj<hhhj<hMh ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]=jj]=jjjuh1jhhhhhNhNubj)}(h**Parameters** ``const char *name`` File path string to check Search for ".." surrounded by either '/' or start/end of string.h](h)}(h**Parameters**h]j)}(hjg=h]h Parameters}(hji=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje=ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMl hja=ubj)}(hhh]j)}(ho``const char *name`` File path string to check Search for ".." surrounded by either '/' or start/end of string.h](j)}(h``const char *name``h]j)}(hj=h]hconst char *name}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMi hj=ubj)}(hhh]h)}(hZFile path string to check Search for ".." surrounded by either '/' or start/end of string.h]hbFile path string to check Search for “..” surrounded by either ‘/’ or start/end of string.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMi hj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj=hMi hj}=ubah}(h]h ]h"]h$]h&]uh1jhja=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j inode_dio_begin (C function)c.inode_dio_beginhNtauh1hhhhhhNhNubj)}(hhh](j)}(h*void inode_dio_begin (struct inode *inode)h]j)}(h)void inode_dio_begin(struct inode *inode)h](jf)}(hvoidh]hvoid}(hj=hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj=hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMI ubj2)}(h h]h }(hj=hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=hhhj=hMI ubjC)}(hinode_dio_beginh]jI)}(hinode_dio_beginh]hinode_dio_begin}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj=ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj=hhhj=hMI ubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj>ubj2)}(h h]h }(hj)>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj>ubh)}(hhh]jI)}(hinodeh]hinode}(hj:>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<>modnameN classnameNjj )}j ]j)}jj>sbc.inode_dio_beginasbuh1hhj>ubj2)}(h h]h }(hjZ>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj>ubj)}(hjh]h*}(hjh>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubjI)}(hinodeh]hinode}(hju>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj>ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj>ubah}(h]h ]h"]h$]h&]j`jauh1j<hj=hhhj=hMI ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj=hhhj=hMI ubah}(h]j=ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj=hMI hj=hhubjw)}(hhh]h)}(h%signal start of a direct I/O requestsh]h%signal start of a direct I/O requests}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMI hj>hhubah}(h]h ]h"]h$]h&]uh1jvhj=hhhj=hMI ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1jhhhhhNhNubj)}(h**Parameters** ``struct inode *inode`` inode the direct I/O happens on **Description** This is called once we've finished processing a direct I/O request, and is used to wake up callers waiting for direct I/O to be quiesced.h](h)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMM hj>ubj)}(hhh]j)}(h8``struct inode *inode`` inode the direct I/O happens on h](j)}(h``struct inode *inode``h]j)}(hj>h]hstruct inode *inode}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMJ hj>ubj)}(hhh]h)}(hinode the direct I/O happens onh]hinode the direct I/O happens on}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hMJ hj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMJ hj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubh)}(h**Description**h]j)}(hj?h]h Description}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhML hj>ubh)}(hThis is called once we've finished processing a direct I/O request, and is used to wake up callers waiting for direct I/O to be quiesced.h]hThis is called once we’ve finished processing a direct I/O request, and is used to wake up callers waiting for direct I/O to be quiesced.}(hj1?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMK hj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j inode_dio_end (C function)c.inode_dio_endhNtauh1hhhhhhNhNubj)}(hhh](j)}(h(void inode_dio_end (struct inode *inode)h]j)}(h'void inode_dio_end(struct inode *inode)h](jf)}(hvoidh]hvoid}(hj`?hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj\?hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMU ubj2)}(h h]h }(hjo?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\?hhhjn?hMU ubjC)}(h inode_dio_endh]jI)}(h inode_dio_endh]h inode_dio_end}(hj?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}?ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj\?hhhjn?hMU ubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj?ubj2)}(h h]h }(hj?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj?ubh)}(hhh]jI)}(hinodeh]hinode}(hj?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNjj )}j ]j)}jj?sbc.inode_dio_endasbuh1hhj?ubj2)}(h h]h }(hj?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj?ubj)}(hjh]h*}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubjI)}(hinodeh]hinode}(hj?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj?ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj?ubah}(h]h ]h"]h$]h&]j`jauh1j<hj\?hhhjn?hMU ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjX?hhhjn?hMU ubah}(h]jS?ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjn?hMU hjU?hhubjw)}(hhh]h)}(h&signal finish of a direct I/O requestsh]h&signal finish of a direct I/O requests}(hj @hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMU hj@hhubah}(h]h ]h"]h$]h&]uh1jvhjU?hhhjn?hMU ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8@jj8@jjjuh1jhhhhhNhNubj)}(h**Parameters** ``struct inode *inode`` inode the direct I/O happens on **Description** This is called once we've finished processing a direct I/O request, and is used to wake up callers waiting for direct I/O to be quiesced.?h](h)}(h**Parameters**h]j)}(hjB@h]h Parameters}(hjD@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@@ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMY hj<@ubj)}(hhh]j)}(h8``struct inode *inode`` inode the direct I/O happens on h](j)}(h``struct inode *inode``h]j)}(hja@h]hstruct inode *inode}(hjc@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_@ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMV hj[@ubj)}(hhh]h)}(hinode the direct I/O happens onh]hinode the direct I/O happens on}(hjz@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjv@hMV hjw@ubah}(h]h ]h"]h$]h&]uh1jhj[@ubeh}(h]h ]h"]h$]h&]uh1jhjv@hMV hjX@ubah}(h]h ]h"]h$]h&]uh1jhj<@ubh)}(h**Description**h]j)}(hj@h]h Description}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMX hj<@ubh)}(hThis is called once we've finished processing a direct I/O request, and is used to wake up callers waiting for direct I/O to be quiesced.h]hThis is called once we’ve finished processing a direct I/O request, and is used to wake up callers waiting for direct I/O to be quiesced.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMW hj<@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j ,generic_ci_validate_strict_name (C function)!c.generic_ci_validate_strict_namehNtauh1hhhhhhNhNubj)}(hhh](j)}(hQbool generic_ci_validate_strict_name (struct inode *dir, const struct qstr *name)h]j)}(hPbool generic_ci_validate_strict_name(struct inode *dir, const struct qstr *name)h](jf)}(hjih]hbool}(hj@hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj@hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj2)}(h h]h }(hj@hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj@hhhj@hM ubjC)}(hgeneric_ci_validate_strict_nameh]jI)}(hgeneric_ci_validate_strict_nameh]hgeneric_ci_validate_strict_name}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj@ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj@hhhj@hM ubj=)}(h,(struct inode *dir, const struct qstr *name)h](jC)}(hstruct inode *dirh](j )}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjAubj2)}(h h]h }(hj*AhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAubh)}(hhh]jI)}(hinodeh]hinode}(hj;AhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8Aubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=AmodnameN classnameNjj )}j ]j)}jjAsb!c.generic_ci_validate_strict_nameasbuh1hhjAubj2)}(h h]h }(hj[AhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAubj)}(hjh]h*}(hjiAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubjI)}(hdirh]hdir}(hjvAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjAubjC)}(hconst struct qstr *nameh](j )}(hjh]hconst}(hjAhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjAubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAubj )}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjAubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAubh)}(hhh]jI)}(hqstrh]hqstr}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNjj )}j ]jWA!c.generic_ci_validate_strict_nameasbuh1hhjAubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAubj)}(hjh]h*}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubjI)}(hnameh]hname}(hjBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjAubeh}(h]h ]h"]h$]h&]j`jauh1j<hj@hhhj@hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj@hhhj@hM ubah}(h]j@ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj@hM hj@hhubjw)}(hhh]h)}(h1Check if a given name is suitable for a directoryh]h1Check if a given name is suitable for a directory}(hj+BhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj(Bhhubah}(h]h ]h"]h$]h&]uh1jvhj@hhhj@hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCBjjCBjjjuh1jhhhhhNhNubj)}(hXx**Parameters** ``struct inode *dir`` inode of the directory where the new file will be created ``const struct qstr *name`` name of the new file **Description** This functions checks if the proposed filename is valid for the parent directory. That means that only valid UTF-8 filenames will be accepted for casefold directories from filesystems created with the strict encoding flag. That also means that any name will be accepted for directories that doesn't have casefold enabled, or aren't being strict with the encoding. **Return** * True: if the filename is suitable for this directory. It can be true if a given name is not suitable for a strict encoding directory, but the directory being used isn't strict * False if the filename isn't suitable for this directory. This only happens when a directory is casefolded and the filesystem is strict about its encoding.h](h)}(h**Parameters**h]j)}(hjMBh]h Parameters}(hjOBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKBubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjGBubj)}(hhh](j)}(hP``struct inode *dir`` inode of the directory where the new file will be created h](j)}(h``struct inode *dir``h]j)}(hjlBh]hstruct inode *dir}(hjnBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjBubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjfBubj)}(hhh]h)}(h9inode of the directory where the new file will be createdh]h9inode of the directory where the new file will be created}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhM hjBubah}(h]h ]h"]h$]h&]uh1jhjfBubeh}(h]h ]h"]h$]h&]uh1jhjBhM hjcBubj)}(h1``const struct qstr *name`` name of the new file h](j)}(h``const struct qstr *name``h]j)}(hjBh]hconst struct qstr *name}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjBubj)}(hhh]h)}(hname of the new fileh]hname of the new file}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhM hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhM hjcBubeh}(h]h ]h"]h$]h&]uh1jhjGBubh)}(h**Description**h]j)}(hjBh]h Description}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjGBubh)}(hXlThis functions checks if the proposed filename is valid for the parent directory. That means that only valid UTF-8 filenames will be accepted for casefold directories from filesystems created with the strict encoding flag. That also means that any name will be accepted for directories that doesn't have casefold enabled, or aren't being strict with the encoding.h]hXpThis functions checks if the proposed filename is valid for the parent directory. That means that only valid UTF-8 filenames will be accepted for casefold directories from filesystems created with the strict encoding flag. That also means that any name will be accepted for directories that doesn’t have casefold enabled, or aren’t being strict with the encoding.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjGBubh)}(h **Return**h]j)}(hjCh]hReturn}(hj ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjGBubh bullet_list)}(hhh](h list_item)}(hTrue: if the filename is suitable for this directory. It can be true if a given name is not suitable for a strict encoding directory, but the directory being used isn't stricth]h)}(hTrue: if the filename is suitable for this directory. It can be true if a given name is not suitable for a strict encoding directory, but the directory being used isn't stricth]hTrue: if the filename is suitable for this directory. It can be true if a given name is not suitable for a strict encoding directory, but the directory being used isn’t strict}(hj(ChhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj$Cubah}(h]h ]h"]h$]h&]uh1j"ChjCubj#C)}(hFalse if the filename isn't suitable for this directory. This only happens when a directory is casefolded and the filesystem is strict about its encoding.h]h)}(hFalse if the filename isn't suitable for this directory. This only happens when a directory is casefolded and the filesystem is strict about its encoding.h]hFalse if the filename isn’t suitable for this directory. This only happens when a directory is casefolded and the filesystem is strict about its encoding.}(hjAChhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj=Cubah}(h]h ]h"]h$]h&]uh1j"ChjCubeh}(h]h ]h"]h$]h&]bulletjuh1jChj6ChM hjGBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubeh}(h]the-filesystem-typesah ]h"]the filesystem typesah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(hThe Directory Cacheh]hThe Directory Cache}(hjoChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlChhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_drop (C function)c.d_drophNtauh1hhjlChhhNhNubj)}(hhh](j)}(h#void d_drop (struct dentry *dentry)h]j)}(h"void d_drop(struct dentry *dentry)h](jf)}(hvoidh]hvoid}(hjChhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjChhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMIubj2)}(h h]h }(hjChhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjChhhjChMIubjC)}(hd_droph]jI)}(hd_droph]hd_drop}(hjChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjCubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjChhhjChMIubj=)}(h(struct dentry *dentry)h]jC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjChhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjCubj2)}(h h]h }(hjChhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCubh)}(hhh]jI)}(hdentryh]hdentry}(hjChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj )}j ]j)}jjCsbc.d_dropasbuh1hhjCubj2)}(h h]h }(hjDhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCubj)}(hjh]h*}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubjI)}(hdentryh]hdentry}(hj,DhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjCubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjCubah}(h]h ]h"]h$]h&]j`jauh1j<hjChhhjChMIubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjChhhjChMIubah}(h]jCah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjChMIhjChhubjw)}(hhh]h)}(h drop a dentryh]h drop a dentry}(hjVDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMIhjSDhhubah}(h]h ]h"]h$]h&]uh1jvhjChhhjChMIubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnDjjnDjjjuh1jhhhjlChNhNubj)}(hX**Parameters** ``struct dentry *dentry`` dentry to drop **Description** d_drop() unhashes the entry from the parent dentry hashes, so that it won't be found through a VFS lookup any more. Note that this is different from deleting the dentry - d_delete will try to mark the dentry negative if possible, giving a successful _negative_ lookup, while d_drop will just make the cache lookup fail. d_drop() is used mainly for stuff that wants to invalidate a dentry for some reason (NFS timeouts or autofs deletes). __d_drop requires dentry->d_lock ___d_drop doesn't mark dentry as "unhashed" (dentry->d_hash.pprev will be LIST_POISON2, not NULL).h](h)}(h**Parameters**h]j)}(hjxDh]h Parameters}(hjzDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvDubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMMhjrDubj)}(hhh]j)}(h)``struct dentry *dentry`` dentry to drop h](j)}(h``struct dentry *dentry``h]j)}(hjDh]hstruct dentry *dentry}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMJhjDubj)}(hhh]h)}(hdentry to droph]hdentry to drop}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMJhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhMJhjDubah}(h]h ]h"]h$]h&]uh1jhjrDubh)}(h**Description**h]j)}(hjDh]h Description}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMLhjrDubh)}(hX?d_drop() unhashes the entry from the parent dentry hashes, so that it won't be found through a VFS lookup any more. Note that this is different from deleting the dentry - d_delete will try to mark the dentry negative if possible, giving a successful _negative_ lookup, while d_drop will just make the cache lookup fail.h]hXAd_drop() unhashes the entry from the parent dentry hashes, so that it won’t be found through a VFS lookup any more. Note that this is different from deleting the dentry - d_delete will try to mark the dentry negative if possible, giving a successful _negative_ lookup, while d_drop will just make the cache lookup fail.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMKhjrDubh)}(hud_drop() is used mainly for stuff that wants to invalidate a dentry for some reason (NFS timeouts or autofs deletes).h]hud_drop() is used mainly for stuff that wants to invalidate a dentry for some reason (NFS timeouts or autofs deletes).}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMQhjrDubh)}(h __d_drop requires dentry->d_lockh]h __d_drop requires dentry->d_lock}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMThjrDubh)}(hb___d_drop doesn't mark dentry as "unhashed" (dentry->d_hash.pprev will be LIST_POISON2, not NULL).h]hh___d_drop doesn’t mark dentry as “unhashed” (dentry->d_hash.pprev will be LIST_POISON2, not NULL).}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMVhjrDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "__move_to_shrink_list (C function)c.__move_to_shrink_listhNtauh1hhjlChhhNhNubj)}(hhh](j)}(hJbool __move_to_shrink_list (struct dentry *dentry, struct list_head *list)h]j)}(hIbool __move_to_shrink_list(struct dentry *dentry, struct list_head *list)h](jf)}(hjih]hbool}(hjDEhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj@EhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM!ubj2)}(h h]h }(hjREhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj@EhhhjQEhM!ubjC)}(h__move_to_shrink_listh]jI)}(h__move_to_shrink_listh]h__move_to_shrink_list}(hjdEhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`Eubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj@EhhhjQEhM!ubj=)}(h/(struct dentry *dentry, struct list_head *list)h](jC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj|Eubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|Eubh)}(hhh]jI)}(hdentryh]hdentry}(hjEhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj )}j ]j)}jjfEsbc.__move_to_shrink_listasbuh1hhj|Eubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|Eubj)}(hjh]h*}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|EubjI)}(hdentryh]hdentry}(hjEhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|Eubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjxEubjC)}(hstruct list_head *listh](j )}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjEubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjEubh)}(hhh]jI)}(h list_headh]h list_head}(hjFhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj Fubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNjj )}j ]jEc.__move_to_shrink_listasbuh1hhjEubj2)}(h h]h }(hj.FhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjEubj)}(hjh]h*}(hjd_lock**. There must have been no calls of dentry_free(**dentry**) prior to the beginning of the RCU read-side critical area in which __move_to_shrink_list(**dentry**, **list**) is called. **list** should be thread-private and eventually emptied by passing it to shrink_dentry_list().h](h)}(h**Parameters**h]j)}(hjFh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM%hjFubj)}(hhh](j)}(hA``struct dentry *dentry`` dentry to try putting into shrink list h](j)}(h``struct dentry *dentry``h]j)}(hjFh]hstruct dentry *dentry}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM"hjFubj)}(hhh]h)}(h&dentry to try putting into shrink listh]h&dentry to try putting into shrink list}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhM"hjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhM"hjFubj)}(h<``struct list_head *list`` the list to put **dentry** into. h](j)}(h``struct list_head *list``h]j)}(hjFh]hstruct list_head *list}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM#hjFubj)}(hhh]h)}(h the list to put **dentry** into.h](hthe list to put }(hjGhhhNhNubj)}(h **dentry**h]hdentry}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh into.}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjGhM#hjGubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjGhM#hjFubeh}(h]h ]h"]h$]h&]uh1jhjFubh)}(h **Return**h]j)}(hj:Gh]hReturn}(hjtrue **dentry** had been placed into **list**, false otherwiseh](htrue }(hjPGhhhNhNubj)}(h **dentry**h]hdentry}(hjXGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPGubh had been placed into }(hjPGhhhNhNubj)}(h**list**h]hlist}(hjjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPGubh, false otherwise}(hjPGhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM$hjFubh)}(h**Description**h]j)}(hjGh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM&hjFubh)}(hIf **dentry** is idle and not already include into a shrink list, move it into **list** and return ``true``; otherwise do nothing and return ``false``.h](hIf }(hjGhhhNhNubj)}(h **dentry**h]hdentry}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubhB is idle and not already include into a shrink list, move it into }(hjGhhhNhNubj)}(h**list**h]hlist}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh and return }(hjGhhhNhNubj)}(h``true``h]htrue}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh"; otherwise do nothing and return }(hjGhhhNhNubj)}(h ``false``h]hfalse}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh.}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM%hjFubh)}(hCaller must be holding **dentry->d_lock**. There must have been no calls of dentry_free(**dentry**) prior to the beginning of the RCU read-side critical area in which __move_to_shrink_list(**dentry**, **list**) is called.h](hCaller must be holding }(hjGhhhNhNubj)}(h**dentry->d_lock**h]hdentry->d_lock}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh0. There must have been no calls of dentry_free(}(hjGhhhNhNubj)}(h **dentry**h]hdentry}(hj HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh[) prior to the beginning of the RCU read-side critical area in which __move_to_shrink_list(}(hjGhhhNhNubj)}(h **dentry**h]hdentry}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh, }(hjGhhhNhNubj)}(h**list**h]hlist}(hj0HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh ) is called.}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM(hjFubh)}(h_**list** should be thread-private and eventually emptied by passing it to shrink_dentry_list().h](j)}(h**list**h]hlist}(hjMHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIHubhW should be thread-private and eventually emptied by passing it to shrink_dentry_list().}(hjIHhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM,hjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_find_any_alias (C function)c.d_find_any_aliashNtauh1hhjlChhhNhNubj)}(hhh](j)}(h6struct dentry * d_find_any_alias (struct inode *inode)h]j)}(h4struct dentry *d_find_any_alias(struct inode *inode)h](j )}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjHhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjHhhhjHhMubh)}(hhh]jI)}(hdentryh]hdentry}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNjj )}j ]j)}jd_find_any_aliassbc.d_find_any_aliasasbuh1hhjHhhhjHhMubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjHhhhjHhMubj)}(hjh]h*}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHhhhjHhMubjC)}(hd_find_any_aliash]jI)}(hjHh]hd_find_any_alias}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjHubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjHhhhjHhMubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjHubj2)}(h h]h }(hj IhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjHubh)}(hhh]jI)}(hinodeh]hinode}(hjIhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj ImodnameN classnameNjj )}j ]jHc.d_find_any_aliasasbuh1hhjHubj2)}(h h]h }(hjah"]h$]h&]uh1j1hjHubj)}(hjh]h*}(hjJIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubjI)}(hinodeh]hinode}(hjWIhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjHubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjHubah}(h]h ]h"]h$]h&]j`jauh1j<hjHhhhjHhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj~HhhhjHhMubah}(h]jyHah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjHhMhj{Hhhubjw)}(hhh]h)}(h find any alias for a given inodeh]h find any alias for a given inode}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj~Ihhubah}(h]h ]h"]h$]h&]uh1jvhj{HhhhjHhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1jhhhjlChNhNubj)}(h**Parameters** ``struct inode *inode`` inode to find an alias for **Description** If any aliases exist for the given inode, take and return a reference for one of them. If no aliases exist, return ``NULL``.h](h)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjIubj)}(hhh]j)}(h3``struct inode *inode`` inode to find an alias for h](j)}(h``struct inode *inode``h]j)}(hjIh]hstruct inode *inode}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjIubj)}(hhh]h)}(hinode to find an alias forh]hinode to find an alias for}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhMhjIubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjIubah}(h]h ]h"]h$]h&]uh1jhjIubh)}(h**Description**h]j)}(hjIh]h Description}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjIubh)}(h}If any aliases exist for the given inode, take and return a reference for one of them. If no aliases exist, return ``NULL``.h](htIf any aliases exist for the given inode, take and return a reference for one of them. If no aliases exist, return }(hjJhhhNhNubj)}(h``NULL``h]hNULL}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubh.}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_find_alias (C function)c.d_find_aliashNtauh1hhjlChhhNhNubj)}(hhh](j)}(h2struct dentry * d_find_alias (struct inode *inode)h]j)}(h0struct dentry *d_find_alias(struct inode *inode)h](j )}(hjh]hstruct}(hjTJhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjPJhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj2)}(h h]h }(hjbJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPJhhhjaJhMubh)}(hhh]jI)}(hdentryh]hdentry}(hjsJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjuJmodnameN classnameNjj )}j ]j)}j d_find_aliassbc.d_find_aliasasbuh1hhjPJhhhjaJhMubj2)}(h h]h }(hjJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPJhhhjaJhMubj)}(hjh]h*}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPJhhhjaJhMubjC)}(h d_find_aliash]jI)}(hjJh]h d_find_alias}(hjJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjPJhhhjaJhMubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjJubj2)}(h h]h }(hjJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJubh)}(hhh]jI)}(hinodeh]hinode}(hjJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj )}j ]jJc.d_find_aliasasbuh1hhjJubj2)}(h h]h }(hj KhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJubj)}(hjh]h*}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubjI)}(hinodeh]hinode}(hj%KhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjJubah}(h]h ]h"]h$]h&]j`jauh1j<hjPJhhhjaJhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjLJhhhjaJhMubah}(h]jGJah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjaJhMhjIJhhubjw)}(hhh]h)}(hgrab a hashed alias of inodeh]hgrab a hashed alias of inode}(hjOKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjLKhhubah}(h]h ]h"]h$]h&]uh1jvhjIJhhhjaJhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjgKjjgKjjjuh1jhhhjlChNhNubj)}(hX0**Parameters** ``struct inode *inode`` inode in question **Description** If inode has a hashed alias, or is a directory and has any alias, acquire the reference to alias and return it. Otherwise return NULL. Notice that if inode is a directory there can be only one alias and it can be unhashed only if it has no children, or if it is the root of a filesystem, or if the directory was renamed and d_revalidate was the first vfs operation to notice. If the inode has an IS_ROOT, DCACHE_DISCONNECTED alias, then prefer any other hashed alias over that one.h](h)}(h**Parameters**h]j)}(hjqKh]h Parameters}(hjsKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoKubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjkKubj)}(hhh]j)}(h*``struct inode *inode`` inode in question h](j)}(h``struct inode *inode``h]j)}(hjKh]hstruct inode *inode}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjKubj)}(hhh]h)}(hinode in questionh]hinode in question}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjKubah}(h]h ]h"]h$]h&]uh1jhjkKubh)}(h**Description**h]j)}(hjKh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjkKubh)}(hXwIf inode has a hashed alias, or is a directory and has any alias, acquire the reference to alias and return it. Otherwise return NULL. Notice that if inode is a directory there can be only one alias and it can be unhashed only if it has no children, or if it is the root of a filesystem, or if the directory was renamed and d_revalidate was the first vfs operation to notice.h]hXwIf inode has a hashed alias, or is a directory and has any alias, acquire the reference to alias and return it. Otherwise return NULL. Notice that if inode is a directory there can be only one alias and it can be unhashed only if it has no children, or if it is the root of a filesystem, or if the directory was renamed and d_revalidate was the first vfs operation to notice.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjkKubh)}(hiIf the inode has an IS_ROOT, DCACHE_DISCONNECTED alias, then prefer any other hashed alias over that one.h]hiIf the inode has an IS_ROOT, DCACHE_DISCONNECTED alias, then prefer any other hashed alias over that one.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjkKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j shrink_dcache_sb (C function)c.shrink_dcache_sbhNtauh1hhjlChhhNhNubj)}(hhh](j)}(h.void shrink_dcache_sb (struct super_block *sb)h]j)}(h-void shrink_dcache_sb(struct super_block *sb)h](jf)}(hvoidh]hvoid}(hjLhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjLhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMxubj2)}(h h]h }(hj.LhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLhhhj-LhMxubjC)}(hshrink_dcache_sbh]jI)}(hshrink_dcache_sbh]hshrink_dcache_sb}(hj@LhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjah"]h$]h&]uh1j1hjXLubh)}(hhh]jI)}(h super_blockh]h super_block}(hjzLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|LmodnameN classnameNjj )}j ]j)}jjBLsbc.shrink_dcache_sbasbuh1hhjXLubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXLubj)}(hjh]h*}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXLubjI)}(hsbh]hsb}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXLubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjTLubah}(h]h ]h"]h$]h&]j`jauh1j<hjLhhhj-LhMxubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjLhhhj-LhMxubah}(h]jLah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj-LhMxhjLhhubjw)}(hhh]h)}(hshrink dcache for a superblockh]hshrink dcache for a superblock}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMxhjLhhubah}(h]h ]h"]h$]h&]uh1jvhjLhhhj-LhMxubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1jhhhjlChNhNubj)}(h**Parameters** ``struct super_block *sb`` superblock **Description** Shrink the dcache for the specified super block. This is used to free the dcache before unmounting a file system.h](h)}(h**Parameters**h]j)}(hjMh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM|hjLubj)}(hhh]j)}(h&``struct super_block *sb`` superblock h](j)}(h``struct super_block *sb``h]j)}(hj Mh]hstruct super_block *sb}(hj"MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMyhjMubj)}(hhh]h)}(h superblockh]h superblock}(hj9MhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5MhMyhj6Mubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhj5MhMyhjMubah}(h]h ]h"]h$]h&]uh1jhjLubh)}(h**Description**h]j)}(hj[Mh]h Description}(hj]MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYMubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM{hjLubh)}(hqShrink the dcache for the specified super block. This is used to free the dcache before unmounting a file system.h]hqShrink the dcache for the specified super block. This is used to free the dcache before unmounting a file system.}(hjqMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMzhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j path_has_submounts (C function)c.path_has_submountshNtauh1hhjlChhhNhNubj)}(hhh](j)}(h2int path_has_submounts (const struct path *parent)h]j)}(h1int path_has_submounts(const struct path *parent)h](jf)}(hinth]hint}(hjMhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjMhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjMhhhjMhMubjC)}(hpath_has_submountsh]jI)}(hpath_has_submountsh]hpath_has_submounts}(hjMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjMhhhjMhMubj=)}(h(const struct path *parent)h]jC)}(hconst struct path *parenth](j )}(hjh]hconst}(hjMhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjMubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjMubj )}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjMubj2)}(h h]h }(hjNhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjMubh)}(hhh]jI)}(hpathh]hpath}(hjNhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNjj )}j ]j)}jjMsbc.path_has_submountsasbuh1hhjMubj2)}(h h]h }(hj6NhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjMubj)}(hjh]h*}(hjDNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubjI)}(hparenth]hparent}(hjQNhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjMubah}(h]h ]h"]h$]h&]j`jauh1j<hjMhhhjMhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjMhhhjMhMubah}(h]jMah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjMhMhjMhhubjw)}(hhh]h)}(h8check for mounts over a dentry in the current namespace.h]h8check for mounts over a dentry in the current namespace.}(hj{NhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjxNhhubah}(h]h ]h"]h$]h&]uh1jvhjMhhhjMhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1jhhhjlChNhNubj)}(h**Parameters** ``const struct path *parent`` path to check. **Description** Return true if the parent or its subdirectories contain a mount point in the current namespace.h](h)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjNubj)}(hhh]j)}(h-``const struct path *parent`` path to check. h](j)}(h``const struct path *parent``h]j)}(hjNh]hconst struct path *parent}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjNubj)}(hhh]h)}(hpath to check.h]hpath to check.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubh)}(h**Description**h]j)}(hjNh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjNubh)}(h_Return true if the parent or its subdirectories contain a mount point in the current namespace.h]h_Return true if the parent or its subdirectories contain a mount point in the current namespace.}(hj OhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_invalidate (C function)c.d_invalidatehNtauh1hhjlChhhNhNubj)}(hhh](j)}(h)void d_invalidate (struct dentry *dentry)h]j)}(h(void d_invalidate(struct dentry *dentry)h](jf)}(hvoidh]hvoid}(hjah"]h$]h&]uh1j1hj8OhhhjJOhM<ubjC)}(h d_invalidateh]jI)}(h d_invalidateh]h d_invalidate}(hj]OhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYOubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj8OhhhjJOhM<ubj=)}(h(struct dentry *dentry)h]jC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjyOhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjuOubj2)}(h h]h }(hjOhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjuOubh)}(hhh]jI)}(hdentryh]hdentry}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj )}j ]j)}jj_Osbc.d_invalidateasbuh1hhjuOubj2)}(h h]h }(hjOhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjuOubj)}(hjh]h*}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuOubjI)}(hdentryh]hdentry}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjuOubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjqOubah}(h]h ]h"]h$]h&]j`jauh1j<hj8OhhhjJOhM<ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj4OhhhjJOhM<ubah}(h]j/Oah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjJOhM<hj1Ohhubjw)}(hhh]h)}(h(detach submounts, prune dcache, and droph]h(detach submounts, prune dcache, and drop}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM<hjOhhubah}(h]h ]h"]h$]h&]uh1jvhj1OhhhjJOhM<ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1jhhhjlChNhNubj)}(h]**Parameters** ``struct dentry *dentry`` dentry to invalidate (aka detach, prune and drop)h](h)}(h**Parameters**h]j)}(hjPh]h Parameters}(hj PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM@hjPubj)}(hhh]j)}(hK``struct dentry *dentry`` dentry to invalidate (aka detach, prune and drop)h](j)}(h``struct dentry *dentry``h]j)}(hj=Ph]hstruct dentry *dentry}(hj?PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;Pubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMBhj7Pubj)}(hhh]h)}(h1dentry to invalidate (aka detach, prune and drop)h]h1dentry to invalidate (aka detach, prune and drop)}(hjVPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM=hjSPubah}(h]h ]h"]h$]h&]uh1jhj7Pubeh}(h]h ]h"]h$]h&]uh1jhjRPhMBhj4Pubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_alloc (C function) c.d_allochNtauh1hhjlChhhNhNubj)}(hhh](j)}(hIstruct dentry * d_alloc (struct dentry * parent, const struct qstr *name)h]j)}(hFstruct dentry *d_alloc(struct dentry *parent, const struct qstr *name)h](j )}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjPhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj2)}(h h]h }(hjPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPhhhjPhMubh)}(hhh]jI)}(hdentryh]hdentry}(hjPhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj )}j ]j)}jd_allocsb c.d_allocasbuh1hhjPhhhjPhMubj2)}(h h]h }(hjPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPhhhjPhMubj)}(hjh]h*}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPhhhjPhMubjC)}(hd_alloch]jI)}(hjPh]hd_alloc}(hjPhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjPhhhjPhMubj=)}(h0(struct dentry *parent, const struct qstr *name)h](jC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj Qubj2)}(h h]h }(hjQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj Qubh)}(hhh]jI)}(hdentryh]hdentry}(hj/QhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj,Qubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1QmodnameN classnameNjj )}j ]jP c.d_allocasbuh1hhj Qubj2)}(h h]h }(hjMQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj Qubj)}(hjh]h*}(hj[QhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj QubjI)}(hparenth]hparent}(hjhQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj Qubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj QubjC)}(hconst struct qstr *nameh](j )}(hjh]hconst}(hjQhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj}Qubj2)}(h h]h }(hjQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}Qubj )}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj}Qubj2)}(h h]h }(hjQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}Qubh)}(hhh]jI)}(hqstrh]hqstr}(hjQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNjj )}j ]jP c.d_allocasbuh1hhj}Qubj2)}(h h]h }(hjQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}Qubj)}(hjh]h*}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}QubjI)}(hnameh]hname}(hjQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}Qubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj Qubeh}(h]h ]h"]h$]h&]j`jauh1j<hjPhhhjPhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjPhhhjPhMubah}(h]jPah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjPhMhjPhhubjw)}(hhh]h)}(hallocate a dcache entryh]hallocate a dcache entry}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjRhhubah}(h]h ]h"]h$]h&]uh1jvhjPhhhjPhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5Rjj5Rjjjuh1jhhhjlChNhNubj)}(hXU**Parameters** ``struct dentry * parent`` parent of entry to allocate ``const struct qstr *name`` qstr of the name **Description** Allocates a dentry. It returns ``NULL`` if there is insufficient memory available. On a success the dentry is returned. The name passed in is copied and the copy passed in may be reused after this call.h](h)}(h**Parameters**h]j)}(hj?Rh]h Parameters}(hjARhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=Rubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj9Rubj)}(hhh](j)}(h7``struct dentry * parent`` parent of entry to allocate h](j)}(h``struct dentry * parent``h]j)}(hj^Rh]hstruct dentry * parent}(hj`RhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\Rubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjXRubj)}(hhh]h)}(hparent of entry to allocateh]hparent of entry to allocate}(hjwRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjsRhMhjtRubah}(h]h ]h"]h$]h&]uh1jhjXRubeh}(h]h ]h"]h$]h&]uh1jhjsRhMhjURubj)}(h-``const struct qstr *name`` qstr of the name h](j)}(h``const struct qstr *name``h]j)}(hjRh]hconst struct qstr *name}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjRubj)}(hhh]h)}(hqstr of the nameh]hqstr of the name}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhMhjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjURubeh}(h]h ]h"]h$]h&]uh1jhj9Rubh)}(h**Description**h]j)}(hjRh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj9Rubh)}(hAllocates a dentry. It returns ``NULL`` if there is insufficient memory available. On a success the dentry is returned. The name passed in is copied and the copy passed in may be reused after this call.h](hAllocates a dentry. It returns }(hjRhhhNhNubj)}(h``NULL``h]hNULL}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh if there is insufficient memory available. On a success the dentry is returned. The name passed in is copied and the copy passed in may be reused after this call.}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj9Rubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_instantiate (C function)c.d_instantiatehNtauh1hhjlChhhNhNubj)}(hhh](j)}(h?void d_instantiate (struct dentry *entry, struct inode * inode)h]j)}(h=void d_instantiate(struct dentry *entry, struct inode *inode)h](jf)}(hvoidh]hvoid}(hj)ShhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj%ShhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMiubj2)}(h h]h }(hj8ShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%Shhhj7ShMiubjC)}(h d_instantiateh]jI)}(h d_instantiateh]h d_instantiate}(hjJShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFSubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj%Shhhj7ShMiubj=)}(h+(struct dentry *entry, struct inode *inode)h](jC)}(hstruct dentry *entryh](j )}(hjh]hstruct}(hjfShhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjbSubj2)}(h h]h }(hjsShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbSubh)}(hhh]jI)}(hdentryh]hdentry}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj )}j ]j)}jjLSsbc.d_instantiateasbuh1hhjbSubj2)}(h h]h }(hjShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbSubj)}(hjh]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbSubjI)}(hentryh]hentry}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbSubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj^SubjC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjShhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjSubj2)}(h h]h }(hjShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjSubh)}(hhh]jI)}(hinodeh]hinode}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj )}j ]jSc.d_instantiateasbuh1hhjSubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjSubj)}(hjh]h*}(hj"ThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubjI)}(hinodeh]hinode}(hj/ThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj^Subeh}(h]h ]h"]h$]h&]j`jauh1j<hj%Shhhj7ShMiubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj!Shhhj7ShMiubah}(h]jSah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj7ShMihjShhubjw)}(hhh]h)}(h&fill in inode information for a dentryh]h&fill in inode information for a dentry}(hjYThhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMihjVThhubah}(h]h ]h"]h$]h&]uh1jvhjShhhj7ShMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqTjjqTjjjuh1jhhhjlChNhNubj)}(hX**Parameters** ``struct dentry *entry`` dentry to complete ``struct inode * inode`` inode to attach to this dentry **Description** Fill in inode information in the entry. This turns negative dentries into productive full members of society. NOTE! This assumes that the inode count has been incremented (or otherwise set) by the caller to indicate that it is now in use by the dcache.h](h)}(h**Parameters**h]j)}(hj{Th]h Parameters}(hj}ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyTubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMmhjuTubj)}(hhh](j)}(h,``struct dentry *entry`` dentry to complete h](j)}(h``struct dentry *entry``h]j)}(hjTh]hstruct dentry *entry}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMjhjTubj)}(hhh]h)}(hdentry to completeh]hdentry to complete}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMjhjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThMjhjTubj)}(h8``struct inode * inode`` inode to attach to this dentry h](j)}(h``struct inode * inode``h]j)}(hjTh]hstruct inode * inode}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMkhjTubj)}(hhh]h)}(hinode to attach to this dentryh]hinode to attach to this dentry}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMkhjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThMkhjTubeh}(h]h ]h"]h$]h&]uh1jhjuTubh)}(h**Description**h]j)}(hjUh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Uubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMmhjuTubh)}(h'Fill in inode information in the entry.h]h'Fill in inode information in the entry.}(hj$UhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMlhjuTubh)}(hEThis turns negative dentries into productive full members of society.h]hEThis turns negative dentries into productive full members of society.}(hj3UhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMnhjuTubh)}(hNOTE! This assumes that the inode count has been incremented (or otherwise set) by the caller to indicate that it is now in use by the dcache.h]hNOTE! This assumes that the inode count has been incremented (or otherwise set) by the caller to indicate that it is now in use by the dcache.}(hjBUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMqhjuTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_obtain_alias (C function)c.d_obtain_aliashNtauh1hhjlChhhNhNubj)}(hhh](j)}(h4struct dentry * d_obtain_alias (struct inode *inode)h]j)}(h2struct dentry *d_obtain_alias(struct inode *inode)h](j )}(hjh]hstruct}(hjqUhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjmUhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj2)}(h h]h }(hjUhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjmUhhhj~UhMubh)}(hhh]jI)}(hdentryh]hdentry}(hjUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj )}j ]j)}jd_obtain_aliassbc.d_obtain_aliasasbuh1hhjmUhhhj~UhMubj2)}(h h]h }(hjUhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjmUhhhj~UhMubj)}(hjh]h*}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmUhhhj~UhMubjC)}(hd_obtain_aliash]jI)}(hjUh]hd_obtain_alias}(hjUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjUubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjmUhhhj~UhMubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjUubj2)}(h h]h }(hjUhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjUubh)}(hhh]jI)}(hinodeh]hinode}(hj VhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj VmodnameN classnameNjj )}j ]jUc.d_obtain_aliasasbuh1hhjUubj2)}(h h]h }(hj'VhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjUubj)}(hjh]h*}(hj5VhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubjI)}(hinodeh]hinode}(hjBVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjUubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjUubah}(h]h ]h"]h$]h&]j`jauh1j<hjmUhhhj~UhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjiUhhhj~UhMubah}(h]jdUah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj~UhMhjfUhhubjw)}(hhh]h)}(h8find or allocate a DISCONNECTED dentry for a given inodeh]h8find or allocate a DISCONNECTED dentry for a given inode}(hjlVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjiVhhubah}(h]h ]h"]h$]h&]uh1jvhjfUhhhj~UhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1jhhhjlChNhNubj)}(hX/**Parameters** ``struct inode *inode`` inode to allocate the dentry for **Description** Obtain a dentry for an inode resulting from NFS filehandle conversion or similar open by handle operations. The returned dentry may be anonymous, or may have a full name (if the inode was already in the cache). When called on a directory inode, we must ensure that the inode only ever has one dentry. If a dentry is found, that is returned instead of allocating a new one. On successful return, the reference to the inode has been transferred to the dentry. In case of an error the reference on the inode is released. To make it easier to use in export operations a ``NULL`` or IS_ERR inode may be passed in and the error will be propagated to the return value, with a ``NULL`` **inode** replaced by ERR_PTR(-ESTALE).h](h)}(h**Parameters**h]j)}(hjVh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjVubj)}(hhh]j)}(h9``struct inode *inode`` inode to allocate the dentry for h](j)}(h``struct inode *inode``h]j)}(hjVh]hstruct inode *inode}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjVubj)}(hhh]h)}(h inode to allocate the dentry forh]h inode to allocate the dentry for}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjVubh)}(h**Description**h]j)}(hjVh]h Description}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjVubh)}(hObtain a dentry for an inode resulting from NFS filehandle conversion or similar open by handle operations. The returned dentry may be anonymous, or may have a full name (if the inode was already in the cache).h]hObtain a dentry for an inode resulting from NFS filehandle conversion or similar open by handle operations. The returned dentry may be anonymous, or may have a full name (if the inode was already in the cache).}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjVubh)}(hWhen called on a directory inode, we must ensure that the inode only ever has one dentry. If a dentry is found, that is returned instead of allocating a new one.h]hWhen called on a directory inode, we must ensure that the inode only ever has one dentry. If a dentry is found, that is returned instead of allocating a new one.}(hj WhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjVubh)}(hXYOn successful return, the reference to the inode has been transferred to the dentry. In case of an error the reference on the inode is released. To make it easier to use in export operations a ``NULL`` or IS_ERR inode may be passed in and the error will be propagated to the return value, with a ``NULL`` **inode** replaced by ERR_PTR(-ESTALE).h](hOn successful return, the reference to the inode has been transferred to the dentry. In case of an error the reference on the inode is released. To make it easier to use in export operations a }(hjWhhhNhNubj)}(h``NULL``h]hNULL}(hj$WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh_ or IS_ERR inode may be passed in and the error will be propagated to the return value, with a }(hjWhhhNhNubj)}(h``NULL``h]hNULL}(hj6WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh }(hjWhhhNhNubj)}(h **inode**h]hinode}(hjHWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh replaced by ERR_PTR(-ESTALE).}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_obtain_root (C function)c.d_obtain_roothNtauh1hhjlChhhNhNubj)}(hhh](j)}(h3struct dentry * d_obtain_root (struct inode *inode)h]j)}(h1struct dentry *d_obtain_root(struct inode *inode)h](j )}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj}WhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}WhhhjWhMubh)}(hhh]jI)}(hdentryh]hdentry}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNjj )}j ]j)}j d_obtain_rootsbc.d_obtain_rootasbuh1hhj}WhhhjWhMubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}WhhhjWhMubj)}(hjh]h*}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}WhhhjWhMubjC)}(h d_obtain_rooth]jI)}(hjWh]h d_obtain_root}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj}WhhhjWhMubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjWubj2)}(h h]h }(hjXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjWubh)}(hhh]jI)}(hinodeh]hinode}(hjXhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNjj )}j ]jWc.d_obtain_rootasbuh1hhjWubj2)}(h h]h }(hj7XhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjWubj)}(hjh]h*}(hjEXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubjI)}(hinodeh]hinode}(hjRXhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjWubah}(h]h ]h"]h$]h&]j`jauh1j<hj}WhhhjWhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjyWhhhjWhMubah}(h]jtWah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjWhMhjvWhhubjw)}(hhh]h)}(h+find or allocate a dentry for a given inodeh]h+find or allocate a dentry for a given inode}(hj|XhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjyXhhubah}(h]h ]h"]h$]h&]uh1jvhjvWhhhjWhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXjjXjjjuh1jhhhjlChNhNubj)}(hXR**Parameters** ``struct inode *inode`` inode to allocate the dentry for **Description** Obtain an IS_ROOT dentry for the root of a filesystem. We must ensure that directory inodes only ever have one dentry. If a dentry is found, that is returned instead of allocating a new one. On successful return, the reference to the inode has been transferred to the dentry. In case of an error the reference on the inode is released. A ``NULL`` or IS_ERR inode may be passed in and will be the error will be propagate to the return value, with a ``NULL`` **inode** replaced by ERR_PTR(-ESTALE).h](h)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjXubj)}(hhh]j)}(h9``struct inode *inode`` inode to allocate the dentry for h](j)}(h``struct inode *inode``h]j)}(hjXh]hstruct inode *inode}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjXubj)}(hhh]h)}(h inode to allocate the dentry forh]h inode to allocate the dentry for}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjXubh)}(h**Description**h]j)}(hjXh]h Description}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjXubh)}(h6Obtain an IS_ROOT dentry for the root of a filesystem.h]h6Obtain an IS_ROOT dentry for the root of a filesystem.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjXubh)}(hWe must ensure that directory inodes only ever have one dentry. If a dentry is found, that is returned instead of allocating a new one.h]hWe must ensure that directory inodes only ever have one dentry. If a dentry is found, that is returned instead of allocating a new one.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjXubh)}(hX3On successful return, the reference to the inode has been transferred to the dentry. In case of an error the reference on the inode is released. A ``NULL`` or IS_ERR inode may be passed in and will be the error will be propagate to the return value, with a ``NULL`` **inode** replaced by ERR_PTR(-ESTALE).h](hOn successful return, the reference to the inode has been transferred to the dentry. In case of an error the reference on the inode is released. A }(hj,YhhhNhNubj)}(h``NULL``h]hNULL}(hj4YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,Yubhf or IS_ERR inode may be passed in and will be the error will be propagate to the return value, with a }(hj,YhhhNhNubj)}(h``NULL``h]hNULL}(hjFYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,Yubh }(hj,YhhhNhNubj)}(h **inode**h]hinode}(hjXYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,Yubh replaced by ERR_PTR(-ESTALE).}(hj,YhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_add_ci (C function) c.d_add_cihNtauh1hhjlChhhNhNubj)}(hhh](j)}(hXstruct dentry * d_add_ci (struct dentry *dentry, struct inode *inode, struct qstr *name)h]j)}(hVstruct dentry *d_add_ci(struct dentry *dentry, struct inode *inode, struct qstr *name)h](j )}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjYhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj2)}(h h]h }(hjYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYhhhjYhM ubh)}(hhh]jI)}(hdentryh]hdentry}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj )}j ]j)}jd_add_cisb c.d_add_ciasbuh1hhjYhhhjYhM ubj2)}(h h]h }(hjYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYhhhjYhM ubj)}(hjh]h*}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhjYhM ubjC)}(hd_add_cih]jI)}(hjYh]hd_add_ci}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjYhhhjYhM ubj=)}(h?(struct dentry *dentry, struct inode *inode, struct qstr *name)h](jC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hj ZhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjZubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjZubh)}(hhh]jI)}(hdentryh]hdentry}(hj)ZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&Zubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+ZmodnameN classnameNjj )}j ]jY c.d_add_ciasbuh1hhjZubj2)}(h h]h }(hjGZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjZubj)}(hjh]h*}(hjUZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubjI)}(hdentryh]hdentry}(hjbZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjZubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjZubjC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj{ZhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwZubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwZubh)}(hhh]jI)}(hinodeh]hinode}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNjj )}j ]jY c.d_add_ciasbuh1hhjwZubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwZubj)}(hjh]h*}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwZubjI)}(hinodeh]hinode}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwZubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjZubjC)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjZubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjZubh)}(hhh]jI)}(hqstrh]hqstr}(hj [hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj [modnameN classnameNjj )}j ]jY c.d_add_ciasbuh1hhjZubj2)}(h h]h }(hj'[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjZubj)}(hjh]h*}(hj5[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubjI)}(hnameh]hname}(hjB[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjZubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjZubeh}(h]h ]h"]h$]h&]j`jauh1j<hjYhhhjYhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjYhhhjYhM ubah}(h]jYah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjYhM hjYhhubjw)}(hhh]h)}(h2lookup or allocate new dentry with case-exact nameh]h2lookup or allocate new dentry with case-exact name}(hjl[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hji[hhubah}(h]h ]h"]h$]h&]uh1jvhjYhhhjYhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1jhhhjlChNhNubj)}(hX**Parameters** ``struct dentry *dentry`` the negative dentry that was passed to the parent's lookup func ``struct inode *inode`` the inode case-insensitive lookup has found ``struct qstr *name`` the case-exact name to be associated with the returned dentry **Description** This is to avoid filling the dcache with case-insensitive names to the same inode, only the actual correct case is stored in the dcache for case-insensitive filesystems. For a case-insensitive lookup match and if the case-exact dentry already exists in the dcache, use it and return it. If no entry exists with the exact case name, allocate new dentry with the exact case, and return the spliced entry.h](h)}(h**Parameters**h]j)}(hj[h]h Parameters}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj[ubj)}(hhh](j)}(hZ``struct dentry *dentry`` the negative dentry that was passed to the parent's lookup func h](j)}(h``struct dentry *dentry``h]j)}(hj[h]hstruct dentry *dentry}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj[ubj)}(hhh]h)}(h?the negative dentry that was passed to the parent's lookup funch]hAthe negative dentry that was passed to the parent’s lookup func}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hM hj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hM hj[ubj)}(hD``struct inode *inode`` the inode case-insensitive lookup has found h](j)}(h``struct inode *inode``h]j)}(hj[h]hstruct inode *inode}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj[ubj)}(hhh]h)}(h+the inode case-insensitive lookup has foundh]h+the inode case-insensitive lookup has found}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hM hj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hM hj[ubj)}(hT``struct qstr *name`` the case-exact name to be associated with the returned dentry h](j)}(h``struct qstr *name``h]j)}(hj\h]hstruct qstr *name}(hj!\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj\ubj)}(hhh]h)}(h=the case-exact name to be associated with the returned dentryh]h=the case-exact name to be associated with the returned dentry}(hj8\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4\hM hj5\ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj4\hM hj[ubeh}(h]h ]h"]h$]h&]uh1jhj[ubh)}(h**Description**h]j)}(hjZ\h]h Description}(hj\\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX\ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj[ubh)}(hThis is to avoid filling the dcache with case-insensitive names to the same inode, only the actual correct case is stored in the dcache for case-insensitive filesystems.h]hThis is to avoid filling the dcache with case-insensitive names to the same inode, only the actual correct case is stored in the dcache for case-insensitive filesystems.}(hjp\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj[ubh)}(htFor a case-insensitive lookup match and if the case-exact dentry already exists in the dcache, use it and return it.h]htFor a case-insensitive lookup match and if the case-exact dentry already exists in the dcache, use it and return it.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj[ubh)}(hsIf no entry exists with the exact case name, allocate new dentry with the exact case, and return the spliced entry.h]hsIf no entry exists with the exact case name, allocate new dentry with the exact case, and return the spliced entry.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_same_name (C function) c.d_same_namehNtauh1hhjlChhhNhNubj)}(hhh](j)}(hdbool d_same_name (const struct dentry *dentry, const struct dentry *parent, const struct qstr *name)h]j)}(hcbool d_same_name(const struct dentry *dentry, const struct dentry *parent, const struct qstr *name)h](jf)}(hjih]hbool}(hj\hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj\hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMG ubj2)}(h h]h }(hj\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\hhhj\hMG ubjC)}(h d_same_nameh]jI)}(h d_same_nameh]h d_same_name}(hj\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj\hhhj\hMG ubj=)}(hS(const struct dentry *dentry, const struct dentry *parent, const struct qstr *name)h](jC)}(hconst struct dentry *dentryh](j )}(hjh]hconst}(hj\hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj\ubj2)}(h h]h }(hj]hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\ubj )}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj\ubj2)}(h h]h }(hj!]hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\ubh)}(hhh]jI)}(hdentryh]hdentry}(hj2]hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4]modnameN classnameNjj )}j ]j)}jj\sb c.d_same_nameasbuh1hhj\ubj2)}(h h]h }(hjR]hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\ubj)}(hjh]h*}(hj`]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubjI)}(hdentryh]hdentry}(hjm]hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj\ubjC)}(hconst struct dentry *parenth](j )}(hjh]hconst}(hj]hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj]ubj2)}(h h]h }(hj]hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj]ubj )}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj]ubj2)}(h h]h }(hj]hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj]ubh)}(hhh]jI)}(hdentryh]hdentry}(hj]hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNjj )}j ]jN] c.d_same_nameasbuh1hhj]ubj2)}(h h]h }(hj]hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj]ubj)}(hjh]h*}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubjI)}(hparenth]hparent}(hj]hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj]ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj\ubjC)}(hconst struct qstr *nameh](j )}(hjh]hconst}(hj^hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj ^ubj2)}(h h]h }(hj^hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ^ubj )}(hjh]hstruct}(hj,^hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj ^ubj2)}(h h]h }(hj9^hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ^ubh)}(hhh]jI)}(hqstrh]hqstr}(hjJ^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjG^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjL^modnameN classnameNjj )}j ]jN] c.d_same_nameasbuh1hhj ^ubj2)}(h h]h }(hjh^hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ^ubj)}(hjh]h*}(hjv^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ^ubjI)}(hnameh]hname}(hj^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ^ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj\ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj\hhhj\hMG ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj\hhhj\hMG ubah}(h]j\ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj\hMG hj\hhubjw)}(hhh]h)}(h(compare dentry name with case-exact nameh]h(compare dentry name with case-exact name}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMG hj^hhubah}(h]h ]h"]h$]h&]uh1jvhj\hhhj\hMG ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^jj^jjjuh1jhhhjlChNhNubj)}(hX-**Parameters** ``const struct dentry *dentry`` the negative dentry that was passed to the parent's lookup func ``const struct dentry *parent`` parent dentry ``const struct qstr *name`` the case-exact name to be associated with the returned dentry **Return** true if names are same, or falseh](h)}(h**Parameters**h]j)}(hj^h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMK hj^ubj)}(hhh](j)}(h```const struct dentry *dentry`` the negative dentry that was passed to the parent's lookup func h](j)}(h``const struct dentry *dentry``h]j)}(hj^h]hconst struct dentry *dentry}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMH hj^ubj)}(hhh]h)}(h?the negative dentry that was passed to the parent's lookup funch]hAthe negative dentry that was passed to the parent’s lookup func}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hMH hj_ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj_hMH hj^ubj)}(h.``const struct dentry *parent`` parent dentry h](j)}(h``const struct dentry *parent``h]j)}(hj'_h]hconst struct dentry *parent}(hj)_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%_ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMI hj!_ubj)}(hhh]h)}(h parent dentryh]h parent dentry}(hj@_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<_hMI hj=_ubah}(h]h ]h"]h$]h&]uh1jhj!_ubeh}(h]h ]h"]h$]h&]uh1jhj<_hMI hj^ubj)}(hZ``const struct qstr *name`` the case-exact name to be associated with the returned dentry h](j)}(h``const struct qstr *name``h]j)}(hj`_h]hconst struct qstr *name}(hjb_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^_ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMJ hjZ_ubj)}(hhh]h)}(h=the case-exact name to be associated with the returned dentryh]h=the case-exact name to be associated with the returned dentry}(hjy_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhju_hMJ hjv_ubah}(h]h ]h"]h$]h&]uh1jhjZ_ubeh}(h]h ]h"]h$]h&]uh1jhju_hMJ hj^ubeh}(h]h ]h"]h$]h&]uh1jhj^ubh)}(h **Return**h]j)}(hj_h]hReturn}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chML hj^ubh)}(h true if names are same, or falseh]h true if names are same, or false}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chML hj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_lookup (C function) c.d_lookuphNtauh1hhjlChhhNhNubj)}(hhh](j)}(hOstruct dentry * d_lookup (const struct dentry *parent, const struct qstr *name)h]j)}(hMstruct dentry *d_lookup(const struct dentry *parent, const struct qstr *name)h](j )}(hjh]hstruct}(hj_hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj_hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj2)}(h h]h }(hj_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_hhhj_hM ubh)}(hhh]jI)}(hdentryh]hdentry}(hj_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNjj )}j ]j)}jd_lookupsb c.d_lookupasbuh1hhj_hhhj_hM ubj2)}(h h]h }(hj `hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_hhhj_hM ubj)}(hjh]h*}(hj.`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_hhhj_hM ubjC)}(hd_lookuph]jI)}(hj`h]hd_lookup}(hj?`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj;`ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj_hhhj_hM ubj=)}(h6(const struct dentry *parent, const struct qstr *name)h](jC)}(hconst struct dentry *parenth](j )}(hjh]hconst}(hjZ`hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjV`ubj2)}(h h]h }(hjg`hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjV`ubj )}(hjh]hstruct}(hju`hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjV`ubj2)}(h h]h }(hj`hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjV`ubh)}(hhh]jI)}(hdentryh]hdentry}(hj`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNjj )}j ]j` c.d_lookupasbuh1hhjV`ubj2)}(h h]h }(hj`hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjV`ubj)}(hjh]h*}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjV`ubjI)}(hparenth]hparent}(hj`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjV`ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjR`ubjC)}(hconst struct qstr *nameh](j )}(hjh]hconst}(hj`hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj`ubj2)}(h h]h }(hj`hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj`ubj )}(hjh]hstruct}(hjahhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj`ubj2)}(h h]h }(hj ahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj`ubh)}(hhh]jI)}(hqstrh]hqstr}(hjahhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj amodnameN classnameNjj )}j ]j` c.d_lookupasbuh1hhj`ubj2)}(h h]h }(hjah"]h$]h&]uh1j1hj`ubj)}(hjh]h*}(hjJahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubjI)}(hnameh]hname}(hjWahhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjR`ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj_hhhj_hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj_hhhj_hM ubah}(h]j_ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj_hM hj_hhubjw)}(hhh]h)}(hsearch for a dentryh]hsearch for a dentry}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj~ahhubah}(h]h ]h"]h$]h&]uh1jvhj_hhhj_hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1jhhhjlChNhNubj)}(hX**Parameters** ``const struct dentry *parent`` parent dentry ``const struct qstr *name`` qstr of name we wish to find **Return** dentry, or NULL **Description** d_lookup searches the children of the parent dentry for the name in question. If the dentry is found its reference count is incremented and the dentry is returned. The caller must use dput to free the entry when it has finished using it. ``NULL`` is returned if the dentry does not exist.h](h)}(h**Parameters**h]j)}(hjah]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjaubj)}(hhh](j)}(h.``const struct dentry *parent`` parent dentry h](j)}(h``const struct dentry *parent``h]j)}(hjah]hconst struct dentry *parent}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjaubj)}(hhh]h)}(h parent dentryh]h parent dentry}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahM hjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahM hjaubj)}(h9``const struct qstr *name`` qstr of name we wish to find h](j)}(h``const struct qstr *name``h]j)}(hjah]hconst struct qstr *name}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjaubj)}(hhh]h)}(hqstr of name we wish to findh]hqstr of name we wish to find}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhM hjbubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjbhM hjaubeh}(h]h ]h"]h$]h&]uh1jhjaubh)}(h **Return**h]j)}(hj6bh]hReturn}(hj8bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4bubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjaubh)}(hdentry, or NULLh]hdentry, or NULL}(hjLbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjaubh)}(h**Description**h]j)}(hj]bh]h Description}(hj_bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[bubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjaubh)}(hX d_lookup searches the children of the parent dentry for the name in question. If the dentry is found its reference count is incremented and the dentry is returned. The caller must use dput to free the entry when it has finished using it. ``NULL`` is returned if the dentry does not exist.h](hd_lookup searches the children of the parent dentry for the name in question. If the dentry is found its reference count is incremented and the dentry is returned. The caller must use dput to free the entry when it has finished using it. }(hjsbhhhNhNubj)}(h``NULL``h]hNULL}(hj{bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsbubh* is returned if the dentry does not exist.}(hjsbhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_delete (C function) c.d_deletehNtauh1hhjlChhhNhNubj)}(hhh](j)}(h&void d_delete (struct dentry * dentry)h]j)}(h$void d_delete(struct dentry *dentry)h](jf)}(hvoidh]hvoid}(hjbhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjbhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMs ubj2)}(h h]h }(hjbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbhhhjbhMs ubjC)}(hd_deleteh]jI)}(hd_deleteh]hd_delete}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjbhhhjbhMs ubj=)}(h(struct dentry *dentry)h]jC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjbubj2)}(h h]h }(hjbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbubh)}(hhh]jI)}(hdentryh]hdentry}(hjchhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj cubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNjj )}j ]j)}jjbsb c.d_deleteasbuh1hhjbubj2)}(h h]h }(hj/chhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbubj)}(hjh]h*}(hj=chhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubjI)}(hdentryh]hdentry}(hjJchhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjbubah}(h]h ]h"]h$]h&]j`jauh1j<hjbhhhjbhMs ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjbhhhjbhMs ubah}(h]jbah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjbhMs hjbhhubjw)}(hhh]h)}(hdelete a dentryh]hdelete a dentry}(hjtchhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMs hjqchhubah}(h]h ]h"]h$]h&]uh1jvhjbhhhjbhMs ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1jhhhjlChNhNubj)}(h**Parameters** ``struct dentry * dentry`` The dentry to delete **Description** Turn the dentry into a negative dentry if possible, otherwise remove it from the hash queues so it can be deleted laterh](h)}(h**Parameters**h]j)}(hjch]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMw hjcubj)}(hhh]j)}(h0``struct dentry * dentry`` The dentry to delete h](j)}(h``struct dentry * dentry``h]j)}(hjch]hstruct dentry * dentry}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMt hjcubj)}(hhh]h)}(hThe dentry to deleteh]hThe dentry to delete}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchMt hjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchMt hjcubah}(h]h ]h"]h$]h&]uh1jhjcubh)}(h**Description**h]j)}(hjch]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMv hjcubh)}(hwTurn the dentry into a negative dentry if possible, otherwise remove it from the hash queues so it can be deleted laterh]hwTurn the dentry into a negative dentry if possible, otherwise remove it from the hash queues so it can be deleted later}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMu hjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_rehash (C function) c.d_rehashhNtauh1hhjlChhhNhNubj)}(hhh](j)}(h%void d_rehash (struct dentry * entry)h]j)}(h#void d_rehash(struct dentry *entry)h](jf)}(hvoidh]hvoid}(hj5dhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj1dhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj2)}(h h]h }(hjDdhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1dhhhjCdhM ubjC)}(hd_rehashh]jI)}(hd_rehashh]hd_rehash}(hjVdhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRdubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj1dhhhjCdhM ubj=)}(h(struct dentry *entry)h]jC)}(hstruct dentry *entryh](j )}(hjh]hstruct}(hjrdhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjndubj2)}(h h]h }(hjdhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjndubh)}(hhh]jI)}(hdentryh]hdentry}(hjdhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNjj )}j ]j)}jjXdsb c.d_rehashasbuh1hhjndubj2)}(h h]h }(hjdhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjndubj)}(hjh]h*}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjndubjI)}(hentryh]hentry}(hjdhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjndubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjjdubah}(h]h ]h"]h$]h&]j`jauh1j<hj1dhhhjCdhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj-dhhhjCdhM ubah}(h]j(dah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjCdhM hj*dhhubjw)}(hhh]h)}(hadd an entry back to the hashh]hadd an entry back to the hash}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjdhhubah}(h]h ]h"]h$]h&]uh1jvhj*dhhhjCdhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj ejj ejjjuh1jhhhjlChNhNubj)}(h**Parameters** ``struct dentry * entry`` dentry to add to the hash **Description** Adds a dentry to the hash according to its name.h](h)}(h**Parameters**h]j)}(hjeh]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjeubj)}(hhh]j)}(h4``struct dentry * entry`` dentry to add to the hash h](j)}(h``struct dentry * entry``h]j)}(hj6eh]hstruct dentry * entry}(hj8ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4eubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj0eubj)}(hhh]h)}(hdentry to add to the hashh]hdentry to add to the hash}(hjOehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKehM hjLeubah}(h]h ]h"]h$]h&]uh1jhj0eubeh}(h]h ]h"]h$]h&]uh1jhjKehM hj-eubah}(h]h ]h"]h$]h&]uh1jhjeubh)}(h**Description**h]j)}(hjqeh]h Description}(hjsehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoeubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjeubh)}(h0Adds a dentry to the hash according to its name.h]h0Adds a dentry to the hash according to its name.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjeubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_add (C function)c.d_addhNtauh1hhjlChhhNhNubj)}(hhh](j)}(h6void d_add (struct dentry *entry, struct inode *inode)h]j)}(h5void d_add(struct dentry *entry, struct inode *inode)h](jf)}(hvoidh]hvoid}(hjehhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjehhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjehhhjehM ubjC)}(hd_addh]jI)}(hd_addh]hd_add}(hjehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjehhhjehM ubj=)}(h+(struct dentry *entry, struct inode *inode)h](jC)}(hstruct dentry *entryh](j )}(hjh]hstruct}(hjehhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjeubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjeubh)}(hhh]jI)}(hdentryh]hdentry}(hjfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj )}j ]j)}jjesbc.d_addasbuh1hhjeubj2)}(h h]h }(hj1fhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjeubj)}(hjh]h*}(hj?fhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubjI)}(hentryh]hentry}(hjLfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjeubjC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjefhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjafubj2)}(h h]h }(hjrfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjafubh)}(hhh]jI)}(hinodeh]hinode}(hjfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj )}j ]j-fc.d_addasbuh1hhjafubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjafubj)}(hjh]h*}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjafubjI)}(hinodeh]hinode}(hjfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjafubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjeubeh}(h]h ]h"]h$]h&]j`jauh1j<hjehhhjehM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjehhhjehM ubah}(h]jeah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjehM hjehhubjw)}(hhh]h)}(hadd dentry to hash queuesh]hadd dentry to hash queues}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjfhhubah}(h]h ]h"]h$]h&]uh1jvhjehhhjehM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1jhhhjlChNhNubj)}(hX**Parameters** ``struct dentry *entry`` dentry to add ``struct inode *inode`` The inode to attach to this dentry **Description** This adds the entry to the hash queues and initializes **inode**. The entry was actually filled in earlier during d_alloc().h](h)}(h**Parameters**h]j)}(hjgh]h Parameters}(hj ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjgubj)}(hhh](j)}(h'``struct dentry *entry`` dentry to add h](j)}(h``struct dentry *entry``h]j)}(hj'gh]hstruct dentry *entry}(hj)ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%gubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj!gubj)}(hhh]h)}(h dentry to addh]h dentry to add}(hj@ghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjah"]h$]h&]uh1j1hjghhhjghM ubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj )}j ]j)}jd_splice_aliassbc.d_splice_aliasasbuh1hhjghhhjghM ubj2)}(h h]h }(hj2hhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjghhhjghM ubj)}(hjh]h*}(hj@hhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjghhhjghM ubjC)}(hd_splice_aliash]jI)}(hj/hh]hd_splice_alias}(hjQhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMhubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjghhhjghM ubj=)}(h,(struct inode *inode, struct dentry *dentry)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjlhhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhubj2)}(h h]h }(hjyhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj )}j ]j-hc.d_splice_aliasasbuh1hhjhhubj2)}(h h]h }(hjhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhubj)}(hjh]h*}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhubjI)}(hinodeh]hinode}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhhubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjdhubjC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhubj2)}(h h]h }(hjhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj )}j ]j-hc.d_splice_aliasasbuh1hhjhubj2)}(h h]h }(hjihhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubj)}(hjh]h*}(hj&ihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubjI)}(hdentryh]hdentry}(hj3ihhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjdhubeh}(h]h ]h"]h$]h&]j`jauh1j<hjghhhjghM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjghhhjghM ubah}(h]jgah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjghM hjghhubjw)}(hhh]h)}(h8splice a disconnected dentry into the tree if one existsh]h8splice a disconnected dentry into the tree if one exists}(hj]ihhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjZihhubah}(h]h ]h"]h$]h&]uh1jvhjghhhjghM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjuijjuijjjuh1jhhhjlChNhNubj)}(hX**Parameters** ``struct inode *inode`` the inode which may have a disconnected dentry ``struct dentry *dentry`` a negative dentry which we want to point to the inode. **Description** If inode is a directory and has an IS_ROOT alias, then d_move that in place of the given dentry and return it, else simply d_add the inode to the dentry and return NULL. If a non-IS_ROOT directory is found, the filesystem is corrupt, and we should error out: directories can't have multiple aliases. This is needed in the lookup routine of any filesystem that is exportable (via knfsd) so that we can build dcache paths to directories effectively. If a dentry was found and moved, then it is returned. Otherwise NULL is returned. This matches the expected return value of ->lookup. Cluster filesystems may call this function with a negative, hashed dentry. In that case, we know that the inode will be a regular file, and also this will only occur during atomic_open. So we need to check for the dentry being already hashed only in the final case.h](h)}(h**Parameters**h]j)}(hjih]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}iubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjyiubj)}(hhh](j)}(hG``struct inode *inode`` the inode which may have a disconnected dentry h](j)}(h``struct inode *inode``h]j)}(hjih]hstruct inode *inode}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjiubj)}(hhh]h)}(h.the inode which may have a disconnected dentryh]h.the inode which may have a disconnected dentry}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihM hjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihM hjiubj)}(hQ``struct dentry *dentry`` a negative dentry which we want to point to the inode. h](j)}(h``struct dentry *dentry``h]j)}(hjih]hstruct dentry *dentry}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjiubj)}(hhh]h)}(h6a negative dentry which we want to point to the inode.h]h6a negative dentry which we want to point to the inode.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihM hjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihM hjiubeh}(h]h ]h"]h$]h&]uh1jhjyiubh)}(h**Description**h]j)}(hjjh]h Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjyiubh)}(hIf inode is a directory and has an IS_ROOT alias, then d_move that in place of the given dentry and return it, else simply d_add the inode to the dentry and return NULL.h]hIf inode is a directory and has an IS_ROOT alias, then d_move that in place of the given dentry and return it, else simply d_add the inode to the dentry and return NULL.}(hj(jhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjyiubh)}(hIf a non-IS_ROOT directory is found, the filesystem is corrupt, and we should error out: directories can't have multiple aliases.h]hIf a non-IS_ROOT directory is found, the filesystem is corrupt, and we should error out: directories can’t have multiple aliases.}(hj7jhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjyiubh)}(hThis is needed in the lookup routine of any filesystem that is exportable (via knfsd) so that we can build dcache paths to directories effectively.h]hThis is needed in the lookup routine of any filesystem that is exportable (via knfsd) so that we can build dcache paths to directories effectively.}(hjFjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjyiubh)}(hIf a dentry was found and moved, then it is returned. Otherwise NULL is returned. This matches the expected return value of ->lookup.h]hIf a dentry was found and moved, then it is returned. Otherwise NULL is returned. This matches the expected return value of ->lookup.}(hjUjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjyiubh)}(hX Cluster filesystems may call this function with a negative, hashed dentry. In that case, we know that the inode will be a regular file, and also this will only occur during atomic_open. So we need to check for the dentry being already hashed only in the final case.h]hX Cluster filesystems may call this function with a negative, hashed dentry. In that case, we know that the inode will be a regular file, and also this will only occur during atomic_open. So we need to check for the dentry being already hashed only in the final case.}(hjdjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjyiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j is_subdir (C function) c.is_subdirhNtauh1hhjlChhhNhNubj)}(hhh](j)}(hEbool is_subdir (struct dentry *new_dentry, struct dentry *old_dentry)h]j)}(hDbool is_subdir(struct dentry *new_dentry, struct dentry *old_dentry)h](jf)}(hjih]hbool}(hjjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjjhhhjjhM ubjC)}(h is_subdirh]jI)}(h is_subdirh]h is_subdir}(hjjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjjhhhjjhM ubj=)}(h6(struct dentry *new_dentry, struct dentry *old_dentry)h](jC)}(hstruct dentry *new_dentryh](j )}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjjubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjjubh)}(hhh]jI)}(hdentryh]hdentry}(hjjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNjj )}j ]j)}jjjsb c.is_subdirasbuh1hhjjubj2)}(h h]h }(hj khhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjjubj)}(hjh]h*}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubjI)}(h new_dentryh]h new_dentry}(hj(khhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjjubjC)}(hstruct dentry *old_dentryh](j )}(hjh]hstruct}(hjAkhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj=kubj2)}(h h]h }(hjNkhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=kubh)}(hhh]jI)}(hdentryh]hdentry}(hj_khhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\kubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjakmodnameN classnameNjj )}j ]j k c.is_subdirasbuh1hhj=kubj2)}(h h]h }(hj}khhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=kubj)}(hjh]h*}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=kubjI)}(h old_dentryh]h old_dentry}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj=kubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjjhhhjjhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjjhhhjjhM ubah}(h]jjah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjjhM hjjhhubjw)}(hhh]h)}(h*is new dentry a subdirectory of old_dentryh]h*is new dentry a subdirectory of old_dentry}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjkhhubah}(h]h ]h"]h$]h&]uh1jvhjjhhhjjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1jhhhjlChNhNubj)}(hX&**Parameters** ``struct dentry *new_dentry`` new dentry ``struct dentry *old_dentry`` old dentry **Description** Returns true if new_dentry is a subdirectory of the parent (at any depth). Returns false otherwise. Caller must ensure that "new_dentry" is pinned before calling is_subdir()h](h)}(h**Parameters**h]j)}(hjkh]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjkubj)}(hhh](j)}(h)``struct dentry *new_dentry`` new dentry h](j)}(h``struct dentry *new_dentry``h]j)}(hjlh]hstruct dentry *new_dentry}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjkubj)}(hhh]h)}(h new dentryh]h new dentry}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhM hjlubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjlhM hjkubj)}(h)``struct dentry *old_dentry`` old dentry h](j)}(h``struct dentry *old_dentry``h]j)}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:lubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj6lubj)}(hhh]h)}(h old dentryh]h old dentry}(hjUlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQlhM hjRlubah}(h]h ]h"]h$]h&]uh1jhj6lubeh}(h]h ]h"]h$]h&]uh1jhjQlhM hjkubeh}(h]h ]h"]h$]h&]uh1jhjkubh)}(h**Description**h]j)}(hjwlh]h Description}(hjylhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjulubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjkubh)}(hReturns true if new_dentry is a subdirectory of the parent (at any depth). Returns false otherwise. Caller must ensure that "new_dentry" is pinned before calling is_subdir()h]hReturns true if new_dentry is a subdirectory of the parent (at any depth). Returns false otherwise. Caller must ensure that “new_dentry” is pinned before calling is_subdir()}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j dget_dlock (C function) c.dget_dlockhNtauh1hhjlChhhNhNubj)}(hhh](j)}(h2struct dentry * dget_dlock (struct dentry *dentry)h]j)}(h0struct dentry *dget_dlock(struct dentry *dentry)h](j )}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjlhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMGubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjlhhhjlhMGubh)}(hhh]jI)}(hdentryh]hdentry}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj )}j ]j)}j dget_dlocksb c.dget_dlockasbuh1hhjlhhhjlhMGubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjlhhhjlhMGubj)}(hjh]h*}(hj mhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhhjlhMGubjC)}(h dget_dlockh]jI)}(hjlh]h dget_dlock}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjmubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjlhhhjlhMGubj=)}(h(struct dentry *dentry)h]jC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hj6mhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj2mubj2)}(h h]h }(hjCmhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2mubh)}(hhh]jI)}(hdentryh]hdentry}(hjTmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmmodnameN classnameNjj )}j ]jl c.dget_dlockasbuh1hhj2mubj2)}(h h]h }(hjrmhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2mubj)}(hjh]h*}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2mubjI)}(hdentryh]hdentry}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2mubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj.mubah}(h]h ]h"]h$]h&]j`jauh1j<hjlhhhjlhMGubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjlhhhjlhMGubah}(h]jlah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjlhMGhjlhhubjw)}(hhh]h)}(hget a reference to a dentryh]hget a reference to a dentry}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMGhjmhhubah}(h]h ]h"]h$]h&]uh1jvhjlhhhjlhMGubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1jhhhjlChNhNubj)}(hX**Parameters** ``struct dentry *dentry`` dentry to get a reference to **Description** Given a live dentry, increment the reference count and return the dentry. Caller must hold **dentry->d_lock**. Making sure that dentry is alive is caller's resonsibility. There are many conditions sufficient to guarantee that; e.g. anything with non-negative refcount is alive, so's anything hashed, anything positive, anyone's parent, etc.h](h)}(h**Parameters**h]j)}(hjmh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMKhjmubj)}(hhh]j)}(h7``struct dentry *dentry`` dentry to get a reference to h](j)}(h``struct dentry *dentry``h]j)}(hjmh]hstruct dentry *dentry}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMHhjmubj)}(hhh]h)}(hdentry to get a reference toh]hdentry to get a reference to}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj nhMHhjnubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhj nhMHhjmubah}(h]h ]h"]h$]h&]uh1jhjmubh)}(h**Description**h]j)}(hj3nh]h Description}(hj5nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1nubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMJhjmubh)}(hXVGiven a live dentry, increment the reference count and return the dentry. Caller must hold **dentry->d_lock**. Making sure that dentry is alive is caller's resonsibility. There are many conditions sufficient to guarantee that; e.g. anything with non-negative refcount is alive, so's anything hashed, anything positive, anyone's parent, etc.h](h[Given a live dentry, increment the reference count and return the dentry. Caller must hold }(hjInhhhNhNubj)}(h**dentry->d_lock**h]hdentry->d_lock}(hjQnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjInubh. Making sure that dentry is alive is caller’s resonsibility. There are many conditions sufficient to guarantee that; e.g. anything with non-negative refcount is alive, so’s anything hashed, anything positive, anyone’s parent, etc.}(hjInhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMIhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j dget (C function)c.dgethNtauh1hhjlChhhNhNubj)}(hhh](j)}(h,struct dentry * dget (struct dentry *dentry)h]j)}(h*struct dentry *dget(struct dentry *dentry)h](j )}(hjh]hstruct}(hjnhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjnhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMXubj2)}(h h]h }(hjnhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjnhhhjnhMXubh)}(hhh]jI)}(hdentryh]hdentry}(hjnhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj )}j ]j)}jdgetsbc.dgetasbuh1hhjnhhhjnhMXubj2)}(h h]h }(hjnhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjnhhhjnhMXubj)}(hjh]h*}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnhhhjnhMXubjC)}(hdgeth]jI)}(hjnh]hdget}(hjnhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjnubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjnhhhjnhMXubj=)}(h(struct dentry *dentry)h]jC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjohhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjoubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjoubh)}(hhh]jI)}(hdentryh]hdentry}(hj"ohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$omodnameN classnameNjj )}j ]jnc.dgetasbuh1hhjoubj2)}(h h]h }(hj@ohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjoubj)}(hjh]h*}(hjNohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubjI)}(hdentryh]hdentry}(hj[ohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjnubah}(h]h ]h"]h$]h&]j`jauh1j<hjnhhhjnhMXubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjnhhhjnhMXubah}(h]j}nah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjnhMXhjnhhubjw)}(hhh]h)}(hget a reference to a dentryh]hget a reference to a dentry}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMXhjohhubah}(h]h ]h"]h$]h&]uh1jvhjnhhhjnhMXubeh}(h]h ](jfunctioneh"]h$]h&]jjjjojjojjjuh1jhhhjlChNhNubj)}(hX**Parameters** ``struct dentry *dentry`` dentry to get a reference to **Description** Given a dentry or ``NULL`` pointer increment the reference count if appropriate and return the dentry. A dentry will not be destroyed when it has references. Conversely, a dentry with no references can disappear for any number of reasons, starting with memory pressure. In other words, that primitive is used to clone an existing reference; using it on something with zero refcount is a bug. **NOTE** it will spin if **dentry->d_lock** is held. From the deadlock avoidance point of view it is equivalent to spin_lock()/increment refcount/spin_unlock(), so calling it under **dentry->d_lock** is always a bug; so's calling it under ->d_lock on any of its descendents.h](h)}(h**Parameters**h]j)}(hjoh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM\hjoubj)}(hhh]j)}(h7``struct dentry *dentry`` dentry to get a reference to h](j)}(h``struct dentry *dentry``h]j)}(hjoh]hstruct dentry *dentry}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMYhjoubj)}(hhh]h)}(hdentry to get a reference toh]hdentry to get a reference to}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohMYhjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohMYhjoubah}(h]h ]h"]h$]h&]uh1jhjoubh)}(h**Description**h]j)}(hjph]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM[hjoubh)}(hXGiven a dentry or ``NULL`` pointer increment the reference count if appropriate and return the dentry. A dentry will not be destroyed when it has references. Conversely, a dentry with no references can disappear for any number of reasons, starting with memory pressure. In other words, that primitive is used to clone an existing reference; using it on something with zero refcount is a bug.h](hGiven a dentry or }(hjphhhNhNubj)}(h``NULL``h]hNULL}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubhXp pointer increment the reference count if appropriate and return the dentry. A dentry will not be destroyed when it has references. Conversely, a dentry with no references can disappear for any number of reasons, starting with memory pressure. In other words, that primitive is used to clone an existing reference; using it on something with zero refcount is a bug.}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMZhjoubh)}(h**NOTE**h]j)}(hj:ph]hNOTE}(hjd_lock** is held. From the deadlock avoidance point of view it is equivalent to spin_lock()/increment refcount/spin_unlock(), so calling it under **dentry->d_lock** is always a bug; so's calling it under ->d_lock on any of its descendents.h](hit will spin if }(hjPphhhNhNubj)}(h**dentry->d_lock**h]hdentry->d_lock}(hjXphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPpubh is held. From the deadlock avoidance point of view it is equivalent to spin_lock()/increment refcount/spin_unlock(), so calling it under }(hjPphhhNhNubj)}(h**dentry->d_lock**h]hdentry->d_lock}(hjjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPpubhM is always a bug; so’s calling it under ->d_lock on any of its descendents.}(hjPphhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMchjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_unhashed (C function) c.d_unhashedhNtauh1hhjlChhhNhNubj)}(hhh](j)}(h,int d_unhashed (const struct dentry *dentry)h]j)}(h+int d_unhashed(const struct dentry *dentry)h](jf)}(hinth]hint}(hjphhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjphhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj2)}(h h]h }(hjphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjphhhjphMubjC)}(h d_unhashedh]jI)}(h d_unhashedh]h d_unhashed}(hjphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjphhhjphMubj=)}(h(const struct dentry *dentry)h]jC)}(hconst struct dentry *dentryh](j )}(hjh]hconst}(hjphhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjpubj2)}(h h]h }(hjphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubj )}(hjh]hstruct}(hjphhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjpubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubh)}(hhh]jI)}(hdentryh]hdentry}(hjqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj )}j ]j)}jjpsb c.d_unhashedasbuh1hhjpubj2)}(h h]h }(hj9qhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubj)}(hjh]h*}(hjGqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubjI)}(hdentryh]hdentry}(hjTqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjpubah}(h]h ]h"]h$]h&]j`jauh1j<hjphhhjphMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjphhhjphMubah}(h]jpah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjphMhjphhubjw)}(hhh]h)}(his dentry hashedh]his dentry hashed}(hj~qhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj{qhhubah}(h]h ]h"]h$]h&]uh1jvhjphhhjphMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1jhhhjlChNhNubj)}(h**Parameters** ``const struct dentry *dentry`` entry to check **Description** Returns true if the dentry passed is not currently hashed.h](h)}(h**Parameters**h]j)}(hjqh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjqubj)}(hhh]j)}(h/``const struct dentry *dentry`` entry to check h](j)}(h``const struct dentry *dentry``h]j)}(hjqh]hconst struct dentry *dentry}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjqubj)}(hhh]h)}(hentry to checkh]hentry to check}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhMhjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjqubah}(h]h ]h"]h$]h&]uh1jhjqubh)}(h**Description**h]j)}(hjqh]h Description}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjqubh)}(h:Returns true if the dentry passed is not currently hashed.h]h:Returns true if the dentry passed is not currently hashed.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjqubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !d_really_is_negative (C function)c.d_really_is_negativehNtauh1hhjlChhhNhNubj)}(hhh](j)}(h7bool d_really_is_negative (const struct dentry *dentry)h]j)}(h6bool d_really_is_negative(const struct dentry *dentry)h](jf)}(hjih]hbool}(hj?rhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj;rhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj2)}(h h]h }(hjMrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj;rhhhjLrhMubjC)}(hd_really_is_negativeh]jI)}(hd_really_is_negativeh]hd_really_is_negative}(hj_rhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[rubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj;rhhhjLrhMubj=)}(h(const struct dentry *dentry)h]jC)}(hconst struct dentry *dentryh](j )}(hjh]hconst}(hj{rhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwrubj2)}(h h]h }(hjrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwrubj )}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwrubj2)}(h h]h }(hjrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwrubh)}(hhh]jI)}(hdentryh]hdentry}(hjrhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNjj )}j ]j)}jjarsbc.d_really_is_negativeasbuh1hhjwrubj2)}(h h]h }(hjrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwrubj)}(hjh]h*}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwrubjI)}(hdentryh]hdentry}(hjrhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwrubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjsrubah}(h]h ]h"]h$]h&]j`jauh1j<hj;rhhhjLrhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj7rhhhjLrhMubah}(h]j2rah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjLrhMhj4rhhubjw)}(hhh]h)}(h@Determine if a dentry is really negative (ignoring fallthroughs)h]h@Determine if a dentry is really negative (ignoring fallthroughs)}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjshhubah}(h]h ]h"]h$]h&]uh1jvhj4rhhhjLrhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1sjj1sjjjuh1jhhhjlChNhNubj)}(hX**Parameters** ``const struct dentry *dentry`` The dentry in question **Description** Returns true if the dentry represents either an absent name or a name that doesn't map to an inode (ie. ->d_inode is NULL). The dentry could represent a true miss, a whiteout that isn't represented by a 0,0 chardev or a fallthrough marker in an opaque directory. Note! (1) This should be used *only* by a filesystem to examine its own dentries. It should not be used to look at some other filesystem's dentries. (2) It should also be used in combination with d_inode() to get the inode. (3) The dentry may have something attached to ->d_lower and the type field of the flags may be set to something other than miss or whiteout.h](h)}(h**Parameters**h]j)}(hj;sh]h Parameters}(hj=shhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9subah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj5subj)}(hhh]j)}(h7``const struct dentry *dentry`` The dentry in question h](j)}(h``const struct dentry *dentry``h]j)}(hjZsh]hconst struct dentry *dentry}(hj\shhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXsubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjTsubj)}(hhh]h)}(hThe dentry in questionh]hThe dentry in question}(hjsshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjoshMhjpsubah}(h]h ]h"]h$]h&]uh1jhjTsubeh}(h]h ]h"]h$]h&]uh1jhjoshMhjQsubah}(h]h ]h"]h$]h&]uh1jhj5subh)}(h**Description**h]j)}(hjsh]h Description}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj5subh)}(hXReturns true if the dentry represents either an absent name or a name that doesn't map to an inode (ie. ->d_inode is NULL). The dentry could represent a true miss, a whiteout that isn't represented by a 0,0 chardev or a fallthrough marker in an opaque directory.h]hX Returns true if the dentry represents either an absent name or a name that doesn’t map to an inode (ie. ->d_inode is NULL). The dentry could represent a true miss, a whiteout that isn’t represented by a 0,0 chardev or a fallthrough marker in an opaque directory.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj5subh)}(hXpNote! (1) This should be used *only* by a filesystem to examine its own dentries. It should not be used to look at some other filesystem's dentries. (2) It should also be used in combination with d_inode() to get the inode. (3) The dentry may have something attached to ->d_lower and the type field of the flags may be set to something other than miss or whiteout.h](hNote! (1) This should be used }(hjshhhNhNubj )}(h*only*h]honly}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1j~ hjsubhXM by a filesystem to examine its own dentries. It should not be used to look at some other filesystem’s dentries. (2) It should also be used in combination with d_inode() to get the inode. (3) The dentry may have something attached to ->d_lower and the type field of the flags may be set to something other than miss or whiteout.}(hjshhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj5subeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !d_really_is_positive (C function)c.d_really_is_positivehNtauh1hhjlChhhNhNubj)}(hhh](j)}(h7bool d_really_is_positive (const struct dentry *dentry)h]j)}(h6bool d_really_is_positive(const struct dentry *dentry)h](jf)}(hjih]hbool}(hjshhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjshhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj2)}(h h]h }(hj thhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjshhhjthMubjC)}(hd_really_is_positiveh]jI)}(hd_really_is_positiveh]hd_really_is_positive}(hjthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjshhhjthMubj=)}(h(const struct dentry *dentry)h]jC)}(hconst struct dentry *dentryh](j )}(hjh]hconst}(hj7thhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj3tubj2)}(h h]h }(hjDthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj3tubj )}(hjh]hstruct}(hjRthhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj3tubj2)}(h h]h }(hj_thhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj3tubh)}(hhh]jI)}(hdentryh]hdentry}(hjpthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjmtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrtmodnameN classnameNjj )}j ]j)}jjtsbc.d_really_is_positiveasbuh1hhj3tubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj3tubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3tubjI)}(hdentryh]hdentry}(hjthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3tubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj/tubah}(h]h ]h"]h$]h&]j`jauh1j<hjshhhjthMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjshhhjthMubah}(h]jsah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjthMhjshhubjw)}(hhh]h)}(h@Determine if a dentry is really positive (ignoring fallthroughs)h]h@Determine if a dentry is really positive (ignoring fallthroughs)}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjthhubah}(h]h ]h"]h$]h&]uh1jvhjshhhjthMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1jhhhjlChNhNubj)}(hX**Parameters** ``const struct dentry *dentry`` The dentry in question **Description** Returns true if the dentry represents a name that maps to an inode (ie. ->d_inode is not NULL). The dentry might still represent a whiteout if that is represented on medium as a 0,0 chardev. Note! (1) This should be used *only* by a filesystem to examine its own dentries. It should not be used to look at some other filesystem's dentries. (2) It should also be used in combination with d_inode() to get the inode.h](h)}(h**Parameters**h]j)}(hjth]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjtubj)}(hhh]j)}(h7``const struct dentry *dentry`` The dentry in question h](j)}(h``const struct dentry *dentry``h]j)}(hjuh]hconst struct dentry *dentry}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjuubj)}(hhh]h)}(hThe dentry in questionh]hThe dentry in question}(hj/uhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+uhMhj,uubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhj+uhMhj uubah}(h]h ]h"]h$]h&]uh1jhjtubh)}(h**Description**h]j)}(hjQuh]h Description}(hjSuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOuubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjtubh)}(hReturns true if the dentry represents a name that maps to an inode (ie. ->d_inode is not NULL). The dentry might still represent a whiteout if that is represented on medium as a 0,0 chardev.h]hReturns true if the dentry represents a name that maps to an inode (ie. ->d_inode is not NULL). The dentry might still represent a whiteout if that is represented on medium as a 0,0 chardev.}(hjguhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjtubh)}(hNote! (1) This should be used *only* by a filesystem to examine its own dentries. It should not be used to look at some other filesystem's dentries. (2) It should also be used in combination with d_inode() to get the inode.h](hNote! (1) This should be used }(hjvuhhhNhNubj )}(h*only*h]honly}(hj~uhhhNhNubah}(h]h ]h"]h$]h&]uh1j~ hjvuubh by a filesystem to examine its own dentries. It should not be used to look at some other filesystem’s dentries. (2) It should also be used in combination with d_inode() to get the inode.}(hjvuhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_inode (C function) c.d_inodehNtauh1hhjlChhhNhNubj)}(hhh](j)}(h4struct inode * d_inode (const struct dentry *dentry)h]j)}(h2struct inode *d_inode(const struct dentry *dentry)h](j )}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjuhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM,ubj2)}(h h]h }(hjuhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjuhhhjuhM,ubh)}(hhh]jI)}(hinodeh]hinode}(hjuhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNjj )}j ]j)}jd_inodesb c.d_inodeasbuh1hhjuhhhjuhM,ubj2)}(h h]h }(hjuhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjuhhhjuhM,ubj)}(hjh]h*}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuhhhjuhM,ubjC)}(hd_inodeh]jI)}(hjuh]hd_inode}(hjvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjvubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjuhhhjuhM,ubj=)}(h(const struct dentry *dentry)h]jC)}(hconst struct dentry *dentryh](j )}(hjh]hconst}(hj1vhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj-vubj2)}(h h]h }(hj>vhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj-vubj )}(hjh]hstruct}(hjLvhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj-vubj2)}(h h]h }(hjYvhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj-vubh)}(hhh]jI)}(hdentryh]hdentry}(hjjvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjgvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlvmodnameN classnameNjj )}j ]ju c.d_inodeasbuh1hhj-vubj2)}(h h]h }(hjvhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj-vubj)}(hjh]h*}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-vubjI)}(hdentryh]hdentry}(hjvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj-vubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj)vubah}(h]h ]h"]h$]h&]j`jauh1j<hjuhhhjuhM,ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjuhhhjuhM,ubah}(h]juah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjuhM,hjuhhubjw)}(hhh]h)}(h#Get the actual inode of this dentryh]h#Get the actual inode of this dentry}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM,hjvhhubah}(h]h ]h"]h$]h&]uh1jvhjuhhhjuhM,ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1jhhhjlChNhNubj)}(h**Parameters** ``const struct dentry *dentry`` The dentry to query **Description** This is the helper normal filesystems should use to get at their own inodes in their own dentries and ignore the layering superimposed upon them.h](h)}(h**Parameters**h]j)}(hjvh]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM0hjvubj)}(hhh]j)}(h4``const struct dentry *dentry`` The dentry to query h](j)}(h``const struct dentry *dentry``h]j)}(hjwh]hconst struct dentry *dentry}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj wubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM-hjwubj)}(hhh]h)}(hThe dentry to queryh]hThe dentry to query}(hj'whhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#whM-hj$wubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhj#whM-hjwubah}(h]h ]h"]h$]h&]uh1jhjvubh)}(h**Description**h]j)}(hjIwh]h Description}(hjKwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGwubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM/hjvubh)}(hThis is the helper normal filesystems should use to get at their own inodes in their own dentries and ignore the layering superimposed upon them.h]hThis is the helper normal filesystems should use to get at their own inodes in their own dentries and ignore the layering superimposed upon them.}(hj_whhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM.hjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_inode_rcu (C function) c.d_inode_rcuhNtauh1hhjlChhhNhNubj)}(hhh](j)}(h8struct inode * d_inode_rcu (const struct dentry *dentry)h]j)}(h6struct inode *d_inode_rcu(const struct dentry *dentry)h](j )}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM8ubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwhhhjwhM8ubh)}(hhh]jI)}(hinodeh]hinode}(hjwhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNjj )}j ]j)}j d_inode_rcusb c.d_inode_rcuasbuh1hhjwhhhjwhM8ubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwhhhjwhM8ubj)}(hjh]h*}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwhhhjwhM8ubjC)}(h d_inode_rcuh]jI)}(hjwh]h d_inode_rcu}(hjwhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjwhhhjwhM8ubj=)}(h(const struct dentry *dentry)h]jC)}(hconst struct dentry *dentryh](j )}(hjh]hconst}(hjxhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjxubj2)}(h h]h }(hjxhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjxubj )}(hjh]hstruct}(hj#xhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjxubj2)}(h h]h }(hj0xhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjxubh)}(hhh]jI)}(hdentryh]hdentry}(hjAxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj>xubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCxmodnameN classnameNjj )}j ]jw c.d_inode_rcuasbuh1hhjxubj2)}(h h]h }(hj_xhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjxubj)}(hjh]h*}(hjmxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubjI)}(hdentryh]hdentry}(hjzxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjxubah}(h]h ]h"]h$]h&]j`jauh1j<hjwhhhjwhM8ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjwhhhjwhM8ubah}(h]jwah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjwhM8hjwhhubjw)}(hhh]h)}(h4Get the actual inode of this dentry with READ_ONCE()h]h4Get the actual inode of this dentry with READ_ONCE()}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM8hjxhhubah}(h]h ]h"]h$]h&]uh1jvhjwhhhjwhM8ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjxjjxjjjuh1jhhhjlChNhNubj)}(h**Parameters** ``const struct dentry *dentry`` The dentry to query **Description** This is the helper normal filesystems should use to get at their own inodes in their own dentries and ignore the layering superimposed upon them.h](h)}(h**Parameters**h]j)}(hjxh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM<hjxubj)}(hhh]j)}(h4``const struct dentry *dentry`` The dentry to query h](j)}(h``const struct dentry *dentry``h]j)}(hjxh]hconst struct dentry *dentry}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM9hjxubj)}(hhh]h)}(hThe dentry to queryh]hThe dentry to query}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhM9hjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhM9hjxubah}(h]h ]h"]h$]h&]uh1jhjxubh)}(h**Description**h]j)}(hj yh]h Description}(hj"yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM;hjxubh)}(hThis is the helper normal filesystems should use to get at their own inodes in their own dentries and ignore the layering superimposed upon them.h]hThis is the helper normal filesystems should use to get at their own inodes in their own dentries and ignore the layering superimposed upon them.}(hj6yhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM:hjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_backing_inode (C function)c.d_backing_inodehNtauh1hhjlChhhNhNubj)}(hhh](j)}(h;struct inode * d_backing_inode (const struct dentry *upper)h]j)}(h9struct inode *d_backing_inode(const struct dentry *upper)h](j )}(hjh]hstruct}(hjeyhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjayhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMDubj2)}(h h]h }(hjsyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjayhhhjryhMDubh)}(hhh]jI)}(hinodeh]hinode}(hjyhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj )}j ]j)}jd_backing_inodesbc.d_backing_inodeasbuh1hhjayhhhjryhMDubj2)}(h h]h }(hjyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjayhhhjryhMDubj)}(hjh]h*}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjayhhhjryhMDubjC)}(hd_backing_inodeh]jI)}(hjyh]hd_backing_inode}(hjyhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjyubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjayhhhjryhMDubj=)}(h(const struct dentry *upper)h]jC)}(hconst struct dentry *upperh](j )}(hjh]hconst}(hjyhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjyubj2)}(h h]h }(hjyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjyubj )}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjyubj2)}(h h]h }(hjzhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjyubh)}(hhh]jI)}(hdentryh]hdentry}(hjzhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNjj )}j ]jyc.d_backing_inodeasbuh1hhjyubj2)}(h h]h }(hj6zhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjyubj)}(hjh]h*}(hjDzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubjI)}(hupperh]hupper}(hjQzhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjyubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjyubah}(h]h ]h"]h$]h&]j`jauh1j<hjayhhhjryhMDubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj]yhhhjryhMDubah}(h]jXyah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjryhMDhjZyhhubjw)}(hhh]h)}(h+Get upper or lower inode we should be usingh]h+Get upper or lower inode we should be using}(hj{zhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMDhjxzhhubah}(h]h ]h"]h$]h&]uh1jvhjZyhhhjryhMDubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1jhhhjlChNhNubj)}(hXi**Parameters** ``const struct dentry *upper`` The upper layer **Description** This is the helper that should be used to get at the inode that will be used if this dentry were to be opened as a file. The inode may be on the upper dentry or it may be on a lower dentry pinned by the upper. Normal filesystems should not use this to access their own inodes.h](h)}(h**Parameters**h]j)}(hjzh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMHhjzubj)}(hhh]j)}(h/``const struct dentry *upper`` The upper layer h](j)}(h``const struct dentry *upper``h]j)}(hjzh]hconst struct dentry *upper}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMEhjzubj)}(hhh]h)}(hThe upper layerh]hThe upper layer}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhMEhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhMEhjzubah}(h]h ]h"]h$]h&]uh1jhjzubh)}(h**Description**h]j)}(hjzh]h Description}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMGhjzubh)}(hThis is the helper that should be used to get at the inode that will be used if this dentry were to be opened as a file. The inode may be on the upper dentry or it may be on a lower dentry pinned by the upper.h]hThis is the helper that should be used to get at the inode that will be used if this dentry were to be opened as a file. The inode may be on the upper dentry or it may be on a lower dentry pinned by the upper.}(hj {hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMFhjzubh)}(hBNormal filesystems should not use this to access their own inodes.h]hBNormal filesystems should not use this to access their own inodes.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMJhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_real (C function)c.d_realhNtauh1hhjlChhhNhNubj)}(hhh](j)}(hEstruct dentry * d_real (struct dentry *dentry, enum d_real_type type)h]j)}(hCstruct dentry *d_real(struct dentry *dentry, enum d_real_type type)h](j )}(hjh]hstruct}(hjK{hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjG{hhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMUubj2)}(h h]h }(hjY{hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjG{hhhjX{hMUubh)}(hhh]jI)}(hdentryh]hdentry}(hjj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjg{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjl{modnameN classnameNjj )}j ]j)}jd_realsbc.d_realasbuh1hhjG{hhhjX{hMUubj2)}(h h]h }(hj{hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjG{hhhjX{hMUubj)}(hjh]h*}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjG{hhhjX{hMUubjC)}(hd_realh]jI)}(hj{h]hd_real}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj{ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjG{hhhjX{hMUubj=)}(h.(struct dentry *dentry, enum d_real_type type)h](jC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj{ubj2)}(h h]h }(hj{hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj{ubh)}(hhh]jI)}(hdentryh]hdentry}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNjj )}j ]j{c.d_realasbuh1hhj{ubj2)}(h h]h }(hj|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj{ubj)}(hjh]h*}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubjI)}(hdentryh]hdentry}(hj|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj{ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj{ubjC)}(henum d_real_type typeh](j )}(hj#h]henum}(hj5|hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj1|ubj2)}(h h]h }(hjB|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1|ubh)}(hhh]jI)}(h d_real_typeh]h d_real_type}(hjS|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjP|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjU|modnameN classnameNjj )}j ]j{c.d_realasbuh1hhj1|ubj2)}(h h]h }(hjq|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1|ubjI)}(htypeh]htype}(hj|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1|ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj{ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjG{hhhjX{hMUubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjC{hhhjX{hMUubah}(h]j>{ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjX{hMUhj@{hhubjw)}(hhh]h)}(hReturn the real dentryh]hReturn the real dentry}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMUhj|hhubah}(h]h ]h"]h$]h&]uh1jvhj@{hhhjX{hMUubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|jj|jjjuh1jhhhjlChNhNubj)}(hX4**Parameters** ``struct dentry *dentry`` the dentry to query ``enum d_real_type type`` the type of real dentry (data or metadata) **Description** If dentry is on a union/overlay, then return the underlying, real dentry. Otherwise return the dentry itself. See also: Documentation/filesystems/vfs.rsth](h)}(h**Parameters**h]j)}(hj|h]h Parameters}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMYhj|ubj)}(hhh](j)}(h.``struct dentry *dentry`` the dentry to query h](j)}(h``struct dentry *dentry``h]j)}(hj|h]hstruct dentry *dentry}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMVhj|ubj)}(hhh]h)}(hthe dentry to queryh]hthe dentry to query}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hMVhj}ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hMVhj|ubj)}(hE``enum d_real_type type`` the type of real dentry (data or metadata) h](j)}(h``enum d_real_type type``h]j)}(hj#}h]henum d_real_type type}(hj%}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!}ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMWhj}ubj)}(hhh]h)}(h*the type of real dentry (data or metadata)h]h*the type of real dentry (data or metadata)}(hj<}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8}hMWhj9}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj8}hMWhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|ubh)}(h**Description**h]j)}(hj^}h]h Description}(hj`}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\}ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMYhj|ubh)}(hmIf dentry is on a union/overlay, then return the underlying, real dentry. Otherwise return the dentry itself.h]hmIf dentry is on a union/overlay, then return the underlying, real dentry. Otherwise return the dentry itself.}(hjt}hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMXhj|ubh)}(h+See also: Documentation/filesystems/vfs.rsth]h+See also: Documentation/filesystems/vfs.rst}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM[hj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_real_inode (C function)c.d_real_inodehNtauh1hhjlChhhNhNubj)}(hhh](j)}(h9struct inode * d_real_inode (const struct dentry *dentry)h]j)}(h7struct inode *d_real_inode(const struct dentry *dentry)h](j )}(hjh]hstruct}(hj}hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj}hhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMgubj2)}(h h]h }(hj}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}hhhj}hMgubh)}(hhh]jI)}(hinodeh]hinode}(hj}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj )}j ]j)}j d_real_inodesbc.d_real_inodeasbuh1hhj}hhhj}hMgubj2)}(h h]h }(hj}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}hhhj}hMgubj)}(hjh]h*}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}hhhj}hMgubjC)}(h d_real_inodeh]jI)}(hj}h]h d_real_inode}(hj~hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ~ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj}hhhj}hMgubj=)}(h(const struct dentry *dentry)h]jC)}(hconst struct dentry *dentryh](j )}(hjh]hconst}(hj,~hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj(~ubj2)}(h h]h }(hj9~hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj(~ubj )}(hjh]hstruct}(hjG~hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj(~ubj2)}(h h]h }(hjT~hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj(~ubh)}(hhh]jI)}(hdentryh]hdentry}(hje~hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjb~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjg~modnameN classnameNjj )}j ]j}c.d_real_inodeasbuh1hhj(~ubj2)}(h h]h }(hj~hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj(~ubj)}(hjh]h*}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(~ubjI)}(hdentryh]hdentry}(hj~hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj(~ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj$~ubah}(h]h ]h"]h$]h&]j`jauh1j<hj}hhhj}hMgubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj}hhhj}hMgubah}(h]j}ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj}hMghj}hhubjw)}(hhh]h)}(h&Return the real inode hosting the datah]h&Return the real inode hosting the data}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMghj~hhubah}(h]h ]h"]h$]h&]uh1jvhj}Ghhhj}hMgubeh}(h]h ](jfunctioneh"]h$]h&]jjjj~jj~jjjuh1jhhhjlChNhNubj)}(h**Parameters** ``const struct dentry *dentry`` The dentry to query **Description** If dentry is on a union/overlay, then return the underlying, real inode. Otherwise return d_inode().h](h)}(h**Parameters**h]j)}(hj~h]h Parameters}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMkhj~ubj)}(hhh]j)}(h4``const struct dentry *dentry`` The dentry to query h](j)}(h``const struct dentry *dentry``h]j)}(hj h]hconst struct dentry *dentry}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhhjubj)}(hhh]h)}(hThe dentry to queryh]hThe dentry to query}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhj~ubh)}(h**Description**h]j)}(hjDh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMjhj~ubh)}(hdIf dentry is on a union/overlay, then return the underlying, real inode. Otherwise return d_inode().h]hdIf dentry is on a union/overlay, then return the underlying, real inode. Otherwise return d_inode().}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMihj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlChhhNhNubeh}(h]the-directory-cacheah ]h"]the directory cacheah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hInode Handlingh]hInode Handling}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "inode_init_always_gfp (C function)c.inode_init_always_gfphNtauh1hhjxhhhNhNubj)}(hhh](j)}(hRint inode_init_always_gfp (struct super_block *sb, struct inode *inode, gfp_t gfp)h]j)}(hQint inode_init_always_gfp(struct super_block *sb, struct inode *inode, gfp_t gfp)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhKubjC)}(hinode_init_always_gfph]jI)}(hinode_init_always_gfph]hinode_init_always_gfp}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhKubj=)}(h8(struct super_block *sb, struct inode *inode, gfp_t gfp)h](jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.inode_init_always_gfpasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsbh]hsb}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjMubj2)}(h h]h }(hj^hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjMubh)}(hhh]jI)}(hinodeh]hinode}(hjohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj )}j ]jc.inode_init_always_gfpasbuh1hhjMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h gfp_t gfph](h)}(hhh]jI)}(hgfp_th]hgfp_t}(hjĀhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjƀmodnameN classnameNjj )}j ]jc.inode_init_always_gfpasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhKubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhKhjhhubjw)}(hhh]h)}(h&perform inode structure initialisationh]h&perform inode structure initialisation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2jj2jjjuh1jhhhjxhNhNubj)}(hXh**Parameters** ``struct super_block *sb`` superblock inode belongs to ``struct inode *inode`` inode to initialise ``gfp_t gfp`` allocation flags **Description** These are initializations that need to be done on every inode allocation as the fields are not initialised by slab allocation. If there are additional allocations required **gfp** is used.h](h)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhj6ubj)}(hhh](j)}(h7``struct super_block *sb`` superblock inode belongs to h](j)}(h``struct super_block *sb``h]j)}(hj[h]hstruct super_block *sb}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjUubj)}(hhh]h)}(hsuperblock inode belongs toh]hsuperblock inode belongs to}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphKhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphKhjRubj)}(h,``struct inode *inode`` inode to initialise h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjubj)}(hhh]h)}(hinode to initialiseh]hinode to initialise}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjRubj)}(h``gfp_t gfp`` allocation flags h](j)}(h ``gfp_t gfp``h]j)}(hj́h]h gfp_t gfp}(hjρhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjˁubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjǁubj)}(hhh]h)}(hallocation flagsh]hallocation flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjǁubeh}(h]h ]h"]h$]h&]uh1jhjhKhjRubeh}(h]h ]h"]h$]h&]uh1jhj6ubh)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhj6ubh)}(hThese are initializations that need to be done on every inode allocation as the fields are not initialised by slab allocation. If there are additional allocations required **gfp** is used.h](hThese are initializations that need to be done on every inode allocation as the fields are not initialised by slab allocation. If there are additional allocations required }(hjhhhNhNubj)}(h**gfp**h]hgfp}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is used.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j drop_nlink (C function) c.drop_nlinkhNtauh1hhjxhhhNhNubj)}(hhh](j)}(h%void drop_nlink (struct inode *inode)h]j)}(h$void drop_nlink(struct inode *inode)h](jf)}(hvoidh]hvoid}(hj_hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj[hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjnhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj[hhhjmhMubjC)}(h drop_nlinkh]jI)}(h drop_nlinkh]h drop_nlink}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj[hhhjmhMubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsb c.drop_nlinkasbuh1hhjubj2)}(h h]h }(hjڂhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hj[hhhjmhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjWhhhjmhMubah}(h]jRah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjmhMhjThhubjw)}(hhh]h)}(h#directly drop an inode's link counth]h%directly drop an inode’s link count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjThhhjmhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1jhhhjxhNhNubj)}(hXV**Parameters** ``struct inode *inode`` inode **Description** This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. In cases where we are attempting to track writes to the filesystem, a decrement to zero means an imminent write when the file is truncated and actually unlinked on the filesystem.h](h)}(h**Parameters**h]j)}(hjAh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj;ubj)}(hhh]j)}(h``struct inode *inode`` inode h](j)}(h``struct inode *inode``h]j)}(hj`h]hstruct inode *inode}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjZubj)}(hhh]h)}(hinodeh]hinode}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj;ubh)}(hXThis is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. In cases where we are attempting to track writes to the filesystem, a decrement to zero means an imminent write when the file is truncated and actually unlinked on the filesystem.h]hXThis is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. In cases where we are attempting to track writes to the filesystem, a decrement to zero means an imminent write when the file is truncated and actually unlinked on the filesystem.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j clear_nlink (C function) c.clear_nlinkhNtauh1hhjxhhhNhNubj)}(hhh](j)}(h&void clear_nlink (struct inode *inode)h]j)}(h%void clear_nlink(struct inode *inode)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj܃hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj܃hhhjhMubjC)}(h clear_nlinkh]jI)}(h clear_nlinkh]h clear_nlink}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj܃hhhjhMubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj*hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hj;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNjj )}j ]j)}jjsb c.clear_nlinkasbuh1hhjubj2)}(h h]h }(hj[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hj܃hhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj؃hhhjhMubah}(h]jӃah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjՃhhubjw)}(hhh]h)}(h#directly zero an inode's link counth]h%directly zero an inode’s link count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjՃhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct inode *inode`` inode **Description** This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. See drop_nlink() for why we care about i_nlink hitting zero.h](h)}(h**Parameters**h]j)}(hj„h]h Parameters}(hjĄhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]j)}(h``struct inode *inode`` inode h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߄ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjۄubj)}(hhh]h)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjۄubeh}(h]h ]h"]h$]h&]uh1jhjhMhj؄ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hThis is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. See drop_nlink() for why we care about i_nlink hitting zero.h]hThis is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. See drop_nlink() for why we care about i_nlink hitting zero.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j set_nlink (C function) c.set_nlinkhNtauh1hhjxhhhNhNubj)}(hhh](j)}(h8void set_nlink (struct inode *inode, unsigned int nlink)h]j)}(h7void set_nlink(struct inode *inode, unsigned int nlink)h](jf)}(hvoidh]hvoid}(hjahhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj]hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj]hhhjohMubjC)}(h set_nlinkh]jI)}(h set_nlinkh]h set_nlink}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj~ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj]hhhjohMubj=)}(h)(struct inode *inode, unsigned int nlink)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsb c.set_nlinkasbuh1hhjubj2)}(h h]h }(hj܅hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hunsigned int nlinkh](jf)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubjf)}(hinth]hint}(hj,hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj ubj2)}(h h]h }(hj:hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubjI)}(hnlinkh]hnlink}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hj]hhhjohMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjYhhhjohMubah}(h]jTah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjohMhjVhhubjw)}(hhh]h)}(h"directly set an inode's link counth]h$directly set an inode’s link count}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjohhubah}(h]h ]h"]h$]h&]uh1jvhjVhhhjohMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct inode *inode`` inode ``unsigned int nlink`` new nlink (should be non-zero) **Description** This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h``struct inode *inode`` inode h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hinodeh]hinode}(hj̆hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjȆhMhjɆubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjȆhMhjubj)}(h6``unsigned int nlink`` new nlink (should be non-zero) h](j)}(h``unsigned int nlink``h]j)}(hjh]hunsigned int nlink}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hnew nlink (should be non-zero)h]hnew nlink (should be non-zero)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj'h]h Description}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(h_This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink.h]h_This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j inc_nlink (C function) c.inc_nlinkhNtauh1hhjxhhhNhNubj)}(hhh](j)}(h$void inc_nlink (struct inode *inode)h]j)}(h#void inc_nlink(struct inode *inode)h](jf)}(hvoidh]hvoid}(hjlhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hj{hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhhjzhMubjC)}(h inc_nlinkh]jI)}(h inc_nlinkh]h inc_nlink}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhhjzhMubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjLJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjćubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjɇmodnameN classnameNjj )}j ]j)}jjsb c.inc_nlinkasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjhhhhjzhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjdhhhjzhMubah}(h]j_ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjzhMhjahhubjw)}(hhh]h)}(h(directly increment an inode's link counth]h*directly increment an inode’s link count}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj)hhubah}(h]h ]h"]h$]h&]uh1jvhjahhhjzhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct inode *inode`` inode **Description** This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. Currently, it is only here for parity with dec_nlink().h](h)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjHubj)}(hhh]j)}(h``struct inode *inode`` inode h](j)}(h``struct inode *inode``h]j)}(hjmh]hstruct inode *inode}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjgubj)}(hhh]h)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjHubh)}(hThis is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. Currently, it is only here for parity with dec_nlink().h]hThis is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink. Currently, it is only here for parity with dec_nlink().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j inode_sb_list_add (C function)c.inode_sb_list_addhNtauh1hhjxhhhNhNubj)}(hhh](j)}(h,void inode_sb_list_add (struct inode *inode)h]j)}(h+void inode_sb_list_add(struct inode *inode)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMwubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMwubjC)}(hinode_sb_list_addh]jI)}(hinode_sb_list_addh]hinode_sb_list_add}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMwubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj&ubj2)}(h h]h }(hj7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&ubh)}(hhh]jI)}(hinodeh]hinode}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj )}j ]j)}jjsbc.inode_sb_list_addasbuh1hhj&ubj2)}(h h]h }(hjhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&ubj)}(hjh]h*}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj"ubah}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMwubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMwubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMwhjhhubjw)}(hhh]h)}(h*add inode to the superblock list of inodesh]h*add inode to the superblock list of inodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMwhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMwubeh}(h]h ](jfunctioneh"]h$]h&]jjjjʼnjjʼnjjjuh1jhhhjxhNhNubj)}(h6**Parameters** ``struct inode *inode`` inode to addh](h)}(h**Parameters**h]j)}(hjωh]h Parameters}(hjщhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj͉ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM{hjɉubj)}(hhh]j)}(h$``struct inode *inode`` inode to addh](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM}hjubj)}(hhh]h)}(h inode to addh]h inode to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM}hjubah}(h]h ]h"]h$]h&]uh1jhjɉubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  __insert_inode_hash (C function)c.__insert_inode_hashhNtauh1hhjxhhhNhNubj)}(hhh](j)}(h;void __insert_inode_hash (struct inode *inode, u64 hashval)h]j)}(h:void __insert_inode_hash(struct inode *inode, u64 hashval)h](jf)}(hvoidh]hvoid}(hjHhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjDhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjDhhhjVhMubjC)}(h__insert_inode_hashh]jI)}(h__insert_inode_hashh]h__insert_inode_hash}(hjihhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjDhhhjVhMubj=)}(h"(struct inode *inode, u64 hashval)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjksbc.__insert_inode_hashasbuh1hhjubj2)}(h h]h }(hjÊhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjъhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjފhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj}ubjC)}(h u64 hashvalh](h)}(hhh]jI)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.__insert_inode_hashasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hhashvalh]hhashval}(hj&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj}ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjDhhhjVhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj@hhhjVhMubah}(h]j;ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjVhMhj=hhubjw)}(hhh]h)}(h hash an inodeh]h hash an inode}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjMhhubah}(h]h ]h"]h$]h&]uh1jvhj=hhhjVhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct inode *inode`` unhashed inode ``u64 hashval`` u64 value used to locate this object in the inode_hashtable. **Description** Add an inode to the inode hash for this superblock.h](h)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjlubj)}(hhh](j)}(h'``struct inode *inode`` unhashed inode h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hunhashed inodeh]hunhashed inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hM``u64 hashval`` u64 value used to locate this object in the inode_hashtable. h](j)}(h``u64 hashval``h]j)}(hjʋh]h u64 hashval}(hj̋hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȋubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjċubj)}(hhh]h)}(hah"]h$]h&]uh1j1hjRhhhjdhMubjC)}(h__remove_inode_hashh]jI)}(h__remove_inode_hashh]h__remove_inode_hash}(hjwhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjsubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjRhhhjdhMubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjysbc.__remove_inode_hashasbuh1hhjubj2)}(h h]h }(hjьhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjߌhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjRhhhjdhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjNhhhjdhMubah}(h]jIah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjdhMhjKhhubjw)}(hhh]h)}(hremove an inode from the hashh]hremove an inode from the hash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjKhhhjdhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.jjjuh1jhhhjxhNhNubj)}(hu**Parameters** ``struct inode *inode`` inode to unhash **Description** Remove an inode from the superblock.h](h)}(h**Parameters**h]j)}(hj8h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj2ubj)}(hhh]j)}(h(``struct inode *inode`` inode to unhash h](j)}(h``struct inode *inode``h]j)}(hjWh]hstruct inode *inode}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjQubj)}(hhh]h)}(hinode to unhashh]hinode to unhash}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj2ubj)}(h$Remove an inode from the superblock.h]h)}(hjh]h$Remove an inode from the superblock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j evict_inodes (C function)c.evict_inodeshNtauh1hhjxhhhNhNubj)}(hhh](j)}(h*void evict_inodes (struct super_block *sb)h]j)}(h)void evict_inodes(struct super_block *sb)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj܍hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMiubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj܍hhhjhMiubjC)}(h evict_inodesh]jI)}(h evict_inodesh]h evict_inodes}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj܍hhhjhMiubj=)}(h(struct super_block *sb)h]jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj*hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h super_blockh]h super_block}(hj;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNjj )}j ]j)}jjsbc.evict_inodesasbuh1hhjubj2)}(h h]h }(hj[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsbh]hsb}(hjvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hj܍hhhjhMiubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj؍hhhjhMiubah}(h]jӍah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMihjՍhhubjw)}(hhh]h)}(h+evict all evictable inodes for a superblockh]h+evict all evictable inodes for a superblock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMihjhhubah}(h]h ]h"]h$]h&]uh1jvhjՍhhhjhMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(hX8**Parameters** ``struct super_block *sb`` superblock to operate on **Description** Make sure that no inodes with zero refcount are retained. This is called by superblock shutdown after having SB_ACTIVE flag removed, so any inode reaching zero refcount during or after that call will be immediately evicted.h](h)}(h**Parameters**h]j)}(hjŽh]h Parameters}(hjĎhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMmhjubj)}(hhh]j)}(h4``struct super_block *sb`` superblock to operate on h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjߎubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMjhjێubj)}(hhh]h)}(hsuperblock to operate onh]hsuperblock to operate on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMjhjubah}(h]h ]h"]h$]h&]uh1jhjێubeh}(h]h ]h"]h$]h&]uh1jhjhMjhj؎ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMlhjubh)}(hMake sure that no inodes with zero refcount are retained. This is called by superblock shutdown after having SB_ACTIVE flag removed, so any inode reaching zero refcount during or after that call will be immediately evicted.h]hMake sure that no inodes with zero refcount are retained. This is called by superblock shutdown after having SB_ACTIVE flag removed, so any inode reaching zero refcount during or after that call will be immediately evicted.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMkhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j new_inode (C function) c.new_inodehNtauh1hhjxhhhNhNubj)}(hhh](j)}(h1struct inode * new_inode (struct super_block *sb)h]j)}(h/struct inode *new_inode(struct super_block *sb)h](j )}(hjh]hstruct}(hjahhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj]hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj]hhhjnhMubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}j new_inodesb c.new_inodeasbuh1hhj]hhhjnhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj]hhhjnhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]hhhjnhMubjC)}(h new_inodeh]jI)}(hjh]h new_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj]hhhjnhMubj=)}(h(struct super_block *sb)h]jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hjۏhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj׏ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj׏ubh)}(hhh]jI)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j c.new_inodeasbuh1hhj׏ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj׏ubj)}(hjh]h*}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj׏ubjI)}(hsbh]hsb}(hj2hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj׏ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjӏubah}(h]h ]h"]h$]h&]j`jauh1j<hj]hhhjnhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjYhhhjnhMubah}(h]jTah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjnhMhjVhhubjw)}(hhh]h)}(hobtain an inodeh]hobtain an inode}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjYhhubah}(h]h ]h"]h$]h&]uh1jvhjVhhhjnhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct super_block *sb`` superblock **Description** Allocates a new inode for given superblock. The default gfp_mask for allocations related to inode->i_mapping is GFP_HIGHUSER_MOVABLE. If HIGHMEM pages are unsuitable or it is known that pages allocated for the page cache are not reclaimable or migratable, mapping_set_gfp_mask() must be called with suitable flags on the newly created inode's mappingh](h)}(h**Parameters**h]j)}(hj~h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjxubj)}(hhh]j)}(h&``struct super_block *sb`` superblock h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h superblockh]h superblock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubh)}(h**Description**h]j)}(hjؐh]h Description}(hjڐhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj֐ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjxubj)}(hX^Allocates a new inode for given superblock. The default gfp_mask for allocations related to inode->i_mapping is GFP_HIGHUSER_MOVABLE. If HIGHMEM pages are unsuitable or it is known that pages allocated for the page cache are not reclaimable or migratable, mapping_set_gfp_mask() must be called with suitable flags on the newly created inode's mappingh]h)}(hX^Allocates a new inode for given superblock. The default gfp_mask for allocations related to inode->i_mapping is GFP_HIGHUSER_MOVABLE. If HIGHMEM pages are unsuitable or it is known that pages allocated for the page cache are not reclaimable or migratable, mapping_set_gfp_mask() must be called with suitable flags on the newly created inode's mappingh]hX`Allocates a new inode for given superblock. The default gfp_mask for allocations related to inode->i_mapping is GFP_HIGHUSER_MOVABLE. If HIGHMEM pages are unsuitable or it is known that pages allocated for the page cache are not reclaimable or migratable, mapping_set_gfp_mask() must be called with suitable flags on the newly created inode’s mapping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j unlock_new_inode (C function)c.unlock_new_inodehNtauh1hhjxhhhNhNubj)}(hhh](j)}(h+void unlock_new_inode (struct inode *inode)h]j)}(h*void unlock_new_inode(struct inode *inode)h](jf)}(hvoidh]hvoid}(hj'hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj#hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#hhhj5hMubjC)}(hunlock_new_inodeh]jI)}(hunlock_new_inodeh]hunlock_new_inode}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjDubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj#hhhj5hMubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj`ubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj`ubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjJsbc.unlock_new_inodeasbuh1hhj`ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj`ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj\ubah}(h]h ]h"]h$]h&]j`jauh1j<hj#hhhj5hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj5hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj5hMhjhhubjw)}(hhh]h)}(h-clear the I_NEW state and wake up any waitersh]h-clear the I_NEW state and wake up any waiters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj5hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct inode *inode`` new inode to unlock **Description** Called when the inode is fully initialised to clear the new state of the inode and wake up anyone waiting for the inode to finish initialisation.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]j)}(h,``struct inode *inode`` new inode to unlock h](j)}(h``struct inode *inode``h]j)}(hj(h]hstruct inode *inode}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj"ubj)}(hhh]h)}(hnew inode to unlockh]hnew inode to unlock}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjch]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hCalled when the inode is fully initialised to clear the new state of the inode and wake up anyone waiting for the inode to finish initialisation.h]hCalled when the inode is fully initialised to clear the new state of the inode and wake up anyone waiting for the inode to finish initialisation.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $lock_two_nondirectories (C function)c.lock_two_nondirectorieshNtauh1hhjxhhhNhNubj)}(hhh](j)}(hIvoid lock_two_nondirectories (struct inode *inode1, struct inode *inode2)h]j)}(hHvoid lock_two_nondirectories(struct inode *inode1, struct inode *inode2)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hlock_two_nondirectoriesh]jI)}(hlock_two_nondirectoriesh]hlock_two_nondirectories}(hjɒhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjŒubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h,(struct inode *inode1, struct inode *inode2)h](jC)}(hstruct inode *inode1h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jj˒sbc.lock_two_nondirectoriesasbuh1hhjubj2)}(h h]h }(hj#hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinode1h]hinode1}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjݒubjC)}(hstruct inode *inode2h](j )}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjSubj2)}(h h]h }(hjdhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjSubh)}(hhh]jI)}(hinodeh]hinode}(hjuhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNjj )}j ]jc.lock_two_nondirectoriesasbuh1hhjSubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjSubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubjI)}(hinode2h]hinode2}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjݒubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h+take two i_mutexes on non-directory objectsh]h+take two i_mutexes on non-directory objects}(hjؓhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjՓhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct inode *inode1`` first inode to lock ``struct inode *inode2`` second inode to lock **Description** Lock any non-NULL argument. Passed objects must not be directories. Zero, one or two objects may be locked by this function.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h-``struct inode *inode1`` first inode to lock h](j)}(h``struct inode *inode1``h]j)}(hjh]hstruct inode *inode1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hfirst inode to lockh]hfirst inode to lock}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjubj)}(h.``struct inode *inode2`` second inode to lock h](j)}(h``struct inode *inode2``h]j)}(hjRh]hstruct inode *inode2}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjLubj)}(hhh]h)}(hsecond inode to lockh]hsecond inode to lock}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(h|Lock any non-NULL argument. Passed objects must not be directories. Zero, one or two objects may be locked by this function.h]h|Lock any non-NULL argument. Passed objects must not be directories. Zero, one or two objects may be locked by this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j &unlock_two_nondirectories (C function)c.unlock_two_nondirectorieshNtauh1hhjxhhhNhNubj)}(hhh](j)}(hKvoid unlock_two_nondirectories (struct inode *inode1, struct inode *inode2)h]j)}(hJvoid unlock_two_nondirectories(struct inode *inode1, struct inode *inode2)h](jf)}(hvoidh]hvoid}(hjҔhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjΔhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.c hMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjΔhhhjhMubjC)}(hunlock_two_nondirectoriesh]jI)}(hunlock_two_nondirectoriesh]hunlock_two_nondirectories}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjΔhhhjhMubj=)}(h,(struct inode *inode1, struct inode *inode2)h](jC)}(hstruct inode *inode1h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubh)}(hhh]jI)}(hinodeh]hinode}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNjj )}j ]j)}jjsbc.unlock_two_nondirectoriesasbuh1hhj ubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(hinode1h]hinode1}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct inode *inode2h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj}ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}ubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jIc.unlock_two_nondirectoriesasbuh1hhj}ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}ubj)}(hjh]h*}(hj˕hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubjI)}(hinode2h]hinode2}(hjؕhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjΔhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjʔhhhjhMubah}(h]jŔah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjǔhhubjw)}(hhh]h)}(h,release locks from lock_two_nondirectories()h]h,release locks from lock_two_nondirectories()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjǔhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(hs**Parameters** ``struct inode *inode1`` first inode to unlock ``struct inode *inode2`` second inode to unlockh](h)}(h**Parameters**h]j)}(hj$h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h/``struct inode *inode1`` first inode to unlock h](j)}(h``struct inode *inode1``h]j)}(hjCh]hstruct inode *inode1}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj=ubj)}(hhh]h)}(hfirst inode to unlockh]hfirst inode to unlock}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhj:ubj)}(h/``struct inode *inode2`` second inode to unlockh](j)}(h``struct inode *inode2``h]j)}(hj|h]hstruct inode *inode2}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjvubj)}(hhh]h)}(hsecond inode to unlockh]hsecond inode to unlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMhj:ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j inode_insert5 (C function)c.inode_insert5hNtauh1hhjxhhhNhNubj)}(hhh](j)}(hstruct inode * inode_insert5 (struct inode *inode, u64 hashval, int (*test)(struct inode *, void *), int (*set)(struct inode *, void *), void *data)h]j)}(hstruct inode *inode_insert5(struct inode *inode, u64 hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](j )}(hjh]hstruct}(hj֖hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjҖhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjҖhhhjhMubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}j inode_insert5sbc.inode_insert5asbuh1hhjҖhhhjhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjҖhhhjhMubj)}(hjh]h*}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjҖhhhjhMubjC)}(h inode_insert5h]jI)}(hjh]h inode_insert5}(hj5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjҖhhhjhMubj=)}(hs(struct inode *inode, u64 hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjLubj2)}(h h]h }(hj]hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLubh)}(hhh]jI)}(hinodeh]hinode}(hjnhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNjj )}j ]jc.inode_insert5asbuh1hhjLubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjHubjC)}(h u64 hashvalh](h)}(hhh]jI)}(hu64h]hu64}(hj×hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjŗmodnameN classnameNjj )}j ]jc.inode_insert5asbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hhashvalh]hhashval}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjHubjC)}(h!int (*test)(struct inode*, void*)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(h(h]h(}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(htesth]htest}(hj?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubj)}(h)h]h)}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj&h]h(}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj )}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjuhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.inode_insert5asbuh1hhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(h,h]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hvoidh]hvoid}(hj͘hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj)}(hjh]h*}(hjۘhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjOh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjHubjC)}(h int (*set)(struct inode*, void*)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hseth]hset}(hj6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubj)}(hjOh]h)}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj&h]h(}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj )}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjkhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hj|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNjj )}j ]jc.inode_insert5asbuh1hhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hvoidh]hvoid}(hj™hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj)}(hjh]h*}(hjЙhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjOh]h)}(hjݙhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjHubjC)}(h void *datah](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjHubeh}(h]h ]h"]h$]h&]j`jauh1j<hjҖhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjΖhhhjhMubah}(h]jɖah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhj˖hhubjw)}(hhh]h)}(h*obtain an inode from a mounted file systemh]h*obtain an inode from a mounted file system}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjEhhubah}(h]h ]h"]h$]h&]uh1jvhj˖hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct inode *inode`` pre-allocated inode to use for insert to cache ``u64 hashval`` hash value (usually inode number) to get ``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes ``int (*set)(struct inode *, void *)`` callback used to initialize a new struct inode ``void *data`` opaque data pointer to pass to **test** and **set** **Description** Search for the inode specified by **hashval** and **data** in the inode cache, and if present return it with an increased reference count. This is a variant of iget5_locked() that doesn't allocate an inode. If the inode is not present in the cache, insert the pre-allocated inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode(). Note that both **test** and **set** are called with the inode_hash_lock held, so they can't sleep.h](h)}(h**Parameters**h]j)}(hjjh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjdubj)}(hhh](j)}(hG``struct inode *inode`` pre-allocated inode to use for insert to cache h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h.pre-allocated inode to use for insert to cacheh]h.pre-allocated inode to use for insert to cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h9``u64 hashval`` hash value (usually inode number) to get h](j)}(h``u64 hashval``h]j)}(hjšh]h u64 hashval}(hjĚhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h(hash value (usually inode number) to geth]h(hash value (usually inode number) to get}(hjۚhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjךhMhjؚubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjךhMhjubj)}(hU``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hjh]h#int (*test)(struct inode *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hV``int (*set)(struct inode *, void *)`` callback used to initialize a new struct inode h](j)}(h&``int (*set)(struct inode *, void *)``h]j)}(hj4h]h"int (*set)(struct inode *, void *)}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj.ubj)}(hhh]h)}(h.callback used to initialize a new struct inodeh]h.callback used to initialize a new struct inode}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjubj)}(hC``void *data`` opaque data pointer to pass to **test** and **set** h](j)}(h``void *data``h]j)}(hjmh]h void *data}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjgubj)}(hhh]h)}(h3opaque data pointer to pass to **test** and **set**h](hopaque data pointer to pass to }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**set**h]hset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjdubh)}(h**Description**h]j)}(hjțh]h Description}(hjʛhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjƛubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjdubh)}(hSearch for the inode specified by **hashval** and **data** in the inode cache, and if present return it with an increased reference count. This is a variant of iget5_locked() that doesn't allocate an inode.h](h"Search for the inode specified by }(hjޛhhhNhNubj)}(h **hashval**h]hhashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjޛubh and }(hjޛhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjޛubh in the inode cache, and if present return it with an increased reference count. This is a variant of iget5_locked() that doesn’t allocate an inode.}(hjޛhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjdubh)}(hIf the inode is not present in the cache, insert the pre-allocated inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode().h]hIf the inode is not present in the cache, insert the pre-allocated inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjdubh)}(hbNote that both **test** and **set** are called with the inode_hash_lock held, so they can't sleep.h](hNote that both }(hj hhhNhNubj)}(h**test**h]htest}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh and }(hj hhhNhNubj)}(h**set**h]hset}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhA are called with the inode_hash_lock held, so they can’t sleep.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j iget5_locked (C function)c.iget5_lockedhNtauh1hhjxhhhNhNubj)}(hhh](j)}(hstruct inode * iget5_locked (struct super_block *sb, u64 hashval, int (*test)(struct inode *, void *), int (*set)(struct inode *, void *), void *data)h]j)}(hstruct inode *iget5_locked(struct super_block *sb, u64 hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](j )}(hjh]hstruct}(hjshhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjohhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMOubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjohhhjhMOubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}j iget5_lockedsbc.iget5_lockedasbuh1hhjohhhjhMOubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjohhhjhMOubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjohhhjhMOubjC)}(h iget5_lockedh]jI)}(hjh]h iget5_locked}(hjҜhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjΜubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjohhhjhMOubj=)}(hv(struct super_block *sb, u64 hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h super_blockh]h super_block}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]jc.iget5_lockedasbuh1hhjubj2)}(h h]h }(hj)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsbh]hsb}(hjDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h u64 hashvalh](h)}(hhh]jI)}(hu64h]hu64}(hj`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNjj )}j ]jc.iget5_lockedasbuh1hhjYubj2)}(h h]h }(hj~hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubjI)}(hhashvalh]hhashval}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h!int (*test)(struct inode*, void*)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjΝhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(htesth]htest}(hj۝hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubj)}(hjOh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNjj )}j ]jc.iget5_lockedasbuh1hhjubj)}(hjh]h*}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h,}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hvoidh]hvoid}(hjghhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj)}(hjh]h*}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjOh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h int (*set)(struct inode*, void*)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjÞhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hseth]hset}(hjОhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubj)}(hjOh]h)}(hjޞhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.iget5_lockedasbuh1hhjubj)}(hjh]h*}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h,}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjNhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hvoidh]hvoid}(hj\hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj)}(hjh]h*}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjOh]h)}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h void *datah](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjohhhjhMOubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjkhhhjhMOubah}(h]jfah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMOhjhhhubjw)}(hhh]h)}(h*obtain an inode from a mounted file systemh]h*obtain an inode from a mounted file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMOhjߟhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhhjhMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct super_block *sb`` super block of file system ``u64 hashval`` hash value (usually inode number) to get ``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes ``int (*set)(struct inode *, void *)`` callback used to initialize a new struct inode ``void *data`` opaque data pointer to pass to **test** and **set** **Description** Search for the inode specified by **hashval** and **data** in the inode cache, and if present return it with an increased reference count. This is a generalized version of iget_locked() for file systems where the inode number is not sufficient for unique identification of an inode. If the inode is not present in the cache, allocate and insert a new inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode(). Note that both **test** and **set** are called with the inode_hash_lock held, so they can't sleep.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMShjubj)}(hhh](j)}(h6``struct super_block *sb`` super block of file system h](j)}(h``struct super_block *sb``h]j)}(hj#h]hstruct super_block *sb}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMPhjubj)}(hhh]h)}(hsuper block of file systemh]hsuper block of file system}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hMPhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMPhjubj)}(h9``u64 hashval`` hash value (usually inode number) to get h](j)}(h``u64 hashval``h]j)}(hj\h]h u64 hashval}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMQhjVubj)}(hhh]h)}(h(hash value (usually inode number) to geth]h(hash value (usually inode number) to get}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhMQhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMQhjubj)}(hU``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hjh]h#int (*test)(struct inode *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMRhjubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubj)}(hV``int (*set)(struct inode *, void *)`` callback used to initialize a new struct inode h](j)}(h&``int (*set)(struct inode *, void *)``h]j)}(hjΠh]h"int (*set)(struct inode *, void *)}(hjРhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̠ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMShjȠubj)}(hhh]h)}(h.callback used to initialize a new struct inodeh]h.callback used to initialize a new struct inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjȠubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubj)}(hC``void *data`` opaque data pointer to pass to **test** and **set** h](j)}(h``void *data``h]j)}(hjh]h void *data}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMThjubj)}(hhh]h)}(h3opaque data pointer to pass to **test** and **set**h](hopaque data pointer to pass to }(hj hhhNhNubj)}(h**test**h]htest}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh and }(hj hhhNhNubj)}(h**set**h]hset}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1hhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjbh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMVhjubh)}(hXSearch for the inode specified by **hashval** and **data** in the inode cache, and if present return it with an increased reference count. This is a generalized version of iget_locked() for file systems where the inode number is not sufficient for unique identification of an inode.h](h"Search for the inode specified by }(hjxhhhNhNubj)}(h **hashval**h]hhashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh and }(hjxhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh in the inode cache, and if present return it with an increased reference count. This is a generalized version of iget_locked() for file systems where the inode number is not sufficient for unique identification of an inode.}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMUhjubh)}(hIf the inode is not present in the cache, allocate and insert a new inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode().h]hIf the inode is not present in the cache, allocate and insert a new inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMZhjubh)}(hbNote that both **test** and **set** are called with the inode_hash_lock held, so they can't sleep.h](hNote that both }(hjhhhNhNubj)}(h**test**h]htest}(hj¡hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**set**h]hset}(hjԡhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhA are called with the inode_hash_lock held, so they can’t sleep.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM^hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j iget5_locked_rcu (C function)c.iget5_locked_rcuhNtauh1hhjxhhhNhNubj)}(hhh](j)}(hstruct inode * iget5_locked_rcu (struct super_block *sb, u64 hashval, int (*test)(struct inode *, void *), int (*set)(struct inode *, void *), void *data)h]j)}(hstruct inode *iget5_locked_rcu(struct super_block *sb, u64 hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](j )}(hjh]hstruct}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMvubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj hhhjhMvubh)}(hhh]jI)}(hinodeh]hinode}(hj,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.modnameN classnameNjj )}j ]j)}jiget5_locked_rcusbc.iget5_locked_rcuasbuh1hhj hhhjhMvubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj hhhjhMvubj)}(hjh]h*}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhjhMvubjC)}(higet5_locked_rcuh]jI)}(hjJh]higet5_locked_rcu}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj hhhjhMvubj=)}(hv(struct super_block *sb, u64 hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jHc.iget5_locked_rcuasbuh1hhjubj2)}(h h]h }(hjâhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjѢhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsbh]hsb}(hjޢhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h u64 hashvalh](h)}(hhh]jI)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jHc.iget5_locked_rcuasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hhashvalh]hhashval}(hj&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h!int (*test)(struct inode*, void*)h](jf)}(hinth]hint}(hj?hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj;ubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj;ubj)}(hj&h]h(}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj)}(hjh]h*}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubjI)}(htesth]htest}(hjuhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj;ubj)}(hjOh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj;ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj;ubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jHc.iget5_locked_rcuasbuh1hhj;ubj)}(hjh]h*}(hj٣hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj)}(hjh]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj;ubjf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj;ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj)}(hjOh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h int (*set)(struct inode*, void*)h](jf)}(hinth]hint}(hj4hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj0ubj2)}(h h]h }(hjBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0ubj)}(hj&h]h(}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(hjh]h*}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubjI)}(hseth]hset}(hjjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0ubj)}(hjOh]h)}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj0ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0ubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jHc.iget5_locked_rcuasbuh1hhj0ubj)}(hjh]h*}(hjΤhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(hjh]h,}(hjۤhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0ubjf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj0ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubj)}(hjOh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h void *datah](jf)}(hvoidh]hvoid}(hj)hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj%ubj2)}(h h]h }(hj7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%ubj)}(hjh]h*}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubjI)}(hdatah]hdata}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hj hhhjhMvubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMvubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMvhjhhubjw)}(hhh]h)}(h*obtain an inode from a mounted file systemh]h*obtain an inode from a mounted file system}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMvhjyhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMvubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct super_block *sb`` super block of file system ``u64 hashval`` hash value (usually inode number) to get ``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes ``int (*set)(struct inode *, void *)`` callback used to initialize a new struct inode ``void *data`` opaque data pointer to pass to **test** and **set** **Description** This is equivalent to iget5_locked, except the **test** callback must tolerate the inode not being stable, including being mid-teardown.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMzhjubj)}(hhh](j)}(h6``struct super_block *sb`` super block of file system h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMwhjubj)}(hhh]h)}(hsuper block of file systemh]hsuper block of file system}(hj֥hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjҥhMwhjӥubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjҥhMwhjubj)}(h9``u64 hashval`` hash value (usually inode number) to get h](j)}(h``u64 hashval``h]j)}(hjh]h u64 hashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMxhjubj)}(hhh]h)}(h(hash value (usually inode number) to geth]h(hash value (usually inode number) to get}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMxhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMxhjubj)}(hU``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hj/h]h#int (*test)(struct inode *, void *)}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMyhj)ubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMyhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMyhjubj)}(hV``int (*set)(struct inode *, void *)`` callback used to initialize a new struct inode h](j)}(h&``int (*set)(struct inode *, void *)``h]j)}(hjhh]h"int (*set)(struct inode *, void *)}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMzhjbubj)}(hhh]h)}(h.callback used to initialize a new struct inodeh]h.callback used to initialize a new struct inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hMzhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMzhjubj)}(hC``void *data`` opaque data pointer to pass to **test** and **set** h](j)}(h``void *data``h]j)}(hjh]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM{hjubj)}(hhh]h)}(h3opaque data pointer to pass to **test** and **set**h](hopaque data pointer to pass to }(hjhhhNhNubj)}(h**test**h]htest}(hj¦hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**set**h]hset}(hjԦhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhM{hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM{hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM}hjubh)}(hThis is equivalent to iget5_locked, except the **test** callback must tolerate the inode not being stable, including being mid-teardown.h](h/This is equivalent to iget5_locked, except the }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhQ callback must tolerate the inode not being stable, including being mid-teardown.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM|hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j iget_locked (C function) c.iget_lockedhNtauh1hhjxhhhNhNubj)}(hhh](j)}(hah"]h$]h&]uh1j1hjOhhhj`hMubh)}(hhh]jI)}(hinodeh]hinode}(hjrhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj )}j ]j)}j iget_lockedsb c.iget_lockedasbuh1hhjOhhhj`hMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjOhhhj`hMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOhhhj`hMubjC)}(h iget_lockedh]jI)}(hjh]h iget_locked}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjOhhhj`hMubj=)}(h!(struct super_block *sb, u64 ino)h](jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hjͧhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjɧubj2)}(h h]h }(hjڧhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjɧubh)}(hhh]jI)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j c.iget_lockedasbuh1hhjɧubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjɧubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjɧubjI)}(hsbh]hsb}(hj$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjɧubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjŧubjC)}(hu64 inoh](h)}(hhh]jI)}(hu64h]hu64}(hj@hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNjj )}j ]j c.iget_lockedasbuh1hhj9ubj2)}(h h]h }(hj^hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9ubjI)}(hinoh]hino}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj9ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjŧubeh}(h]h ]h"]h$]h&]j`jauh1j<hjOhhhj`hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjKhhhj`hMubah}(h]jFah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj`hMhjHhhubjw)}(hhh]h)}(h*obtain an inode from a mounted file systemh]h*obtain an inode from a mounted file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjHhhhj`hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct super_block *sb`` super block of file system ``u64 ino`` inode number to get **Description** Search for the inode specified by **ino** in the inode cache and if present return it with an increased reference count. This is for file systems where the inode number is sufficient for unique identification of an inode. If the inode is not in cache, allocate a new inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode().h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h6``struct super_block *sb`` super block of file system h](j)}(h``struct super_block *sb``h]j)}(hjרh]hstruct super_block *sb}(hj٨hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjըubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjѨubj)}(hhh]h)}(hsuper block of file systemh]hsuper block of file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjѨubeh}(h]h ]h"]h$]h&]uh1jhjhMhjΨubj)}(h ``u64 ino`` inode number to get h](j)}(h ``u64 ino``h]j)}(hjh]hu64 ino}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj ubj)}(hhh]h)}(hinode number to geth]hinode number to get}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhjΨubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjKh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hSearch for the inode specified by **ino** in the inode cache and if present return it with an increased reference count. This is for file systems where the inode number is sufficient for unique identification of an inode.h](h"Search for the inode specified by }(hjahhhNhNubj)}(h**ino**h]hino}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh in the inode cache and if present return it with an increased reference count. This is for file systems where the inode number is sufficient for unique identification of an inode.}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hIf the inode is not in cache, allocate a new inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode().h]hIf the inode is not in cache, allocate a new inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j iunique (C function) c.iuniquehNtauh1hhjxhhhNhNubj)}(hhh](j)}(h:ino_t iunique (struct super_block *sb, ino_t max_reserved)h]j)}(h9ino_t iunique(struct super_block *sb, ino_t max_reserved)h](h)}(hhh]jI)}(hino_th]hino_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jiuniquesb c.iuniqueasbuh1hhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hj֩hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjթhMubjC)}(hiuniqueh]jI)}(hjҩh]hiunique}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjթhMubj=)}(h,(struct super_block *sb, ino_t max_reserved)h](jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h super_blockh]h super_block}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNjj )}j ]jЩ c.iuniqueasbuh1hhjubj2)}(h h]h }(hj?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsbh]hsb}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hino_t max_reservedh](h)}(hhh]jI)}(hino_th]hino_t}(hjvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj )}j ]jЩ c.iuniqueasbuh1hhjoubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjoubjI)}(h max_reservedh]h max_reserved}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjթhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjթhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjթhMhjhhubjw)}(hhh]h)}(hget a unique inode numberh]hget a unique inode number}(hj̪hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjɪhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjթhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct super_block *sb`` superblock ``ino_t max_reserved`` highest reserved inode number **Description** Obtain an inode number that is unique on the system for a given superblock. This is used by file systems that have no natural permanent inode numbering system. An inode number is returned that is higher than the reserved limit but unique. BUGS: With a large number of inodes live on the file system this function currently becomes quite slow.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h&``struct super_block *sb`` superblock h](j)}(h``struct super_block *sb``h]j)}(hj h]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h superblockh]h superblock}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMhjubj)}(h5``ino_t max_reserved`` highest reserved inode number h](j)}(h``ino_t max_reserved``h]j)}(hjFh]hino_t max_reserved}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj@ubj)}(hhh]h)}(hhighest reserved inode numberh]hhighest reserved inode number}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hXWObtain an inode number that is unique on the system for a given superblock. This is used by file systems that have no natural permanent inode numbering system. An inode number is returned that is higher than the reserved limit but unique. BUGS: With a large number of inodes live on the file system this function currently becomes quite slow.h](h)}(hObtain an inode number that is unique on the system for a given superblock. This is used by file systems that have no natural permanent inode numbering system. An inode number is returned that is higher than the reserved limit but unique.h]hObtain an inode number that is unique on the system for a given superblock. This is used by file systems that have no natural permanent inode numbering system. An inode number is returned that is higher than the reserved limit but unique.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hgBUGS: With a large number of inodes live on the file system this function currently becomes quite slow.h]hgBUGS: With a large number of inodes live on the file system this function currently becomes quite slow.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j ihold (C function)c.iholdhNtauh1hhjxhhhNhNubj)}(hhh](j)}(h void ihold (struct inode *inode)h]j)}(hvoid ihold(struct inode *inode)h](jf)}(hvoidh]hvoid}(hj߫hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj۫hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM+ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj۫hhhjhM+ubjC)}(hiholdh]jI)}(hiholdh]hihold}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj۫hhhjhM+ubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hj:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNjj )}j ]j)}jjsbc.iholdasbuh1hhjubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjuhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hj۫hhhjhM+ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj׫hhhjhM+ubah}(h]jҫah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM+hjԫhhubjw)}(hhh]h)}(h;get a reference on the inode, provided you already have oneh]h;get a reference on the inode, provided you already have one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM+hjhhubah}(h]h ]h"]h$]h&]uh1jvhjԫhhhjhM+ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(h=**Parameters** ``struct inode *inode`` inode to operate onh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjìhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM/hjubj)}(hhh]j)}(h+``struct inode *inode`` inode to operate onh](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjެubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM1hjڬubj)}(hhh]h)}(hinode to operate onh]hinode to operate on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM,hjubah}(h]h ]h"]h$]h&]uh1jhjڬubeh}(h]h ]h"]h$]h&]uh1jhjhM1hj׬ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j ilookup5_nowait (C function)c.ilookup5_nowaithNtauh1hhjxhhhNhNubj)}(hhh](j)}(hstruct inode * ilookup5_nowait (struct super_block *sb, u64 hashval, int (*test)(struct inode *, void *), void *data, bool *isnew)h]j)}(h~struct inode *ilookup5_nowait(struct super_block *sb, u64 hashval, int (*test)(struct inode*, void*), void *data, bool *isnew)h](j )}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj6hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMvubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6hhhjGhMvubh)}(hhh]jI)}(hinodeh]hinode}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNjj )}j ]j)}jilookup5_nowaitsbc.ilookup5_nowaitasbuh1hhj6hhhjGhMvubj2)}(h h]h }(hjzhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6hhhjGhMvubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6hhhjGhMvubjC)}(hilookup5_nowaith]jI)}(hjwh]hilookup5_nowait}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj6hhhjGhMvubj=)}(ha(struct super_block *sb, u64 hashval, int (*test)(struct inode*, void*), void *data, bool *isnew)h](jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h super_blockh]h super_block}(hjҭhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjϭubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjԭmodnameN classnameNjj )}j ]juc.ilookup5_nowaitasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsbh]hsb}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h u64 hashvalh](h)}(hhh]jI)}(hu64h]hu64}(hj'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNjj )}j ]juc.ilookup5_nowaitasbuh1hhj ubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubjI)}(hhashvalh]hhashval}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h!int (*test)(struct inode*, void*)h](jf)}(hinth]hint}(hjlhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhubj2)}(h h]h }(hjzhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubjI)}(htesth]htest}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubj)}(hjOh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj )}(hjh]hstruct}(hjʮhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhubj2)}(h h]h }(hj׮hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]juc.ilookup5_nowaitasbuh1hhjhubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj)}(hjh]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubjf)}(hvoidh]hvoid}(hj.hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhubj)}(hjh]h*}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj)}(hjOh]h)}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h void *datah](jf)}(hvoidh]hvoid}(hjahhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj]ubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj]ubj)}(hjh]h*}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]ubjI)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj]ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h bool *isnewh](jf)}(hjih]hbool}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hisnewh]hisnew}(hj˯hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hj6hhhjGhMvubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj2hhhjGhMvubah}(h]j-ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjGhMvhj/hhubjw)}(hhh]h)}(h&search for an inode in the inode cacheh]h&search for an inode in the inode cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMvhjhhubah}(h]h ]h"]h$]h&]uh1jvhj/hhhjGhMvubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1jhhhjxhNhNubj)}(hXX**Parameters** ``struct super_block *sb`` super block of file system to search ``u64 hashval`` hash value (usually inode number) to search for ``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes ``void *data`` opaque data pointer to pass to **test** ``bool *isnew`` return argument telling whether I_NEW was set when the inode was found in hash (the caller needs to wait for I_NEW to clear) **Description** Search for the inode specified by **hashval** and **data** in the inode cache. If the inode is in the cache, the inode is returned with an incremented reference count. **Note** I_NEW is not waited upon so you have to be very careful what you do with the returned inode. You probably should be using ilookup5() instead. Note2: **test** is called with the inode_hash_lock held, so can't sleep.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMzhjubj)}(hhh](j)}(h@``struct super_block *sb`` super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hj6h]hstruct super_block *sb}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMwhj0ubj)}(hhh]h)}(h$super block of file system to searchh]h$super block of file system to search}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhMwhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMwhj-ubj)}(h@``u64 hashval`` hash value (usually inode number) to search for h](j)}(h``u64 hashval``h]j)}(hjoh]h u64 hashval}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMxhjiubj)}(hhh]h)}(h/hash value (usually inode number) to search forh]h/hash value (usually inode number) to search for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMxhj-ubj)}(hU``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hjh]h#int (*test)(struct inode *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMyhjubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMyhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMyhj-ubj)}(h7``void *data`` opaque data pointer to pass to **test** h](j)}(h``void *data``h]j)}(hjh]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߰ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMzhj۰ubj)}(hhh]h)}(h'opaque data pointer to pass to **test**h](hopaque data pointer to pass to }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhj۰ubeh}(h]h ]h"]h$]h&]uh1jhjhMzhj-ubj)}(h``bool *isnew`` return argument telling whether I_NEW was set when the inode was found in hash (the caller needs to wait for I_NEW to clear) h](j)}(h``bool *isnew``h]j)}(hj(h]h bool *isnew}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM}hj"ubj)}(hhh]h)}(h|return argument telling whether I_NEW was set when the inode was found in hash (the caller needs to wait for I_NEW to clear)h]h|return argument telling whether I_NEW was set when the inode was found in hash (the caller needs to wait for I_NEW to clear)}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM{hj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hM}hj-ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjdh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hSearch for the inode specified by **hashval** and **data** in the inode cache. If the inode is in the cache, the inode is returned with an incremented reference count.h](h"Search for the inode specified by }(hjzhhhNhNubj)}(h **hashval**h]hhashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh and }(hjzhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubhm in the inode cache. If the inode is in the cache, the inode is returned with an incremented reference count.}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM~hjubh)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hI_NEW is not waited upon so you have to be very careful what you do with the returned inode. You probably should be using ilookup5() instead.h]hI_NEW is not waited upon so you have to be very careful what you do with the returned inode. You probably should be using ilookup5() instead.}(hjűhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hHNote2: **test** is called with the inode_hash_lock held, so can't sleep.h](hNote2: }(hjԱhhhNhNubj)}(h**test**h]htest}(hjܱhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԱubh; is called with the inode_hash_lock held, so can’t sleep.}(hjԱhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j ilookup5 (C function) c.ilookup5hNtauh1hhjxhhhNhNubj)}(hhh](j)}(hnstruct inode * ilookup5 (struct super_block *sb, u64 hashval, int (*test)(struct inode *, void *), void *data)h]j)}(hjstruct inode *ilookup5(struct super_block *sb, u64 hashval, int (*test)(struct inode*, void*), void *data)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hj#hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj"hMubh)}(hhh]jI)}(hinodeh]hinode}(hj4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj )}j ]j)}jilookup5sb c.ilookup5asbuh1hhjhhhj"hMubj2)}(h h]h }(hjUhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj"hMubj)}(hjh]h*}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj"hMubjC)}(hilookup5h]jI)}(hjRh]hilookup5}(hjthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj"hMubj=)}(hT(struct super_block *sb, u64 hashval, int (*test)(struct inode*, void*), void *data)h](jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jP c.ilookup5asbuh1hhjubj2)}(h h]h }(hj˲hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjٲhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h u64 hashvalh](h)}(hhh]jI)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jP c.ilookup5asbuh1hhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hhashvalh]hhashval}(hj.hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h!int (*test)(struct inode*, void*)h](jf)}(hinth]hint}(hjGhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjCubj2)}(h h]h }(hjUhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCubj)}(hj&h]h(}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj)}(hjh]h*}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubjI)}(htesth]htest}(hj}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjCubj)}(hjOh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjCubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCubh)}(hhh]jI)}(hinodeh]hinode}(hjóhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjųmodnameN classnameNjj )}j ]jP c.ilookup5asbuh1hhjCubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj)}(hjh]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCubjf)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjCubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubj)}(hjOh]h)}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h void *datah](jf)}(hvoidh]hvoid}(hj<hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj8ubj2)}(h h]h }(hjJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8ubj)}(hjh]h*}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubjI)}(hdatah]hdata}(hjehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhj"hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj hhhj"hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj"hMhj hhubjw)}(hhh]h)}(h&search for an inode in the inode cacheh]h&search for an inode in the inode cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhj hhhj"hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct super_block *sb`` super block of file system to search ``u64 hashval`` hash value (usually inode number) to search for ``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes ``void *data`` opaque data pointer to pass to **test** **Description** Search for the inode specified by **hashval** and **data** in the inode cache, and if the inode is in the cache, return the inode with an incremented reference count. Waits on I_NEW before returning the inode. returned with an incremented reference count. This is a generalized version of ilookup() for file systems where the inode number is not sufficient for unique identification of an inode. **Note** **test** is called with the inode_hash_lock held, so can't sleep.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h@``struct super_block *sb`` super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hjдh]hstruct super_block *sb}(hjҴhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjδubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjʴubj)}(hhh]h)}(h$super block of file system to searchh]h$super block of file system to search}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjʴubeh}(h]h ]h"]h$]h&]uh1jhjhMhjǴubj)}(h@``u64 hashval`` hash value (usually inode number) to search for h](j)}(h``u64 hashval``h]j)}(hj h]h u64 hashval}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h/hash value (usually inode number) to search forh]h/hash value (usually inode number) to search for}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjǴubj)}(hU``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hjBh]h#int (*test)(struct inode *, void *)}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj<ubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjǴubj)}(h7``void *data`` opaque data pointer to pass to **test** h](j)}(h``void *data``h]j)}(hj{h]h void *data}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjuubj)}(hhh]h)}(h'opaque data pointer to pass to **test**h](hopaque data pointer to pass to }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjǴubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjĵh]h Description}(hjƵhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjµubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hXSearch for the inode specified by **hashval** and **data** in the inode cache, and if the inode is in the cache, return the inode with an incremented reference count. Waits on I_NEW before returning the inode. returned with an incremented reference count.h](h"Search for the inode specified by }(hjڵhhhNhNubj)}(h **hashval**h]hhashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڵubh and }(hjڵhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڵubh in the inode cache, and if the inode is in the cache, return the inode with an incremented reference count. Waits on I_NEW before returning the inode. returned with an incremented reference count.}(hjڵhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hThis is a generalized version of ilookup() for file systems where the inode number is not sufficient for unique identification of an inode.h]hThis is a generalized version of ilookup() for file systems where the inode number is not sufficient for unique identification of an inode.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(h**Note**h]j)}(hjh]hNote}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hA**test** is called with the inode_hash_lock held, so can't sleep.h](j)}(h**test**h]htest}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh; is called with the inode_hash_lock held, so can’t sleep.}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j ilookup (C function) c.ilookuphNtauh1hhjxhhhNhNubj)}(hhh](j)}(h8struct inode * ilookup (struct super_block *sb, u64 ino)h]j)}(h6struct inode *ilookup(struct super_block *sb, u64 ino)h](j )}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjmhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjmhhhj~hMubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jilookupsb c.ilookupasbuh1hhjmhhhj~hMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjmhhhj~hMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmhhhj~hMubjC)}(hilookuph]jI)}(hjh]hilookup}(hjжhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj̶ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjmhhhj~hMubj=)}(h!(struct super_block *sb, u64 ino)h](jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h super_blockh]h super_block}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]j c.ilookupasbuh1hhjubj2)}(h h]h }(hj'hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsbh]hsb}(hjBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hu64 inoh](h)}(hhh]jI)}(hu64h]hu64}(hj^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNjj )}j ]j c.ilookupasbuh1hhjWubj2)}(h h]h }(hj|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjWubjI)}(hinoh]hino}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjmhhhj~hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjihhhj~hMubah}(h]jdah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj~hMhjfhhubjw)}(hhh]h)}(h&search for an inode in the inode cacheh]h&search for an inode in the inode cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjfhhhj~hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj̷jj̷jjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct super_block *sb`` super block of file system to search ``u64 ino`` inode number to search for **Description** Search for the inode **ino** in the inode cache, and if the inode is in the cache, the inode is returned with an incremented reference count.h](h)}(h**Parameters**h]j)}(hjַh]h Parameters}(hjطhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԷubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjзubj)}(hhh](j)}(h@``struct super_block *sb`` super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h$super block of file system to searchh]h$super block of file system to search}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h'``u64 ino`` inode number to search for h](j)}(h ``u64 ino``h]j)}(hj.h]hu64 ino}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj(ubj)}(hhh]h)}(hinode number to search forh]hinode number to search for}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhjubeh}(h]h ]h"]h$]h&]uh1jhjзubh)}(h**Description**h]j)}(hjih]h Description}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjзubh)}(hSearch for the inode **ino** in the inode cache, and if the inode is in the cache, the inode is returned with an incremented reference count.h](hSearch for the inode }(hjhhhNhNubj)}(h**ino**h]hino}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhq in the inode cache, and if the inode is in the cache, the inode is returned with an incremented reference count.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjзubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j find_inode_nowait (C function)c.find_inode_nowaithNtauh1hhjxhhhNhNubj)}(hhh](j)}(h}struct inode * find_inode_nowait (struct super_block *sb, u64 hashval, int (*match)(struct inode *, u64, void *), void *data)h]j)}(hystruct inode *find_inode_nowait(struct super_block *sb, u64 hashval, int (*match)(struct inode*, u64, void*), void *data)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjθhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj͸hMubh)}(hhh]jI)}(hinodeh]hinode}(hj߸hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjܸubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jfind_inode_nowaitsbc.find_inode_nowaitasbuh1hhjhhhj͸hMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj͸hMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj͸hMubjC)}(hfind_inode_nowaith]jI)}(hjh]hfind_inode_nowait}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj͸hMubj=)}(hZ(struct super_block *sb, u64 hashval, int (*match)(struct inode*, u64, void*), void *data)h](jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj6ubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6ubh)}(hhh]jI)}(h super_blockh]h super_block}(hjXhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNjj )}j ]jc.find_inode_nowaitasbuh1hhj6ubj2)}(h h]h }(hjvhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubjI)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj2ubjC)}(h u64 hashvalh](h)}(hhh]jI)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.find_inode_nowaitasbuh1hhjubj2)}(h h]h }(hj˹hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hhashvalh]hhashval}(hjٹhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj2ubjC)}(h'int (*match)(struct inode*, u64, void*)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hmatchh]hmatch}(hj(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubj)}(hjOh]h)}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj&h]h(}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj )}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj]hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjnhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNjj )}j ]jc.find_inode_nowaitasbuh1hhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.find_inode_nowaitasbuh1hhjubj)}(hjh]h,}(hjպhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjOh]h)}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj2ubjC)}(h void *datah](jf)}(hvoidh]hvoid}(hj#hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hj1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdatah]hdata}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj2ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhj͸hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj͸hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj͸hMhjhhubjw)}(hhh]h)}(h find an inode in the inode cacheh]h find an inode in the inode cache}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjshhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj͸hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct super_block *sb`` super block of file system to search ``u64 hashval`` hash value (usually inode number) to search for ``int (*match)(struct inode *, u64, void *)`` callback used for comparisons between inodes ``void *data`` opaque data pointer to pass to **match** **Description** Search for the inode specified by **hashval** and **data** in the inode cache, where the helper function **match** will return 0 if the inode does not match, 1 if the inode does match, and -1 if the search should be stopped. The **match** function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized, and incrementing the reference count before returning 1. It also must not sleep, since it is called with the inode_hash_lock spinlock held. This is a even more generalized version of ilookup5() when the function must never block --- find_inode() can block in __wait_on_freeing_inode() --- or when the caller can not increment the reference count because the resulting iput() might cause an inode eviction. The tradeoff is that the **match** funtion must be very carefully implemented.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h@``struct super_block *sb`` super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h$super block of file system to searchh]h$super block of file system to search}(hjлhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj̻hMhjͻubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̻hMhjubj)}(h@``u64 hashval`` hash value (usually inode number) to search for h](j)}(h``u64 hashval``h]j)}(hjh]h u64 hashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h/hash value (usually inode number) to search forh]h/hash value (usually inode number) to search for}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h[``int (*match)(struct inode *, u64, void *)`` callback used for comparisons between inodes h](j)}(h-``int (*match)(struct inode *, u64, void *)``h]j)}(hj)h]h)int (*match)(struct inode *, u64, void *)}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj#ubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjubj)}(h8``void *data`` opaque data pointer to pass to **match** h](j)}(h``void *data``h]j)}(hjbh]h void *data}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj\ubj)}(hhh]h)}(h(opaque data pointer to pass to **match**h](hopaque data pointer to pass to }(hj{hhhNhNubj)}(h **match**h]hmatch}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1hhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hXSearch for the inode specified by **hashval** and **data** in the inode cache, where the helper function **match** will return 0 if the inode does not match, 1 if the inode does match, and -1 if the search should be stopped. The **match** function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized, and incrementing the reference count before returning 1. It also must not sleep, since it is called with the inode_hash_lock spinlock held.h](h"Search for the inode specified by }(hjhhhNhNubj)}(h **hashval**h]hhashval}(hjɼhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**data**h]hdata}(hjۼhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ in the inode cache, where the helper function }(hjhhhNhNubj)}(h **match**h]hmatch}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubht will return 0 if the inode does not match, 1 if the inode does match, and -1 if the search should be stopped. The }(hjhhhNhNubj)}(h **match**h]hmatch}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhX function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized, and incrementing the reference count before returning 1. It also must not sleep, since it is called with the inode_hash_lock spinlock held.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hXYThis is a even more generalized version of ilookup5() when the function must never block --- find_inode() can block in __wait_on_freeing_inode() --- or when the caller can not increment the reference count because the resulting iput() might cause an inode eviction. The tradeoff is that the **match** funtion must be very carefully implemented.h](hX$This is a even more generalized version of ilookup5() when the function must never block --- find_inode() can block in __wait_on_freeing_inode() --- or when the caller can not increment the reference count because the resulting iput() might cause an inode eviction. The tradeoff is that the }(hjhhhNhNubj)}(h **match**h]hmatch}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, funtion must be very carefully implemented.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j find_inode_rcu (C function)c.find_inode_rcuhNtauh1hhjxhhhNhNubj)}(hhh](j)}(htstruct inode * find_inode_rcu (struct super_block *sb, u64 hashval, int (*test)(struct inode *, void *), void *data)h]j)}(hpstruct inode *find_inode_rcu(struct super_block *sb, u64 hashval, int (*test)(struct inode*, void*), void *data)h](j )}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjUhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjUhhhjfhMubh)}(hhh]jI)}(hinodeh]hinode}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNjj )}j ]j)}jfind_inode_rcusbc.find_inode_rcuasbuh1hhjUhhhjfhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjUhhhjfhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUhhhjfhMubjC)}(hfind_inode_rcuh]jI)}(hjh]hfind_inode_rcu}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjUhhhjfhMubj=)}(hT(struct super_block *sb, u64 hashval, int (*test)(struct inode*, void*), void *data)h](jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hjӽhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjϽubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjϽubh)}(hhh]jI)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.find_inode_rcuasbuh1hhjϽubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjϽubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjϽubjI)}(hsbh]hsb}(hj*hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjϽubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj˽ubjC)}(h u64 hashvalh](h)}(hhh]jI)}(hu64h]hu64}(hjFhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNjj )}j ]jc.find_inode_rcuasbuh1hhj?ubj2)}(h h]h }(hjdhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj?ubjI)}(hhashvalh]hhashval}(hjrhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj?ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj˽ubjC)}(h!int (*test)(struct inode*, void*)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(htesth]htest}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubj)}(hjOh]h)}(hjϾhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj&h]h(}(hjܾhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]jc.find_inode_rcuasbuh1hhjubj)}(hjh]h*}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h,}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hvoidh]hvoid}(hjMhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj)}(hjh]h*}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjOh]h)}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj˽ubjC)}(h void *datah](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj|ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubjI)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj˽ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjUhhhjfhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjQhhhjfhMubah}(h]jLah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjfhMhjNhhubjw)}(hhh]h)}(h find an inode in the inode cacheh]h find an inode in the inode cache}(hjӿhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjпhhubah}(h]h ]h"]h$]h&]uh1jvhjNhhhjfhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(hX:**Parameters** ``struct super_block *sb`` Super block of file system to search ``u64 hashval`` Key to hash ``int (*test)(struct inode *, void *)`` Function to test match on an inode ``void *data`` Data for test function **Description** Search for the inode specified by **hashval** and **data** in the inode cache, where the helper function **test** will return 0 if the inode does not match and 1 if it does. The **test** function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized. If successful, this will return the inode for which the **test** function returned 1 and NULL otherwise. The **test** function is not permitted to take a ref on any inode presented. It is also not permitted to sleep. The caller must hold the RCU read lock.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h@``struct super_block *sb`` Super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h$Super block of file system to searchh]h$Super block of file system to search}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)hMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj ubj)}(h``u64 hashval`` Key to hash h](j)}(h``u64 hashval``h]j)}(hjMh]h u64 hashval}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjGubj)}(hhh]h)}(h Key to hashh]h Key to hash}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhMhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMhj ubj)}(hK``int (*test)(struct inode *, void *)`` Function to test match on an inode h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hjh]h#int (*test)(struct inode *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h"Function to test match on an inodeh]h"Function to test match on an inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h&``void *data`` Data for test function h](j)}(h``void *data``h]j)}(hjh]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hData for test functionh]hData for test function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hX<Search for the inode specified by **hashval** and **data** in the inode cache, where the helper function **test** will return 0 if the inode does not match and 1 if it does. The **test** function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized.h](h"Search for the inode specified by }(hjhhhNhNubj)}(h **hashval**h]hhashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**data**h]hdata}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ in the inode cache, where the helper function }(hjhhhNhNubj)}(h**test**h]htest}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB will return 0 if the inode does not match and 1 if it does. The }(hjhhhNhNubj)}(h**test**h]htest}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hhIf successful, this will return the inode for which the **test** function returned 1 and NULL otherwise.h](h8If successful, this will return the inode for which the }(hjghhhNhNubj)}(h**test**h]htest}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh( function returned 1 and NULL otherwise.}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hoThe **test** function is not permitted to take a ref on any inode presented. It is also not permitted to sleep.h](hThe }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhc function is not permitted to take a ref on any inode presented. It is also not permitted to sleep.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(h'The caller must hold the RCU read lock.h]h'The caller must hold the RCU read lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM"hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "find_inode_by_ino_rcu (C function)c.find_inode_by_ino_rcuhNtauh1hhjxhhhNhNubj)}(hhh](j)}(hFstruct inode * find_inode_by_ino_rcu (struct super_block *sb, u64 ino)h]j)}(hDstruct inode *find_inode_by_ino_rcu(struct super_block *sb, u64 ino)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM9ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM9ubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jfind_inode_by_ino_rcusbc.find_inode_by_ino_rcuasbuh1hhjhhhjhM9ubj2)}(h h]h }(hjhhhNhNuba(h}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM9ubj)}(hjh]h*}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM9ubjC)}(hfind_inode_by_ino_rcuh]jI)}(hjh]hfind_inode_by_ino_rcu}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM9ubj=)}(h!(struct super_block *sb, u64 ino)h](jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjNubj2)}(h h]h }(hj_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjNubh)}(hhh]jI)}(h super_blockh]h super_block}(hjphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNjj )}j ]jc.find_inode_by_ino_rcuasbuh1hhjNubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjNubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubjI)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjJubjC)}(hu64 inoh](h)}(hhh]jI)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.find_inode_by_ino_rcuasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hinoh]hino}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjJubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM9ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM9ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM9hjhhubjw)}(hhh]h)}(h Find an inode in the inode cacheh]h Find an inode in the inode cache}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM9hjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct super_block *sb`` Super block of file system to search ``u64 ino`` The inode number to match **Description** Search for the inode specified by **hashval** and **data** in the inode cache, where the helper function **test** will return 0 if the inode does not match and 1 if it does. The **test** function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized. If successful, this will return the inode for which the **test** function returned 1 and NULL otherwise. The **test** function is not permitted to take a ref on any inode presented. It is also not permitted to sleep. The caller must hold the RCU read lock.h](h)}(h**Parameters**h]j)}(hj=h]h Parameters}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM=hj7ubj)}(hhh](j)}(h@``struct super_block *sb`` Super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hj\h]hstruct super_block *sb}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM:hjVubj)}(hhh]h)}(h$Super block of file system to searchh]h$Super block of file system to search}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhM:hjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhM:hjSubj)}(h&``u64 ino`` The inode number to match h](j)}(h ``u64 ino``h]j)}(hjh]hu64 ino}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM;hjubj)}(hhh]h)}(hThe inode number to matchh]hThe inode number to match}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjSubeh}(h]h ]h"]h$]h&]uh1jhj7ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM=hj7ubh)}(hX<Search for the inode specified by **hashval** and **data** in the inode cache, where the helper function **test** will return 0 if the inode does not match and 1 if it does. The **test** function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized.h](h"Search for the inode specified by }(hjhhhNhNubj)}(h **hashval**h]hhashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ in the inode cache, where the helper function }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB will return 0 if the inode does not match and 1 if it does. The }(hjhhhNhNubj)}(h**test**h]htest}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM<hj7ubh)}(hhIf successful, this will return the inode for which the **test** function returned 1 and NULL otherwise.h](h8If successful, this will return the inode for which the }(hj=hhhNhNubj)}(h**test**h]htest}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh( function returned 1 and NULL otherwise.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMBhj7ubh)}(hoThe **test** function is not permitted to take a ref on any inode presented. It is also not permitted to sleep.h](hThe }(hj^hhhNhNubj)}(h**test**h]htest}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubhc function is not permitted to take a ref on any inode presented. It is also not permitted to sleep.}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMEhj7ubh)}(h'The caller must hold the RCU read lock.h]h'The caller must hold the RCU read lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMHhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j iput (C function)c.iputhNtauh1hhjxhhhNhNubj)}(hhh](j)}(hvoid iput (struct inode *inode)h]j)}(hvoid iput(struct inode *inode)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hiputh]jI)}(hiputh]hiput}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]j)}jjsbc.iputasbuh1hhjubj2)}(h h]h }(hj)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h put an inodeh]h put an inode}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjkhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct inode *inode`` inode to put **Description** Puts an inode, dropping its usage count. If the inode use count hits zero, the inode is then freed and may also be destroyed. Consequently, iput() can sleep.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]j)}(h%``struct inode *inode`` inode to put h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h inode to puth]h inode to put}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hPuts an inode, dropping its usage count. If the inode use count hits zero, the inode is then freed and may also be destroyed. Consequently, iput() can sleep.h](h)}(h}Puts an inode, dropping its usage count. If the inode use count hits zero, the inode is then freed and may also be destroyed.h]h}Puts an inode, dropping its usage count. If the inode use count hits zero, the inode is then freed and may also be destroyed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hConsequently, iput() can sleep.h]hConsequently, iput() can sleep.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j iput_not_last (C function)c.iput_not_lasthNtauh1hhjxhhhNhNubj)}(hhh](j)}(h(void iput_not_last (struct inode *inode)h]j)}(h'void iput_not_last(struct inode *inode)h](jf)}(hvoidh]hvoid}(hjHhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjDhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjDhhhjVhMubjC)}(h iput_not_lasth]jI)}(h iput_not_lasth]h iput_not_last}(hjihhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjDhhhjVhMubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjksbc.iput_not_lastasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj}ubah}(h]h ]h"]h$]h&]j`jauh1j<hjDhhhjVhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj@hhhjVhMubah}(h]j;ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjVhMhj=hhubjw)}(hhh]h)}(h4put an inode assuming this is not the last referenceh]h4put an inode assuming this is not the last reference}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhj=hhhjVhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1jhhhjxhNhNubj)}(h6**Parameters** ``struct inode *inode`` inode to puth](h)}(h**Parameters**h]j)}(hj*h]h Parameters}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj$ubj)}(hhh]j)}(h$``struct inode *inode`` inode to puth](j)}(h``struct inode *inode``h]j)}(hjIh]hstruct inode *inode}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjCubj)}(hhh]h)}(h inode to puth]h inode to put}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bmap (C function)c.bmaphNtauh1hhjxhhhNhNubj)}(hhh](j)}(h/int bmap (struct inode *inode, sector_t *block)h]j)}(h.int bmap(struct inode *inode, sector_t *block)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM'ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM'ubjC)}(hbmaph]jI)}(hbmaph]hbmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM'ubj=)}(h&(struct inode *inode, sector_t *block)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.bmapasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hj9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hsector_t *blockh](h)}(hhh]jI)}(hsector_th]hsector_t}(hjUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNjj )}j ]jc.bmapasbuh1hhjNubj2)}(h h]h }(hjshhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjNubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubjI)}(hblockh]hblock}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM'ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM'ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM'hjhhubjw)}(hhh]h)}(hfind a block number in a fileh]hfind a block number in a file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM'hjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(hXj**Parameters** ``struct inode *inode`` inode owning the block number being requested ``sector_t *block`` pointer containing the block to find **Description** Replaces the value in ``*block`` with the block number on the device holding corresponding to the requested block number in the file. That is, asked for block 4 of inode 1 the function will replace the 4 in ``*block``, with disk block relative to the disk start that holds that block of the file. Returns -EINVAL in case of error, 0 otherwise. If mapping falls into a hole, returns 0 and ``*block`` is also set to 0.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM+hjubj)}(hhh](j)}(hF``struct inode *inode`` inode owning the block number being requested h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM(hjubj)}(hhh]h)}(h-inode owning the block number being requestedh]h-inode owning the block number being requested}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM(hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjubj)}(h9``sector_t *block`` pointer containing the block to find h](j)}(h``sector_t *block``h]j)}(hj2h]hsector_t *block}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM)hj,ubj)}(hhh]h)}(h$pointer containing the block to findh]h$pointer containing the block to find}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhM)hjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhM)hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjmh]h Description}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM+hjubj)}(hXReplaces the value in ``*block`` with the block number on the device holding corresponding to the requested block number in the file. That is, asked for block 4 of inode 1 the function will replace the 4 in ``*block``, with disk block relative to the disk start that holds that block of the file. Returns -EINVAL in case of error, 0 otherwise. If mapping falls into a hole, returns 0 and ``*block`` is also set to 0.h](h)}(hX(Replaces the value in ``*block`` with the block number on the device holding corresponding to the requested block number in the file. That is, asked for block 4 of inode 1 the function will replace the 4 in ``*block``, with disk block relative to the disk start that holds that block of the file.h](hReplaces the value in }(hjhhhNhNubj)}(h ``*block``h]h*block}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh with the block number on the device holding corresponding to the requested block number in the file. That is, asked for block 4 of inode 1 the function will replace the 4 in }(hjhhhNhNubj)}(h ``*block``h]h*block}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhO, with disk block relative to the disk start that holds that block of the file.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM*hjubh)}(hwReturns -EINVAL in case of error, 0 otherwise. If mapping falls into a hole, returns 0 and ``*block`` is also set to 0.h](h[Returns -EINVAL in case of error, 0 otherwise. If mapping falls into a hole, returns 0 and }(hjhhhNhNubj)}(h ``*block``h]h*block}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is also set to 0.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM0hjubeh}(h]h ]h"]h$]h&]uh1jhjhM*hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j inode_update_time (C function)c.inode_update_timehNtauh1hhjxhhhNhNubj)}(hhh](j)}(hYint inode_update_time (struct inode *inode, enum fs_update_time type, unsigned int flags)h]j)}(hXint inode_update_time(struct inode *inode, enum fs_update_time type, unsigned int flags)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hinode_update_timeh]jI)}(hinode_update_timeh]hinode_update_time}(hj"hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hC(struct inode *inode, enum fs_update_time type, unsigned int flags)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj>hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj:ubj2)}(h h]h }(hjKhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj:ubh)}(hhh]jI)}(hinodeh]hinode}(hj\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNjj )}j ]j)}jj$sbc.inode_update_timeasbuh1hhj:ubj2)}(h h]h }(hj|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj:ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj:ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj6ubjC)}(henum fs_update_time typeh](j )}(hj#h]henum}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hfs_update_timeh]hfs_update_time}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jxc.inode_update_timeasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(htypeh]htype}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj6ubjC)}(hunsigned int flagsh](jf)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hj!hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hinth]hint}(hj/hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hj=hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hflagsh]hflags}(hjKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj6ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h9update either atime or c/mtime and i_version on the inodeh]h9update either atime or c/mtime and i_version on the inode}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjrhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct inode *inode`` inode to be updated ``enum fs_update_time type`` timestamp to be updated ``unsigned int flags`` flags for the update **Description** Update either atime or c/mtime and version in a inode if needed for a file access or modification. It is up to the caller to mark the inode dirty appropriately. Returns the positive I_DIRTY_* flags for __mark_inode_dirty() if the inode needs to be marked dirty, 0 if it did not, or a negative errno if an error happened.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h,``struct inode *inode`` inode to be updated h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hinode to be updatedh]hinode to be updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``enum fs_update_time type`` timestamp to be updated h](j)}(h``enum fs_update_time type``h]j)}(hjh]henum fs_update_time type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(htimestamp to be updatedh]htimestamp to be updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h,``unsigned int flags`` flags for the update h](j)}(h``unsigned int flags``h]j)}(hj(h]hunsigned int flags}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj"ubj)}(hhh]h)}(hflags for the updateh]hflags for the update}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjch]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hUpdate either atime or c/mtime and version in a inode if needed for a file access or modification. It is up to the caller to mark the inode dirty appropriately.h]hUpdate either atime or c/mtime and version in a inode if needed for a file access or modification. It is up to the caller to mark the inode dirty appropriately.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hReturns the positive I_DIRTY_* flags for __mark_inode_dirty() if the inode needs to be marked dirty, 0 if it did not, or a negative errno if an error happened.h]hReturns the positive I_DIRTY_* flags for __mark_inode_dirty() if the inode needs to be marked dirty, 0 if it did not, or a negative errno if an error happened.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  generic_update_time (C function)c.generic_update_timehNtauh1hhjxhhhNhNubj)}(hhh](j)}(h[int generic_update_time (struct inode *inode, enum fs_update_time type, unsigned int flags)h]j)}(hZint generic_update_time(struct inode *inode, enum fs_update_time type, unsigned int flags)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hgeneric_update_timeh]jI)}(hgeneric_update_timeh]hgeneric_update_time}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hC(struct inode *inode, enum fs_update_time type, unsigned int flags)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.generic_update_timeasbuh1hhjubj2)}(h h]h }(hj2hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(henum fs_update_time typeh](j )}(hj#h]henum}(hjfhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjbubj2)}(h h]h }(hjshhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbubh)}(hhh]jI)}(hfs_update_timeh]hfs_update_time}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j.c.generic_update_timeasbuh1hhjbubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbubjI)}(htypeh]htype}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hunsigned int flagsh](jf)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h"update the timestamps on the inodeh]h"update the timestamps on the inode}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj(hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCjjCjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct inode *inode`` inode to be updated ``enum fs_update_time type`` timestamp to be updated ``unsigned int flags`` flags for the update **Description** Returns a negative error value on error, else 0.h](h)}(h**Parameters**h]j)}(hjMh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjGubj)}(hhh](j)}(h,``struct inode *inode`` inode to be updated h](j)}(h``struct inode *inode``h]j)}(hjlh]hstruct inode *inode}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjfubj)}(hhh]h)}(hinode to be updatedh]hinode to be updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMhjcubj)}(h5``enum fs_update_time type`` timestamp to be updated h](j)}(h``enum fs_update_time type``h]j)}(hjh]henum fs_update_time type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(htimestamp to be updatedh]htimestamp to be updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjcubj)}(h,``unsigned int flags`` flags for the update h](j)}(h``unsigned int flags``h]j)}(hjh]hunsigned int flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hflags for the updateh]hflags for the update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjcubeh}(h]h ]h"]h$]h&]uh1jhjGubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjGubh)}(h0Returns a negative error value on error, else 0.h]h0Returns a negative error value on error, else 0.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j file_remove_privs (C function)c.file_remove_privshNtauh1hhjxhhhNhNubj)}(hhh](j)}(h)int file_remove_privs (struct file *file)h]j)}(h(int file_remove_privs(struct file *file)h](jf)}(hinth]hint}(hj^hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjZhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMc ubj2)}(h h]h }(hjmhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjZhhhjlhMc ubjC)}(hfile_remove_privsh]jI)}(hfile_remove_privsh]hfile_remove_privs}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj{ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjZhhhjlhMc ubj=)}(h(struct file *file)h]jC)}(hstruct file *fileh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.file_remove_privsasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjZhhhjlhMc ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjVhhhjlhMc ubah}(h]jQah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjlhMc hjShhubjw)}(hhh]h)}(h3remove special file privileges (suid, capabilities)h]h3remove special file privileges (suid, capabilities)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMc hjhhubah}(h]h ]h"]h$]h&]uh1jvhjShhhjlhMc ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct file *file`` file to remove privileges from **Description** When file is modified by a write or truncation ensure that special file privileges are removed. **Return** 0 on success, negative errno on failure.h](h)}(h**Parameters**h]j)}(hj@h]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMg hj:ubj)}(hhh]j)}(h5``struct file *file`` file to remove privileges from h](j)}(h``struct file *file``h]j)}(hj_h]hstruct file *file}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMd hjYubj)}(hhh]h)}(hfile to remove privileges fromh]hfile to remove privileges from}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthMd hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMd hjVubah}(h]h ]h"]h$]h&]uh1jhj:ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMf hj:ubh)}(h_When file is modified by a write or truncation ensure that special file privileges are removed.h]h_When file is modified by a write or truncation ensure that special file privileges are removed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMe hj:ubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMh hj:ubh)}(h(0 on success, negative errno on failure.h]h(0 on success, negative errno on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMi hj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j current_time (C function)c.current_timehNtauh1hhjxhhhNhNubj)}(hhh](j)}(h4struct timespec64 current_time (struct inode *inode)h]j)}(h3struct timespec64 current_time(struct inode *inode)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMr ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMr ubh)}(hhh]jI)}(h timespec64h]h timespec64}(hj%hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNjj )}j ]j)}j current_timesbc.current_timeasbuh1hhjhhhjhMr ubj2)}(h h]h }(hjFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMr ubjC)}(h current_timeh]jI)}(hjCh]h current_time}(hjXhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjTubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMr ubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjshhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjoubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjoubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jAc.current_timeasbuh1hhjoubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjoubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjkubah}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMr ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMr ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMr hjhhubjw)}(hhh]h)}(h&Return FS time (possibly fine-grained)h]h&Return FS time (possibly fine-grained)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMr hjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMr ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct inode *inode`` inode. **Description** Return the current time truncated to the time granularity supported by the fs, as suitable for a ctime/mtime change. If the ctime is flagged as having been QUERIED, get a fine-grained timestamp, but don't update the floor. For a multigrain inode, this is effectively an estimate of the timestamp that a file would receive. An actual update must go through inode_set_ctime_current().h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMv hjubj)}(hhh]j)}(h``struct inode *inode`` inode. h](j)}(h``struct inode *inode``h]j)}(hj5h]hstruct inode *inode}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMs hj/ubj)}(hhh]h)}(hinode.h]hinode.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMs hjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMs hj,ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjph]h Description}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMu hjubh)}(hReturn the current time truncated to the time granularity supported by the fs, as suitable for a ctime/mtime change. If the ctime is flagged as having been QUERIED, get a fine-grained timestamp, but don't update the floor.h]hReturn the current time truncated to the time granularity supported by the fs, as suitable for a ctime/mtime change. If the ctime is flagged as having been QUERIED, get a fine-grained timestamp, but don’t update the floor.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMt hjubh)}(hFor a multigrain inode, this is effectively an estimate of the timestamp that a file would receive. An actual update must go through inode_set_ctime_current().h]hFor a multigrain inode, this is effectively an estimate of the timestamp that a file would receive. An actual update must go through inode_set_ctime_current().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMy hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j file_update_time (C function)c.file_update_timehNtauh1hhjxhhhNhNubj)}(hhh](j)}(h(int file_update_time (struct file *file)h]j)}(h'int file_update_time(struct file *file)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM ubjC)}(hfile_update_timeh]jI)}(hfile_update_timeh]hfile_update_time}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM ubj=)}(h(struct file *file)h]jC)}(hstruct file *fileh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNjj )}j ]j)}jjsbc.file_update_timeasbuh1hhjubj2)}(h h]h }(hj?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfileh]hfile}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM hjhhubjw)}(hhh]h)}(hupdate mtime and ctime timeh]hupdate mtime and ctime time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(hXD**Parameters** ``struct file *file`` file accessed **Description** Update the mtime and ctime members of an inode and mark the inode for writeback. Note that this function is meant exclusively for usage in the file write path of filesystems, and filesystems may choose to explicitly ignore updates via this function with the _NOCMTIME inode flag, e.g. for network filesystem where these imestamps are handled by the server. This can return an error for file systems who need to allocate space in order to update an inode. **Return** 0 on success, negative errno on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]j)}(h$``struct file *file`` file accessed h](j)}(h``struct file *file``h]j)}(hjh]hstruct file *file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]h)}(h file accessedh]h file accessed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(hXUpdate the mtime and ctime members of an inode and mark the inode for writeback. Note that this function is meant exclusively for usage in the file write path of filesystems, and filesystems may choose to explicitly ignore updates via this function with the _NOCMTIME inode flag, e.g. for network filesystem where these imestamps are handled by the server. This can return an error for file systems who need to allocate space in order to update an inode.h]hXUpdate the mtime and ctime members of an inode and mark the inode for writeback. Note that this function is meant exclusively for usage in the file write path of filesystems, and filesystems may choose to explicitly ignore updates via this function with the _NOCMTIME inode flag, e.g. for network filesystem where these imestamps are handled by the server. This can return an error for file systems who need to allocate space in order to update an inode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(h **Return**h]j)}(hj'h]hReturn}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(h(0 on success, negative errno on failure.h]h(0 on success, negative errno on failure.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j file_modified (C function)c.file_modifiedhNtauh1hhjxhhhNhNubj)}(hhh](j)}(h%int file_modified (struct file *file)h]j)}(h$int file_modified(struct file *file)h](jf)}(hinth]hint}(hjlhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj2)}(h h]h }(hj{hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhhjzhM ubjC)}(h file_modifiedh]jI)}(h file_modifiedh]h file_modified}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhhjzhM ubj=)}(h(struct file *file)h]jC)}(hstruct file *fileh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.file_modifiedasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjhhhhjzhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjdhhhjzhM ubah}(h]j_ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjzhM hjahhubjw)}(hhh]h)}(h1handle mandated vfs changes when modifying a fileh]h1handle mandated vfs changes when modifying a file}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj)hhubah}(h]h ]h"]h$]h&]uh1jvhjahhhjzhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1jhhhjxhNhNubj)}(hX'**Parameters** ``struct file *file`` file that was modified **Description** When file has been modified ensure that special file privileges are removed and time settings are updated. **Context** Caller must hold the file's inode lock. **Return** 0 on success, negative errno on failure.h](h)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjHubj)}(hhh]j)}(h-``struct file *file`` file that was modified h](j)}(h``struct file *file``h]j)}(hjmh]hstruct file *file}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjgubj)}(hhh]h)}(hfile that was modifiedh]hfile that was modified}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhM hjdubah}(h]h ]h"]h$]h&]uh1jhjHubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjHubh)}(hjWhen file has been modified ensure that special file privileges are removed and time settings are updated.h]hjWhen file has been modified ensure that special file privileges are removed and time settings are updated.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjHubh)}(h **Context**h]j)}(hjh]hContext}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjHubh)}(h'Caller must hold the file's inode lock.h]h)Caller must hold the file’s inode lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjHubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjHubh)}(h(0 on success, negative errno on failure.h]h(0 on success, negative errno on failure.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j kiocb_modified (C function)c.kiocb_modifiedhNtauh1hhjxhhhNhNubj)}(hhh](j)}(h'int kiocb_modified (struct kiocb *iocb)h]j)}(h&int kiocb_modified(struct kiocb *iocb)h](jf)}(hinth]hint}(hj;hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj7hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj2)}(h h]h }(hjJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7hhhjIhM ubjC)}(hkiocb_modifiedh]jI)}(hkiocb_modifiedh]hkiocb_modified}(hj\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj7hhhjIhM ubj=)}(h(struct kiocb *iocb)h]jC)}(hstruct kiocb *iocbh](j )}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjtubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubh)}(hhh]jI)}(hkiocbh]hkiocb}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jj^sbc.kiocb_modifiedasbuh1hhjtubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubjI)}(hiocbh]hiocb}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjpubah}(h]h ]h"]h$]h&]j`jauh1j<hj7hhhjIhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj3hhhjIhM ubah}(h]j.ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjIhM hj0hhubjw)}(hhh]h)}(h1handle mandated vfs changes when modifying a fileh]h1handle mandated vfs changes when modifying a file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjhhubah}(h]h ]h"]h$]h&]uh1jvhj0hhhjIhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(hX(**Parameters** ``struct kiocb *iocb`` iocb that was modified **Description** When file has been modified ensure that special file privileges are removed and time settings are updated. **Context** Caller must hold the file's inode lock. **Return** 0 on success, negative errno on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]j)}(h.``struct kiocb *iocb`` iocb that was modified h](j)}(h``struct kiocb *iocb``h]j)}(hj<h]hstruct kiocb *iocb}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj6ubj)}(hhh]h)}(hiocb that was modifiedh]hiocb that was modified}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhM hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhM hj3ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjwh]h Description}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(hjWhen file has been modified ensure that special file privileges are removed and time settings are updated.h]hjWhen file has been modified ensure that special file privileges are removed and time settings are updated.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(h **Context**h]j)}(hjh]hContext}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(h'Caller must hold the file's inode lock.h]h)Caller must hold the file’s inode lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(h(0 on success, negative errno on failure.h]h(0 on success, negative errno on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j inode_init_owner (C function)c.inode_init_ownerhNtauh1hhjxhhhNhNubj)}(hhh](j)}(hkvoid inode_init_owner (struct mnt_idmap *idmap, struct inode *inode, const struct inode *dir, umode_t mode)h]j)}(hjvoid inode_init_owner(struct mnt_idmap *idmap, struct inode *inode, const struct inode *dir, umode_t mode)h](jf)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM ubjC)}(hinode_init_ownerh]jI)}(hinode_init_ownerh]hinode_init_owner}(hj+hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM ubj=)}(hU(struct mnt_idmap *idmap, struct inode *inode, const struct inode *dir, umode_t mode)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjCubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNjj )}j ]j)}jj-sbc.inode_init_ownerasbuh1hhjCubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubjI)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjCubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj?ubjC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.inode_init_ownerasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj?ubjC)}(hconst struct inode *dirh](j )}(hjh]hconst}(hj)hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj%ubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%ubj )}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj%ubj2)}(h h]h }(hjQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%ubh)}(hhh]jI)}(hinodeh]hinode}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNjj )}j ]jc.inode_init_ownerasbuh1hhj%ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubjI)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj?ubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.inode_init_ownerasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj?ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM hjhhubjw)}(hhh]h)}(hah"]h$]h&]uh1j1hjhhhjhM ubjC)}(hinode_owner_or_capableh]jI)}(hinode_owner_or_capableh]hinode_owner_or_capable}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM ubj=)}(h4(struct mnt_idmap *idmap, const struct inode *inode)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]j)}jjsbc.inode_owner_or_capableasbuh1hhjubj2)}(h h]h }(hj)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hjDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hj]hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjYubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubj )}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjYubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j%c.inode_owner_or_capableasbuh1hhjYubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM hjhhubjw)}(hhh]h)}(h'check current task permissions to inodeh]h'check current task permissions to inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(hX]**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``const struct inode *inode`` inode being checked **Description** Return true if current either has CAP_FOWNER in a namespace with the inode owner uid mapped, or owns the file. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj:h]hstruct mnt_idmap *idmap}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj4ubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhM hjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhM hj1ubj)}(h2``const struct inode *inode`` inode being checked h](j)}(h``const struct inode *inode``h]j)}(hjsh]hconst struct inode *inode}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjmubj)}(hhh]h)}(hinode being checkedh]hinode being checked}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhM hj1ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(hnReturn true if current either has CAP_FOWNER in a namespace with the inode owner uid mapped, or owns the file.h]hnReturn true if current either has CAP_FOWNER in a namespace with the inode owner uid mapped, or owns the file.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB. This function will then take care to map the inode according to }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j inode_dio_wait (C function)c.inode_dio_waithNtauh1hhjxhhhNhNubj)}(hhh](j)}(h)void inode_dio_wait (struct inode *inode)h]j)}(h(void inode_dio_wait(struct inode *inode)h](jf)}(hvoidh]hvoid}(hj8hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj4hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4hhhjFhM ubjC)}(hinode_dio_waith]jI)}(hinode_dio_waith]hinode_dio_wait}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjUubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj4hhhjFhM ubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjqubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jj[sbc.inode_dio_waitasbuh1hhjqubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjmubah}(h]h ]h"]h$]h&]j`jauh1j<hj4hhhjFhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj0hhhjFhM ubah}(h]j+ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjFhM hj-hhubjw)}(hhh]h)}(h+wait for outstanding DIO requests to finishh]h+wait for outstanding DIO requests to finish}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjhhubah}(h]h ]h"]h$]h&]uh1jvhj-hhhjFhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(hX/**Parameters** ``struct inode *inode`` inode to wait for **Description** Waits for all pending direct I/O requests to finish so that we can proceed with a truncate or equivalent operation. Must be called under a lock that serializes taking new references to i_dio_count, usually by inode->i_rwsem.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]j)}(h*``struct inode *inode`` inode to wait for h](j)}(h``struct inode *inode``h]j)}(hj9h]hstruct inode *inode}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj3ubj)}(hhh]h)}(hinode to wait forh]hinode to wait for}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhM hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhM hj0ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjth]h Description}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(hsWaits for all pending direct I/O requests to finish so that we can proceed with a truncate or equivalent operation.h]hsWaits for all pending direct I/O requests to finish so that we can proceed with a truncate or equivalent operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(hlMust be called under a lock that serializes taking new references to i_dio_count, usually by inode->i_rwsem.h]hlMust be called under a lock that serializes taking new references to i_dio_count, usually by inode->i_rwsem.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j timestamp_truncate (C function)c.timestamp_truncatehNtauh1hhjxhhhNhNubj)}(hhh](j)}(hOstruct timespec64 timestamp_truncate (struct timespec64 t, struct inode *inode)h]j)}(hNstruct timespec64 timestamp_truncate(struct timespec64 t, struct inode *inode)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM ubh)}(hhh]jI)}(h timespec64h]h timespec64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jtimestamp_truncatesbc.timestamp_truncateasbuh1hhjhhhjhM ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM ubjC)}(htimestamp_truncateh]jI)}(hjh]htimestamp_truncate}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM ubj=)}(h*(struct timespec64 t, struct inode *inode)h](jC)}(hstruct timespec64 th](j )}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj1ubj2)}(h h]h }(hjBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1ubh)}(hhh]jI)}(h timespec64h]h timespec64}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj )}j ]jc.timestamp_truncateasbuh1hhj1ubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1ubjI)}(hth]ht}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj-ubjC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.timestamp_truncateasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj-ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM hjhhubjw)}(hhh]h)}(h"Truncate timespec to a granularityh]h"Truncate timespec to a granularity}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1jjjuh1jhhhjxhNhNubj)}(hX!**Parameters** ``struct timespec64 t`` Timespec ``struct inode *inode`` inode being updated **Description** Truncate a timespec to the granularity supported by the fs containing the inode. Always rounds down. gran must not be 0 nor greater than a second (NSEC_PER_SEC, or 10^9 ns).h](h)}(h**Parameters**h]j)}(hj;h]h Parameters}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj5ubj)}(hhh](j)}(h!``struct timespec64 t`` Timespec h](j)}(h``struct timespec64 t``h]j)}(hjZh]hstruct timespec64 t}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjTubj)}(hhh]h)}(hTimespech]hTimespec}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohM hjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohM hjQubj)}(h,``struct inode *inode`` inode being updated h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]h)}(hinode being updatedh]hinode being updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjQubeh}(h]h ]h"]h$]h&]uh1jhj5ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj5ubh)}(hTruncate a timespec to the granularity supported by the fs containing the inode. Always rounds down. gran must not be 0 nor greater than a second (NSEC_PER_SEC, or 10^9 ns).h]hTruncate a timespec to the granularity supported by the fs containing the inode. Always rounds down. gran must not be 0 nor greater than a second (NSEC_PER_SEC, or 10^9 ns).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $inode_set_ctime_current (C function)c.inode_set_ctime_currenthNtauh1hhjxhhhNhNubj)}(hhh](j)}(h?struct timespec64 inode_set_ctime_current (struct inode *inode)h]j)}(h>struct timespec64 inode_set_ctime_current(struct inode *inode)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM: ubj2)}(h h]h }(hj!hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj hM: ubh)}(hhh]jI)}(h timespec64h]h timespec64}(hj2hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj )}j ]j)}jinode_set_ctime_currentsbc.inode_set_ctime_currentasbuh1hhjhhhj hM: ubj2)}(h h]h }(hjShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj hM: ubjC)}(hinode_set_ctime_currenth]jI)}(hjPh]hinode_set_ctime_current}(hjehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjaubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj hM: ubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj|ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|ubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jNc.inode_set_ctime_currentasbuh1hhj|ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjxubah}(h]h ]h"]h$]h&]j`jauh1j<hjhhhj hM: ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj hhhj hM: ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj hM: hjhhubjw)}(hhh]h)}(hset the ctime to current_timeh]hset the ctime to current_time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM: hjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj hM: ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct inode *inode`` inode **Description** Set the inode's ctime to the current value for the inode. Returns the current value that was assigned. If this is not a multigrain inode, then we set it to the later of the coarse time and floor value. If it is multigrain, then we first see if the coarse-grained timestamp is distinct from what is already there. If so, then use that. Otherwise, get a fine-grained timestamp. After that, try to swap the new value into i_ctime_nsec. Accept the resulting ctime, regardless of the outcome of the swap. If it has already been replaced, then that timestamp is later than the earlier unacceptable one, and is thus acceptable.h](h)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM> hjubj)}(hhh]j)}(h``struct inode *inode`` inode h](j)}(h``struct inode *inode``h]j)}(hjBh]hstruct inode *inode}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM; hj<ubj)}(hhh]h)}(hinodeh]hinode}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhM; hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhM; hj9ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj}h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM= hjubh)}(hSet the inode's ctime to the current value for the inode. Returns the current value that was assigned. If this is not a multigrain inode, then we set it to the later of the coarse time and floor value.h]hSet the inode’s ctime to the current value for the inode. Returns the current value that was assigned. If this is not a multigrain inode, then we set it to the later of the coarse time and floor value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM< hjubh)}(hIf it is multigrain, then we first see if the coarse-grained timestamp is distinct from what is already there. If so, then use that. Otherwise, get a fine-grained timestamp.h]hIf it is multigrain, then we first see if the coarse-grained timestamp is distinct from what is already there. If so, then use that. Otherwise, get a fine-grained timestamp.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM@ hjubh)}(hAfter that, try to swap the new value into i_ctime_nsec. Accept the resulting ctime, regardless of the outcome of the swap. If it has already been replaced, then that timestamp is later than the earlier unacceptable one, and is thus acceptable.h]hAfter that, try to swap the new value into i_ctime_nsec. Accept the resulting ctime, regardless of the outcome of the swap. If it has already been replaced, then that timestamp is later than the earlier unacceptable one, and is thus acceptable.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMD hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "inode_set_ctime_deleg (C function)c.inode_set_ctime_deleghNtauh1hhjxhhhNhNubj)}(hhh](j)}(hWstruct timespec64 inode_set_ctime_deleg (struct inode *inode, struct timespec64 update)h]j)}(hVstruct timespec64 inode_set_ctime_deleg(struct inode *inode, struct timespec64 update)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM ubh)}(hhh]jI)}(h timespec64h]h timespec64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jinode_set_ctime_delegsbc.inode_set_ctime_delegasbuh1hhjhhhjhM ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM ubjC)}(hinode_set_ctime_delegh]jI)}(hjh]hinode_set_ctime_deleg}(hj2hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj.ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM ubj=)}(h/(struct inode *inode, struct timespec64 update)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjIubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjIubh)}(hhh]jI)}(hinodeh]hinode}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNjj )}j ]jc.inode_set_ctime_delegasbuh1hhjIubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjIubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjIubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjEubjC)}(hstruct timespec64 updateh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h timespec64h]h timespec64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.inode_set_ctime_delegasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hupdateh]hupdate}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjEubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM hjhhubjw)}(hhh]h)}(h,try to update the ctime on a delegated inodeh]h,try to update the ctime on a delegated inode}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj.hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1jhhhjxhNhNubj)}(hXK**Parameters** ``struct inode *inode`` inode to update ``struct timespec64 update`` timespec64 to set the ctime **Description** Attempt to atomically update the ctime on behalf of a delegation holder. The nfs server can call back the holder of a delegation to get updated inode attributes, including the mtime. When updating the mtime, update the ctime to a value at least equal to that. This can race with concurrent updates to the inode, in which case the update is skipped. Note that this works even when multigrain timestamps are not enabled, so it is used in either case.h](h)}(h**Parameters**h]j)}(hjSh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjMubj)}(hhh](j)}(h(``struct inode *inode`` inode to update h](j)}(h``struct inode *inode``h]j)}(hjrh]hstruct inode *inode}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjlubj)}(hhh]h)}(hinode to updateh]hinode to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM hjiubj)}(h9``struct timespec64 update`` timespec64 to set the ctime h](j)}(h``struct timespec64 update``h]j)}(hjh]hstruct timespec64 update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]h)}(htimespec64 to set the ctimeh]htimespec64 to set the ctime}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjiubeh}(h]h ]h"]h$]h&]uh1jhjMubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjMubh)}(hHAttempt to atomically update the ctime on behalf of a delegation holder.h]hHAttempt to atomically update the ctime on behalf of a delegation holder.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjMubh)}(hThe nfs server can call back the holder of a delegation to get updated inode attributes, including the mtime. When updating the mtime, update the ctime to a value at least equal to that.h]hThe nfs server can call back the holder of a delegation to get updated inode attributes, including the mtime. When updating the mtime, update the ctime to a value at least equal to that.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjMubh)}(hXThis can race with concurrent updates to the inode, in which case the update is skipped.h]hXThis can race with concurrent updates to the inode, in which case the update is skipped.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjMubh)}(hcNote that this works even when multigrain timestamps are not enabled, so it is used in either case.h]hcNote that this works even when multigrain timestamps are not enabled, so it is used in either case.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjMubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  in_group_or_capable (C function)c.in_group_or_capablehNtauh1hhjxhhhNhNubj)}(hhh](j)}(h^bool in_group_or_capable (struct mnt_idmap *idmap, const struct inode *inode, vfsgid_t vfsgid)h]j)}(h]bool in_group_or_capable(struct mnt_idmap *idmap, const struct inode *inode, vfsgid_t vfsgid)h](jf)}(hjih]hbool}(hjXhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjThhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjThhhjehM ubjC)}(hin_group_or_capableh]jI)}(hin_group_or_capableh]hin_group_or_capable}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjThhhjehM ubj=)}(hE(struct mnt_idmap *idmap, const struct inode *inode, vfsgid_t vfsgid)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjzsbc.in_group_or_capableasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj.hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hj?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNjj )}j ]jc.in_group_or_capableasbuh1hhjubj2)}(h h]h }(hj]hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hvfsgid_t vfsgidh](h)}(hhh]jI)}(hvfsgid_th]hvfsgid_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.in_group_or_capableasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hvfsgidh]hvfsgid}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjThhhjehM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjPhhhjehM ubah}(h]jKah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjehM hjMhhubjw)}(hhh]h)}(h-check whether caller is CAP_FSETID privilegedh]h-check whether caller is CAP_FSETID privileged}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjhhubah}(h]h ]h"]h$]h&]uh1jvhjMhhhjehM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from ``const struct inode *inode`` inode to check ``vfsgid_t vfsgid`` the new/current vfsgid of **inode** **Description** Check whether **vfsgid** is in the caller's group list or if the caller is privileged with CAP_FSETID over **inode**. This can be used to determine whether the setgid bit can be kept or must be dropped. **Return** true if the caller is sufficiently privileged, false if not.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj+h]hstruct mnt_idmap *idmap}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj%ubj)}(hhh]h)}(h+idmap of the mount **inode** was found fromh](hidmap of the mount }(hjDhhhNhNubj)}(h **inode**h]hinode}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh was found from}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj@hM hjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hM hj"ubj)}(h-``const struct inode *inode`` inode to check h](j)}(h``const struct inode *inode``h]j)}(hjvh]hconst struct inode *inode}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjpubj)}(hhh]h)}(hinode to checkh]hinode to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhM hj"ubj)}(h8``vfsgid_t vfsgid`` the new/current vfsgid of **inode** h](j)}(h``vfsgid_t vfsgid``h]j)}(hjh]hvfsgid_t vfsgid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]h)}(h#the new/current vfsgid of **inode**h](hthe new/current vfsgid of }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hj"ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(hCheck whether **vfsgid** is in the caller's group list or if the caller is privileged with CAP_FSETID over **inode**. This can be used to determine whether the setgid bit can be kept or must be dropped.h](hCheck whether }(hjhhhNhNubj)}(h **vfsgid**h]hvfsgid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhU is in the caller’s group list or if the caller is privileged with CAP_FSETID over }(hjhhhNhNubj)}(h **inode**h]hinode}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhV. This can be used to determine whether the setgid bit can be kept or must be dropped.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(h **Return**h]j)}(hjCh]hReturn}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(hah"]h$]h&]uh1j1hjhhhjhM ubjC)}(hmode_strip_sgidh]jI)}(hjh]hmode_strip_sgid}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM ubj=)}(h@(struct mnt_idmap *idmap, const struct inode *dir, umode_t mode)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.mode_strip_sgidasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hj1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst struct inode *dirh](j )}(hjh]hconst}(hjJhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjFubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubj )}(hjh]hstruct}(hjehhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjFubj2)}(h h]h }(hjrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.mode_strip_sgidasbuh1hhjFubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubjI)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.mode_strip_sgidasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM ubah}(h]j{ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM hj}hhubjw)}(hhh]h)}(h'handle the sgid bit for non-directoriesh]h'handle the sgid bit for non-directories}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj+hhubah}(h]h ]h"]h$]h&]uh1jvhj}hhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1jhhhjxhNhNubj)}(hX_**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was created from ``const struct inode *dir`` parent directory inode ``umode_t mode`` mode of the file to be created in **dir** **Description** If the **mode** of the new file has both the S_ISGID and S_IXGRP bit raised and **dir** has the S_ISGID bit raised ensure that the caller is either in the group of the parent directory or they have CAP_FSETID in their user namespace and are privileged over the parent directory. In all other cases, strip the S_ISGID bit from **mode**. **Return** the new mode to use for the fileh](h)}(h**Parameters**h]j)}(hjPh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjJubj)}(hhh](j)}(hJ``struct mnt_idmap *idmap`` idmap of the mount the inode was created from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjoh]hstruct mnt_idmap *idmap}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjiubj)}(hhh]h)}(h-idmap of the mount the inode was created fromh]h-idmap of the mount the inode was created from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhM hjfubj)}(h3``const struct inode *dir`` parent directory inode h](j)}(h``const struct inode *dir``h]j)}(hjh]hconst struct inode *dir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]h)}(hparent directory inodeh]hparent directory inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjfubj)}(h;``umode_t mode`` mode of the file to be created in **dir** h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]h)}(h)mode of the file to be created in **dir**h](h"mode of the file to be created in }(hjhhhNhNubj)}(h**dir**h]hdir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjfubeh}(h]h ]h"]h$]h&]uh1jhjJubh)}(h**Description**h]j)}(hj*h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjJubh)}(hXOIf the **mode** of the new file has both the S_ISGID and S_IXGRP bit raised and **dir** has the S_ISGID bit raised ensure that the caller is either in the group of the parent directory or they have CAP_FSETID in their user namespace and are privileged over the parent directory. In all other cases, strip the S_ISGID bit from **mode**.h](hIf the }(hj@hhhNhNubj)}(h**mode**h]hmode}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubhA of the new file has both the S_ISGID and S_IXGRP bit raised and }(hj@hhhNhNubj)}(h**dir**h]hdir}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh has the S_ISGID bit raised ensure that the caller is either in the group of the parent directory or they have CAP_FSETID in their user namespace and are privileged over the parent directory. In all other cases, strip the S_ISGID bit from }(hj@hhhNhNubj)}(h**mode**h]hmode}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjJubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjJubh)}(h the new mode to use for the fileh]h the new mode to use for the file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j dump_inode (C function) c.dump_inodehNtauh1hhjxhhhNhNubj)}(hhh](j)}(h9void dump_inode (struct inode *inode, const char *reason)h]j)}(h8void dump_inode(struct inode *inode, const char *reason)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM ubjC)}(h dump_inodeh]jI)}(h dump_inodeh]h dump_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM ubj=)}(h)(struct inode *inode, const char *reason)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hj'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNjj )}j ]j)}jjsb c.dump_inodeasbuh1hhjubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst char *reasonh](j )}(hjh]hconst}(hj{hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjwubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubjI)}(hreasonh]hreason}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM hjhhubjw)}(hhh]h)}(hdump an inode.h]hdump an inode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct inode *inode`` inode to dump ``const char *reason`` reason for dumping **Description** If inode is an invalid pointer, we don't want to crash accessing it, so probe everything depending on it carefully with get_kernel_nofault().h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh](j)}(h&``struct inode *inode`` inode to dump h](j)}(h``struct inode *inode``h]j)}(hj*h]hstruct inode *inode}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj$ubj)}(hhh]h)}(h inode to dumph]h inode to dump}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hM hj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hM hj!ubj)}(h*``const char *reason`` reason for dumping h](j)}(h``const char *reason``h]j)}(hjch]hconst char *reason}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj]ubj)}(hhh]h)}(hreason for dumpingh]hreason for dumping}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhM hjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhM hj!ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(hIf inode is an invalid pointer, we don't want to crash accessing it, so probe everything depending on it carefully with get_kernel_nofault().h]hIf inode is an invalid pointer, we don’t want to crash accessing it, so probe everything depending on it carefully with get_kernel_nofault().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j make_bad_inode (C function)c.make_bad_inodehNtauh1hhjxhhhNhNubj)}(hhh](j)}(h)void make_bad_inode (struct inode *inode)h]j)}(h(void make_bad_inode(struct inode *inode)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhKubjC)}(hmake_bad_inodeh]jI)}(hmake_bad_inodeh]hmake_bad_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhKubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj-hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNjj )}j ]j)}jjsbc.make_bad_inodeasbuh1hhjubj2)}(h h]h }(hj^hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjyhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhKubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhKhjhhubjw)}(hhh]h)}(h%mark an inode bad due to an I/O errorh]h%mark an inode bad due to an I/O error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(hX**Parameters** ``struct inode *inode`` Inode to mark bad **Description** When an inode cannot be read due to a media or remote network failure this function makes the inode "bad" and causes I/O operations on it to fail from this point on.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubj)}(hhh]j)}(h*``struct inode *inode`` Inode to mark bad h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubj)}(hhh]h)}(hInode to mark badh]hInode to mark bad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubj)}(hWhen an inode cannot be read due to a media or remote network failure this function makes the inode "bad" and causes I/O operations on it to fail from this point on.h]h)}(hWhen an inode cannot be read due to a media or remote network failure this function makes the inode "bad" and causes I/O operations on it to fail from this point on.h]hWhen an inode cannot be read due to a media or remote network failure this function makes the inode “bad” and causes I/O operations on it to fail from this point on.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhj5ubah}(h]h ]h"]h$]h&]uh1jhjGhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j is_bad_inode (C function)c.is_bad_inodehNtauh1hhjxhhhNhNubj)}(hhh](j)}(h'bool is_bad_inode (struct inode *inode)h]j)}(h&bool is_bad_inode(struct inode *inode)h](jf)}(hjih]hbool}(hjnhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKubj2)}(h h]h }(hj|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjjhhhj{hKubjC)}(h is_bad_inodeh]jI)}(h is_bad_inodeh]h is_bad_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjjhhhj{hKubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.is_bad_inodeasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjjhhhj{hKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjfhhhj{hKubah}(h]jaah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj{hKhjchhubjw)}(hhh]h)}(his an inode erroredh]his an inode errored}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhj*hhubah}(h]h ]h"]h$]h&]uh1jvhjchhhj{hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEjjEjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct inode *inode`` inode to test **Description** Returns true if the inode in question has been marked as bad.h](h)}(h**Parameters**h]j)}(hjOh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjIubj)}(hhh]j)}(h&``struct inode *inode`` inode to test h](j)}(h``struct inode *inode``h]j)}(hjnh]hstruct inode *inode}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjhubj)}(hhh]h)}(h inode to testh]h inode to test}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhKhjeubah}(h]h ]h"]h$]h&]uh1jhjIubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjIubj)}(h=Returns true if the inode in question has been marked as bad.h]h)}(hjh]h=Returns true if the inode in question has been marked as bad.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubah}(h]h ]h"]h$]h&]uh1jhjhKhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j iget_failed (C function) c.iget_failedhNtauh1hhjxhhhNhNubj)}(hhh](j)}(h&void iget_failed (struct inode *inode)h]j)}(h%void iget_failed(struct inode *inode)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhKubjC)}(h iget_failedh]jI)}(h iget_failedh]h iget_failed}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhKubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj0ubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0ubh)}(hhh]jI)}(hinodeh]hinode}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTmodnameN classnameNjj )}j ]j)}jjsb c.iget_failedasbuh1hhj0ubj2)}(h h]h }(hjrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj,ubah}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhKubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhKhjhhubjw)}(hhh]h)}(h7Mark an under-construction inode as dead and release ith]h7Mark an under-construction inode as dead and release it}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjxhNhNubj)}(h**Parameters** ``struct inode *inode`` The inode to discard **Description** Mark an under-construction inode as dead and release it.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubj)}(hhh]j)}(h-``struct inode *inode`` The inode to discard h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubj)}(hhh]h)}(hThe inode to discardh]hThe inode to discard}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj3h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubh)}(h8Mark an under-construction inode as dead and release it.h]h8Mark an under-construction inode as dead and release it.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjxhhhNhNubeh}(h]inode-handlingah ]h"]inode handlingah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hRegistration and Superblocksh]hRegistration and Superblocks}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghhhhhK$ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $deactivate_locked_super (C function)c.deactivate_locked_superhNtauh1hhjghhhNhNubj)}(hhh](j)}(h4void deactivate_locked_super (struct super_block *s)h]j)}(h3void deactivate_locked_super(struct super_block *s)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hdeactivate_locked_superh]jI)}(hdeactivate_locked_superh]hdeactivate_locked_super}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h(struct super_block *s)h]jC)}(hstruct super_block *sh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.deactivate_locked_superasbuh1hhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsh]hs}(hj'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h&drop an active reference to superblockh]h&drop an active reference to superblock}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjNhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1jhhhjghNhNubj)}(hX**Parameters** ``struct super_block *s`` superblock to deactivate **Description** Drops an active reference to superblock, converting it into a temporary one if there is no other active references left. In that case we tell fs driver to shut it down and drop the temporary reference we had just acquired. Caller holds exclusive lock on superblock; that lock is released.h](h)}(h**Parameters**h]j)}(hjsh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjmubj)}(hhh]j)}(h3``struct super_block *s`` superblock to deactivate h](j)}(h``struct super_block *s``h]j)}(hjh]hstruct super_block *s}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hsuperblock to deactivateh]hsuperblock to deactivate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjmubj)}(hX"Drops an active reference to superblock, converting it into a temporary one if there is no other active references left. In that case we tell fs driver to shut it down and drop the temporary reference we had just acquired. Caller holds exclusive lock on superblock; that lock is released.h](h)}(hDrops an active reference to superblock, converting it into a temporary one if there is no other active references left. In that case we tell fs driver to shut it down and drop the temporary reference we had just acquired.h]hDrops an active reference to superblock, converting it into a temporary one if there is no other active references left. In that case we tell fs driver to shut it down and drop the temporary reference we had just acquired.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(hACaller holds exclusive lock on superblock; that lock is released.h]hACaller holds exclusive lock on superblock; that lock is released.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjghhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j deactivate_super (C function)c.deactivate_superhNtauh1hhjghhhNhNubj)}(hhh](j)}(h-void deactivate_super (struct super_block *s)h]j)}(h,void deactivate_super(struct super_block *s)h](jf)}(hvoidh]hvoid}(hj+hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj'hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj2)}(h h]h }(hj:hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'hhhj9hMubjC)}(hdeactivate_superh]jI)}(hdeactivate_superh]hdeactivate_super}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjHubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj'hhhj9hMubj=)}(h(struct super_block *s)h]jC)}(hstruct super_block *sh](j )}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjdubj2)}(h h]h }(hjuhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdubh)}(hhh]jI)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjNsbc.deactivate_superasbuh1hhjdubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubjI)}(hj)h]hs}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj`ubah}(h]h ]h"]h$]h&]j`jauh1j<hj'hhhj9hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj#hhhj9hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj9hMhj hhubjw)}(hhh]h)}(h&drop an active reference to superblockh]h&drop an active reference to superblock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhj hhhj9hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjghNhNubj)}(hX**Parameters** ``struct super_block *s`` superblock to deactivate **Description** Variant of deactivate_locked_super(), except that superblock is *not* locked by caller. If we are going to drop the final active reference, lock will be acquired prior to that.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]j)}(h3``struct super_block *s`` superblock to deactivate h](j)}(h``struct super_block *s``h]j)}(hj+h]hstruct super_block *s}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj%ubj)}(hhh]h)}(hsuperblock to deactivateh]hsuperblock to deactivate}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjfh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hVariant of deactivate_locked_super(), except that superblock is *not* locked by caller. If we are going to drop the final active reference, lock will be acquired prior to that.h]h)}(hVariant of deactivate_locked_super(), except that superblock is *not* locked by caller. If we are going to drop the final active reference, lock will be acquired prior to that.h](h@Variant of deactivate_locked_super(), except that superblock is }(hjhhhNhNubj )}(h*not*h]hnot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j~ hjubhl locked by caller. If we are going to drop the final active reference, lock will be acquired prior to that.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj|ubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjghhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j retire_super (C function)c.retire_superhNtauh1hhjghhhNhNubj)}(hhh](j)}(h*void retire_super (struct super_block *sb)h]j)}(h)void retire_super(struct super_block *sb)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMAubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMAubjC)}(h retire_superh]jI)}(h retire_superh]h retire_super}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMAubj=)}(h(struct super_block *sb)h]jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h super_blockh]h super_block}(hj"hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNjj )}j ]j)}jjsbc.retire_superasbuh1hhjubj2)}(h h]h }(hjBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsbh]hsb}(hj]hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMAubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMAubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMAhjhhubjw)}(hhh]h)}(h%prevents superblock from being reusedh]h%prevents superblock from being reused}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMAhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMAubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjghNhNubj)}(hX**Parameters** ``struct super_block *sb`` superblock to retire **Description** The function marks superblock to be ignored in superblock test, which prevents it from being reused for any new mounts. If the superblock has a private bdi, it also unregisters it, but doesn't reduce the refcount of the superblock to prevent potential races. The refcount is reduced by generic_shutdown_super(). The function can not be called concurrently with generic_shutdown_super(). It is safe to call the function multiple times, subsequent calls have no effect. The marker will affect the re-use only for block-device-based superblocks. Other superblocks will still get marked if this function is used, but that will not affect their reusability.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMEhjubj)}(hhh]j)}(h0``struct super_block *sb`` superblock to retire h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMBhjubj)}(hhh]h)}(hsuperblock to retireh]hsuperblock to retire}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMDhjubj)}(hXThe function marks superblock to be ignored in superblock test, which prevents it from being reused for any new mounts. If the superblock has a private bdi, it also unregisters it, but doesn't reduce the refcount of the superblock to prevent potential races. The refcount is reduced by generic_shutdown_super(). The function can not be called concurrently with generic_shutdown_super(). It is safe to call the function multiple times, subsequent calls have no effect. The marker will affect the re-use only for block-device-based superblocks. Other superblocks will still get marked if this function is used, but that will not affect their reusability.h](h)}(hXThe function marks superblock to be ignored in superblock test, which prevents it from being reused for any new mounts. If the superblock has a private bdi, it also unregisters it, but doesn't reduce the refcount of the superblock to prevent potential races. The refcount is reduced by generic_shutdown_super(). The function can not be called concurrently with generic_shutdown_super(). It is safe to call the function multiple times, subsequent calls have no effect.h]hXThe function marks superblock to be ignored in superblock test, which prevents it from being reused for any new mounts. If the superblock has a private bdi, it also unregisters it, but doesn’t reduce the refcount of the superblock to prevent potential races. The refcount is reduced by generic_shutdown_super(). The function can not be called concurrently with generic_shutdown_super(). It is safe to call the function multiple times, subsequent calls have no effect.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMChjubh)}(hThe marker will affect the re-use only for block-device-based superblocks. Other superblocks will still get marked if this function is used, but that will not affect their reusability.h]hThe marker will affect the re-use only for block-device-based superblocks. Other superblocks will still get marked if this function is used, but that will not affect their reusability.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMKhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMChjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjghhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j #generic_shutdown_super (C function)c.generic_shutdown_superhNtauh1hhjghhhNhNubj)}(hhh](j)}(h4void generic_shutdown_super (struct super_block *sb)h]j)}(h3void generic_shutdown_super(struct super_block *sb)h](jf)}(hvoidh]hvoid}(hjahhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj]hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM^ubj2)}(h h]h }(hjphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj]hhhjohM^ubjC)}(hgeneric_shutdown_superh]jI)}(hgeneric_shutdown_superh]hgeneric_shutdown_super}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj~ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj]hhhjohM^ubj=)}(h(struct super_block *sb)h]jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.generic_shutdown_superasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hj]hhhjohM^ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjYhhhjohM^ubah}(h]jTah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjohM^hjVhhubjw)}(hhh]h)}(hcommon helper for ->kill_sb()h]hcommon helper for ->kill_sb()}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM^hjhhubah}(h]h ]h"]h$]h&]uh1jvhjVhhhjohM^ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1jhhhjghNhNubj)}(hXv**Parameters** ``struct super_block *sb`` superblock to kill **Description** generic_shutdown_super() does all fs-independent work on superblock shutdown. Typical ->kill_sb() should pick all fs-specific objects that need destruction out of superblock, call generic_shutdown_super() and release aforementioned objects. Note: dentries and inodes _are_ taken care of and do not need specific handling. Upon calling this function, the filesystem may no longer alter or rearrange the set of dentries belonging to this super_block, nor may it change the attachments of dentries to inodes.h](h)}(h**Parameters**h]j)}(hjCh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMbhj=ubj)}(hhh]j)}(h.``struct super_block *sb`` superblock to kill h](j)}(h``struct super_block *sb``h]j)}(hjbh]hstruct super_block *sb}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM_hj\ubj)}(hhh]h)}(hsuperblock to killh]hsuperblock to kill}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhM_hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhM_hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMahj=ubj)}(hXgeneric_shutdown_super() does all fs-independent work on superblock shutdown. Typical ->kill_sb() should pick all fs-specific objects that need destruction out of superblock, call generic_shutdown_super() and release aforementioned objects. Note: dentries and inodes _are_ taken care of and do not need specific handling. Upon calling this function, the filesystem may no longer alter or rearrange the set of dentries belonging to this super_block, nor may it change the attachments of dentries to inodes.h](h)}(hXCgeneric_shutdown_super() does all fs-independent work on superblock shutdown. Typical ->kill_sb() should pick all fs-specific objects that need destruction out of superblock, call generic_shutdown_super() and release aforementioned objects. Note: dentries and inodes _are_ taken care of and do not need specific handling.h]hXCgeneric_shutdown_super() does all fs-independent work on superblock shutdown. Typical ->kill_sb() should pick all fs-specific objects that need destruction out of superblock, call generic_shutdown_super() and release aforementioned objects. Note: dentries and inodes _are_ taken care of and do not need specific handling.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM`hjubh)}(hUpon calling this function, the filesystem may no longer alter or rearrange the set of dentries belonging to this super_block, nor may it change the attachments of dentries to inodes.h]hUpon calling this function, the filesystem may no longer alter or rearrange the set of dentries belonging to this super_block, nor may it change the attachments of dentries to inodes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMfhjubeh}(h]h ]h"]h$]h&]uh1jhjhM`hj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjghhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j sget_fc (C function) c.sget_fchNtauh1hhjghhhNhNubj)}(hhh](j)}(hstruct super_block * sget_fc (struct fs_context *fc, int (*test)(struct super_block *, struct fs_context *), int (*set)(struct super_block *, struct fs_context *))h]j)}(hstruct super_block *sget_fc(struct fs_context *fc, int (*test)(struct super_block*, struct fs_context*), int (*set)(struct super_block*, struct fs_context*))h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubh)}(hhh]jI)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jsget_fcsb c.sget_fcasbuh1hhjhhhjhMubj2)}(h h]h }(hj;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(hsget_fch]jI)}(hj8h]hsget_fc}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h(struct fs_context *fc, int (*test)(struct super_block*, struct fs_context*), int (*set)(struct super_block*, struct fs_context*))h](jC)}(hstruct fs_context *fch](j )}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjqubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubh)}(hhh]jI)}(h fs_contexth]h fs_context}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j6 c.sget_fcasbuh1hhjqubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubjI)}(hfch]hfc}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjmubjC)}(h4int (*test)(struct super_block*, struct fs_context*)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(htesth]htest}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubj)}(hjOh]h)}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj&h]h(}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj )}(hjh]hstruct}(hjChhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h super_blockh]h super_block}(hjahhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNjj )}j ]j6 c.sget_fcasbuh1hhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h fs_contexth]h fs_context}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j6 c.sget_fcasbuh1hhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjOh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjmubjC)}(h3int (*set)(struct super_block*, struct fs_context*)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hj&h]h(}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hseth]hset}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubj)}(hjOh]h)}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj&h]h(}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj )}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjshhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j6 c.sget_fcasbuh1hhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h fs_contexth]h fs_context}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j6 c.sget_fcasbuh1hhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjOh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjmubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hFind or create a superblockh]hFind or create a superblock}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj9hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjTjjTjjjuh1jhhhjghNhNubj)}(hX**Parameters** ``struct fs_context *fc`` Filesystem context. ``int (*test)(struct super_block *, struct fs_context *)`` Comparison callback ``int (*set)(struct super_block *, struct fs_context *)`` Setup callback **Description** Create a new superblock or find an existing one. The **test** callback is used to find a matching existing superblock. Whether or not the requested parameters in **fc** are taken into account is specific to the **test** callback that is used. They may even be completely ignored. If an extant superblock is matched, it will be returned unless: (1) the namespace the filesystem context **fc** and the extant superblock's namespace differ (2) the filesystem context **fc** has requested that reusing an extant superblock is not allowed In both cases EBUSY will be returned. If no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info and s_id will be set and the **set** callback will be invoked), the superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset. **Return** On success, an extant or newly created superblock is returned. On failure an error pointer is returned.h](h)}(h**Parameters**h]j)}(hj^h]h Parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjXubj)}(hhh](j)}(h.``struct fs_context *fc`` Filesystem context. h](j)}(h``struct fs_context *fc``h]j)}(hj}h]hstruct fs_context *fc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjwubj)}(hhh]h)}(hFilesystem context.h]hFilesystem context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(hO``int (*test)(struct super_block *, struct fs_context *)`` Comparison callback h](j)}(h:``int (*test)(struct super_block *, struct fs_context *)``h]j)}(hjh]h6int (*test)(struct super_block *, struct fs_context *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hComparison callbackh]hComparison callback}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(hI``int (*set)(struct super_block *, struct fs_context *)`` Setup callback h](j)}(h9``int (*set)(struct super_block *, struct fs_context *)``h]j)}(hjh]h5int (*set)(struct super_block *, struct fs_context *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hSetup callbackh]hSetup callback}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubeh}(h]h ]h"]h$]h&]uh1jhjXubh)}(h**Description**h]j)}(hj*h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjXubh)}(h0Create a new superblock or find an existing one.h]h0Create a new superblock or find an existing one.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjXubh)}(hThe **test** callback is used to find a matching existing superblock. Whether or not the requested parameters in **fc** are taken into account is specific to the **test** callback that is used. They may even be completely ignored.h](hThe }(hjOhhhNhNubj)}(h**test**h]htest}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubhe callback is used to find a matching existing superblock. Whether or not the requested parameters in }(hjOhhhNhNubj)}(h**fc**h]hfc}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh+ are taken into account is specific to the }(hjOhhhNhNubj)}(h**test**h]htest}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh< callback that is used. They may even be completely ignored.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjXubh)}(h?If an extant superblock is matched, it will be returned unless:h]h?If an extant superblock is matched, it will be returned unless:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjXubhenumerated_list)}(hhh](j#C)}(hYthe namespace the filesystem context **fc** and the extant superblock's namespace differ h]h)}(hXthe namespace the filesystem context **fc** and the extant superblock's namespace differh](h%the namespace the filesystem context }(hjhhhNhNubj)}(h**fc**h]hfc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ and the extant superblock’s namespace differ}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubah}(h]h ]h"]h$]h&]uh1j"Chjubj#C)}(h]the filesystem context **fc** has requested that reusing an extant superblock is not allowed h]h)}(h\the filesystem context **fc** has requested that reusing an extant superblock is not allowedh](hthe filesystem context }(hjhhhNhNubj)}(h**fc**h]hfc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh? has requested that reusing an extant superblock is not allowed}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubah}(h]h ]h"]h$]h&]uh1j"Chjubeh}(h]h ]h"]h$]h&]enumtypearabicprefixj&suffixjOuh1jhjXubh)}(h%In both cases EBUSY will be returned.h]h%In both cases EBUSY will be returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjXubh)}(hX8If no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info and s_id will be set and the **set** callback will be invoked), the superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset.h](hIf no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info and s_id will be set and the }(hjhhhNhNubj)}(h**set**h]hset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh callback will be invoked), the superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjXubh)}(h **Return**h]j)}(hj:h]hReturn}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjXubh)}(hgOn success, an extant or newly created superblock is returned. On failure an error pointer is returned.h]hgOn success, an extant or newly created superblock is returned. On failure an error pointer is returned.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjghhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  iterate_supers_type (C function)c.iterate_supers_typehNtauh1hhjghhhNhNubj)}(hhh](j)}(hlvoid iterate_supers_type (struct file_system_type *type, void (*f)(struct super_block *, void *), void *arg)h]j)}(hivoid iterate_supers_type(struct file_system_type *type, void (*f)(struct super_block*, void*), void *arg)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj{hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMvubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj{hhhjhMvubjC)}(hiterate_supers_typeh]jI)}(hiterate_supers_typeh]hiterate_supers_type}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj{hhhjhMvubj=)}(hQ(struct file_system_type *type, void (*f)(struct super_block*, void*), void *arg)h](jC)}(hstruct file_system_type *typeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hfile_system_typeh]hfile_system_type}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.iterate_supers_typeasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(htypeh]htype}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h%void (*f)(struct super_block*, void*)h](jf)}(hvoidh]hvoid}(hj.hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj*ubj2)}(h h]h }(hj<hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*ubj)}(hj&h]h(}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj)}(hjh]h*}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubjI)}(hfh]hf}(hjdhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*ubj)}(hjOh]h)}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj*ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*ubh)}(hhh]jI)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.iterate_supers_typeasbuh1hhj*ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj)}(hjh]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*ubjf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj*ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj)}(hjOh]h)}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h void *argh](jf)}(hvoidh]hvoid}(hj#hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hj1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hargh]harg}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hj{hhhjhMvubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjwhhhjhMvubah}(h]jrah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMvhjthhubjw)}(hhh]h)}(h+call function for superblocks of given typeh]h+call function for superblocks of given type}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMvhjshhubah}(h]h ]h"]h$]h&]uh1jvhjthhhjhMvubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjghNhNubj)}(hX$**Parameters** ``struct file_system_type *type`` fs type ``void (*f)(struct super_block *, void *)`` function to call ``void *arg`` argument to pass to it **Description** Scans the superblock list and calls given function, passing it locked superblock and given argument.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMzhjubj)}(hhh](j)}(h*``struct file_system_type *type`` fs type h](j)}(h!``struct file_system_type *type``h]j)}(hjh]hstruct file_system_type *type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMwhjubj)}(hhh]h)}(hfs typeh]hfs type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjubj)}(h=``void (*f)(struct super_block *, void *)`` function to call h](j)}(h+``void (*f)(struct super_block *, void *)``h]j)}(hjh]h'void (*f)(struct super_block *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMxhjubj)}(hhh]h)}(hfunction to callh]hfunction to call}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjubj)}(h%``void *arg`` argument to pass to it h](j)}(h ``void *arg``h]j)}(hj)h]h void *arg}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMyhj#ubj)}(hhh]h)}(hargument to pass to ith]hargument to pass to it}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hMyhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMyhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjdh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM{hjubj)}(hdScans the superblock list and calls given function, passing it locked superblock and given argument.h]h)}(hdScans the superblock list and calls given function, passing it locked superblock and given argument.h]hdScans the superblock list and calls given function, passing it locked superblock and given argument.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMzhjzubah}(h]h ]h"]h$]h&]uh1jhjhMzhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjghhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j get_anon_bdev (C function)c.get_anon_bdevhNtauh1hhjghhhNhNubj)}(hhh](j)}(hint get_anon_bdev (dev_t *p)h]j)}(hint get_anon_bdev(dev_t *p)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(h get_anon_bdevh]jI)}(h get_anon_bdevh]h get_anon_bdev}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h (dev_t *p)h]jC)}(hdev_t *ph](h)}(hhh]jI)}(hdev_th]hdev_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.get_anon_bdevasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hjh]hp}(hj.hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h=Allocate a block device for filesystems which don't have one.h]h?Allocate a block device for filesystems which don’t have one.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjThhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjojjojjjuh1jhhhjghNhNubj)}(hXc**Parameters** ``dev_t *p`` Pointer to a dev_t. **Description** Filesystems which don't use real block devices can call this function to allocate a virtual block device. **Context** Any context. Frequently called while holding sb_lock. **Return** 0 on success, -EMFILE if there are no anonymous bdevs left or -ENOMEM if memory allocation failed.h](h)}(h**Parameters**h]j)}(hjyh]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjsubj)}(hhh]j)}(h!``dev_t *p`` Pointer to a dev_t. h](j)}(h ``dev_t *p``h]j)}(hjh]hdev_t *p}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hPointer to a dev_t.h]hPointer to a dev_t.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjsubh)}(hiFilesystems which don't use real block devices can call this function to allocate a virtual block device.h]hkFilesystems which don’t use real block devices can call this function to allocate a virtual block device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjsubh)}(h **Context**h]j)}(hjh]hContext}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjsubh)}(h6Any context. Frequently called while holding sb_lock.h]h6Any context. Frequently called while holding sb_lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjsubh)}(h **Return**h]j)}(hj!h]hReturn}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjsubh)}(hb0 on success, -EMFILE if there are no anonymous bdevs left or -ENOMEM if memory allocation failed.h]hb0 on success, -EMFILE if there are no anonymous bdevs left or -ENOMEM if memory allocation failed.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjghhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j sget_dev (C function) c.sget_devhNtauh1hhjghhhNhNubj)}(hhh](j)}(h@struct super_block * sget_dev (struct fs_context *fc, dev_t dev)h]j)}(h>struct super_block *sget_dev(struct fs_context *fc, dev_t dev)h](j )}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjbhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM.ubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbhhhjshM.ubh)}(hhh]jI)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jsget_devsb c.sget_devasbuh1hhjbhhhjshM.ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbhhhjshM.ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbhhhjshM.ubjC)}(hsget_devh]jI)}(hjh]hsget_dev}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjbhhhjshM.ubj=)}(h"(struct fs_context *fc, dev_t dev)h](jC)}(hstruct fs_context *fch](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h fs_contexth]h fs_context}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j c.sget_devasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfch]hfc}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h dev_t devh](h)}(hhh]jI)}(hdev_th]hdev_t}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj )}j ]j c.sget_devasbuh1hhjLubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLubjI)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjbhhhjshM.ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj^hhhjshM.ubah}(h]jYah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjshM.hj[hhubjw)}(hhh]h)}(h,Find or create a superblock by device numberh]h,Find or create a superblock by device number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM.hjhhubah}(h]h ]h"]h$]h&]uh1jvhj[hhhjshM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjghNhNubj)}(hX**Parameters** ``struct fs_context *fc`` Filesystem context. ``dev_t dev`` device number **Description** Find or create a superblock using the provided device number that will be stored in fc->sget_key. If an extant superblock is matched, then that will be returned with an elevated reference count that the caller must transfer or discard. If no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info, s_id, s_dev will be set). The superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset. **Return** an existing or newly created superblock on success, an error pointer on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM2hjubj)}(hhh](j)}(h.``struct fs_context *fc`` Filesystem context. h](j)}(h``struct fs_context *fc``h]j)}(hjh]hstruct fs_context *fc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM/hjubj)}(hhh]h)}(hFilesystem context.h]hFilesystem context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM/hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM/hjubj)}(h``dev_t dev`` device number h](j)}(h ``dev_t dev``h]j)}(hj#h]h dev_t dev}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM0hjubj)}(hhh]h)}(h device numberh]h device number}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hM0hj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hM0hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj^h]h Description}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM2hjubh)}(haFind or create a superblock using the provided device number that will be stored in fc->sget_key.h]haFind or create a superblock using the provided device number that will be stored in fc->sget_key.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM1hjubh)}(hIf an extant superblock is matched, then that will be returned with an elevated reference count that the caller must transfer or discard.h]hIf an extant superblock is matched, then that will be returned with an elevated reference count that the caller must transfer or discard.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM4hjubh)}(hXIf no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info, s_id, s_dev will be set). The superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset.h]hXIf no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info, s_id, s_dev will be set). The superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM7hjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM=hjubh)}(hPan existing or newly created superblock on success, an error pointer on failure.h]hPan existing or newly created superblock on success, an error pointer on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM>hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjghhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  get_tree_bdev_flags (C function)c.get_tree_bdev_flagshNtauh1hhjghhhNhNubj)}(hhh](j)}(hint get_tree_bdev_flags (struct fs_context *fc, int (*fill_super)(struct super_block *sb, struct fs_context *fc), unsigned int flags)h]j)}(hint get_tree_bdev_flags(struct fs_context *fc, int (*fill_super)(struct super_block *sb, struct fs_context *fc), unsigned int flags)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM=ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM=ubjC)}(hget_tree_bdev_flagsh]jI)}(hget_tree_bdev_flagsh]hget_tree_bdev_flags}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM=ubj=)}(hm(struct fs_context *fc, int (*fill_super)(struct super_block *sb, struct fs_context *fc), unsigned int flags)h](jC)}(hstruct fs_context *fch](j )}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj!ubj2)}(h h]h }(hj2hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!ubh)}(hhh]jI)}(h fs_contexth]h fs_context}(hjChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj )}j ]j)}jj sbc.get_tree_bdev_flagsasbuh1hhj!ubj2)}(h h]h }(hjchhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!ubj)}(hjh]h*}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubjI)}(hfch]hfc}(hj~hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h@int (*fill_super)(struct super_block *sb, struct fs_context *fc)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(h fill_superh]h fill_super}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubj)}(hjOh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j_c.get_tree_bdev_flagsasbuh1hhjubj2)}(h h]h }(hj1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsbh]hsb}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubj)}(hjh]h,}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h fs_contexth]h fs_context}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j_c.get_tree_bdev_flagsasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfch]hfc}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubj)}(hjOh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hunsigned int flagsh](jf)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hinth]hint}(hj hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hflagsh]hflags}(hj* hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM=ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM=ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM=hjhhubjw)}(hhh]h)}(h/Get a superblock based on a single block deviceh]h/Get a superblock based on a single block device}(hjT hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM=hjQ hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM=ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjl jjl jjjuh1jhhhjghNhNubj)}(h**Parameters** ``struct fs_context *fc`` The filesystem context holding the parameters ``int (*fill_super)(struct super_block *sb, struct fs_context *fc)`` Helper to initialise a new superblock ``unsigned int flags`` GET_TREE_BDEV_* flagsh](h)}(h**Parameters**h]j)}(hjv h]h Parameters}(hjx hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMAhjp ubj)}(hhh](j)}(hH``struct fs_context *fc`` The filesystem context holding the parameters h](j)}(h``struct fs_context *fc``h]j)}(hj h]hstruct fs_context *fc}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM>hj ubj)}(hhh]h)}(h-The filesystem context holding the parametersh]h-The filesystem context holding the parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM>hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM>hj ubj)}(hk``int (*fill_super)(struct super_block *sb, struct fs_context *fc)`` Helper to initialise a new superblock h](j)}(hD``int (*fill_super)(struct super_block *sb, struct fs_context *fc)``h]j)}(hj h]h@int (*fill_super)(struct super_block *sb, struct fs_context *fc)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM?hj ubj)}(hhh]h)}(h%Helper to initialise a new superblockh]h%Helper to initialise a new superblock}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM?hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM?hj ubj)}(h,``unsigned int flags`` GET_TREE_BDEV_* flagsh](j)}(h``unsigned int flags``h]j)}(hj h]hunsigned int flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMAhj ubj)}(hhh]h)}(hGET_TREE_BDEV_* flagsh]hGET_TREE_BDEV_* flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM@hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMAhj ubeh}(h]h ]h"]h$]h&]uh1jhjp ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjghhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j get_tree_bdev (C function)c.get_tree_bdevhNtauh1hhjghhhNhNubj)}(hhh](j)}(hgint get_tree_bdev (struct fs_context *fc, int (*fill_super)(struct super_block *, struct fs_context *))h]j)}(hdint get_tree_bdev(struct fs_context *fc, int (*fill_super)(struct super_block*, struct fs_context*))h](jf)}(hinth]hint}(hja hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj] hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMqubj2)}(h h]h }(hjp hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj] hhhjo hMqubjC)}(h get_tree_bdevh]jI)}(h get_tree_bdevh]h get_tree_bdev}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj~ ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj] hhhjo hMqubj=)}(hS(struct fs_context *fc, int (*fill_super)(struct super_block*, struct fs_context*))h](jC)}(hstruct fs_context *fch](j )}(hjh]hstruct}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubh)}(hhh]jI)}(h fs_contexth]h fs_context}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]j)}jj sbc.get_tree_bdevasbuh1hhj ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(hfch]hfc}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj ubjC)}(h:int (*fill_super)(struct super_block*, struct fs_context*)h](jf)}(hinth]hint}(hj hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hj&h]h(}(hj, hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(hjh]h*}(hj9 hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(h fill_superh]h fill_super}(hjF hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubj)}(hjOh]h)}(hjT hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(hj&h]h(}(hja hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj )}(hjh]hstruct}(hjn hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj ubj2)}(h h]h }(hj{ hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubh)}(hhh]jI)}(h super_blockh]h super_block}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]j c.get_tree_bdevasbuh1hhj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(hjh]h,}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj )}(hjh]hstruct}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubh)}(hhh]jI)}(h fs_contexth]h fs_context}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]j c.get_tree_bdevasbuh1hhj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(hjOh]h)}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj] hhhjo hMqubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjY hhhjo hMqubah}(h]jT ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjo hMqhjV hhubjw)}(hhh]h)}(h/Get a superblock based on a single block deviceh]h/Get a superblock based on a single block device}(hjD hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMqhjA hhubah}(h]h ]h"]h$]h&]uh1jvhjV hhhjo hMqubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\ jj\ jjjuh1jhhhjghNhNubj)}(h**Parameters** ``struct fs_context *fc`` The filesystem context holding the parameters ``int (*fill_super)(struct super_block *, struct fs_context *)`` Helper to initialise a new superblockh](h)}(h**Parameters**h]j)}(hjf h]h Parameters}(hjh hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMuhj` ubj)}(hhh](j)}(hH``struct fs_context *fc`` The filesystem context holding the parameters h](j)}(h``struct fs_context *fc``h]j)}(hj h]hstruct fs_context *fc}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMrhj ubj)}(hhh]h)}(h-The filesystem context holding the parametersh]h-The filesystem context holding the parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMrhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMrhj| ubj)}(hf``int (*fill_super)(struct super_block *, struct fs_context *)`` Helper to initialise a new superblockh](j)}(h@``int (*fill_super)(struct super_block *, struct fs_context *)``h]j)}(hj h]hah"]h$]h&]uh1j1hj hhhj& hMubjC)}(h vfs_get_treeh]jI)}(h vfs_get_treeh]h vfs_get_tree}(hj9 hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj5 ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj hhhj& hMubj=)}(h(struct fs_context *fc)h]jC)}(hstruct fs_context *fch](j )}(hjh]hstruct}(hjU hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjQ ubj2)}(h h]h }(hjb hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjQ ubh)}(hhh]jI)}(h fs_contexth]h fs_context}(hjs hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjp ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetju modnameN classnameNjj )}j ]j)}jj; sbc.vfs_get_treeasbuh1hhjQ ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjQ ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQ ubjI)}(hfch]hfc}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQ ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjM ubah}(h]h ]h"]h$]h&]j`jauh1j<hj hhhj& hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj hhhj& hMubah}(h]j ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj& hMhj hhubjw)}(hhh]h)}(hGet the mountable rooth]hGet the mountable root}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj hhubah}(h]h ]h"]h$]h&]uh1jvhj hhhj& hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1jhhhjghNhNubj)}(hX**Parameters** ``struct fs_context *fc`` The superblock configuration context. **Description** The filesystem is invoked to get or create a superblock which can then later be used for mounting. The filesystem places a pointer to the root to be used for mounting in **fc->root**.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj ubj)}(hhh]j)}(h@``struct fs_context *fc`` The superblock configuration context. h](j)}(h``struct fs_context *fc``h]j)}(hjh]hstruct fs_context *fc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(h%The superblock configuration context.h]h%The superblock configuration context.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjubah}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hjTh]h Description}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj ubh)}(hThe filesystem is invoked to get or create a superblock which can then later be used for mounting. The filesystem places a pointer to the root to be used for mounting in **fc->root**.h](hThe filesystem is invoked to get or create a superblock which can then later be used for mounting. The filesystem places a pointer to the root to be used for mounting in }(hjjhhhNhNubj)}(h **fc->root**h]hfc->root}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubh.}(hjjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjghhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j freeze_super (C function)c.freeze_superhNtauh1hhjghhhNhNubj)}(hhh](j)}(h[int freeze_super (struct super_block *sb, enum freeze_holder who, const void *freeze_owner)h]j)}(hZint freeze_super(struct super_block *sb, enum freeze_holder who, const void *freeze_owner)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(h freeze_superh]jI)}(h freeze_superh]h freeze_super}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hJ(struct super_block *sb, enum freeze_holder who, const void *freeze_owner)h](jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.freeze_superasbuh1hhjubj2)}(h h]h }(hj&hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsbh]hsb}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(henum freeze_holder whoh](j )}(hj#h]henum}(hjZhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjVubj2)}(h h]h }(hjghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVubh)}(hhh]jI)}(h freeze_holderh]h freeze_holder}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNjj )}j ]j"c.freeze_superasbuh1hhjVubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVubjI)}(hwhoh]hwho}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst void *freeze_ownerh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(h freeze_ownerh]h freeze_owner}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h8lock the filesystem and force it into a consistent stateh]h8lock the filesystem and force it into a consistent state}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj(hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCjjCjjjuh1jhhhjghNhNubj)}(hX **Parameters** ``struct super_block *sb`` the super to lock ``enum freeze_holder who`` context that wants to freeze ``const void *freeze_owner`` owner of the freeze **Description** Syncs the super to make sure the filesystem is consistent and calls the fs's freeze_fs. Subsequent calls to this without first thawing the fs may return -EBUSY. **who** should be: * ``FREEZE_HOLDER_USERSPACE`` if userspace wants to freeze the fs; * ``FREEZE_HOLDER_KERNEL`` if the kernel wants to freeze the fs. * ``FREEZE_MAY_NEST`` whether nesting freeze and thaw requests is allowed. The **who** argument distinguishes between the kernel and userspace trying to freeze the filesystem. Although there cannot be multiple kernel freezes or multiple userspace freezes in effect at any given time, the kernel and userspace can both hold a filesystem frozen. The filesystem remains frozen until there are no kernel or userspace freezes in effect. A filesystem may hold multiple devices and thus a filesystems may be frozen through the block layer via multiple block devices. In this case the request is marked as being allowed to nest by passing FREEZE_MAY_NEST. The filesystem remains frozen until all block devices are unfrozen. If multiple freezes are attempted without FREEZE_MAY_NEST -EBUSY will be returned. During this function, sb->s_writers.frozen goes through these values: SB_UNFROZEN: File system is normal, all writes progress as usual. SB_FREEZE_WRITE: The file system is in the process of being frozen. New writes should be blocked, though page faults are still allowed. We wait for all writes to complete and then proceed to the next stage. SB_FREEZE_PAGEFAULT: Freezing continues. Now also page faults are blocked but internal fs threads can still modify the filesystem (although they should not dirty new pages or inodes), writeback can run etc. After waiting for all running page faults we sync the filesystem which will clean all dirty pages and inodes (no new dirty pages or inodes can be created when sync is running). SB_FREEZE_FS: The file system is frozen. Now all internal sources of fs modification are blocked (e.g. XFS preallocation truncation on inode reclaim). This is usually implemented by blocking new transactions for filesystems that have them and need this additional guard. After all internal writers are finished we call ->freeze_fs() to finish filesystem freezing. Then we transition to SB_FREEZE_COMPLETE state. This state is mostly auxiliary for filesystems to verify they do not modify frozen fs. sb->s_writers.frozen is protected by sb->s_umount. **Return** If the freeze was successful zero is returned. If the freeze failed a negative error code is returned.h](h)}(h**Parameters**h]j)}(hjMh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjGubj)}(hhh](j)}(h-``struct super_block *sb`` the super to lock h](j)}(h``struct super_block *sb``h]j)}(hjlh]hstruct super_block *sb}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjfubj)}(hhh]h)}(hthe super to lockh]hthe super to lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMhjcubj)}(h8``enum freeze_holder who`` context that wants to freeze h](j)}(h``enum freeze_holder who``h]j)}(hjh]henum freeze_holder who}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hcontext that wants to freezeh]hcontext that wants to freeze}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjcubj)}(h1``const void *freeze_owner`` owner of the freeze h](j)}(h``const void *freeze_owner``h]j)}(hjh]hconst void *freeze_owner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(howner of the freezeh]howner of the freeze}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjcubeh}(h]h ]h"]h$]h&]uh1jhjGubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjGubh)}(hSyncs the super to make sure the filesystem is consistent and calls the fs's freeze_fs. Subsequent calls to this without first thawing the fs may return -EBUSY.h]hSyncs the super to make sure the filesystem is consistent and calls the fs’s freeze_fs. Subsequent calls to this without first thawing the fs may return -EBUSY.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjGubh)}(h**who** should be: * ``FREEZE_HOLDER_USERSPACE`` if userspace wants to freeze the fs; * ``FREEZE_HOLDER_KERNEL`` if the kernel wants to freeze the fs. * ``FREEZE_MAY_NEST`` whether nesting freeze and thaw requests is allowed.h](j)}(h**who**h]hwho}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh should be: * }(hj>hhhNhNubj)}(h``FREEZE_HOLDER_USERSPACE``h]hFREEZE_HOLDER_USERSPACE}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh( if userspace wants to freeze the fs; * }(hj>hhhNhNubj)}(h``FREEZE_HOLDER_KERNEL``h]hFREEZE_HOLDER_KERNEL}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh) if the kernel wants to freeze the fs. * }(hj>hhhNhNubj)}(h``FREEZE_MAY_NEST``h]hFREEZE_MAY_NEST}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh5 whether nesting freeze and thaw requests is allowed.}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjGubh)}(hXfThe **who** argument distinguishes between the kernel and userspace trying to freeze the filesystem. Although there cannot be multiple kernel freezes or multiple userspace freezes in effect at any given time, the kernel and userspace can both hold a filesystem frozen. The filesystem remains frozen until there are no kernel or userspace freezes in effect.h](hThe }(hjhhhNhNubj)}(h**who**h]hwho}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhX[ argument distinguishes between the kernel and userspace trying to freeze the filesystem. Although there cannot be multiple kernel freezes or multiple userspace freezes in effect at any given time, the kernel and userspace can both hold a filesystem frozen. The filesystem remains frozen until there are no kernel or userspace freezes in effect.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjGubh)}(hXnA filesystem may hold multiple devices and thus a filesystems may be frozen through the block layer via multiple block devices. In this case the request is marked as being allowed to nest by passing FREEZE_MAY_NEST. The filesystem remains frozen until all block devices are unfrozen. If multiple freezes are attempted without FREEZE_MAY_NEST -EBUSY will be returned.h]hXnA filesystem may hold multiple devices and thus a filesystems may be frozen through the block layer via multiple block devices. In this case the request is marked as being allowed to nest by passing FREEZE_MAY_NEST. The filesystem remains frozen until all block devices are unfrozen. If multiple freezes are attempted without FREEZE_MAY_NEST -EBUSY will be returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjGubh)}(hEDuring this function, sb->s_writers.frozen goes through these values:h]hEDuring this function, sb->s_writers.frozen goes through these values:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjGubh)}(hASB_UNFROZEN: File system is normal, all writes progress as usual.h]hASB_UNFROZEN: File system is normal, all writes progress as usual.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjGubh)}(hSB_FREEZE_WRITE: The file system is in the process of being frozen. New writes should be blocked, though page faults are still allowed. We wait for all writes to complete and then proceed to the next stage.h]hSB_FREEZE_WRITE: The file system is in the process of being frozen. New writes should be blocked, though page faults are still allowed. We wait for all writes to complete and then proceed to the next stage.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjGubh)}(hXSB_FREEZE_PAGEFAULT: Freezing continues. Now also page faults are blocked but internal fs threads can still modify the filesystem (although they should not dirty new pages or inodes), writeback can run etc. After waiting for all running page faults we sync the filesystem which will clean all dirty pages and inodes (no new dirty pages or inodes can be created when sync is running).h]hXSB_FREEZE_PAGEFAULT: Freezing continues. Now also page faults are blocked but internal fs threads can still modify the filesystem (although they should not dirty new pages or inodes), writeback can run etc. After waiting for all running page faults we sync the filesystem which will clean all dirty pages and inodes (no new dirty pages or inodes can be created when sync is running).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjGubh)}(hXSB_FREEZE_FS: The file system is frozen. Now all internal sources of fs modification are blocked (e.g. XFS preallocation truncation on inode reclaim). This is usually implemented by blocking new transactions for filesystems that have them and need this additional guard. After all internal writers are finished we call ->freeze_fs() to finish filesystem freezing. Then we transition to SB_FREEZE_COMPLETE state. This state is mostly auxiliary for filesystems to verify they do not modify frozen fs.h]hXSB_FREEZE_FS: The file system is frozen. Now all internal sources of fs modification are blocked (e.g. XFS preallocation truncation on inode reclaim). This is usually implemented by blocking new transactions for filesystems that have them and need this additional guard. After all internal writers are finished we call ->freeze_fs() to finish filesystem freezing. Then we transition to SB_FREEZE_COMPLETE state. This state is mostly auxiliary for filesystems to verify they do not modify frozen fs.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjGubh)}(h2sb->s_writers.frozen is protected by sb->s_umount.h]h2sb->s_writers.frozen is protected by sb->s_umount.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjGubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjGubh)}(hfIf the freeze was successful zero is returned. If the freeze failed a negative error code is returned.h]hfIf the freeze was successful zero is returned. If the freeze failed a negative error code is returned.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjghhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j thaw_super (C function) c.thaw_superhNtauh1hhjghhhNhNubj)}(hhh](j)}(hYint thaw_super (struct super_block *sb, enum freeze_holder who, const void *freeze_owner)h]j)}(hXint thaw_super(struct super_block *sb, enum freeze_holder who, const void *freeze_owner)h](jf)}(hinth]hint}(hjbhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj^hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMnubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj^hhhjphMnubjC)}(h thaw_superh]jI)}(h thaw_superh]h thaw_super}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj^hhhjphMnubj=)}(hJ(struct super_block *sb, enum freeze_holder who, const void *freeze_owner)h](jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsb c.thaw_superasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(henum freeze_holder whoh](j )}(hj#h]henum}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubh)}(hhh]jI)}(h freeze_holderh]h freeze_holder}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNjj )}j ]j c.thaw_superasbuh1hhj ubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubjI)}(hwhoh]hwho}(hj[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst void *freeze_ownerh](j )}(hjh]hconst}(hjthhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjpubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubjf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjpubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubjI)}(h freeze_ownerh]h freeze_owner}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hj^hhhjphMnubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjZhhhjphMnubah}(h]jUah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjphMnhjWhhubjw)}(hhh]jC)}(hhh]j#C)}(hunlock filesystemh]h)}(hjh]hunlock filesystem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMnhjubah}(h]h ]h"]h$]h&]uh1j"ChjhhhjhNubah}(h]h ]h"]h$]h&]j\C-uh1jChjhMnhjhhubah}(h]h ]h"]h$]h&]uh1jvhjWhhhjphMnubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1jhhhjghNhNubj)}(hX**Parameters** ``struct super_block *sb`` the super to thaw ``enum freeze_holder who`` context that wants to freeze ``const void *freeze_owner`` owner of the freeze **Description** Unlocks the filesystem and marks it writeable again after freeze_super() if there are no remaining freezes on the filesystem. **who** should be: * ``FREEZE_HOLDER_USERSPACE`` if userspace wants to thaw the fs; * ``FREEZE_HOLDER_KERNEL`` if the kernel wants to thaw the fs. * ``FREEZE_MAY_NEST`` whether nesting freeze and thaw requests is allowed A filesystem may hold multiple devices and thus a filesystems may have been frozen through the block layer via multiple block devices. The filesystem remains frozen until all block devices are unfrozen.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMrhjubj)}(hhh](j)}(h-``struct super_block *sb`` the super to thaw h](j)}(h``struct super_block *sb``h]j)}(hj6h]hstruct super_block *sb}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMohj0ubj)}(hhh]h)}(hthe super to thawh]hthe super to thaw}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhMohjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMohj-ubj)}(h8``enum freeze_holder who`` context that wants to freeze h](j)}(h``enum freeze_holder who``h]j)}(hjoh]henum freeze_holder who}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMphjiubj)}(hhh]h)}(hcontext that wants to freezeh]hcontext that wants to freeze}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMphjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMphj-ubj)}(h1``const void *freeze_owner`` owner of the freeze h](j)}(h``const void *freeze_owner``h]j)}(hjh]hconst void *freeze_owner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMqhjubj)}(hhh]h)}(howner of the freezeh]howner of the freeze}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMqhj-ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMshjubh)}(h}Unlocks the filesystem and marks it writeable again after freeze_super() if there are no remaining freezes on the filesystem.h]h}Unlocks the filesystem and marks it writeable again after freeze_super() if there are no remaining freezes on the filesystem. }(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMrhjubh)}(h**who** should be: * ``FREEZE_HOLDER_USERSPACE`` if userspace wants to thaw the fs; * ``FREEZE_HOLDER_KERNEL`` if the kernel wants to thaw the fs. * ``FREEZE_MAY_NEST`` whether nesting freeze and thaw requests is allowedh](j)}(h**who**h]hwho}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh should be: * }(hjhhhNhNubj)}(h``FREEZE_HOLDER_USERSPACE``h]hFREEZE_HOLDER_USERSPACE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& if userspace wants to thaw the fs; * }(hjhhhNhNubj)}(h``FREEZE_HOLDER_KERNEL``h]hFREEZE_HOLDER_KERNEL}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' if the kernel wants to thaw the fs. * }(hjhhhNhNubj)}(h``FREEZE_MAY_NEST``h]hFREEZE_MAY_NEST}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh4 whether nesting freeze and thaw requests is allowed}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMuhjubh)}(hA filesystem may hold multiple devices and thus a filesystems may have been frozen through the block layer via multiple block devices. The filesystem remains frozen until all block devices are unfrozen.h]hA filesystem may hold multiple devices and thus a filesystems may have been frozen through the block layer via multiple block devices. The filesystem remains frozen until all block devices are unfrozen.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMzhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjghhhNhNubeh}(h]registration-and-superblocksah ]h"]registration and superblocksah$]h&]uh1hhhhhhhhK$ubh)}(hhh](h)}(h File Locksh]h File Locks}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhhhhhK*ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j %locks_owner_has_blockers (C function)c.locks_owner_has_blockershNtauh1hhjyhhhNhNubj)}(hhh](j)}(hQbool locks_owner_has_blockers (struct file_lock_context *flctx, fl_owner_t owner)h]j)}(hPbool locks_owner_has_blockers(struct file_lock_context *flctx, fl_owner_t owner)h](jf)}(hjih]hbool}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMMubjC)}(hlocks_owner_has_blockersh]jI)}(hlocks_owner_has_blockersh]hlocks_owner_has_blockers}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMMubj=)}(h3(struct file_lock_context *flctx, fl_owner_t owner)h](jC)}(hstruct file_lock_context *flctxh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hfile_lock_contexth]hfile_lock_context}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.locks_owner_has_blockersasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hflctxh]hflctx}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hfl_owner_t ownerh](h)}(hhh]jI)}(h fl_owner_th]h fl_owner_t}(hjThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNjj )}j ]jc.locks_owner_has_blockersasbuh1hhjMubj2)}(h h]h }(hjrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjMubjI)}(hownerh]howner}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMMhjhhubjw)}(hhh]h)}(h Check for blocking lock requestsh]h Check for blocking lock requests}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjyhNhNubj)}(h**Parameters** ``struct file_lock_context *flctx`` file lock context ``fl_owner_t owner`` lock owner **Description** Return values: ``true``: **owner** has at least one blocker ``false``: **owner** has no blockersh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMQhjubj)}(hhh](j)}(h6``struct file_lock_context *flctx`` file lock context h](j)}(h#``struct file_lock_context *flctx``h]j)}(hjh]hstruct file_lock_context *flctx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMNhjubj)}(hhh]h)}(hfile lock contexth]hfile lock context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjubj)}(h ``fl_owner_t owner`` lock owner h](j)}(h``fl_owner_t owner``h]j)}(hj$h]hfl_owner_t owner}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMOhjubj)}(hhh]h)}(h lock ownerh]h lock owner}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hMOhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMOhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj_h]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMQhjubj)}(hhh]j)}(h`Return values: ``true``: **owner** has at least one blocker ``false``: **owner** has no blockersh](j)}(hReturn values:h]hReturn values:}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMQhjxubj)}(hhh]h)}(hQ``true``: **owner** has at least one blocker ``false``: **owner** has no blockersh](j)}(h``true``h]htrue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: }(hjhhhNhNubj)}(h **owner**h]howner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh has at least one blocker }(hjhhhNhNubj)}(h ``false``h]hfalse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: }hjsbj)}(h **owner**h]howner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh has no blockers}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjuubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j locks_delete_block (C function)c.locks_delete_blockhNtauh1hhjyhhhNhNubj)}(hhh](j)}(h1int locks_delete_block (struct file_lock *waiter)h]j)}(h0int locks_delete_block(struct file_lock *waiter)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM>ubj2)}(h h]h }(hj!hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj hM>ubjC)}(hlocks_delete_blockh]jI)}(hlocks_delete_blockh]hlocks_delete_block}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj hM>ubj=)}(h(struct file_lock *waiter)h]jC)}(hstruct file_lock *waiterh](j )}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjKubj2)}(h h]h }(hj\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjKubh)}(hhh]jI)}(h file_lockh]h file_lock}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNjj )}j ]j)}jj5sbc.locks_delete_blockasbuh1hhjKubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjKubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubjI)}(hwaiterh]hwaiter}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjKubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjGubah}(h]h ]h"]h$]h&]j`jauh1j<hjhhhj hM>ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj hhhj hM>ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj hM>hjhhubjw)}(hhh]h)}(hstop waiting for a file lockh]hstop waiting for a file lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM>hjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj hM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjyhNhNubj)}(h**Parameters** ``struct file_lock *waiter`` the lock which was waiting **Description** lockd/nfsd need to disconnect the lock while working on it.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMBhjubj)}(hhh]j)}(h8``struct file_lock *waiter`` the lock which was waiting h](j)}(h``struct file_lock *waiter``h]j)}(hjh]hstruct file_lock *waiter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM?hj ubj)}(hhh]h)}(hthe lock which was waitingh]hthe lock which was waiting}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hM?hj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hM?hj ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjNh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMAhjubj)}(h;lockd/nfsd need to disconnect the lock while working on it.h]h)}(hjfh]h;lockd/nfsd need to disconnect the lock while working on it.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM@hjdubah}(h]h ]h"]h$]h&]uh1jhjuhM@hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j posix_lock_file (C function)c.posix_lock_filehNtauh1hhjyhhhNhNubj)}(hhh](j)}(hYint posix_lock_file (struct file *filp, struct file_lock *fl, struct file_lock *conflock)h]j)}(hXint posix_lock_file(struct file *filp, struct file_lock *fl, struct file_lock *conflock)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hposix_lock_fileh]jI)}(hposix_lock_fileh]hposix_lock_file}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hE(struct file *filp, struct file_lock *fl, struct file_lock *conflock)h](jC)}(hstruct file *filph](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.posix_lock_fileasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfilph]hfilp}(hj2hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct file_lock *flh](j )}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjGubj2)}(h h]h }(hjXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGubh)}(hhh]jI)}(h file_lockh]h file_lock}(hjihhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNjj )}j ]jc.posix_lock_fileasbuh1hhjGubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubjI)}(hflh]hfl}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct file_lock *conflockh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h file_lockh]h file_lock}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.posix_lock_fileasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hconflockh]hconflock}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h"Apply a POSIX-style lock to a fileh]h"Apply a POSIX-style lock to a file}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj9hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjTjjTjjjuh1jhhhjyhNhNubj)}(hX **Parameters** ``struct file *filp`` The file to apply the lock to ``struct file_lock *fl`` The lock to be applied ``struct file_lock *conflock`` Place to return a copy of the conflicting lock, if found. **Description** Add a POSIX style lock to a file. We merge adjacent & overlapping locks whenever possible. POSIX locks are sorted by owner task, then by starting address Note that if called with an FL_EXISTS argument, the caller may determine whether or not a lock was successfully freed by testing the return value for -ENOENT.h](h)}(h**Parameters**h]j)}(hj^h]h Parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjXubj)}(hhh](j)}(h4``struct file *filp`` The file to apply the lock to h](j)}(h``struct file *filp``h]j)}(hj}h]hstruct file *filp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjwubj)}(hhh]h)}(hThe file to apply the lock toh]hThe file to apply the lock to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hjh]hstruct file_lock *fl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(hY``struct file_lock *conflock`` Place to return a copy of the conflicting lock, if found. h](j)}(h``struct file_lock *conflock``h]j)}(hjh]hstruct file_lock *conflock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjubj)}(hhh]h)}(h9Place to return a copy of the conflicting lock, if found.h]h9Place to return a copy of the conflicting lock, if found.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubeh}(h]h ]h"]h$]h&]uh1jhjXubh)}(h**Description**h]j)}(hj*h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjXubh)}(hAdd a POSIX style lock to a file. We merge adjacent & overlapping locks whenever possible. POSIX locks are sorted by owner task, then by starting addressh]hAdd a POSIX style lock to a file. We merge adjacent & overlapping locks whenever possible. POSIX locks are sorted by owner task, then by starting address}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjXubh)}(hNote that if called with an FL_EXISTS argument, the caller may determine whether or not a lock was successfully freed by testing the return value for -ENOENT.h]hNote that if called with an FL_EXISTS argument, the caller may determine whether or not a lock was successfully freed by testing the return value for -ENOENT.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $inode_lease_ignore_mask (C function)c.inode_lease_ignore_maskhNtauh1hhjyhhhNhNubj)}(hhh](j)}(h1u32 inode_lease_ignore_mask (struct inode *inode)h]j)}(h0u32 inode_lease_ignore_mask(struct inode *inode)h](h)}(hhh]jI)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jinode_lease_ignore_masksbc.inode_lease_ignore_maskasbuh1hhjzhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM4ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjzhhhjhM4ubjC)}(hinode_lease_ignore_maskh]jI)}(hjh]hinode_lease_ignore_mask}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjzhhhjhM4ubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.inode_lease_ignore_maskasbuh1hhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hj'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjzhhhjhM4ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjvhhhjhM4ubah}(h]jqah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM4hjshhubjw)}(hhh]h)}(h7return union of all ignored inode events for this inodeh]h7return union of all ignored inode events for this inode}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM4hjNhhubah}(h]h ]h"]h$]h&]uh1jvhjshhhjhM4ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1jhhhjyhNhNubj)}(h**Parameters** ``struct inode *inode`` inode of which to get ignore mask **Description** Walk the list of leases, and return the result of all of their FL_IGN_DIR_* bits or'ed together.h](h)}(h**Parameters**h]j)}(hjsh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM8hjmubj)}(hhh]j)}(h:``struct inode *inode`` inode of which to get ignore mask h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM5hjubj)}(hhh]h)}(h!inode of which to get ignore maskh]h!inode of which to get ignore mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM5hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5hjubah}(h]h ]h"]h$]h&]uh1jhjmubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM7hjmubh)}(h`Walk the list of leases, and return the result of all of their FL_IGN_DIR_* bits or'ed together.h]hbWalk the list of leases, and return the result of all of their FL_IGN_DIR_* bits or’ed together.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM6hjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j __break_lease (C function)c.__break_leasehNtauh1hhjyhhhNhNubj)}(hhh](j)}(h;int __break_lease (struct inode *inode, unsigned int flags)h]j)}(h:int __break_lease(struct inode *inode, unsigned int flags)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj2)}(h h]h }(hj!hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj hMubjC)}(h __break_leaseh]jI)}(h __break_leaseh]h __break_lease}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj hMubj=)}(h)(struct inode *inode, unsigned int flags)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjOhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjKubj2)}(h h]h }(hj\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjKubh)}(hhh]jI)}(hinodeh]hinode}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNjj )}j ]j)}jj5sbc.__break_leaseasbuh1hhjKubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjKubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjKubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjGubjC)}(hunsigned int flagsh](jf)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjGubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhj hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj hhhj hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj hMhjhhubjw)}(hhh]h)}(h%revoke all outstanding leases on fileh]h%revoke all outstanding leases on file}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1jhhhjyhNhNubj)}(hX^**Parameters** ``struct inode *inode`` the inode of the file to return ``unsigned int flags`` LEASE_BREAK_* flags **Description** break_lease (inlined for speed) has checked there already is at least some kind of lock (maybe a lease) on this file. Leases and Delegations are broken on a call to open() or truncate(). Delegations are also broken on any event that would change the ctime. Directory delegations are broken whenever the directory changes (unless the delegation is set up to ignore the event). This function can block waiting for the lease break unless you specify LEASE_BREAK_NONBLOCK.h](h)}(h**Parameters**h]j)}(hjEh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj?ubj)}(hhh](j)}(h8``struct inode *inode`` the inode of the file to return h](j)}(h``struct inode *inode``h]j)}(hjdh]hstruct inode *inode}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj^ubj)}(hhh]h)}(hthe inode of the file to returnh]hthe inode of the file to return}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhj[ubj)}(h+``unsigned int flags`` LEASE_BREAK_* flags h](j)}(h``unsigned int flags``h]j)}(hjh]hunsigned int flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjubj)}(hhh]h)}(hLEASE_BREAK_* flagsh]hLEASE_BREAK_* flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj[ubeh}(h]h ]h"]h$]h&]uh1jhj?ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj?ubh)}(hXbreak_lease (inlined for speed) has checked there already is at least some kind of lock (maybe a lease) on this file. Leases and Delegations are broken on a call to open() or truncate(). Delegations are also broken on any event that would change the ctime. Directory delegations are broken whenever the directory changes (unless the delegation is set up to ignore the event). This function can block waiting for the lease break unless you specify LEASE_BREAK_NONBLOCK.h]hXbreak_lease (inlined for speed) has checked there already is at least some kind of lock (maybe a lease) on this file. Leases and Delegations are broken on a call to open() or truncate(). Delegations are also broken on any event that would change the ctime. Directory delegations are broken whenever the directory changes (unless the delegation is set up to ignore the event). This function can block waiting for the lease break unless you specify LEASE_BREAK_NONBLOCK.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j lease_get_mtime (C function)c.lease_get_mtimehNtauh1hhjyhhhNhNubj)}(hhh](j)}(hCvoid lease_get_mtime (struct inode *inode, struct timespec64 *time)h]j)}(hBvoid lease_get_mtime(struct inode *inode, struct timespec64 *time)h](jf)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj2)}(h h]h }(hj, hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj hhhj+ hMubjC)}(hlease_get_mtimeh]jI)}(hlease_get_mtimeh]hlease_get_mtime}(hj> hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj: ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj hhhj+ hMubj=)}(h.(struct inode *inode, struct timespec64 *time)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjZ hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjV ubj2)}(h h]h }(hjg hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjV ubh)}(hhh]jI)}(hinodeh]hinode}(hjx hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhju ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjz modnameN classnameNjj )}j ]j)}jj@ sbc.lease_get_mtimeasbuh1hhjV ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjV ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjV ubjI)}(hinodeh]hinode}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjV ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjR ubjC)}(hstruct timespec64 *timeh](j )}(hjh]hstruct}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubh)}(hhh]jI)}(h timespec64h]h timespec64}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]j c.lease_get_mtimeasbuh1hhj ubj2)}(h h]h }(hj!hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(htimeh]htime}(hj#!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjR ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj hhhj+ hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj hhhj+ hMubah}(h]j ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj+ hMhj hhubjw)}(hhh]h)}(h5update modified time of an inode with exclusive leaseh]h5update modified time of an inode with exclusive lease}(hjM!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjJ!hhubah}(h]h ]h"]h$]h&]uh1jvhj hhhj+ hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjje!jje!jjjuh1jhhhjyhNhNubj)}(hXS**Parameters** ``struct inode *inode`` the inode ``struct timespec64 *time`` pointer to a timespec which contains the last modified time **Description** This is to force NFS clients to flush their caches for files with exclusive leases. The justification is that if someone has an exclusive lease, then they could be modifying it.h](h)}(h**Parameters**h]j)}(hjo!h]h Parameters}(hjq!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm!ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhji!ubj)}(hhh](j)}(h"``struct inode *inode`` the inode h](j)}(h``struct inode *inode``h]j)}(hj!h]hstruct inode *inode}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj!ubj)}(hhh]h)}(h the inodeh]h the inode}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!hMhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMhj!ubj)}(hX``struct timespec64 *time`` pointer to a timespec which contains the last modified time h](j)}(h``struct timespec64 *time``h]j)}(hj!h]hstruct timespec64 *time}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj!ubj)}(hhh]h)}(h;pointer to a timespec which contains the last modified timeh]h;pointer to a timespec which contains the last modified time}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!hMhj!ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMhj!ubeh}(h]h ]h"]h$]h&]uh1jhji!ubh)}(h**Description**h]j)}(hj"h]h Description}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhji!ubh)}(hThis is to force NFS clients to flush their caches for files with exclusive leases. The justification is that if someone has an exclusive lease, then they could be modifying it.h]hThis is to force NFS clients to flush their caches for files with exclusive leases. The justification is that if someone has an exclusive lease, then they could be modifying it.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhji!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j generic_setlease (C function)c.generic_setleasehNtauh1hhjyhhhNhNubj)}(hhh](j)}(hWint generic_setlease (struct file *filp, int arg, struct file_lease **flp, void **priv)h]j)}(hVint generic_setlease(struct file *filp, int arg, struct file_lease **flp, void **priv)h](jf)}(hinth]hint}(hjG"hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjC"hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj2)}(h h]h }(hjV"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjC"hhhjU"hMubjC)}(hgeneric_setleaseh]jI)}(hgeneric_setleaseh]hgeneric_setlease}(hjh"hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjd"ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjC"hhhjU"hMubj=)}(hB(struct file *filp, int arg, struct file_lease **flp, void **priv)h](jC)}(hstruct file *filph](j )}(hjh]hstruct}(hj"hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj"ubj2)}(h h]h }(hj"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj"ubh)}(hhh]jI)}(hfileh]hfile}(hj"hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNjj )}j ]j)}jjj"sbc.generic_setleaseasbuh1hhj"ubj2)}(h h]h }(hj"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj"ubj)}(hjh]h*}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubjI)}(hfilph]hfilp}(hj"hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj"ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj|"ubjC)}(hint argh](jf)}(hinth]hint}(hj"hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj"ubj2)}(h h]h }(hj#hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj"ubjI)}(hargh]harg}(hj#hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj"ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj|"ubjC)}(hstruct file_lease **flph](j )}(hjh]hstruct}(hj+#hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj'#ubj2)}(h h]h }(hj8#hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'#ubh)}(hhh]jI)}(h file_leaseh]h file_lease}(hjI#hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjF#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjK#modnameN classnameNjj )}j ]j"c.generic_setleaseasbuh1hhj'#ubj2)}(h h]h }(hjg#hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'#ubj)}(hjh]h*}(hju#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'#ubj)}(hjh]h*}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'#ubjI)}(hflph]hflp}(hj#hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'#ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj|"ubjC)}(h void **privh](jf)}(hvoidh]hvoid}(hj#hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj#ubj2)}(h h]h }(hj#hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#ubj)}(hjh]h*}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj)}(hjh]h*}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubjI)}(hprivh]hpriv}(hj#hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj|"ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjC"hhhjU"hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj?"hhhjU"hMubah}(h]j:"ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjU"hMhj<"hhubjw)}(hhh]h)}(hsets a lease on an open fileh]hsets a lease on an open file}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj$hhubah}(h]h ]h"]h$]h&]uh1jvhj<"hhhjU"hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj $jj $jjjuh1jhhhjyhNhNubj)}(hXs**Parameters** ``struct file *filp`` file pointer ``int arg`` type of lease to obtain ``struct file_lease **flp`` input - file_lock to use, output - file_lock inserted ``void **priv`` private data for lm_setup (may be NULL if lm_setup doesn't require it) **Description** The (input) flp->fl_lmops->lm_break function is required by break_lease().h](h)}(h**Parameters**h]j)}(hj*$h]h Parameters}(hj,$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj($ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj$$ubj)}(hhh](j)}(h#``struct file *filp`` file pointer h](j)}(h``struct file *filp``h]j)}(hjI$h]hstruct file *filp}(hjK$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjC$ubj)}(hhh]h)}(h file pointerh]h file pointer}(hjb$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^$hMhj_$ubah}(h]h ]h"]h$]h&]uh1jhjC$ubeh}(h]h ]h"]h$]h&]uh1jhj^$hMhj@$ubj)}(h$``int arg`` type of lease to obtain h](j)}(h ``int arg``h]j)}(hj$h]hint arg}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj|$ubj)}(hhh]h)}(htype of lease to obtainh]htype of lease to obtain}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hMhj$ubah}(h]h ]h"]h$]h&]uh1jhj|$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhj@$ubj)}(hR``struct file_lease **flp`` input - file_lock to use, output - file_lock inserted h](j)}(h``struct file_lease **flp``h]j)}(hj$h]hstruct file_lease **flp}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj$ubj)}(hhh]h)}(h5input - file_lock to use, output - file_lock insertedh]h5input - file_lock to use, output - file_lock inserted}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hMhj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhj@$ubj)}(hW``void **priv`` private data for lm_setup (may be NULL if lm_setup doesn't require it) h](j)}(h``void **priv``h]j)}(hj$h]h void **priv}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj$ubj)}(hhh]h)}(hFprivate data for lm_setup (may be NULL if lm_setup doesn't require it)h]hHprivate data for lm_setup (may be NULL if lm_setup doesn’t require it)}(hj %hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj %ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj %hMhj@$ubeh}(h]h ]h"]h$]h&]uh1jhj$$ubh)}(h**Description**h]j)}(hj0%h]h Description}(hj2%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.%ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj$$ubj)}(hJThe (input) flp->fl_lmops->lm_break function is required by break_lease().h]h)}(hJThe (input) flp->fl_lmops->lm_break function is required by break_lease().h]hJThe (input) flp->fl_lmops->lm_break function is required by break_lease().}(hjJ%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjF%ubah}(h]h ]h"]h$]h&]uh1jhjX%hMhj$$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_setlease (C function)c.vfs_setleasehNtauh1hhjyhhhNhNubj)}(hhh](j)}(hUint vfs_setlease (struct file *filp, int arg, struct file_lease **lease, void **priv)h]j)}(hTint vfs_setlease(struct file *filp, int arg, struct file_lease **lease, void **priv)h](jf)}(hinth]hint}(hj%hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj{%hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMGubj2)}(h h]h }(hj%hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj{%hhhj%hMGubjC)}(h vfs_setleaseh]jI)}(h vfs_setleaseh]h vfs_setlease}(hj%hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj{%hhhj%hMGubj=)}(hD(struct file *filp, int arg, struct file_lease **lease, void **priv)h](jC)}(hstruct file *filph](j )}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj%ubj2)}(h h]h }(hj%hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%ubh)}(hhh]jI)}(hfileh]hfile}(hj%hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNjj )}j ]j)}jj%sbc.vfs_setleaseasbuh1hhj%ubj2)}(h h]h }(hj%hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%ubj)}(hjh]h*}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubjI)}(hfilph]hfilp}(hj&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj%ubjC)}(hint argh](jf)}(hinth]hint}(hj.&hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj*&ubj2)}(h h]h }(hj<&hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*&ubjI)}(hargh]harg}(hjJ&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*&ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj%ubjC)}(hstruct file_lease **leaseh](j )}(hjh]hstruct}(hjc&hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj_&ubj2)}(h h]h }(hjp&hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_&ubh)}(hhh]jI)}(h file_leaseh]h file_lease}(hj&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj~&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNjj )}j ]j%c.vfs_setleaseasbuh1hhj_&ubj2)}(h h]h }(hj&hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_&ubj)}(hjh]h*}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_&ubj)}(hjh]h*}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_&ubjI)}(hleaseh]hlease}(hj&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_&ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj%ubjC)}(h void **privh](jf)}(hvoidh]hvoid}(hj&hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj&ubj2)}(h h]h }(hj&hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&ubj)}(hjh]h*}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj)}(hjh]h*}(hj 'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubjI)}(hprivh]hpriv}(hj'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj%ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj{%hhhj%hMGubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjw%hhhj%hMGubah}(h]jr%ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj%hMGhjt%hhubjw)}(hhh]h)}(hsets a lease on an open fileh]hsets a lease on an open file}(hj@'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMGhj='hhubah}(h]h ]h"]h$]h&]uh1jvhjt%hhhj%hMGubeh}(h]h ](jfunctioneh"]h$]h&]jjjjX'jjX'jjjuh1jhhhjyhNhNubj)}(hX**Parameters** ``struct file *filp`` file pointer ``int arg`` type of lease to obtain ``struct file_lease **lease`` file_lock to use when adding a lease ``void **priv`` private info for lm_setup when adding a lease (may be NULL if lm_setup doesn't require it) **Description** Call this to establish a lease on the file. The "lease" argument is not used for F_UNLCK requests and may be NULL. For commands that set or alter an existing lease, the ``(*lease)->fl_lmops->lm_break`` operation must be set; if not, this function will return -ENOLCK (and generate a scary-looking stack trace). The "priv" pointer is passed directly to the lm_setup function as-is. It may be NULL if the lm_setup operation doesn't require it.h](h)}(h**Parameters**h]j)}(hjb'h]h Parameters}(hjd'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`'ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMKhj\'ubj)}(hhh](j)}(h#``struct file *filp`` file pointer h](j)}(h``struct file *filp``h]j)}(hj'h]hstruct file *filp}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMHhj{'ubj)}(hhh]h)}(h file pointerh]h file pointer}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hMHhj'ubah}(h]h ]h"]h$]h&]uh1jhj{'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMHhjx'ubj)}(h$``int arg`` type of lease to obtain h](j)}(h ``int arg``h]j)}(hj'h]hint arg}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMIhj'ubj)}(hhh]h)}(htype of lease to obtainh]htype of lease to obtain}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hMIhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'hMIhjx'ubj)}(hC``struct file_lease **lease`` file_lock to use when adding a lease h](j)}(h``struct file_lease **lease``h]j)}(hj'h]hstruct file_lease **lease}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMJhj'ubj)}(hhh]h)}(h$file_lock to use when adding a leaseh]h$file_lock to use when adding a lease}(hj (hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hMJhj (ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj(hMJhjx'ubj)}(hk``void **priv`` private info for lm_setup when adding a lease (may be NULL if lm_setup doesn't require it) h](j)}(h``void **priv``h]j)}(hj,(h]h void **priv}(hj.(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMLhj&(ubj)}(hhh]h)}(hZprivate info for lm_setup when adding a lease (may be NULL if lm_setup doesn't require it)h]h\private info for lm_setup when adding a lease (may be NULL if lm_setup doesn’t require it)}(hjE(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMKhjB(ubah}(h]h ]h"]h$]h&]uh1jhj&(ubeh}(h]h ]h"]h$]h&]uh1jhjA(hMLhjx'ubeh}(h]h ]h"]h$]h&]uh1jhj\'ubh)}(h**Description**h]j)}(hjh(h]h Description}(hjj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf(ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMNhj\'ubh)}(hX6Call this to establish a lease on the file. The "lease" argument is not used for F_UNLCK requests and may be NULL. For commands that set or alter an existing lease, the ``(*lease)->fl_lmops->lm_break`` operation must be set; if not, this function will return -ENOLCK (and generate a scary-looking stack trace).h](hCall this to establish a lease on the file. The “lease” argument is not used for F_UNLCK requests and may be NULL. For commands that set or alter an existing lease, the }(hj~(hhhNhNubj)}(h ``(*lease)->fl_lmops->lm_break``h]h(*lease)->fl_lmops->lm_break}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~(ubhm operation must be set; if not, this function will return -ENOLCK (and generate a scary-looking stack trace).}(hj~(hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMMhj\'ubh)}(hThe "priv" pointer is passed directly to the lm_setup function as-is. It may be NULL if the lm_setup operation doesn't require it.h]hThe “priv” pointer is passed directly to the lm_setup function as-is. It may be NULL if the lm_setup operation doesn’t require it.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMShj\'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "locks_lock_inode_wait (C function)c.locks_lock_inode_waithNtauh1hhjyhhhNhNubj)}(hhh](j)}(hEint locks_lock_inode_wait (struct inode *inode, struct file_lock *fl)h]j)}(hDint locks_lock_inode_wait(struct inode *inode, struct file_lock *fl)h](jf)}(hinth]hint}(hj(hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj(hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj2)}(h h]h }(hj(hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj(hhhj(hMubjC)}(hlocks_lock_inode_waith]jI)}(hlocks_lock_inode_waith]hlocks_lock_inode_wait}(hj(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj(ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj(hhhj(hMubj=)}(h+(struct inode *inode, struct file_lock *fl)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj )hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj)ubj2)}(h h]h }(hj)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj)ubh)}(hhh]jI)}(hinodeh]hinode}(hj))hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+)modnameN classnameNjj )}j ]j)}jj(sbc.locks_lock_inode_waitasbuh1hhj)ubj2)}(h h]h }(hjI)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj)ubj)}(hjh]h*}(hjW)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubjI)}(hinodeh]hinode}(hjd)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj)ubjC)}(hstruct file_lock *flh](j )}(hjh]hstruct}(hj})hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjy)ubj2)}(h h]h }(hj)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjy)ubh)}(hhh]jI)}(h file_lockh]h file_lock}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNjj )}j ]jE)c.locks_lock_inode_waitasbuh1hhjy)ubj2)}(h h]h }(hj)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjy)ubj)}(hjh]h*}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjy)ubjI)}(hflh]hfl}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjy)ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj)ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj(hhhj(hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj(hhhj(hMubah}(h]j(ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj(hMhj(hhubjw)}(hhh]h)}(hApply a lock to an inodeh]hApply a lock to an inode}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj)hhubah}(h]h ]h"]h$]h&]uh1jvhj(hhhj(hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1jhhhjyhNhNubj)}(h**Parameters** ``struct inode *inode`` inode of the file to apply to ``struct file_lock *fl`` The lock to be applied **Description** Apply a POSIX or FLOCK style lock request to an inode.h](h)}(h**Parameters**h]j)}(hj *h]h Parameters}(hj"*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj*ubj)}(hhh](j)}(h6``struct inode *inode`` inode of the file to apply to h](j)}(h``struct inode *inode``h]j)}(hj?*h]hstruct inode *inode}(hjA*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=*ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj9*ubj)}(hhh]h)}(hinode of the file to apply toh]hinode of the file to apply to}(hjX*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjT*hMhjU*ubah}(h]h ]h"]h$]h&]uh1jhj9*ubeh}(h]h ]h"]h$]h&]uh1jhjT*hMhj6*ubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hjx*h]hstruct file_lock *fl}(hjz*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv*ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjr*ubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMhj*ubah}(h]h ]h"]h$]h&]uh1jhjr*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj6*ubeh}(h]h ]h"]h$]h&]uh1jhj*ubh)}(h**Description**h]j)}(hj*h]h Description}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj*ubh)}(h6Apply a POSIX or FLOCK style lock request to an inode.h]h6Apply a POSIX or FLOCK style lock request to an inode.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_test_lock (C function)c.vfs_test_lockhNtauh1hhjyhhhNhNubj)}(hhh](j)}(h;int vfs_test_lock (struct file *filp, struct file_lock *fl)h]j)}(h:int vfs_test_lock(struct file *filp, struct file_lock *fl)h](jf)}(hinth]hint}(hj*hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj*hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM ubj2)}(h h]h }(hj+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*hhhj+hM ubjC)}(h vfs_test_lockh]jI)}(h vfs_test_lockh]h vfs_test_lock}(hj+hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj+ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj*hhhj+hM ubj=)}(h)(struct file *filp, struct file_lock *fl)h](jC)}(hstruct file *filph](j )}(hjh]hstruct}(hj5+hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj1+ubj2)}(h h]h }(hjB+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1+ubh)}(hhh]jI)}(hfileh]hfile}(hjS+hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjP+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjU+modnameN classnameNjj )}j ]j)}jj+sbc.vfs_test_lockasbuh1hhj1+ubj2)}(h h]h }(hjs+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1+ubj)}(hjh]h*}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1+ubjI)}(hfilph]hfilp}(hj+hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1+ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj-+ubjC)}(hstruct file_lock *flh](j )}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj+ubj2)}(h h]h }(hj+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj+ubh)}(hhh]jI)}(h file_lockh]h file_lock}(hj+hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+modnameN classnameNjj )}j ]jo+c.vfs_test_lockasbuh1hhj+ubj2)}(h h]h }(hj+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj+ubj)}(hjh]h*}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubjI)}(hflh]hfl}(hj+hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj+ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj-+ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj*hhhj+hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj*hhhj+hM ubah}(h]j*ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj+hM hj*hhubjw)}(hhh]h)}(htest file byte range lockh]htest file byte range lock}(hj(,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj%,hhubah}(h]h ]h"]h$]h&]uh1jvhj*hhhj+hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@,jj@,jjjuh1jhhhjyhNhNubj)}(hX**Parameters** ``struct file *filp`` The file to test lock for ``struct file_lock *fl`` The byte-range in the file to test; also used to hold result **Description** On entry, **fl** does not contain a lock, but identifies a range (fl_start, fl_end) in the file (c.flc_file), and an owner (c.flc_owner) for whom existing locks should be ignored. c.flc_type and c.flc_flags are ignored. Both fl_lmops and fl_ops in **fl** must be NULL. Returns -ERRNO on failure. Indicates presence of conflicting lock by setting fl->fl_type to something other than F_UNLCK. If vfs_test_lock() does find a lock and return it, the caller must use locks_free_lock() or locks_release_private() on the returned lock.h](h)}(h**Parameters**h]j)}(hjJ,h]h Parameters}(hjL,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH,ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjD,ubj)}(hhh](j)}(h0``struct file *filp`` The file to test lock for h](j)}(h``struct file *filp``h]j)}(hji,h]hstruct file *filp}(hjk,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg,ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjc,ubj)}(hhh]h)}(hThe file to test lock forh]hThe file to test lock for}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~,hM hj,ubah}(h]h ]h"]h$]h&]uh1jhjc,ubeh}(h]h ]h"]h$]h&]uh1jhj~,hM hj`,ubj)}(hV``struct file_lock *fl`` The byte-range in the file to test; also used to hold result h](j)}(h``struct file_lock *fl``h]j)}(hj,h]hstruct file_lock *fl}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj,ubj)}(hhh]h)}(hfl_type to something other than F_UNLCK.h](h On entry, }(hj,hhhNhNubj)}(h**fl**h]hfl}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubh does not contain a lock, but identifies a range (fl_start, fl_end) in the file (c.flc_file), and an owner (c.flc_owner) for whom existing locks should be ignored. c.flc_type and c.flc_flags are ignored. Both fl_lmops and fl_ops in }(hj,hhhNhNubj)}(h**fl**h]hfl}(hj -hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubh must be NULL. Returns -ERRNO on failure. Indicates presence of conflicting lock by setting fl->fl_type to something other than F_UNLCK.}(hj,hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjD,ubh)}(hIf vfs_test_lock() does find a lock and return it, the caller must use locks_free_lock() or locks_release_private() on the returned lock.h]hIf vfs_test_lock() does find a lock and return it, the caller must use locks_free_lock() or locks_release_private() on the returned lock.}(hj&-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM% hjD,ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_lock_file (C function)c.vfs_lock_filehNtauh1hhjyhhhNhNubj)}(hhh](j)}(heint vfs_lock_file (struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf)h]j)}(hdint vfs_lock_file(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf)h](jf)}(hinth]hint}(hjU-hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjQ-hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM ubj2)}(h h]h }(hjd-hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjQ-hhhjc-hM ubjC)}(h vfs_lock_fileh]jI)}(h vfs_lock_fileh]h vfs_lock_file}(hjv-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjr-ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjQ-hhhjc-hM ubj=)}(hS(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf)h](jC)}(hstruct file *filph](j )}(hjh]hstruct}(hj-hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj-ubj2)}(h h]h }(hj-hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj-ubh)}(hhh]jI)}(hfileh]hfile}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNjj )}j ]j)}jjx-sbc.vfs_lock_fileasbuh1hhj-ubj2)}(h h]h }(hj-hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj-ubj)}(hjh]h*}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubjI)}(hfilph]hfilp}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj-ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj-ubjC)}(hunsigned int cmdh](jf)}(hunsignedh]hunsigned}(hj.hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj.ubj2)}(h h]h }(hj.hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.ubjf)}(hinth]hint}(hj .hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj.ubj2)}(h h]h }(hj..hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.ubjI)}(hcmdh]hcmd}(hj<.hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj.ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj-ubjC)}(hstruct file_lock *flh](j )}(hjh]hstruct}(hjU.hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjQ.ubj2)}(h h]h }(hjb.hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjQ.ubh)}(hhh]jI)}(h file_lockh]h file_lock}(hjs.hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjp.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetju.modnameN classnameNjj )}j ]j-c.vfs_lock_fileasbuh1hhjQ.ubj2)}(h h]h }(hj.hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjQ.ubj)}(hjh]h*}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQ.ubjI)}(hflh]hfl}(hj.hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQ.ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj-ubjC)}(hstruct file_lock *confh](j )}(hjh]hstruct}(hj.hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj.ubj2)}(h h]h }(hj.hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.ubh)}(hhh]jI)}(h file_lockh]h file_lock}(hj.hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.modnameN classnameNjj )}j ]j-c.vfs_lock_fileasbuh1hhj.ubj2)}(h h]h }(hj/hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.ubj)}(hjh]h*}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubjI)}(hconfh]hconf}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj.ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj-ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjQ-hhhjc-hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjM-hhhjc-hM ubah}(h]jH-ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjc-hM hjJ-hhubjw)}(hhh]h)}(hfile byte range lockh]hfile byte range lock}(hjF/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjC/hhubah}(h]h ]h"]h$]h&]uh1jvhjJ-hhhjc-hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^/jj^/jjjuh1jhhhjyhNhNubj)}(hX**Parameters** ``struct file *filp`` The file to apply the lock to ``unsigned int cmd`` type of locking operation (F_SETLK, F_GETLK, etc.) ``struct file_lock *fl`` The lock to be applied ``struct file_lock *conf`` Place to return a copy of the conflicting lock, if found. **Description** A caller that doesn't care about the conflicting lock may pass NULL as the final argument. If the filesystem defines a private ->lock() method, then **conf** will be left unchanged; so a caller that cares should initialize it to some acceptable default. To avoid blocking kernel daemons, such as lockd, that need to acquire POSIX locks, the ->lock() interface may return asynchronously, before the lock has been granted or denied by the underlying filesystem, if (and only if) lm_grant is set. Additionally FOP_ASYNC_LOCK in file_operations fop_flags need to be set. Callers expecting ->lock() to return asynchronously will only use F_SETLK, not F_SETLKW; they will set FL_SLEEP if (and only if) the request is for a blocking lock. When ->lock() does return asynchronously, it must return FILE_LOCK_DEFERRED, and call ->lm_grant() when the lock request completes. If the request is for non-blocking lock the file system should return FILE_LOCK_DEFERRED then try to get the lock and call the callback routine with the result. If the request timed out the callback routine will return a nonzero return code and the file system should release the lock. The file system is also responsible to keep a corresponding posix lock when it grants a lock so the VFS can find out which locks are locally held and do the correct lock cleanup when required. The underlying filesystem must not drop the kernel lock or call ->lm_grant() before returning to the caller with a FILE_LOCK_DEFERRED return code.h](h)}(h**Parameters**h]j)}(hjh/h]h Parameters}(hjj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf/ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjb/ubj)}(hhh](j)}(h4``struct file *filp`` The file to apply the lock to h](j)}(h``struct file *filp``h]j)}(hj/h]hstruct file *filp}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj/ubj)}(hhh]h)}(hThe file to apply the lock toh]hThe file to apply the lock to}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hM hj/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/hM hj~/ubj)}(hH``unsigned int cmd`` type of locking operation (F_SETLK, F_GETLK, etc.) h](j)}(h``unsigned int cmd``h]j)}(hj/h]hunsigned int cmd}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj/ubj)}(hhh]h)}(h2type of locking operation (F_SETLK, F_GETLK, etc.)h]h2type of locking operation (F_SETLK, F_GETLK, etc.)}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hM hj/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/hM hj~/ubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hj/h]hstruct file_lock *fl}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj/ubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hM hj0ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj0hM hj~/ubj)}(hU``struct file_lock *conf`` Place to return a copy of the conflicting lock, if found. h](j)}(h``struct file_lock *conf``h]j)}(hj20h]hstruct file_lock *conf}(hj40hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj00ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj,0ubj)}(hhh]h)}(h9Place to return a copy of the conflicting lock, if found.h]h9Place to return a copy of the conflicting lock, if found.}(hjK0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjG0hM hjH0ubah}(h]h ]h"]h$]h&]uh1jhj,0ubeh}(h]h ]h"]h$]h&]uh1jhjG0hM hj~/ubeh}(h]h ]h"]h$]h&]uh1jhjb/ubh)}(h**Description**h]j)}(hjm0h]h Description}(hjo0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk0ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjb/ubh)}(hZA caller that doesn't care about the conflicting lock may pass NULL as the final argument.h]h\A caller that doesn’t care about the conflicting lock may pass NULL as the final argument.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjb/ubh)}(hIf the filesystem defines a private ->lock() method, then **conf** will be left unchanged; so a caller that cares should initialize it to some acceptable default.h](h:If the filesystem defines a private ->lock() method, then }(hj0hhhNhNubj)}(h**conf**h]hconf}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh` will be left unchanged; so a caller that cares should initialize it to some acceptable default.}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjb/ubh)}(hX8To avoid blocking kernel daemons, such as lockd, that need to acquire POSIX locks, the ->lock() interface may return asynchronously, before the lock has been granted or denied by the underlying filesystem, if (and only if) lm_grant is set. Additionally FOP_ASYNC_LOCK in file_operations fop_flags need to be set.h]hX8To avoid blocking kernel daemons, such as lockd, that need to acquire POSIX locks, the ->lock() interface may return asynchronously, before the lock has been granted or denied by the underlying filesystem, if (and only if) lm_grant is set. Additionally FOP_ASYNC_LOCK in file_operations fop_flags need to be set.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjb/ubh)}(hXCallers expecting ->lock() to return asynchronously will only use F_SETLK, not F_SETLKW; they will set FL_SLEEP if (and only if) the request is for a blocking lock. When ->lock() does return asynchronously, it must return FILE_LOCK_DEFERRED, and call ->lm_grant() when the lock request completes. If the request is for non-blocking lock the file system should return FILE_LOCK_DEFERRED then try to get the lock and call the callback routine with the result. If the request timed out the callback routine will return a nonzero return code and the file system should release the lock. The file system is also responsible to keep a corresponding posix lock when it grants a lock so the VFS can find out which locks are locally held and do the correct lock cleanup when required. The underlying filesystem must not drop the kernel lock or call ->lm_grant() before returning to the caller with a FILE_LOCK_DEFERRED return code.h]hXCallers expecting ->lock() to return asynchronously will only use F_SETLK, not F_SETLKW; they will set FL_SLEEP if (and only if) the request is for a blocking lock. When ->lock() does return asynchronously, it must return FILE_LOCK_DEFERRED, and call ->lm_grant() when the lock request completes. If the request is for non-blocking lock the file system should return FILE_LOCK_DEFERRED then try to get the lock and call the callback routine with the result. If the request timed out the callback routine will return a nonzero return code and the file system should release the lock. The file system is also responsible to keep a corresponding posix lock when it grants a lock so the VFS can find out which locks are locally held and do the correct lock cleanup when required. The underlying filesystem must not drop the kernel lock or call ->lm_grant() before returning to the caller with a FILE_LOCK_DEFERRED return code.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjb/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_cancel_lock (C function)c.vfs_cancel_lockhNtauh1hhjyhhhNhNubj)}(hhh](j)}(h=int vfs_cancel_lock (struct file *filp, struct file_lock *fl)h]j)}(hah"]h$]h&]uh1j1hj0hhhj0hM: ubjC)}(hvfs_cancel_lockh]jI)}(hvfs_cancel_lockh]hvfs_cancel_lock}(hj1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj0hhhj0hM: ubj=)}(h)(struct file *filp, struct file_lock *fl)h](jC)}(hstruct file *filph](j )}(hjh]hstruct}(hj.1hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj*1ubj2)}(h h]h }(hj;1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*1ubh)}(hhh]jI)}(hfileh]hfile}(hjL1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjI1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjN1modnameN classnameNjj )}j ]j)}jj1sbc.vfs_cancel_lockasbuh1hhj*1ubj2)}(h h]h }(hjl1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*1ubj)}(hjh]h*}(hjz1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*1ubjI)}(hfilph]hfilp}(hj1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*1ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj&1ubjC)}(hstruct file_lock *flh](j )}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj1ubj2)}(h h]h }(hj1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1ubh)}(hhh]jI)}(h file_lockh]h file_lock}(hj1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNjj )}j ]jh1c.vfs_cancel_lockasbuh1hhj1ubj2)}(h h]h }(hj1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1ubj)}(hjh]h*}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubjI)}(hflh]hfl}(hj1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj&1ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj0hhhj0hM: ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj0hhhj0hM: ubah}(h]j0ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj0hM: hj0hhubjw)}(hhh]h)}(hfile byte range unblock lockh]hfile byte range unblock lock}(hj!2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM: hj2hhubah}(h]h ]h"]h$]h&]uh1jvhj0hhhj0hM: ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj92jj92jjjuh1jhhhjyhNhNubj)}(h**Parameters** ``struct file *filp`` The file to apply the unblock to ``struct file_lock *fl`` The lock to be unblocked **Description** Used by lock managers to cancel blocked requestsh](h)}(h**Parameters**h]j)}(hjC2h]h Parameters}(hjE2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA2ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM> hj=2ubj)}(hhh](j)}(h7``struct file *filp`` The file to apply the unblock to h](j)}(h``struct file *filp``h]j)}(hjb2h]hstruct file *filp}(hjd2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM; hj\2ubj)}(hhh]h)}(h The file to apply the unblock toh]h The file to apply the unblock to}(hj{2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjw2hM; hjx2ubah}(h]h ]h"]h$]h&]uh1jhj\2ubeh}(h]h ]h"]h$]h&]uh1jhjw2hM; hjY2ubj)}(h2``struct file_lock *fl`` The lock to be unblocked h](j)}(h``struct file_lock *fl``h]j)}(hj2h]hstruct file_lock *fl}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM< hj2ubj)}(hhh]h)}(hThe lock to be unblockedh]hThe lock to be unblocked}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hM< hj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hM< hjY2ubeh}(h]h ]h"]h$]h&]uh1jhj=2ubh)}(h**Description**h]j)}(hj2h]h Description}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM> hj=2ubh)}(h0Used by lock managers to cancel blocked requestsh]h0Used by lock managers to cancel blocked requests}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM= hj=2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  vfs_inode_has_locks (C function)c.vfs_inode_has_lockshNtauh1hhjyhhhNhNubj)}(hhh](j)}(h.bool vfs_inode_has_locks (struct inode *inode)h]j)}(h-bool vfs_inode_has_locks(struct inode *inode)h](jf)}(hjih]hbool}(hj3hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj3hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMJ ubj2)}(h h]h }(hj)3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj3hhhj(3hMJ ubjC)}(hvfs_inode_has_locksh]jI)}(hvfs_inode_has_locksh]hvfs_inode_has_locks}(hj;3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj73ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj3hhhj(3hMJ ubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjW3hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjS3ubj2)}(h h]h }(hjd3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjS3ubh)}(hhh]jI)}(hinodeh]hinode}(hju3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjr3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjw3modnameN classnameNjj )}j ]j)}jj=3sbc.vfs_inode_has_locksasbuh1hhjS3ubj2)}(h h]h }(hj3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjS3ubj)}(hjh]h*}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjS3ubjI)}(hinodeh]hinode}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjS3ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjO3ubah}(h]h ]h"]h$]h&]j`jauh1j<hj3hhhj(3hMJ ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj3hhhj(3hMJ ubah}(h]j3ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj(3hMJ hj3hhubjw)}(hhh]h)}(h%are any file locks held on **inode**?h](hare any file locks held on }(hj3hhhNhNubj)}(h **inode**h]hinode}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh?}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMJ hj3hhubah}(h]h ]h"]h$]h&]uh1jvhj3hhhj(3hMJ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1jhhhjyhNhNubj)}(h**Parameters** ``struct inode *inode`` inode to check for locks **Description** Return true if there are any FL_POSIX or FL_FLOCK locks currently set on **inode**.h](h)}(h**Parameters**h]j)}(hj4h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 4ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMN hj4ubj)}(hhh]j)}(h1``struct inode *inode`` inode to check for locks h](j)}(h``struct inode *inode``h]j)}(hj-4h]hstruct inode *inode}(hj/4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+4ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMK hj'4ubj)}(hhh]h)}(hinode to check for locksh]hinode to check for locks}(hjF4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjB4hMK hjC4ubah}(h]h ]h"]h$]h&]uh1jhj'4ubeh}(h]h ]h"]h$]h&]uh1jhjB4hMK hj$4ubah}(h]h ]h"]h$]h&]uh1jhj4ubh)}(h**Description**h]j)}(hjh4h]h Description}(hjj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf4ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMM hj4ubh)}(hSReturn true if there are any FL_POSIX or FL_FLOCK locks currently set on **inode**.h](hIReturn true if there are any FL_POSIX or FL_FLOCK locks currently set on }(hj~4hhhNhNubj)}(h **inode**h]hinode}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~4ubh.}(hj~4hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chML hj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  lease_open_conflict (C function)c.lease_open_conflicthNtauh1hhjyhhhNhNubj)}(hhh](j)}(h:int lease_open_conflict (struct file *filp, const int arg)h]j)}(h9int lease_open_conflict(struct file *filp, const int arg)h](jf)}(hinth]hint}(hj4hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj4hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMWubj2)}(h h]h }(hj4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4hhhj4hMWubjC)}(hlease_open_conflicth]jI)}(hlease_open_conflicth]hlease_open_conflict}(hj4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj4hhhj4hMWubj=)}(h"(struct file *filp, const int arg)h](jC)}(hstruct file *filph](j )}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj4ubj2)}(h h]h }(hj 5hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4ubh)}(hhh]jI)}(hfileh]hfile}(hj5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNjj )}j ]j)}jj4sbc.lease_open_conflictasbuh1hhj4ubj2)}(h h]h }(hj:5hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4ubj)}(hjh]h*}(hjH5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubjI)}(hfilph]hfilp}(hjU5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj4ubjC)}(h const int argh](j )}(hjh]hconst}(hjn5hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjj5ubj2)}(h h]h }(hj{5hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjj5ubjf)}(hinth]hint}(hj5hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjj5ubj2)}(h h]h }(hj5hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjj5ubjI)}(hargh]harg}(hj5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjj5ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj4ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj4hhhj4hMWubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj4hhhj4hMWubah}(h]j4ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj4hMWhj4hhubjw)}(hhh]h)}(hnsee if the given file points to an inode that has an existing open that would conflict with the desired lease.h]hnsee if the given file points to an inode that has an existing open that would conflict with the desired lease.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMWhj5hhubah}(h]h ]h"]h$]h&]uh1jvhj4hhhj4hMWubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1jhhhjyhNhNubj)}(h**Parameters** ``struct file *filp`` file to check ``const int arg`` type of lease that we're trying to acquire **Description** Check to see if there's an existing open fd on this file that would conflict with the lease we're trying to set.h](h)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM[hj5ubj)}(hhh](j)}(h$``struct file *filp`` file to check h](j)}(h``struct file *filp``h]j)}(hj6h]hstruct file *filp}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMZhj 6ubj)}(hhh]h)}(h file to checkh]h file to check}(hj)6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%6hMZhj&6ubah}(h]h ]h"]h$]h&]uh1jhj 6ubeh}(h]h ]h"]h$]h&]uh1jhj%6hMZhj6ubj)}(h=``const int arg`` type of lease that we're trying to acquire h](j)}(h``const int arg``h]j)}(hjI6h]h const int arg}(hjK6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG6ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM[hjC6ubj)}(hhh]h)}(h*type of lease that we're trying to acquireh]h,type of lease that we’re trying to acquire}(hjb6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^6hM[hj_6ubah}(h]h ]h"]h$]h&]uh1jhjC6ubeh}(h]h ]h"]h$]h&]uh1jhj^6hM[hj6ubeh}(h]h ]h"]h$]h&]uh1jhj5ubh)}(h**Description**h]j)}(hj6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM]hj5ubh)}(hpCheck to see if there's an existing open fd on this file that would conflict with the lease we're trying to set.h]htCheck to see if there’s an existing open fd on this file that would conflict with the lease we’re trying to set.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM\hj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "posix_lock_inode_wait (C function)c.posix_lock_inode_waithNtauh1hhjyhhhNhNubj)}(hhh](j)}(hEint posix_lock_inode_wait (struct inode *inode, struct file_lock *fl)h]j)}(hDint posix_lock_inode_wait(struct inode *inode, struct file_lock *fl)h](jf)}(hinth]hint}(hj6hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj6hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6hhhj6hMubjC)}(hposix_lock_inode_waith]jI)}(hposix_lock_inode_waith]hposix_lock_inode_wait}(hj6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj6hhhj6hMubj=)}(h+(struct inode *inode, struct file_lock *fl)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj7ubj2)}(h h]h }(hj7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7ubh)}(hhh]jI)}(hinodeh]hinode}(hj$7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&7modnameN classnameNjj )}j ]j)}jj6sbc.posix_lock_inode_waitasbuh1hhj7ubj2)}(h h]h }(hjD7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7ubj)}(hjh]h*}(hjR7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubjI)}(hinodeh]hinode}(hj_7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj6ubjC)}(hstruct file_lock *flh](j )}(hjh]hstruct}(hjx7hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjt7ubj2)}(h h]h }(hj7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjt7ubh)}(hhh]jI)}(h file_lockh]h file_lock}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNjj )}j ]j@7c.posix_lock_inode_waitasbuh1hhjt7ubj2)}(h h]h }(hj7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjt7ubj)}(hjh]h*}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjt7ubjI)}(hflh]hfl}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjt7ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj6ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj6hhhj6hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj6hhhj6hMubah}(h]j6ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj6hMhj6hhubjw)}(hhh]h)}(h"Apply a POSIX-style lock to a fileh]h"Apply a POSIX-style lock to a file}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jvhj6hhhj6hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1jhhhjyhNhNubj)}(h**Parameters** ``struct inode *inode`` inode of file to which lock request should be applied ``struct file_lock *fl`` The lock to be applied **Description** Apply a POSIX style lock request to an inode.h](h)}(h**Parameters**h]j)}(hj8h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj8ubj)}(hhh](j)}(hN``struct inode *inode`` inode of file to which lock request should be applied h](j)}(h``struct inode *inode``h]j)}(hj:8h]hstruct inode *inode}(hj<8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj88ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj48ubj)}(hhh]h)}(h5inode of file to which lock request should be appliedh]h5inode of file to which lock request should be applied}(hjS8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjO8hMhjP8ubah}(h]h ]h"]h$]h&]uh1jhj48ubeh}(h]h ]h"]h$]h&]uh1jhjO8hMhj18ubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hjs8h]hstruct file_lock *fl}(hju8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq8ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjm8ubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjm8ubeh}(h]h ]h"]h$]h&]uh1jhj8hMhj18ubeh}(h]h ]h"]h$]h&]uh1jhj8ubh)}(h**Description**h]j)}(hj8h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj8ubh)}(h-Apply a POSIX style lock request to an inode.h]h-Apply a POSIX style lock request to an inode.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j __fcntl_getlease (C function)c.__fcntl_getleasehNtauh1hhjyhhhNhNubj)}(hhh](j)}(h=int __fcntl_getlease (struct file *filp, unsigned int flavor)h]j)}(hah"]h$]h&]uh1j1hj8hhhj9hM!ubjC)}(h__fcntl_getleaseh]jI)}(h__fcntl_getleaseh]h__fcntl_getlease}(hj9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj9ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj8hhhj9hM!ubj=)}(h((struct file *filp, unsigned int flavor)h](jC)}(hstruct file *filph](j )}(hjh]hstruct}(hj09hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj,9ubj2)}(h h]h }(hj=9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj,9ubh)}(hhh]jI)}(hfileh]hfile}(hjN9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjK9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjP9modnameN classnameNjj )}j ]j)}jj9sbc.__fcntl_getleaseasbuh1hhj,9ubj2)}(h h]h }(hjn9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj,9ubj)}(hjh]h*}(hj|9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,9ubjI)}(hfilph]hfilp}(hj9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj,9ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj(9ubjC)}(hunsigned int flavorh](jf)}(hunsignedh]hunsigned}(hj9hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj9ubj2)}(h h]h }(hj9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9ubjf)}(hinth]hint}(hj9hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj9ubj2)}(h h]h }(hj9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9ubjI)}(hflavorh]hflavor}(hj9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj9ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj(9ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj8hhhj9hM!ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj8hhhj9hM!ubah}(h]j8ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj9hM!hj8hhubjw)}(hhh]h)}(h&Enquire what lease is currently activeh]h&Enquire what lease is currently active}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM!hj:hhubah}(h]h ]h"]h$]h&]uh1jvhj8hhhj9hM!ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jj:jjjuh1jhhhjyhNhNubj)}(hX**Parameters** ``struct file *filp`` the file ``unsigned int flavor`` type of lease flags to check **Description** The value returned by this function will be one of (if no lease break is pending): ``F_RDLCK`` to indicate a shared lease is held. ``F_WRLCK`` to indicate an exclusive lease is held. ``F_UNLCK`` to indicate no lease is held. (if a lease break is pending): ``F_RDLCK`` to indicate an exclusive lease needs to be changed to a shared lease (or removed). ``F_UNLCK`` to indicate the lease needs to be removed. XXX: sfr & willy disagree over whether F_INPROGRESS should be returned to userspace.h](h)}(h**Parameters**h]j)}(hj&:h]h Parameters}(hj(:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$:ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM%hj :ubj)}(hhh](j)}(h``struct file *filp`` the file h](j)}(h``struct file *filp``h]j)}(hjE:h]hstruct file *filp}(hjG:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC:ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM"hj?:ubj)}(hhh]h)}(hthe fileh]hthe file}(hj^:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZ:hM"hj[:ubah}(h]h ]h"]h$]h&]uh1jhj?:ubeh}(h]h ]h"]h$]h&]uh1jhjZ:hM"hj<:ubj)}(h5``unsigned int flavor`` type of lease flags to check h](j)}(h``unsigned int flavor``h]j)}(hj~:h]hunsigned int flavor}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|:ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM#hjx:ubj)}(hhh]h)}(htype of lease flags to checkh]htype of lease flags to check}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hM#hj:ubah}(h]h ]h"]h$]h&]uh1jhjx:ubeh}(h]h ]h"]h$]h&]uh1jhj:hM#hj<:ubeh}(h]h ]h"]h$]h&]uh1jhj :ubh)}(h**Description**h]j)}(hj:h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM%hj :ubj)}(hXThe value returned by this function will be one of (if no lease break is pending): ``F_RDLCK`` to indicate a shared lease is held. ``F_WRLCK`` to indicate an exclusive lease is held. ``F_UNLCK`` to indicate no lease is held. (if a lease break is pending): ``F_RDLCK`` to indicate an exclusive lease needs to be changed to a shared lease (or removed). ``F_UNLCK`` to indicate the lease needs to be removed. XXX: sfr & willy disagree over whether F_INPROGRESS should be returned to userspace.h](h)}(hRThe value returned by this function will be one of (if no lease break is pending):h]hRThe value returned by this function will be one of (if no lease break is pending):}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM$hj:ubh)}(h/``F_RDLCK`` to indicate a shared lease is held.h](j)}(h ``F_RDLCK``h]hF_RDLCK}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh$ to indicate a shared lease is held.}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM'hj:ubh)}(h3``F_WRLCK`` to indicate an exclusive lease is held.h](j)}(h ``F_WRLCK``h]hF_WRLCK}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh( to indicate an exclusive lease is held.}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM)hj:ubh)}(h)``F_UNLCK`` to indicate no lease is held.h](j)}(h ``F_UNLCK``h]hF_UNLCK}(hj ;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubh to indicate no lease is held.}(hj;hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM+hj:ubh)}(h(if a lease break is pending):h]h(if a lease break is pending):}(hj9;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM-hj:ubj)}(hhh]j)}(h_``F_RDLCK`` to indicate an exclusive lease needs to be changed to a shared lease (or removed). h](j)}(h6``F_RDLCK`` to indicate an exclusive lease needs to beh](j)}(h ``F_RDLCK``h]hF_RDLCK}(hjS;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO;ubh+ to indicate an exclusive lease needs to be}(hjO;hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM0hjK;ubj)}(hhh]h)}(h'changed to a shared lease (or removed).h]h'changed to a shared lease (or removed).}(hjo;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjk;hM0hjl;ubah}(h]h ]h"]h$]h&]uh1jhjK;ubeh}(h]h ]h"]h$]h&]uh1jhjk;hM0hjH;ubah}(h]h ]h"]h$]h&]uh1jhj:ubh)}(h6``F_UNLCK`` to indicate the lease needs to be removed.h](j)}(h ``F_UNLCK``h]hF_UNLCK}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubh+ to indicate the lease needs to be removed.}(hj;hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM2hj:ubh)}(hTXXX: sfr & willy disagree over whether F_INPROGRESS should be returned to userspace.h]hTXXX: sfr & willy disagree over whether F_INPROGRESS should be returned to userspace.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM4hj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hM$hj :ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j fcntl_setlease (C function)c.fcntl_setleasehNtauh1hhjyhhhNhNubj)}(hhh](j)}(h@int fcntl_setlease (unsigned int fd, struct file *filp, int arg)h]j)}(h?int fcntl_setlease(unsigned int fd, struct file *filp, int arg)h](jf)}(hinth]hint}(hj;hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj;hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj2)}(h h]h }(hj;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj;hhhj;hMubjC)}(hfcntl_setleaseh]jI)}(hfcntl_setleaseh]hfcntl_setlease}(hj<hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj;ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj;hhhj;hMubj=)}(h-(unsigned int fd, struct file *filp, int arg)h](jC)}(hunsigned int fdh](jf)}(hunsignedh]hunsigned}(hj<hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj<ubj2)}(h h]h }(hj,<hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj<ubjf)}(hinth]hint}(hj:<hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj<ubj2)}(h h]h }(hjH<hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj<ubjI)}(hfdh]hfd}(hjV<hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj<ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj<ubjC)}(hstruct file *filph](j )}(hjh]hstruct}(hjo<hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjk<ubj2)}(h h]h }(hj|<hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjk<ubh)}(hhh]jI)}(hfileh]hfile}(hj<hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNjj )}j ]j)}jj<sbc.fcntl_setleaseasbuh1hhjk<ubj2)}(h h]h }(hj<hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjk<ubj)}(hjh]h*}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjk<ubjI)}(hfilph]hfilp}(hj<hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjk<ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj<ubjC)}(hint argh](jf)}(hinth]hint}(hj<hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj<ubj2)}(h h]h }(hj<hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj<ubjI)}(hargh]harg}(hj<hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj<ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj<ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj;hhhj;hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj;hhhj;hMubah}(h]j;ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj;hMhj;hhubjw)}(hhh]h)}(hsets a lease on an open fileh]hsets a lease on an open file}(hj'=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj$=hhubah}(h]h ]h"]h$]h&]uh1jvhj;hhhj;hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?=jj?=jjjuh1jhhhjyhNhNubj)}(hX5**Parameters** ``unsigned int fd`` open file descriptor ``struct file *filp`` file pointer ``int arg`` type of lease to obtain **Description** Call this fcntl to establish a lease on the file. Note that you also need to call ``F_SETSIG`` to receive a signal when the lease is broken.h](h)}(h**Parameters**h]j)}(hjI=h]h Parameters}(hjK=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG=ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjC=ubj)}(hhh](j)}(h)``unsigned int fd`` open file descriptor h](j)}(h``unsigned int fd``h]j)}(hjh=h]hunsigned int fd}(hjj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf=ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjb=ubj)}(hhh]h)}(hopen file descriptorh]hopen file descriptor}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}=hMhj~=ubah}(h]h ]h"]h$]h&]uh1jhjb=ubeh}(h]h ]h"]h$]h&]uh1jhj}=hMhj_=ubj)}(h#``struct file *filp`` file pointer h](j)}(h``struct file *filp``h]j)}(hj=h]hstruct file *filp}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj=ubj)}(hhh]h)}(h file pointerh]h file pointer}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhj_=ubj)}(h$``int arg`` type of lease to obtain h](j)}(h ``int arg``h]j)}(hj=h]hint arg}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj=ubj)}(hhh]h)}(htype of lease to obtainh]htype of lease to obtain}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhj_=ubeh}(h]h ]h"]h$]h&]uh1jhjC=ubh)}(h**Description**h]j)}(hj>h]h Description}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjC=ubj)}(hCall this fcntl to establish a lease on the file. Note that you also need to call ``F_SETSIG`` to receive a signal when the lease is broken.h]h)}(hCall this fcntl to establish a lease on the file. Note that you also need to call ``F_SETSIG`` to receive a signal when the lease is broken.h](hRCall this fcntl to establish a lease on the file. Note that you also need to call }(hj/>hhhNhNubj)}(h ``F_SETSIG``h]hF_SETSIG}(hj7>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/>ubh. to receive a signal when the lease is broken.}(hj/>hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj+>ubah}(h]h ]h"]h$]h&]uh1jhjO>hMhjC=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j fcntl_setdeleg (C function)c.fcntl_setdeleghNtauh1hhjyhhhNhNubj)}(hhh](j)}(hQint fcntl_setdeleg (unsigned int fd, struct file *filp, struct delegation *deleg)h]j)}(hPint fcntl_setdeleg(unsigned int fd, struct file *filp, struct delegation *deleg)h](jf)}(hinth]hint}(hjv>hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjr>hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj2)}(h h]h }(hj>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjr>hhhj>hMubjC)}(hfcntl_setdelegh]jI)}(hfcntl_setdelegh]hfcntl_setdeleg}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj>ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjr>hhhj>hMubj=)}(h>(unsigned int fd, struct file *filp, struct delegation *deleg)h](jC)}(hunsigned int fdh](jf)}(hunsignedh]hunsigned}(hj>hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj>ubj2)}(h h]h }(hj>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj>ubjf)}(hinth]hint}(hj>hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj>ubj2)}(h h]h }(hj>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj>ubjI)}(hfdh]hfd}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj>ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj>ubjC)}(hstruct file *filph](j )}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj?ubj2)}(h h]h }(hj?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj?ubh)}(hhh]jI)}(hfileh]hfile}(hj"?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$?modnameN classnameNjj )}j ]j)}jj>sbc.fcntl_setdelegasbuh1hhj?ubj2)}(h h]h }(hjB?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj?ubj)}(hjh]h*}(hjP?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubjI)}(hfilph]hfilp}(hj]?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj?ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj>ubjC)}(hstruct delegation *delegh](j )}(hjh]hstruct}(hjv?hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjr?ubj2)}(h h]h }(hj?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjr?ubh)}(hhh]jI)}(h delegationh]h delegation}(hj?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNjj )}j ]j>?c.fcntl_setdelegasbuh1hhjr?ubj2)}(h h]h }(hj?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjr?ubj)}(hjh]h*}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjr?ubjI)}(hdelegh]hdeleg}(hj?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjr?ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj>ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjr>hhhj>hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjn>hhhj>hMubah}(h]ji>ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj>hMhjk>hhubjw)}(hhh]h)}(h!sets a delegation on an open fileh]h!sets a delegation on an open file}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj?hhubah}(h]h ]h"]h$]h&]uh1jvhjk>hhhj>hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@jj@jjjuh1jhhhjyhNhNubj)}(hXT**Parameters** ``unsigned int fd`` open file descriptor ``struct file *filp`` file pointer ``struct delegation *deleg`` delegation request from userland **Description** Call this fcntl to establish a delegation on the file. Note that you also need to call ``F_SETSIG`` to receive a signal when the lease is broken.h](h)}(h**Parameters**h]j)}(hj@h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj@ubj)}(hhh](j)}(h)``unsigned int fd`` open file descriptor h](j)}(h``unsigned int fd``h]j)}(hj8@h]hunsigned int fd}(hj:@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6@ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj2@ubj)}(hhh]h)}(hopen file descriptorh]hopen file descriptor}(hjQ@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjM@hMhjN@ubah}(h]h ]h"]h$]h&]uh1jhj2@ubeh}(h]h ]h"]h$]h&]uh1jhjM@hMhj/@ubj)}(h#``struct file *filp`` file pointer h](j)}(h``struct file *filp``h]j)}(hjq@h]hstruct file *filp}(hjs@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo@ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjk@ubj)}(hhh]h)}(h file pointerh]h file pointer}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hMhj@ubah}(h]h ]h"]h$]h&]uh1jhjk@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj/@ubj)}(h>``struct delegation *deleg`` delegation request from userland h](j)}(h``struct delegation *deleg``h]j)}(hj@h]hstruct delegation *deleg}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj@ubj)}(hhh]h)}(h delegation request from userlandh]h delegation request from userland}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj/@ubeh}(h]h ]h"]h$]h&]uh1jhj@ubh)}(h**Description**h]j)}(hj@h]h Description}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj@ubj)}(hCall this fcntl to establish a delegation on the file. Note that you also need to call ``F_SETSIG`` to receive a signal when the lease is broken.h]h)}(hCall this fcntl to establish a delegation on the file. Note that you also need to call ``F_SETSIG`` to receive a signal when the lease is broken.h](hWCall this fcntl to establish a delegation on the file. Note that you also need to call }(hj@hhhNhNubj)}(h ``F_SETSIG``h]hF_SETSIG}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh. to receive a signal when the lease is broken.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj@ubah}(h]h ]h"]h$]h&]uh1jhjAhMhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "flock_lock_inode_wait (C function)c.flock_lock_inode_waithNtauh1hhjyhhhNhNubj)}(hhh](j)}(hEint flock_lock_inode_wait (struct inode *inode, struct file_lock *fl)h]j)}(hDint flock_lock_inode_wait(struct inode *inode, struct file_lock *fl)h](jf)}(hinth]hint}(hjFAhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjBAhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj2)}(h h]h }(hjUAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBAhhhjTAhMubjC)}(hflock_lock_inode_waith]jI)}(hflock_lock_inode_waith]hflock_lock_inode_wait}(hjgAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjcAubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjBAhhhjTAhMubj=)}(h+(struct inode *inode, struct file_lock *fl)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjAubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAubh)}(hhh]jI)}(hinodeh]hinode}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNjj )}j ]j)}jjiAsbc.flock_lock_inode_waitasbuh1hhjAubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAubj)}(hjh]h*}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubjI)}(hinodeh]hinode}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj{AubjC)}(hstruct file_lock *flh](j )}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjAubj2)}(h h]h }(hjBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAubh)}(hhh]jI)}(h file_lockh]h file_lock}(hjBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNjj )}j ]jAc.flock_lock_inode_waitasbuh1hhjAubj2)}(h h]h }(hj1BhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAubj)}(hjh]h*}(hj?BhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubjI)}(hflh]hfl}(hjLBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj{Aubeh}(h]h ]h"]h$]h&]j`jauh1j<hjBAhhhjTAhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj>AhhhjTAhMubah}(h]j9Aah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjTAhMhj;Ahhubjw)}(hhh]h)}(h"Apply a FLOCK-style lock to a fileh]h"Apply a FLOCK-style lock to a file}(hjvBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjsBhhubah}(h]h ]h"]h$]h&]uh1jvhj;AhhhjTAhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjBjjBjjjuh1jhhhjyhNhNubj)}(h**Parameters** ``struct inode *inode`` inode of the file to apply to ``struct file_lock *fl`` The lock to be applied **Description** Apply a FLOCK style lock request to an inode.h](h)}(h**Parameters**h]j)}(hjBh]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjBubj)}(hhh](j)}(h6``struct inode *inode`` inode of the file to apply to h](j)}(h``struct inode *inode``h]j)}(hjBh]hstruct inode *inode}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjBubj)}(hhh]h)}(hinode of the file to apply toh]hinode of the file to apply to}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhMhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjBubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hjBh]hstruct file_lock *fl}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjBubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hj ChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChMhjCubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjChMhjBubeh}(h]h ]h"]h$]h&]uh1jhjBubh)}(h**Description**h]j)}(hj+Ch]h Description}(hj-ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)Cubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjBubh)}(h-Apply a FLOCK style lock request to an inode.h]h-Apply a FLOCK style lock request to an inode.}(hjAChhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j sys_flock (C function) c.sys_flockhNtauh1hhjyhhhNhNubj)}(hhh](j)}(h2long sys_flock (unsigned int fd, unsigned int cmd)h]j)}(h1long sys_flock(unsigned int fd, unsigned int cmd)h](jf)}(hlongh]hlong}(hjpChhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjlChhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj2)}(h h]h }(hjChhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjlChhhj~ChMubjC)}(h sys_flockh]jI)}(h sys_flockh]h sys_flock}(hjChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjCubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjlChhhj~ChMubj=)}(h#(unsigned int fd, unsigned int cmd)h](jC)}(hunsigned int fdh](jf)}(hunsignedh]hunsigned}(hjChhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjCubj2)}(h h]h }(hjChhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCubjf)}(hinth]hint}(hjChhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjCubj2)}(h h]h }(hjChhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCubjI)}(hfdh]hfd}(hjChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjCubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjCubjC)}(hunsigned int cmdh](jf)}(hunsignedh]hunsigned}(hjChhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjCubj2)}(h h]h }(hj DhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCubjf)}(hinth]hint}(hjDhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjCubj2)}(h h]h }(hj(DhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCubjI)}(hcmdh]hcmd}(hj6DhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjCubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjCubeh}(h]h ]h"]h$]h&]j`jauh1j<hjlChhhj~ChMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhChhhj~ChMubah}(h]jcCah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj~ChMhjeChhubjw)}(hhh]jC)}(hhh]j#C)}(hflock() system call.h]h)}(hjeDh]hflock() system call.}(hjgDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjcDubah}(h]h ]h"]h$]h&]uh1j"Chj`DhhhjtDhNubah}(h]h ]h"]h$]h&]j\Cjuh1jChjtDhMhj]Dhhubah}(h]h ]h"]h$]h&]uh1jvhjeChhhj~ChMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1jhhhjyhNhNubj)}(hX**Parameters** ``unsigned int fd`` the file descriptor to lock. ``unsigned int cmd`` the type of lock to apply. **Description** Apply a ``FL_FLOCK`` style lock to an open file descriptor. The **cmd** can be one of: - ``LOCK_SH`` -- a shared lock. - ``LOCK_EX`` -- an exclusive lock. - ``LOCK_UN`` -- remove an existing lock. - ``LOCK_MAND`` -- a 'mandatory' flock. (DEPRECATED) ``LOCK_MAND`` support has been removed from the kernel.h](h)}(h**Parameters**h]j)}(hjDh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjDubj)}(hhh](j)}(h1``unsigned int fd`` the file descriptor to lock. h](j)}(h``unsigned int fd``h]j)}(hjDh]hunsigned int fd}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjDubj)}(hhh]h)}(hthe file descriptor to lock.h]hthe file descriptor to lock.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjDubj)}(h0``unsigned int cmd`` the type of lock to apply. h](j)}(h``unsigned int cmd``h]j)}(hjDh]hunsigned int cmd}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjDubj)}(hhh]h)}(hthe type of lock to apply.h]hthe type of lock to apply.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhMhjEubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjDubeh}(h]h ]h"]h$]h&]uh1jhjDubh)}(h**Description**h]j)}(hj'Eh]h Description}(hj)EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Eubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjDubj)}(hX3Apply a ``FL_FLOCK`` style lock to an open file descriptor. The **cmd** can be one of: - ``LOCK_SH`` -- a shared lock. - ``LOCK_EX`` -- an exclusive lock. - ``LOCK_UN`` -- remove an existing lock. - ``LOCK_MAND`` -- a 'mandatory' flock. (DEPRECATED) ``LOCK_MAND`` support has been removed from the kernel.h](h)}(hVApply a ``FL_FLOCK`` style lock to an open file descriptor. The **cmd** can be one of:h](hApply a }(hjAEhhhNhNubj)}(h ``FL_FLOCK``h]hFL_FLOCK}(hjIEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAEubh, style lock to an open file descriptor. The }(hjAEhhhNhNubj)}(h**cmd**h]hcmd}(hj[EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAEubh can be one of:}(hjAEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj=EubjC)}(hhh](j#C)}(h``LOCK_SH`` -- a shared lock.h]h)}(hjyEh](j)}(h ``LOCK_SH``h]hLOCK_SH}(hj~EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{Eubh -- a shared lock.}(hj{EhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjwEubah}(h]h ]h"]h$]h&]uh1j"ChjtEubj#C)}(h!``LOCK_EX`` -- an exclusive lock.h]h)}(hjEh](j)}(h ``LOCK_EX``h]hLOCK_EX}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh -- an exclusive lock.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjEubah}(h]h ]h"]h$]h&]uh1j"ChjtEubj#C)}(h'``LOCK_UN`` -- remove an existing lock.h]h)}(hjEh](j)}(h ``LOCK_UN``h]hLOCK_UN}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh -- remove an existing lock.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjEubah}(h]h ]h"]h$]h&]uh1j"ChjtEubj#C)}(h3``LOCK_MAND`` -- a 'mandatory' flock. (DEPRECATED) h]h)}(h2``LOCK_MAND`` -- a 'mandatory' flock. (DEPRECATED)h](j)}(h ``LOCK_MAND``h]h LOCK_MAND}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh) -- a ‘mandatory’ flock. (DEPRECATED)}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjEubah}(h]h ]h"]h$]h&]uh1j"ChjtEubeh}(h]h ]h"]h$]h&]j\Cjuh1jChjEhMhj=Eubh)}(h7``LOCK_MAND`` support has been removed from the kernel.h](j)}(h ``LOCK_MAND``h]h LOCK_MAND}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh* support has been removed from the kernel.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj=Eubeh}(h]h ]h"]h$]h&]uh1jhjsEhMhjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjyhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  locks_translate_pid (C function)c.locks_translate_pidhNtauh1hhjyhhhNhNubj)}(hhh](j)}(hOpid_t locks_translate_pid (struct file_lock_core *fl, struct pid_namespace *ns)h]j)}(hNpid_t locks_translate_pid(struct file_lock_core *fl, struct pid_namespace *ns)h](h)}(hhh]jI)}(hpid_th]hpid_t}(hj\FhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^FmodnameN classnameNjj )}j ]j)}jlocks_translate_pidsbc.locks_translate_pidasbuh1hhjUFhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM@ ubj2)}(h h]h }(hj~FhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjUFhhhj}FhM@ ubjC)}(hlocks_translate_pidh]jI)}(hjzFh]hlocks_translate_pid}(hjFhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjUFhhhj}FhM@ ubj=)}(h5(struct file_lock_core *fl, struct pid_namespace *ns)h](jC)}(hstruct file_lock_core *flh](j )}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjFubj2)}(h h]h }(hjFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubh)}(hhh]jI)}(hfile_lock_coreh]hfile_lock_core}(hjFhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNjj )}j ]jxFc.locks_translate_pidasbuh1hhjFubj2)}(h h]h }(hjFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubj)}(hjh]h*}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubjI)}(hflh]hfl}(hjGhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjFubjC)}(hstruct pid_namespace *nsh](j )}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjGubj2)}(h h]h }(hj(GhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGubh)}(hhh]jI)}(h pid_namespaceh]h pid_namespace}(hj9GhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6Gubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;GmodnameN classnameNjj )}j ]jxFc.locks_translate_pidasbuh1hhjGubj2)}(h h]h }(hjWGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGubj)}(hjh]h*}(hjeGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubjI)}(hnsh]hns}(hjrGhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjFubeh}(h]h ]h"]h$]h&]j`jauh1j<hjUFhhhj}FhM@ ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjQFhhhj}FhM@ ubah}(h]jLFah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj}FhM@ hjNFhhubjw)}(hhh]h)}(h6translate a file_lock's fl_pid number into a namespaceh]h8translate a file_lock’s fl_pid number into a namespace}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM@ hjGhhubah}(h]h ]h"]h$]h&]uh1jvhjNFhhhj}FhM@ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGjjGjjjuh1jhhhjyhNhNubj)}(hX**Parameters** ``struct file_lock_core *fl`` The file_lock who's fl_pid should be translated ``struct pid_namespace *ns`` The namespace into which the pid should be translated **Description** Used to translate a fl_pid into a namespace virtual pid numberh](h)}(h**Parameters**h]j)}(hjGh]h Parameters}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMD hjGubj)}(hhh](j)}(hN``struct file_lock_core *fl`` The file_lock who's fl_pid should be translated h](j)}(h``struct file_lock_core *fl``h]j)}(hjGh]hstruct file_lock_core *fl}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMA hjGubj)}(hhh]h)}(h/The file_lock who's fl_pid should be translatedh]h1The file_lock who’s fl_pid should be translated}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhMA hjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhMA hjGubj)}(hS``struct pid_namespace *ns`` The namespace into which the pid should be translated h](j)}(h``struct pid_namespace *ns``h]j)}(hjHh]hstruct pid_namespace *ns}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMB hjHubj)}(hhh]h)}(h5The namespace into which the pid should be translatedh]h5The namespace into which the pid should be translated}(hj/HhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+HhMB hj,Hubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhj+HhMB hjGubeh}(h]h ]h"]h$]h&]uh1jhjGubh)}(h**Description**h]j)}(hjQHh]h Description}(hjSHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOHubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMD hjGubh)}(h>Used to translate a fl_pid into a namespace virtual pid numberh]h>Used to translate a fl_pid into a namespace virtual pid number}(hjgHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMC hjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjyhhhNhNubeh}(h] file-locksah ]h"] file locksah$]h&]uh1hhhhhhhhK*ubh)}(hhh](h)}(hOther Functionsh]hOther Functions}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhhhhhK3ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j mpage_readahead (C function)c.mpage_readaheadhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hKvoid mpage_readahead (struct readahead_control *rac, get_block_t get_block)h]j)}(hJvoid mpage_readahead(struct readahead_control *rac, get_block_t get_block)h](jf)}(hvoidh]hvoid}(hjHhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjHhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chM@ubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjHhhhjHhM@ubjC)}(hmpage_readaheadh]jI)}(hmpage_readaheadh]hmpage_readahead}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjHubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjHhhhjHhM@ubj=)}(h6(struct readahead_control *rac, get_block_t get_block)h](jC)}(hstruct readahead_control *rach](j )}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjHubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjHubh)}(hhh]jI)}(hreadahead_controlh]hreadahead_control}(hj IhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj ImodnameN classnameNjj )}j ]j)}jjHsbc.mpage_readaheadasbuh1hhjHubj2)}(h h]h }(hj*IhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjHubj)}(hjh]h*}(hj8IhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubjI)}(hrach]hrac}(hjEIhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjHubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjHubjC)}(hget_block_t get_blockh](h)}(hhh]jI)}(h get_block_th]h get_block_t}(hjaIhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj^Iubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcImodnameN classnameNjj )}j ]j&Ic.mpage_readaheadasbuh1hhjZIubj2)}(h h]h }(hjIhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjZIubjI)}(h get_blockh]h get_block}(hjIhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjZIubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjHubeh}(h]h ]h"]h$]h&]j`jauh1j<hjHhhhjHhM@ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjHhhhjHhM@ubah}(h]jHah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjHhM@hjHhhubjw)}(hhh]h)}(hstart reads against pagesh]hstart reads against pages}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chM@hjIhhubah}(h]h ]h"]h$]h&]uh1jvhjHhhhjHhM@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct readahead_control *rac`` Describes which pages to read. ``get_block_t get_block`` The filesystem's block mapper function. **Description** This function walks the pages and the blocks within each page, building and emitting large BIOs. If anything unusual happens, such as: - encountering a page which has buffers - encountering a page which has a non-hole after a hole - encountering a page with non-contiguous blocks then this code just gives up and calls the buffer_head-based read function. It does handle a page which has holes at the end - that is a common case: the end-of-file on blocksize < PAGE_SIZE setups. BH_Boundary explanation: There is a problem. The mpage read code assembles several pages, gets all their disk mappings, and then submits them all. That's fine, but obtaining the disk mappings may require I/O. Reads of indirect blocks, for example. So an mpage read of the first 16 blocks of an ext2 file will cause I/O to be submitted in the following order: 12 0 1 2 3 4 5 6 7 8 9 10 11 13 14 15 16 because the indirect block has to be read to get the mappings of blocks 13,14,15,16. Obviously, this impacts performance. So what we do it to allow the filesystem's get_block() function to set BH_Boundary when it maps block 11. BH_Boundary says: mapping of the block after this one will require I/O against a block which is probably close to this one. So you should push what I/O you have currently accumulated. This all causes the disk requests to be issued in the correct order.h](h)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMDhjIubj)}(hhh](j)}(hA``struct readahead_control *rac`` Describes which pages to read. h](j)}(h!``struct readahead_control *rac``h]j)}(hjIh]hstruct readahead_control *rac}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMAhjIubj)}(hhh]h)}(hDescribes which pages to read.h]hDescribes which pages to read.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj JhMAhjJubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhj JhMAhjIubj)}(hB``get_block_t get_block`` The filesystem's block mapper function. h](j)}(h``get_block_t get_block``h]j)}(hj1Jh]hget_block_t get_block}(hj3JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Jubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMBhj+Jubj)}(hhh]h)}(h'The filesystem's block mapper function.h]h)The filesystem’s block mapper function.}(hjJJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFJhMBhjGJubah}(h]h ]h"]h$]h&]uh1jhj+Jubeh}(h]h ]h"]h$]h&]uh1jhjFJhMBhjIubeh}(h]h ]h"]h$]h&]uh1jhjIubh)}(h**Description**h]j)}(hjlJh]h Description}(hjnJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjJubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMDhjIubh)}(h`This function walks the pages and the blocks within each page, building and emitting large BIOs.h]h`This function walks the pages and the blocks within each page, building and emitting large BIOs.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMChjIubh)}(h%If anything unusual happens, such as:h]h%If anything unusual happens, such as:}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMFhjIubjC)}(hhh](j#C)}(h%encountering a page which has buffersh]h)}(hjJh]h%encountering a page which has buffers}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMHhjJubah}(h]h ]h"]h$]h&]uh1j"ChjJubj#C)}(h5encountering a page which has a non-hole after a holeh]h)}(hjJh]h5encountering a page which has a non-hole after a hole}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMIhjJubah}(h]h ]h"]h$]h&]uh1j"ChjJubj#C)}(h/encountering a page with non-contiguous blocks h]h)}(h.encountering a page with non-contiguous blocksh]h.encountering a page with non-contiguous blocks}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMJhjJubah}(h]h ]h"]h$]h&]uh1j"ChjJubeh}(h]h ]h"]h$]h&]j\Cjuh1jChjJhMHhjIubh)}(hthen this code just gives up and calls the buffer_head-based read function. It does handle a page which has holes at the end - that is a common case: the end-of-file on blocksize < PAGE_SIZE setups.h]hthen this code just gives up and calls the buffer_head-based read function. It does handle a page which has holes at the end - that is a common case: the end-of-file on blocksize < PAGE_SIZE setups.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMLhjIubh)}(hBH_Boundary explanation:h]hBH_Boundary explanation:}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMPhjIubh)}(hThere is a problem. The mpage read code assembles several pages, gets all their disk mappings, and then submits them all. That's fine, but obtaining the disk mappings may require I/O. Reads of indirect blocks, for example.h]hThere is a problem. The mpage read code assembles several pages, gets all their disk mappings, and then submits them all. That’s fine, but obtaining the disk mappings may require I/O. Reads of indirect blocks, for example.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMRhjIubh)}(hnSo an mpage read of the first 16 blocks of an ext2 file will cause I/O to be submitted in the following order:h]hnSo an mpage read of the first 16 blocks of an ext2 file will cause I/O to be submitted in the following order:}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMVhjIubj)}(h)12 0 1 2 3 4 5 6 7 8 9 10 11 13 14 15 16 h]h)}(h(12 0 1 2 3 4 5 6 7 8 9 10 11 13 14 15 16h]h(12 0 1 2 3 4 5 6 7 8 9 10 11 13 14 15 16}(hj2KhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMYhj.Kubah}(h]h ]h"]h$]h&]uh1jhj@KhMYhjIubh)}(hzbecause the indirect block has to be read to get the mappings of blocks 13,14,15,16. Obviously, this impacts performance.h]hzbecause the indirect block has to be read to get the mappings of blocks 13,14,15,16. Obviously, this impacts performance.}(hjGKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chM[hjIubh)}(hX#So what we do it to allow the filesystem's get_block() function to set BH_Boundary when it maps block 11. BH_Boundary says: mapping of the block after this one will require I/O against a block which is probably close to this one. So you should push what I/O you have currently accumulated.h]hX%So what we do it to allow the filesystem’s get_block() function to set BH_Boundary when it maps block 11. BH_Boundary says: mapping of the block after this one will require I/O against a block which is probably close to this one. So you should push what I/O you have currently accumulated.}(hjVKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chM^hjIubh)}(hDThis all causes the disk requests to be issued in the correct order.h]hDThis all causes the disk requests to be issued in the correct order.}(hjeKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMchjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j __mpage_writepages (C function)c.__mpage_writepageshNtauh1hhjHhhhNhNubj)}(hhh](j)}(hint __mpage_writepages (struct address_space *mapping, struct writeback_control *wbc, get_block_t get_block, int (*write_folio)(struct folio *folio, struct writeback_control *wbc))h]j)}(hint __mpage_writepages(struct address_space *mapping, struct writeback_control *wbc, get_block_t get_block, int (*write_folio)(struct folio *folio, struct writeback_control *wbc))h](jf)}(hinth]hint}(hjKhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjKhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMubj2)}(h h]h }(hjKhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjKhhhjKhMubjC)}(h__mpage_writepagesh]jI)}(h__mpage_writepagesh]h__mpage_writepages}(hjKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjKubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjKhhhjKhMubj=)}(h(struct address_space *mapping, struct writeback_control *wbc, get_block_t get_block, int (*write_folio)(struct folio *folio, struct writeback_control *wbc))h](jC)}(hstruct address_space *mappingh](j )}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjKubj2)}(h h]h }(hjKhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjKubh)}(hhh]jI)}(h address_spaceh]h address_space}(hjKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNjj )}j ]j)}jjKsbc.__mpage_writepagesasbuh1hhjKubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjKubj)}(hjh]h*}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubjI)}(hmappingh]hmapping}(hj*LhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjKubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjKubjC)}(hstruct writeback_control *wbch](j )}(hjh]hstruct}(hjCLhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj?Lubj2)}(h h]h }(hjPLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj?Lubh)}(hhh]jI)}(hwriteback_controlh]hwriteback_control}(hjaLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj^Lubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcLmodnameN classnameNjj )}j ]j Lc.__mpage_writepagesasbuh1hhj?Lubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj?Lubj)}(hjh]h*}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?LubjI)}(hwbch]hwbc}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj?Lubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjKubjC)}(hget_block_t get_blockh](h)}(hhh]jI)}(h get_block_th]h get_block_t}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNjj )}j ]j Lc.__mpage_writepagesasbuh1hhjLubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLubjI)}(h get_blockh]h get_block}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjKubjC)}(hFint (*write_folio)(struct folio *folio, struct writeback_control *wbc)h](jf)}(hinth]hint}(hjLhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjLubj2)}(h h]h }(hj MhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLubj)}(hj&h]h(}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(hjh]h*}(hj$MhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubjI)}(h write_folioh]h write_folio}(hj1MhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubj)}(hjOh]h)}(hj?MhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj)}(hj&h]h(}(hjLMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj )}(hjh]hstruct}(hjYMhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjLubj2)}(h h]h }(hjfMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLubh)}(hhh]jI)}(hfolioh]hfolio}(hjwMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjyMmodnameN classnameNjj )}j ]j Lc.__mpage_writepagesasbuh1hhjLubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLubj)}(hjh]h*}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubjI)}(hfolioh]hfolio}(hjMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubj)}(hjh]h,}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLubj )}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjLubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLubh)}(hhh]jI)}(hwriteback_controlh]hwriteback_control}(hjMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNjj )}j ]j Lc.__mpage_writepagesasbuh1hhjLubj2)}(h h]h }(hjNhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLubj)}(hjh]h*}(hj#NhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubjI)}(hwbch]hwbc}(hj0NhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubj)}(hjOh]h)}(hj>NhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjKubeh}(h]h ]h"]h$]h&]j`jauh1j<hjKhhhjKhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjKhhhjKhMubah}(h]jKah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjKhMhjKhhubjw)}(hhh]h)}(hQwalk the list of dirty pages of the given address space & writepage() all of themh]hQwalk the list of dirty pages of the given address space & writepage() all of them}(hjgNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjdNhhubah}(h]h ]h"]h$]h&]uh1jvhjKhhhjKhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct address_space *mapping`` address space structure to write ``struct writeback_control *wbc`` subtract the number of written pages from ***wbc->nr_to_write** ``get_block_t get_block`` the filesystem's block mapper function. ``int (*write_folio)(struct folio *folio, struct writeback_control *wbc)`` handler to call for each folio before calling mpage_write_folio() **Description** This is a library function, which implements the writepages() address_space_operation. It calls **write_folio** handler for each folio. If the handler returns value > 0, it calls mpage_write_folio() to do the folio writeback.h](h)}(h**Parameters**h]j)}(hjNh]h Parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjNubj)}(hhh](j)}(hC``struct address_space *mapping`` address space structure to write h](j)}(h!``struct address_space *mapping``h]j)}(hjNh]hstruct address_space *mapping}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjNubj)}(hhh]h)}(h address space structure to writeh]h address space structure to write}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjNubj)}(hb``struct writeback_control *wbc`` subtract the number of written pages from ***wbc->nr_to_write** h](j)}(h!``struct writeback_control *wbc``h]j)}(hjNh]hstruct writeback_control *wbc}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjNubj)}(hhh]h)}(h?subtract the number of written pages from ***wbc->nr_to_write**h](h*subtract the number of written pages from }(hjNhhhNhNubj)}(h***wbc->nr_to_write**h]h*wbc->nr_to_write}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1hhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjNubj)}(hB``get_block_t get_block`` the filesystem's block mapper function. h](j)}(h``get_block_t get_block``h]j)}(hj(Oh]hget_block_t get_block}(hj*OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&Oubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhj"Oubj)}(hhh]h)}(h'the filesystem's block mapper function.h]h)the filesystem’s block mapper function.}(hjAOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=OhMhj>Oubah}(h]h ]h"]h$]h&]uh1jhj"Oubeh}(h]h ]h"]h$]h&]uh1jhj=OhMhjNubj)}(h``int (*write_folio)(struct folio *folio, struct writeback_control *wbc)`` handler to call for each folio before calling mpage_write_folio() h](j)}(hJ``int (*write_folio)(struct folio *folio, struct writeback_control *wbc)``h]j)}(hjaOh]hFint (*write_folio)(struct folio *folio, struct writeback_control *wbc)}(hjcOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_Oubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhj[Oubj)}(hhh]h)}(hAhandler to call for each folio before calling mpage_write_folio()h]hAhandler to call for each folio before calling mpage_write_folio()}(hjzOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjwOubah}(h]h ]h"]h$]h&]uh1jhj[Oubeh}(h]h ]h"]h$]h&]uh1jhjvOhMhjNubeh}(h]h ]h"]h$]h&]uh1jhjNubh)}(h**Description**h]j)}(hjOh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjNubh)}(hThis is a library function, which implements the writepages() address_space_operation. It calls **write_folio** handler for each folio. If the handler returns value > 0, it calls mpage_write_folio() to do the folio writeback.h](h`This is a library function, which implements the writepages() address_space_operation. It calls }(hjOhhhNhNubj)}(h**write_folio**h]h write_folio}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubhr handler for each folio. If the handler returns value > 0, it calls mpage_write_folio() to do the folio writeback.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j generic_permission (C function)c.generic_permissionhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hOint generic_permission (struct mnt_idmap *idmap, struct inode *inode, int mask)h]j)}(hNint generic_permission(struct mnt_idmap *idmap, struct inode *inode, int mask)h](jf)}(hinth]hint}(hjOhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjOhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj2)}(h h]h }(hjPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjOhhhjPhMubjC)}(hgeneric_permissionh]jI)}(hgeneric_permissionh]hgeneric_permission}(hjPhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjOhhhjPhMubj=)}(h8(struct mnt_idmap *idmap, struct inode *inode, int mask)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hj1PhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj-Pubj2)}(h h]h }(hj>PhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj-Pubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjOPhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQPmodnameN classnameNjj )}j ]j)}jjPsbc.generic_permissionasbuh1hhj-Pubj2)}(h h]h }(hjoPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj-Pubj)}(hjh]h*}(hj}PhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-PubjI)}(hidmaph]hidmap}(hjPhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj-Pubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj)PubjC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjPubj2)}(h h]h }(hjPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPubh)}(hhh]jI)}(hinodeh]hinode}(hjPhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj )}j ]jkPc.generic_permissionasbuh1hhjPubj2)}(h h]h }(hjPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPubj)}(hjh]h*}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubjI)}(hinodeh]hinode}(hjPhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj)PubjC)}(hint maskh](jf)}(hinth]hint}(hjQhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjQubj2)}(h h]h }(hj!QhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjQubjI)}(hmaskh]hmask}(hj/QhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj)Pubeh}(h]h ]h"]h$]h&]j`jauh1j<hjOhhhjPhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjOhhhjPhMubah}(h]jOah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjPhMhjOhhubjw)}(hhh]h)}(h2check for access rights on a Posix-like filesystemh]h2check for access rights on a Posix-like filesystem}(hjYQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjVQhhubah}(h]h ]h"]h$]h&]uh1jvhjOhhhjPhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqQjjqQjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct inode *inode`` inode to check access rights for ``int mask`` right to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``, ``MAY_NOT_BLOCK`` ...) **Description** Used to check for read/write/execute permissions on a file. We use "fsuid" for this, letting us set arbitrary permissions for filesystem access without changing the "normal" uids which are used for other things. generic_permission is rcu-walk aware. It returns -ECHILD in case an rcu-walk request cannot be satisfied (eg. requires blocking or too much complexity). It would then be called again in ref-walk mode. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hj{Qh]h Parameters}(hj}QhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyQubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjuQubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjQh]hstruct mnt_idmap *idmap}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjQubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjQubj)}(h9``struct inode *inode`` inode to check access rights for h](j)}(h``struct inode *inode``h]j)}(hjQh]hstruct inode *inode}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjQubj)}(hhh]h)}(h inode to check access rights forh]h inode to check access rights for}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjQubj)}(hc``int mask`` right to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``, ``MAY_NOT_BLOCK`` ...) h](j)}(h ``int mask``h]j)}(hj Rh]hint mask}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Rubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjRubj)}(hhh]h)}(hUright to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``, ``MAY_NOT_BLOCK`` ...)h](hright to check for (}(hj%RhhhNhNubj)}(h ``MAY_READ``h]hMAY_READ}(hj-RhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Rubh, }(hj%RhhhNhNubj)}(h ``MAY_WRITE``h]h MAY_WRITE}(hj?RhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Rubh, }hj%Rsbj)}(h ``MAY_EXEC``h]hMAY_EXEC}(hjQRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Rubh, }(hj%RhhhNhNubj)}(h``MAY_NOT_BLOCK``h]h MAY_NOT_BLOCK}(hjcRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Rubh ...)}(hj%RhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj"Rubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhj!RhMhjQubeh}(h]h ]h"]h$]h&]uh1jhjuQubh)}(h**Description**h]j)}(hjRh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjuQubh)}(hUsed to check for read/write/execute permissions on a file. We use "fsuid" for this, letting us set arbitrary permissions for filesystem access without changing the "normal" uids which are used for other things.h]hUsed to check for read/write/execute permissions on a file. We use “fsuid” for this, letting us set arbitrary permissions for filesystem access without changing the “normal” uids which are used for other things.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjuQubh)}(hgeneric_permission is rcu-walk aware. It returns -ECHILD in case an rcu-walk request cannot be satisfied (eg. requires blocking or too much complexity). It would then be called again in ref-walk mode.h]hgeneric_permission is rcu-walk aware. It returns -ECHILD in case an rcu-walk request cannot be satisfied (eg. requires blocking or too much complexity). It would then be called again in ref-walk mode.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjuQubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjRhhhNhNubj)}(h **idmap**h]hidmap}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubhB. This function will then take care to map the inode according to }(hjRhhhNhNubj)}(h **idmap**h]hidmap}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjRhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh.}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjuQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j inode_permission (C function)c.inode_permissionhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hMint inode_permission (struct mnt_idmap *idmap, struct inode *inode, int mask)h]j)}(hLint inode_permission(struct mnt_idmap *idmap, struct inode *inode, int mask)h](jf)}(hinth]hint}(hj)ShhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj%ShhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMiubj2)}(h h]h }(hj8ShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%Shhhj7ShMiubjC)}(hinode_permissionh]jI)}(hinode_permissionh]hinode_permission}(hjJShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFSubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj%Shhhj7ShMiubj=)}(h8(struct mnt_idmap *idmap, struct inode *inode, int mask)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjfShhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjbSubj2)}(h h]h }(hjsShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbSubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj )}j ]j)}jjLSsbc.inode_permissionasbuh1hhjbSubj2)}(h h]h }(hjShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbSubj)}(hjh]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbSubjI)}(hidmaph]hidmap}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbSubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj^SubjC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjShhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjSubj2)}(h h]h }(hjShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjSubh)}(hhh]jI)}(hinodeh]hinode}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj )}j ]jSc.inode_permissionasbuh1hhjSubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjSubj)}(hjh]h*}(hj"ThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubjI)}(hinodeh]hinode}(hj/ThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj^SubjC)}(hint maskh](jf)}(hinth]hint}(hjHThhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjDTubj2)}(h h]h }(hjVThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjDTubjI)}(hmaskh]hmask}(hjdThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjDTubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj^Subeh}(h]h ]h"]h$]h&]j`jauh1j<hj%Shhhj7ShMiubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj!Shhhj7ShMiubah}(h]jSah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj7ShMihjShhubjw)}(hhh]h)}(h(Check for access rights to a given inodeh]h(Check for access rights to a given inode}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMihjThhubah}(h]h ]h"]h$]h&]uh1jvhjShhhj7ShMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjjTjjTjjjuh1jhhhjHhNhNubj)}(hX **Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct inode *inode`` Inode to check permission on ``int mask`` Right to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``) **Description** Check for read/write/execute permissions on an inode. We use fs[ug]id for this, letting us set arbitrary permissions for filesystem access without changing the "normal" UIDs which are used for other things. When checking for MAY_APPEND, MAY_WRITE must also be set in **mask**.h](h)}(h**Parameters**h]j)}(hjTh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMmhjTubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjTh]hstruct mnt_idmap *idmap}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMjhjTubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMjhjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThMjhjTubj)}(h5``struct inode *inode`` Inode to check permission on h](j)}(h``struct inode *inode``h]j)}(hjUh]hstruct inode *inode}(hj UhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMkhjUubj)}(hhh]h)}(hInode to check permission onh]hInode to check permission on}(hj!UhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhMkhjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMkhjTubj)}(hL``int mask`` Right to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``) h](j)}(h ``int mask``h]j)}(hjAUh]hint mask}(hjCUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?Uubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMlhj;Uubj)}(hhh]h)}(h>Right to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``)h](hRight to check for (}(hjZUhhhNhNubj)}(h ``MAY_READ``h]hMAY_READ}(hjbUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZUubh, }(hjZUhhhNhNubj)}(h ``MAY_WRITE``h]h MAY_WRITE}(hjtUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZUubh, }hjZUsbj)}(h ``MAY_EXEC``h]hMAY_EXEC}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZUubh)}(hjZUhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjVUhMlhjWUubah}(h]h ]h"]h$]h&]uh1jhj;Uubeh}(h]h ]h"]h$]h&]uh1jhjVUhMlhjTubeh}(h]h ]h"]h$]h&]uh1jhjTubh)}(h**Description**h]j)}(hjUh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMnhjTubh)}(hCheck for read/write/execute permissions on an inode. We use fs[ug]id for this, letting us set arbitrary permissions for filesystem access without changing the "normal" UIDs which are used for other things.h]hCheck for read/write/execute permissions on an inode. We use fs[ug]id for this, letting us set arbitrary permissions for filesystem access without changing the “normal” UIDs which are used for other things.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMmhjTubh)}(hEWhen checking for MAY_APPEND, MAY_WRITE must also be set in **mask**.h](hah"]h$]h&]uh1j1hjVhhhj&VhMubjC)}(hpath_geth]jI)}(hpath_geth]hpath_get}(hj9VhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj5Vubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjVhhhj&VhMubj=)}(h(const struct path *path)h]jC)}(hconst struct path *pathh](j )}(hjh]hconst}(hjUVhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjQVubj2)}(h h]h }(hjbVhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjQVubj )}(hjh]hstruct}(hjpVhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjQVubj2)}(h h]h }(hj}VhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjQVubh)}(hhh]jI)}(hpathh]hpath}(hjVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNjj )}j ]j)}jj;Vsb c.path_getasbuh1hhjQVubj2)}(h h]h }(hjVhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjQVubj)}(hjh]h*}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQVubjI)}(hpathh]hpath}(hjVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQVubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjMVubah}(h]h ]h"]h$]h&]j`jauh1j<hjVhhhj&VhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjVhhhj&VhMubah}(h]j Vah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj&VhMhj Vhhubjw)}(hhh]h)}(hget a reference to a pathh]hget a reference to a path}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjVhhubah}(h]h ]h"]h$]h&]uh1jvhj Vhhhj&VhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj Wjj Wjjjuh1jhhhjHhNhNubj)}(h**Parameters** ``const struct path *path`` path to get the reference to **Description** Given a path increment the reference count to the dentry and the vfsmount.h](h)}(h**Parameters**h]j)}(hjWh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjWubj)}(hhh]j)}(h9``const struct path *path`` path to get the reference to h](j)}(h``const struct path *path``h]j)}(hj4Wh]hconst struct path *path}(hj6WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2Wubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj.Wubj)}(hhh]h)}(hpath to get the reference toh]hpath to get the reference to}(hjMWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIWhMhjJWubah}(h]h ]h"]h$]h&]uh1jhj.Wubeh}(h]h ]h"]h$]h&]uh1jhjIWhMhj+Wubah}(h]h ]h"]h$]h&]uh1jhjWubh)}(h**Description**h]j)}(hjoWh]h Description}(hjqWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmWubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjWubh)}(hJGiven a path increment the reference count to the dentry and the vfsmount.h]hJGiven a path increment the reference count to the dentry and the vfsmount.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j path_put (C function) c.path_puthNtauh1hhjHhhhNhNubj)}(hhh](j)}(h'void path_put (const struct path *path)h]j)}(h&void path_put(const struct path *path)h](jf)}(hvoidh]hvoid}(hjWhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjWhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjWhhhjWhMubjC)}(hpath_puth]jI)}(hpath_puth]hpath_put}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjWhhhjWhMubj=)}(h(const struct path *path)h]jC)}(hconst struct path *pathh](j )}(hjh]hconst}(hjWhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjWubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjWubj )}(hjh]hstruct}(hj XhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjWubj2)}(h h]h }(hjXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjWubh)}(hhh]jI)}(hpathh]hpath}(hj*XhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'Xubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,XmodnameN classnameNjj )}j ]j)}jjWsb c.path_putasbuh1hhjWubj2)}(h h]h }(hjJXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjWubj)}(hjh]h*}(hjXXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubjI)}(hpathh]hpath}(hjeXhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjWubah}(h]h ]h"]h$]h&]j`jauh1j<hjWhhhjWhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjWhhhjWhMubah}(h]jWah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjWhMhjWhhubjw)}(hhh]h)}(hput a reference to a pathh]hput a reference to a path}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjXhhubah}(h]h ]h"]h$]h&]uh1jvhjWhhhjWhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXjjXjjjuh1jhhhjHhNhNubj)}(h**Parameters** ``const struct path *path`` path to put the reference to **Description** Given a path decrement the reference count to the dentry and the vfsmount.h](h)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjXubj)}(hhh]j)}(h9``const struct path *path`` path to put the reference to h](j)}(h``const struct path *path``h]j)}(hjXh]hconst struct path *path}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjXubj)}(hhh]h)}(hpath to put the reference toh]hpath to put the reference to}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjXubh)}(h**Description**h]j)}(hj Yh]h Description}(hj YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Yubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjXubh)}(hJGiven a path decrement the reference count to the dentry and the vfsmount.h]hJGiven a path decrement the reference count to the dentry and the vfsmount.}(hj!YhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j end_dirop (C function) c.end_dirophNtauh1hhjHhhhNhNubj)}(hhh](j)}(h"void end_dirop (struct dentry *de)h]j)}(h!void end_dirop(struct dentry *de)h](jf)}(hvoidh]hvoid}(hjPYhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjLYhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj2)}(h h]h }(hj_YhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLYhhhj^YhM ubjC)}(h end_diroph]jI)}(h end_diroph]h end_dirop}(hjqYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjmYubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjLYhhhj^YhM ubj=)}(h(struct dentry *de)h]jC)}(hstruct dentry *deh](j )}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjYubj2)}(h h]h }(hjYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubh)}(hhh]jI)}(hdentryh]hdentry}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj )}j ]j)}jjsYsb c.end_diropasbuh1hhjYubj2)}(h h]h }(hjYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubj)}(hjh]h*}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubjI)}(hdeh]hde}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjYubah}(h]h ]h"]h$]h&]j`jauh1j<hjLYhhhj^YhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjHYhhhj^YhM ubah}(h]jCYah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj^YhM hjEYhhubjw)}(hhh]h)}(hsignal completion of a diroph]hsignal completion of a dirop}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj Zhhubah}(h]h ]h"]h$]h&]uh1jvhjEYhhhj^YhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(Zjj(Zjjjuh1jhhhjHhNhNubj)}(h**Parameters** ``struct dentry *de`` the dentry which was returned by start_dirop or similar. **Description** If the de is an error, nothing happens. Otherwise any lock taken to protect the dentry is dropped and the dentry itself is release (dput()).h](h)}(h**Parameters**h]j)}(hj2Zh]h Parameters}(hj4ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0Zubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj,Zubj)}(hhh]j)}(hO``struct dentry *de`` the dentry which was returned by start_dirop or similar. h](j)}(h``struct dentry *de``h]j)}(hjQZh]hstruct dentry *de}(hjSZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOZubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjKZubj)}(hhh]h)}(h8the dentry which was returned by start_dirop or similar.h]h8the dentry which was returned by start_dirop or similar.}(hjjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfZhM hjgZubah}(h]h ]h"]h$]h&]uh1jhjKZubeh}(h]h ]h"]h$]h&]uh1jhjfZhM hjHZubah}(h]h ]h"]h$]h&]uh1jhj,Zubh)}(h**Description**h]j)}(hjZh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj,Zubh)}(hIf the de is an error, nothing happens. Otherwise any lock taken to protect the dentry is dropped and the dentry itself is release (dput()).h]hIf the de is an error, nothing happens. Otherwise any lock taken to protect the dentry is dropped and the dentry itself is release (dput()).}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj,Zubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j #vfs_path_parent_lookup (C function)c.vfs_path_parent_lookuphNtauh1hhjHhhhNhNubj)}(hhh](j)}(hint vfs_path_parent_lookup (struct filename *filename, unsigned int flags, struct path *parent, struct qstr *last, const struct path *root)h]j)}(hint vfs_path_parent_lookup(struct filename *filename, unsigned int flags, struct path *parent, struct qstr *last, const struct path *root)h](jf)}(hinth]hint}(hjZhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjZhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjZhhhjZhM ubjC)}(hvfs_path_parent_lookuph]jI)}(hvfs_path_parent_lookuph]hvfs_path_parent_lookup}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjZubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjZhhhjZhM ubj=)}(hp(struct filename *filename, unsigned int flags, struct path *parent, struct qstr *last, const struct path *root)h](jC)}(hstruct filename *filenameh](j )}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj [ubj2)}(h h]h }(hj[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj [ubh)}(hhh]jI)}(hfilenameh]hfilename}(hj,[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.[modnameN classnameNjj )}j ]j)}jjZsbc.vfs_path_parent_lookupasbuh1hhj [ubj2)}(h h]h }(hjL[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj [ubj)}(hjh]h*}(hjZ[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj [ubjI)}(hfilenameh]hfilename}(hjg[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj [ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj[ubjC)}(hunsigned int flagsh](jf)}(hunsignedh]hunsigned}(hj[hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj|[ubj2)}(h h]h }(hj[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|[ubjf)}(hinth]hint}(hj[hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj|[ubj2)}(h h]h }(hj[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|[ubjI)}(hflagsh]hflags}(hj[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|[ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj[ubjC)}(hstruct path *parenth](j )}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj[ubj2)}(h h]h }(hj[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj[ubh)}(hhh]jI)}(hpathh]hpath}(hj[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNjj )}j ]jH[c.vfs_path_parent_lookupasbuh1hhj[ubj2)}(h h]h }(hj \hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj[ubj)}(hjh]h*}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubjI)}(hparenth]hparent}(hj(\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj[ubjC)}(hstruct qstr *lasth](j )}(hjh]hstruct}(hjA\hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj=\ubj2)}(h h]h }(hjN\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=\ubh)}(hhh]jI)}(hqstrh]hqstr}(hj_\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetja\modnameN classnameNjj )}j ]jH[c.vfs_path_parent_lookupasbuh1hhj=\ubj2)}(h h]h }(hj}\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=\ubj)}(hjh]h*}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=\ubjI)}(hlasth]hlast}(hj\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj=\ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj[ubjC)}(hconst struct path *rooth](j )}(hjh]hconst}(hj\hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj\ubj2)}(h h]h }(hj\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\ubj )}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj\ubj2)}(h h]h }(hj\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\ubh)}(hhh]jI)}(hpathh]hpath}(hj\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj )}j ]jH[c.vfs_path_parent_lookupasbuh1hhj\ubj2)}(h h]h }(hj]hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\ubj)}(hjh]h*}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubjI)}(hrooth]hroot}(hj#]hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj[ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjZhhhjZhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjZhhhjZhM ubah}(h]jZah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjZhM hjZhhubjw)}(hhh]h)}(h7lookup a parent path relative to a dentry-vfsmount pairh]h7lookup a parent path relative to a dentry-vfsmount pair}(hjM]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjJ]hhubah}(h]h ]h"]h$]h&]uh1jvhjZhhhjZhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjje]jje]jjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct filename *filename`` filename structure ``unsigned int flags`` lookup flags ``struct path *parent`` pointer to struct path to fill ``struct qstr *last`` last component ``const struct path *root`` pointer to struct path of the base directoryh](h)}(h**Parameters**h]j)}(hjo]h]h Parameters}(hjq]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm]ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hji]ubj)}(hhh](j)}(h1``struct filename *filename`` filename structure h](j)}(h``struct filename *filename``h]j)}(hj]h]hstruct filename *filename}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj]ubj)}(hhh]h)}(hfilename structureh]hfilename structure}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hM hj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hM hj]ubj)}(h$``unsigned int flags`` lookup flags h](j)}(h``unsigned int flags``h]j)}(hj]h]hunsigned int flags}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj]ubj)}(hhh]h)}(h lookup flagsh]h lookup flags}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hM hj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hM hj]ubj)}(h7``struct path *parent`` pointer to struct path to fill h](j)}(h``struct path *parent``h]j)}(hj^h]hstruct path *parent}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj]ubj)}(hhh]h)}(hpointer to struct path to fillh]hpointer to struct path to fill}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hM hj^ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj^hM hj]ubj)}(h%``struct qstr *last`` last component h](j)}(h``struct qstr *last``h]j)}(hj9^h]hstruct qstr *last}(hj;^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7^ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj3^ubj)}(hhh]h)}(hlast componenth]hlast component}(hjR^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjN^hM hjO^ubah}(h]h ]h"]h$]h&]uh1jhj3^ubeh}(h]h ]h"]h$]h&]uh1jhjN^hM hj]ubj)}(hH``const struct path *root`` pointer to struct path of the base directoryh](j)}(h``const struct path *root``h]j)}(hjr^h]hconst struct path *root}(hjt^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp^ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjl^ubj)}(hhh]h)}(h,pointer to struct path of the base directoryh]h,pointer to struct path of the base directory}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj^ubah}(h]h ]h"]h$]h&]uh1jhjl^ubeh}(h]h ]h"]h$]h&]uh1jhj^hM hj]ubeh}(h]h ]h"]h$]h&]uh1jhji]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_path_lookup (C function)c.vfs_path_lookuphNtauh1hhjHhhhNhNubj)}(hhh](j)}(hzint vfs_path_lookup (struct dentry *dentry, struct vfsmount *mnt, const char *name, unsigned int flags, struct path *path)h]j)}(hyint vfs_path_lookup(struct dentry *dentry, struct vfsmount *mnt, const char *name, unsigned int flags, struct path *path)h](jf)}(hinth]hint}(hj^hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj^hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj2)}(h h]h }(hj^hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj^hhhj^hM ubjC)}(hvfs_path_lookuph]jI)}(hvfs_path_lookuph]hvfs_path_lookup}(hj^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj^ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj^hhhj^hM ubj=)}(hf(struct dentry *dentry, struct vfsmount *mnt, const char *name, unsigned int flags, struct path *path)h](jC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hj _hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj_ubj2)}(h h]h }(hj_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_ubh)}(hhh]jI)}(hdentryh]hdentry}(hj'_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)_modnameN classnameNjj )}j ]j)}jj^sbc.vfs_path_lookupasbuh1hhj_ubj2)}(h h]h }(hjG_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_ubj)}(hjh]h*}(hjU_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubjI)}(hdentryh]hdentry}(hjb_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj_ubjC)}(hstruct vfsmount *mnth](j )}(hjh]hstruct}(hj{_hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjw_ubj2)}(h h]h }(hj_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjw_ubh)}(hhh]jI)}(hvfsmounth]hvfsmount}(hj_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNjj )}j ]jC_c.vfs_path_lookupasbuh1hhjw_ubj2)}(h h]h }(hj_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjw_ubj)}(hjh]h*}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjw_ubjI)}(hmnth]hmnt}(hj_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjw_ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj_ubjC)}(hconst char *nameh](j )}(hjh]hconst}(hj_hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj_ubj2)}(h h]h }(hj_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_ubjf)}(hcharh]hchar}(hj`hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj_ubj2)}(h h]h }(hj`hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_ubj)}(hjh]h*}(hj"`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubjI)}(hnameh]hname}(hj/`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj_ubjC)}(hunsigned int flagsh](jf)}(hunsignedh]hunsigned}(hjH`hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjD`ubj2)}(h h]h }(hjV`hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjD`ubjf)}(hinth]hint}(hjd`hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjD`ubj2)}(h h]h }(hjr`hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjD`ubjI)}(hflagsh]hflags}(hj`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjD`ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj_ubjC)}(hstruct path *pathh](j )}(hjh]hstruct}(hj`hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj`ubj2)}(h h]h }(hj`hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj`ubh)}(hhh]jI)}(hpathh]hpath}(hj`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNjj )}j ]jC_c.vfs_path_lookupasbuh1hhj`ubj2)}(h h]h }(hj`hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj`ubj)}(hjh]h*}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubjI)}(hpathh]hpath}(hj`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj_ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj^hhhj^hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj^hhhj^hM ubah}(h]j^ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj^hM hj^hhubjw)}(hhh]h)}(h5lookup a file path relative to a dentry-vfsmount pairh]h5lookup a file path relative to a dentry-vfsmount pair}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjahhubah}(h]h ]h"]h$]h&]uh1jvhj^hhhj^hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2ajj2ajjjuh1jhhhjHhNhNubj)}(hX&**Parameters** ``struct dentry *dentry`` pointer to dentry of the base directory ``struct vfsmount *mnt`` pointer to vfs mount of the base directory ``const char *name`` pointer to file name ``unsigned int flags`` lookup flags ``struct path *path`` pointer to struct path to fillh](h)}(h**Parameters**h]j)}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:aubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj6aubj)}(hhh](j)}(hB``struct dentry *dentry`` pointer to dentry of the base directory h](j)}(h``struct dentry *dentry``h]j)}(hj[ah]hstruct dentry *dentry}(hj]ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYaubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjUaubj)}(hhh]h)}(h'pointer to dentry of the base directoryh]h'pointer to dentry of the base directory}(hjtahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjpahM hjqaubah}(h]h ]h"]h$]h&]uh1jhjUaubeh}(h]h ]h"]h$]h&]uh1jhjpahM hjRaubj)}(hD``struct vfsmount *mnt`` pointer to vfs mount of the base directory h](j)}(h``struct vfsmount *mnt``h]j)}(hjah]hstruct vfsmount *mnt}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjaubj)}(hhh]h)}(h*pointer to vfs mount of the base directoryh]h*pointer to vfs mount of the base directory}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahM hjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahM hjRaubj)}(h*``const char *name`` pointer to file name h](j)}(h``const char *name``h]j)}(hjah]hconst char *name}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjaubj)}(hhh]h)}(hpointer to file nameh]hpointer to file name}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahM hjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahM hjRaubj)}(h$``unsigned int flags`` lookup flags h](j)}(h``unsigned int flags``h]j)}(hjbh]hunsigned int flags}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjbubj)}(hhh]h)}(h lookup flagsh]h lookup flags}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhM hjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhM hjRaubj)}(h4``struct path *path`` pointer to struct path to fillh](j)}(h``struct path *path``h]j)}(hj?bh]hstruct path *path}(hjAbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=bubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj9bubj)}(hhh]h)}(hpointer to struct path to fillh]hpointer to struct path to fill}(hjXbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjUbubah}(h]h ]h"]h$]h&]uh1jhj9bubeh}(h]h ]h"]h$]h&]uh1jhjTbhM hjRaubeh}(h]h ]h"]h$]h&]uh1jhj6aubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j try_lookup_noperm (C function)c.try_lookup_nopermhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hJstruct dentry * try_lookup_noperm (struct qstr *name, struct dentry *base)h]j)}(hHstruct dentry *try_lookup_noperm(struct qstr *name, struct dentry *base)h](j )}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjbhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM5 ubj2)}(h h]h }(hjbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbhhhjbhM5 ubh)}(hhh]jI)}(hdentryh]hdentry}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNjj )}j ]j)}jtry_lookup_nopermsbc.try_lookup_nopermasbuh1hhjbhhhjbhM5 ubj2)}(h h]h }(hjbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbhhhjbhM5 ubj)}(hjh]h*}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbhhhjbhM5 ubjC)}(htry_lookup_nopermh]jI)}(hjbh]htry_lookup_noperm}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjbhhhjbhM5 ubj=)}(h((struct qstr *name, struct dentry *base)h](jC)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hjchhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjcubj2)}(h h]h }(hj chhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubh)}(hhh]jI)}(hqstrh]hqstr}(hj1chhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj.cubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3cmodnameN classnameNjj )}j ]jbc.try_lookup_nopermasbuh1hhjcubj2)}(h h]h }(hjOchhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubj)}(hjh]h*}(hj]chhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubjI)}(hnameh]hname}(hjjchhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjcubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj cubjC)}(hstruct dentry *baseh](j )}(hjh]hstruct}(hjchhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjcubj2)}(h h]h }(hjchhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubh)}(hhh]jI)}(hdentryh]hdentry}(hjchhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNjj )}j ]jbc.try_lookup_nopermasbuh1hhjcubj2)}(h h]h }(hjchhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubj)}(hjh]h*}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubjI)}(hbaseh]hbase}(hjchhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjcubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj cubeh}(h]h ]h"]h$]h&]j`jauh1j<hjbhhhjbhM5 ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjbhhhjbhM5 ubah}(h]jbah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjbhM5 hjbhhubjw)}(hhh]h)}(h5filesystem helper to lookup single pathname componenth]h5filesystem helper to lookup single pathname component}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM5 hjdhhubah}(h]h ]h"]h$]h&]uh1jvhjbhhhjbhM5 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdjjdjjjuh1jhhhjHhNhNubj)}(hX?**Parameters** ``struct qstr *name`` qstr storing pathname component to lookup ``struct dentry *base`` base directory to lookup from **Description** Look up a dentry by name in the dcache, returning NULL if it does not currently exist or an error if there is a problem with the name. The function does not try to create a dentry and if one is found it doesn't try to revalidate it. Note that this routine is purely a helper for filesystem usage and should not be called by generic code. It does no permission checking. No locks need be held - only a counted reference to **base** is needed. **Return** - ref-counted dentry on success, or - ``NULL`` if name could not be found, or - ERR_PTR(-EACCES) if name is dot or dotdot or contains a slash or nul, or - ERR_PTR() if fs provide ->d_hash, and this returned an error.h](h)}(h**Parameters**h]j)}(hj&dh]h Parameters}(hj(dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$dubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM9 hj dubj)}(hhh](j)}(h@``struct qstr *name`` qstr storing pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjEdh]hstruct qstr *name}(hjGdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCdubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM6 hj?dubj)}(hhh]h)}(h)qstr storing pathname component to lookuph]h)qstr storing pathname component to lookup}(hj^dhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZdhM6 hj[dubah}(h]h ]h"]h$]h&]uh1jhj?dubeh}(h]h ]h"]h$]h&]uh1jhjZdhM6 hjd_hash, and this returned an error.h]h)}(hjeh]h=ERR_PTR() if fs provide ->d_hash, and this returned an error.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMF hjeubah}(h]h ]h"]h$]h&]uh1j"Chj&eubeh}(h]h ]h"]h$]h&]j\Cjuh1jChj:ehMC hj dubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j lookup_noperm (C function)c.lookup_nopermhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hFstruct dentry * lookup_noperm (struct qstr *name, struct dentry *base)h]j)}(hDstruct dentry *lookup_noperm(struct qstr *name, struct dentry *base)h](j )}(hjh]hstruct}(hjehhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjehhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMV ubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjehhhjehMV ubh)}(hhh]jI)}(hdentryh]hdentry}(hjehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj )}j ]j)}j lookup_nopermsbc.lookup_nopermasbuh1hhjehhhjehMV ubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjehhhjehMV ubj)}(hjh]h*}(hj fhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjehhhjehMV ubjC)}(h lookup_nopermh]jI)}(hjeh]h lookup_noperm}(hjfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjfubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjehhhjehMV ubj=)}(h((struct qstr *name, struct dentry *base)h](jC)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hj7fhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj3fubj2)}(h h]h }(hjDfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj3fubh)}(hhh]jI)}(hqstrh]hqstr}(hjUfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWfmodnameN classnameNjj )}j ]jec.lookup_nopermasbuh1hhj3fubj2)}(h h]h }(hjsfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj3fubj)}(hjh]h*}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3fubjI)}(hnameh]hname}(hjfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3fubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj/fubjC)}(hstruct dentry *baseh](j )}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjfubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjfubh)}(hhh]jI)}(hdentryh]hdentry}(hjfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj )}j ]jec.lookup_nopermasbuh1hhjfubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjfubj)}(hjh]h*}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubjI)}(hbaseh]hbase}(hjfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjfubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj/fubeh}(h]h ]h"]h$]h&]j`jauh1j<hjehhhjehMV ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjehhhjehMV ubah}(h]jeah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjehMV hjehhubjw)}(hhh]h)}(h5filesystem helper to lookup single pathname componenth]h5filesystem helper to lookup single pathname component}(hj(ghhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMV hj%ghhubah}(h]h ]h"]h$]h&]uh1jvhjehhhjehMV ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@gjj@gjjjuh1jhhhjHhNhNubj)}(hXK**Parameters** ``struct qstr *name`` qstr storing pathname component to lookup ``struct dentry *base`` base directory to lookup from **Description** Note that this routine is purely a helper for filesystem usage and should not be called by generic code. It does no permission checking. The caller must hold base->i_rwsem.h](h)}(h**Parameters**h]j)}(hjJgh]h Parameters}(hjLghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHgubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMZ hjDgubj)}(hhh](j)}(h@``struct qstr *name`` qstr storing pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjigh]hstruct qstr *name}(hjkghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjggubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMW hjcgubj)}(hhh]h)}(h)qstr storing pathname component to lookuph]h)qstr storing pathname component to lookup}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~ghMW hjgubah}(h]h ]h"]h$]h&]uh1jhjcgubeh}(h]h ]h"]h$]h&]uh1jhj~ghMW hj`gubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjgh]hstruct dentry *base}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMX hjgubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghMX hjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghMX hj`gubeh}(h]h ]h"]h$]h&]uh1jhjDgubh)}(h**Description**h]j)}(hjgh]h Description}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMZ hjDgubh)}(hNote that this routine is purely a helper for filesystem usage and should not be called by generic code. It does no permission checking.h]hNote that this routine is purely a helper for filesystem usage and should not be called by generic code. It does no permission checking.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMY hjDgubh)}(h#The caller must hold base->i_rwsem.h]h#The caller must hold base->i_rwsem.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM\ hjDgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j lookup_one (C function) c.lookup_onehNtauh1hhjHhhhNhNubj)}(hhh](j)}(h\struct dentry * lookup_one (struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h]j)}(hZstruct dentry *lookup_one(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j )}(hjh]hstruct}(hj1hhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj-hhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMp ubj2)}(h h]h }(hj?hhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj-hhhhj>hhMp ubh)}(hhh]jI)}(hdentryh]hdentry}(hjPhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRhmodnameN classnameNjj )}j ]j)}j lookup_onesb c.lookup_oneasbuh1hhj-hhhhj>hhMp ubj2)}(h h]h }(hjqhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj-hhhhj>hhMp ubj)}(hjh]h*}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-hhhhj>hhMp ubjC)}(h lookup_oneh]jI)}(hjnhh]h lookup_one}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj-hhhhj>hhMp ubj=)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhubj2)}(h h]h }(hjhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj )}j ]jlh c.lookup_oneasbuh1hhjhubj2)}(h h]h }(hjhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubj)}(hjh]h*}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubjI)}(hidmaph]hidmap}(hjihhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjhubjC)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hjihhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjiubj2)}(h h]h }(hj(ihhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjiubh)}(hhh]jI)}(hqstrh]hqstr}(hj9ihhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6iubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;imodnameN classnameNjj )}j ]jlh c.lookup_oneasbuh1hhjiubj2)}(h h]h }(hjWihhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjiubj)}(hjh]h*}(hjeihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubjI)}(hnameh]hname}(hjrihhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjhubjC)}(hstruct dentry *baseh](j )}(hjh]hstruct}(hjihhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjiubj2)}(h h]h }(hjihhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjiubh)}(hhh]jI)}(hdentryh]hdentry}(hjihhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNjj )}j ]jlh c.lookup_oneasbuh1hhjiubj2)}(h h]h }(hjihhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjiubj)}(hjh]h*}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubjI)}(hbaseh]hbase}(hjihhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjhubeh}(h]h ]h"]h$]h&]j`jauh1j<hj-hhhhj>hhMp ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj)hhhhj>hhMp ubah}(h]j$hah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj>hhMp hj&hhhubjw)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hj jhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMp hj jhhubah}(h]h ]h"]h$]h&]uh1jvhj&hhhhj>hhMp ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jjj$jjjjuh1jhhhjHhNhNubj)}(hXX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the lookup is performed from ``struct qstr *name`` qstr holding pathname component to lookup ``struct dentry *base`` base directory to lookup from **Description** This can be used for in-kernel filesystem clients such as file servers. The caller must hold base->i_rwsem.h](h)}(h**Parameters**h]j)}(hj.jh]h Parameters}(hj0jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,jubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMt hj(jubj)}(hhh](j)}(hL``struct mnt_idmap *idmap`` idmap of the mount the lookup is performed from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjMjh]hstruct mnt_idmap *idmap}(hjOjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMq hjGjubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hjfjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbjhMq hjcjubah}(h]h ]h"]h$]h&]uh1jhjGjubeh}(h]h ]h"]h$]h&]uh1jhjbjhMq hjDjubj)}(h@``struct qstr *name`` qstr holding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjjh]hstruct qstr *name}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMr hjjubj)}(hhh]h)}(h)qstr holding pathname component to lookuph]h)qstr holding pathname component to lookup}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMr hjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMr hjDjubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjjh]hstruct dentry *base}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMs hjjubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMs hjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMs hjDjubeh}(h]h ]h"]h$]h&]uh1jhj(jubh)}(h**Description**h]j)}(hjjh]h Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMu hj(jubh)}(hGThis can be used for in-kernel filesystem clients such as file servers.h]hGThis can be used for in-kernel filesystem clients such as file servers.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMt hj(jubh)}(h#The caller must hold base->i_rwsem.h]h#The caller must hold base->i_rwsem.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMv hj(jubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  lookup_one_unlocked (C function)c.lookup_one_unlockedhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hestruct dentry * lookup_one_unlocked (struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h]j)}(hcstruct dentry *lookup_one_unlocked(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j )}(hjh]hstruct}(hjNkhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjJkhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj2)}(h h]h }(hj\khhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJkhhhj[khM ubh)}(hhh]jI)}(hdentryh]hdentry}(hjmkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjokmodnameN classnameNjj )}j ]j)}jlookup_one_unlockedsbc.lookup_one_unlockedasbuh1hhjJkhhhj[khM ubj2)}(h h]h }(hjkhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJkhhhj[khM ubj)}(hjh]h*}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJkhhhj[khM ubjC)}(hlookup_one_unlockedh]jI)}(hjkh]hlookup_one_unlocked}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjkubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjJkhhhj[khM ubj=)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjkubj2)}(h h]h }(hjkhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNjj )}j ]jkc.lookup_one_unlockedasbuh1hhjkubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkubj)}(hjh]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubjI)}(hidmaph]hidmap}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjkubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjkubjC)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hj8lhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj4lubj2)}(h h]h }(hjElhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4lubh)}(hhh]jI)}(hqstrh]hqstr}(hjVlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXlmodnameN classnameNjj )}j ]jkc.lookup_one_unlockedasbuh1hhj4lubj2)}(h h]h }(hjtlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4lubj)}(hjh]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4lubjI)}(hnameh]hname}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4lubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjkubjC)}(hstruct dentry *baseh](j )}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjlubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjlubh)}(hhh]jI)}(hdentryh]hdentry}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj )}j ]jkc.lookup_one_unlockedasbuh1hhjlubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjlubj)}(hjh]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubjI)}(hbaseh]hbase}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjkubeh}(h]h ]h"]h$]h&]j`jauh1j<hjJkhhhj[khM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjFkhhhj[khM ubah}(h]jAkah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj[khM hjCkhhubjw)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hj)mhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj&mhhubah}(h]h ]h"]h$]h&]uh1jvhjCkhhhj[khM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAmjjAmjjjuh1jhhhjHhNhNubj)}(hXm**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the lookup is performed from ``struct qstr *name`` qstr olding pathname component to lookup ``struct dentry *base`` base directory to lookup from **Description** This can be used for in-kernel filesystem clients such as file servers. Unlike lookup_one, it should be called without the parent i_rwsem held, and will take the i_rwsem itself if necessary. **Return** - A dentry, possibly negative, or - same errors as try_lookup_noperm() or - ERR_PTR(-ENOENT) if parent has been removed, or - ERR_PTR(-EACCES) if parent directory is not searchable.h](h)}(h**Parameters**h]j)}(hjKmh]h Parameters}(hjMmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjImubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjEmubj)}(hhh](j)}(hL``struct mnt_idmap *idmap`` idmap of the mount the lookup is performed from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjjmh]hstruct mnt_idmap *idmap}(hjlmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhmubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjdmubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhM hjmubah}(h]h ]h"]h$]h&]uh1jhjdmubeh}(h]h ]h"]h$]h&]uh1jhjmhM hjamubj)}(h?``struct qstr *name`` qstr olding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjmh]hstruct qstr *name}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjmubj)}(hhh]h)}(h(qstr olding pathname component to lookuph]h(qstr olding pathname component to lookup}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhM hjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhM hjamubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjmh]hstruct dentry *base}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjmubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhM hjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhM hjamubeh}(h]h ]h"]h$]h&]uh1jhjEmubh)}(h**Description**h]j)}(hjnh]h Description}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjEmubh)}(hGThis can be used for in-kernel filesystem clients such as file servers.h]hGThis can be used for in-kernel filesystem clients such as file servers.}(hj-nhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjEmubh)}(hvUnlike lookup_one, it should be called without the parent i_rwsem held, and will take the i_rwsem itself if necessary.h]hvUnlike lookup_one, it should be called without the parent i_rwsem held, and will take the i_rwsem itself if necessary.}(hjah"]h$]h&]uh1j1hjnhhhjnhM ubh)}(hhh]jI)}(hdentryh]hdentry}(hj ohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj omodnameN classnameNjj )}j ]j)}jlookup_one_positive_killablesbc.lookup_one_positive_killableasbuh1hhjnhhhjnhM ubj2)}(h h]h }(hj,ohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjnhhhjnhM ubj)}(hjh]h*}(hj:ohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnhhhjnhM ubjC)}(hlookup_one_positive_killableh]jI)}(hj)oh]hlookup_one_positive_killable}(hjKohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGoubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjnhhhjnhM ubj=)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjfohhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjboubj2)}(h h]h }(hjsohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjboubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNjj )}j ]j'oc.lookup_one_positive_killableasbuh1hhjboubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjboubj)}(hjh]h*}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjboubjI)}(hidmaph]hidmap}(hjohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjboubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj^oubjC)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hjohhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjoubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjoubh)}(hhh]jI)}(hqstrh]hqstr}(hjohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNjj )}j ]j'oc.lookup_one_positive_killableasbuh1hhjoubj2)}(h h]h }(hjphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjoubj)}(hjh]h*}(hj phhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubjI)}(hnameh]hname}(hj-phhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj^oubjC)}(hstruct dentry *baseh](j )}(hjh]hstruct}(hjFphhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjBpubj2)}(h h]h }(hjSphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBpubh)}(hhh]jI)}(hdentryh]hdentry}(hjdphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjapubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfpmodnameN classnameNjj )}j ]j'oc.lookup_one_positive_killableasbuh1hhjBpubj2)}(h h]h }(hjphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBpubj)}(hjh]h*}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBpubjI)}(hbaseh]hbase}(hjphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBpubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj^oubeh}(h]h ]h"]h$]h&]j`jauh1j<hjnhhhjnhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjnhhhjnhM ubah}(h]jnah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjnhM hjnhhubjw)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjphhubah}(h]h ]h"]h$]h&]uh1jvhjnhhhjnhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjpjjpjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the lookup is performed from ``struct qstr *name`` qstr olding pathname component to lookup ``struct dentry *base`` base directory to lookup from **Description** This helper will yield ERR_PTR(-ENOENT) on negatives. The helper returns known positive or ERR_PTR(). This is what most of the users want. Note that pinned negative with unlocked parent _can_ become positive at any time, so callers of lookup_one_unlocked() need to be very careful; pinned positives have >d_inode stable, so this one avoids such problems. This can be used for in-kernel filesystem clients such as file servers. It should be called without the parent i_rwsem held, and will take the i_rwsem itself if necessary. If a fatal signal is pending or delivered, it will return ``-EINTR`` if the lock is needed. **Return** A dentry, possibly negative, or - same errors as lookup_one_unlocked() or - ERR_PTR(-EINTR) if a fatal signal is pending.h](h)}(h**Parameters**h]j)}(hjph]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjpubj)}(hhh](j)}(hL``struct mnt_idmap *idmap`` idmap of the mount the lookup is performed from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjqh]hstruct mnt_idmap *idmap}(hj qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjqubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hj!qhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhM hjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhM hjpubj)}(h?``struct qstr *name`` qstr olding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjAqh]hstruct qstr *name}(hjCqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?qubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj;qubj)}(hhh]h)}(h(qstr olding pathname component to lookuph]h(qstr olding pathname component to lookup}(hjZqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVqhM hjWqubah}(h]h ]h"]h$]h&]uh1jhj;qubeh}(h]h ]h"]h$]h&]uh1jhjVqhM hjpubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjzqh]hstruct dentry *base}(hj|qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxqubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjtqubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhM hjqubah}(h]h ]h"]h$]h&]uh1jhjtqubeh}(h]h ]h"]h$]h&]uh1jhjqhM hjpubeh}(h]h ]h"]h$]h&]uh1jhjpubh)}(h**Description**h]j)}(hjqh]h Description}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjpubh)}(hThis helper will yield ERR_PTR(-ENOENT) on negatives. The helper returns known positive or ERR_PTR(). This is what most of the users want.h]hThis helper will yield ERR_PTR(-ENOENT) on negatives. The helper returns known positive or ERR_PTR(). This is what most of the users want.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjpubh)}(hNote that pinned negative with unlocked parent _can_ become positive at any time, so callers of lookup_one_unlocked() need to be very careful; pinned positives have >d_inode stable, so this one avoids such problems.h]hNote that pinned negative with unlocked parent _can_ become positive at any time, so callers of lookup_one_unlocked() need to be very careful; pinned positives have >d_inode stable, so this one avoids such problems.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjpubh)}(hGThis can be used for in-kernel filesystem clients such as file servers.h]hGThis can be used for in-kernel filesystem clients such as file servers.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjpubh)}(hIt should be called without the parent i_rwsem held, and will take the i_rwsem itself if necessary. If a fatal signal is pending or delivered, it will return ``-EINTR`` if the lock is needed.h](hIt should be called without the parent i_rwsem held, and will take the i_rwsem itself if necessary. If a fatal signal is pending or delivered, it will return }(hjqhhhNhNubj)}(h ``-EINTR``h]h-EINTR}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh if the lock is needed.}(hjqhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjpubh)}(h **Return**h]j)}(hjrh]hReturn}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjpubh)}(hyA dentry, possibly negative, or - same errors as lookup_one_unlocked() or - ERR_PTR(-EINTR) if a fatal signal is pending.h]hyA dentry, possibly negative, or - same errors as lookup_one_unlocked() or - ERR_PTR(-EINTR) if a fatal signal is pending.}(hj1rhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j )lookup_one_positive_unlocked (C function)c.lookup_one_positive_unlockedhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hnstruct dentry * lookup_one_positive_unlocked (struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h]j)}(hlstruct dentry *lookup_one_positive_unlocked(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j )}(hjh]hstruct}(hj`rhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj\rhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj2)}(h h]h }(hjnrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\rhhhjmrhM ubh)}(hhh]jI)}(hdentryh]hdentry}(hjrhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|rubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNjj )}j ]j)}jlookup_one_positive_unlockedsbc.lookup_one_positive_unlockedasbuh1hhj\rhhhjmrhM ubj2)}(h h]h }(hjrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\rhhhjmrhM ubj)}(hjh]h*}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\rhhhjmrhM ubjC)}(hlookup_one_positive_unlockedh]jI)}(hjrh]hlookup_one_positive_unlocked}(hjrhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjrubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj\rhhhjmrhM ubj=)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjrubj2)}(h h]h }(hjrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjrubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjrhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNjj )}j ]jrc.lookup_one_positive_unlockedasbuh1hhjrubj2)}(h h]h }(hjshhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjrubj)}(hjh]h*}(hj$shhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubjI)}(hidmaph]hidmap}(hj1shhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjrubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjrubjC)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hjJshhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjFsubj2)}(h h]h }(hjWshhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFsubh)}(hhh]jI)}(hqstrh]hqstr}(hjhshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjesubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjsmodnameN classnameNjj )}j ]jrc.lookup_one_positive_unlockedasbuh1hhjFsubj2)}(h h]h }(hjshhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFsubj)}(hjh]h*}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFsubjI)}(hnameh]hname}(hjshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFsubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjrubjC)}(hstruct dentry *baseh](j )}(hjh]hstruct}(hjshhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjsubj2)}(h h]h }(hjshhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjsubh)}(hhh]jI)}(hdentryh]hdentry}(hjshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNjj )}j ]jrc.lookup_one_positive_unlockedasbuh1hhjsubj2)}(h h]h }(hjshhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjsubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubjI)}(hbaseh]hbase}(hjthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjsubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjrubeh}(h]h ]h"]h$]h&]j`jauh1j<hj\rhhhjmrhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjXrhhhjmrhM ubah}(h]jSrah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjmrhM hjUrhhubjw)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hj;thhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj8thhubah}(h]h ]h"]h$]h&]uh1jvhjUrhhhjmrhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjStjjStjjjuh1jhhhjHhNhNubj)}(hXL**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the lookup is performed from ``struct qstr *name`` qstr holding pathname component to lookup ``struct dentry *base`` base directory to lookup from **Description** This helper will yield ERR_PTR(-ENOENT) on negatives. The helper returns known positive or ERR_PTR(). This is what most of the users want. Note that pinned negative with unlocked parent _can_ become positive at any time, so callers of lookup_one_unlocked() need to be very careful; pinned positives have >d_inode stable, so this one avoids such problems. This can be used for in-kernel filesystem clients such as file servers. The helper should be called without i_rwsem held. **Return** A positive dentry, or - ERR_PTR(-ENOENT) if the name could not be found, or - same errors as lookup_one_unlocked().h](h)}(h**Parameters**h]j)}(hj]th]h Parameters}(hj_thhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[tubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjWtubj)}(hhh](j)}(hL``struct mnt_idmap *idmap`` idmap of the mount the lookup is performed from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj|th]hstruct mnt_idmap *idmap}(hj~thhhNhNubah}(h]h ]h"]h$]h&]uh1jhjztubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjvtubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthM hjtubah}(h]h ]h"]h$]h&]uh1jhjvtubeh}(h]h ]h"]h$]h&]uh1jhjthM hjstubj)}(h@``struct qstr *name`` qstr holding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjth]hstruct qstr *name}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjtubj)}(hhh]h)}(h)qstr holding pathname component to lookuph]h)qstr holding pathname component to lookup}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthM hjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthM hjstubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjth]hstruct dentry *base}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjtubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhM hjuubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjuhM hjstubeh}(h]h ]h"]h$]h&]uh1jhjWtubh)}(h**Description**h]j)}(hj)uh]h Description}(hj+uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'uubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjWtubh)}(hThis helper will yield ERR_PTR(-ENOENT) on negatives. The helper returns known positive or ERR_PTR(). This is what most of the users want.h]hThis helper will yield ERR_PTR(-ENOENT) on negatives. The helper returns known positive or ERR_PTR(). This is what most of the users want.}(hj?uhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjWtubh)}(hNote that pinned negative with unlocked parent _can_ become positive at any time, so callers of lookup_one_unlocked() need to be very careful; pinned positives have >d_inode stable, so this one avoids such problems.h]hNote that pinned negative with unlocked parent _can_ become positive at any time, so callers of lookup_one_unlocked() need to be very careful; pinned positives have >d_inode stable, so this one avoids such problems.}(hjNuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjWtubh)}(hGThis can be used for in-kernel filesystem clients such as file servers.h]hGThis can be used for in-kernel filesystem clients such as file servers.}(hj]uhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjWtubh)}(h1The helper should be called without i_rwsem held.h]h1The helper should be called without i_rwsem held.}(hjluhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjWtubh)}(h **Return**h]j)}(hj}uh]hReturn}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{uubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjWtubh)}(hsA positive dentry, or - ERR_PTR(-ENOENT) if the name could not be found, or - same errors as lookup_one_unlocked().h]hsA positive dentry, or - ERR_PTR(-ENOENT) if the name could not be found, or - same errors as lookup_one_unlocked().}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjWtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j #lookup_noperm_unlocked (C function)c.lookup_noperm_unlockedhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hOstruct dentry * lookup_noperm_unlocked (struct qstr *name, struct dentry *base)h]j)}(hMstruct dentry *lookup_noperm_unlocked(struct qstr *name, struct dentry *base)h](j )}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjuhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj2)}(h h]h }(hjuhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjuhhhjuhM ubh)}(hhh]jI)}(hdentryh]hdentry}(hjuhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNjj )}j ]j)}jlookup_noperm_unlockedsbc.lookup_noperm_unlockedasbuh1hhjuhhhjuhM ubj2)}(h h]h }(hjvhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjuhhhjuhM ubj)}(hjh]h*}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuhhhjuhM ubjC)}(hlookup_noperm_unlockedh]jI)}(hjuh]hlookup_noperm_unlocked}(hj!vhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjvubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjuhhhjuhM ubj=)}(h((struct qstr *name, struct dentry *base)h](jC)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hjah"]h$]h&]uh1j1hj8vubh)}(hhh]jI)}(hqstrh]hqstr}(hjZvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\vmodnameN classnameNjj )}j ]juc.lookup_noperm_unlockedasbuh1hhj8vubj2)}(h h]h }(hjxvhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8vubj)}(hjh]h*}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8vubjI)}(hnameh]hname}(hjvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8vubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj4vubjC)}(hstruct dentry *baseh](j )}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjvubj2)}(h h]h }(hjvhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjvubh)}(hhh]jI)}(hdentryh]hdentry}(hjvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNjj )}j ]juc.lookup_noperm_unlockedasbuh1hhjvubj2)}(h h]h }(hjvhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjvubj)}(hjh]h*}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubjI)}(hbaseh]hbase}(hjwhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjvubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj4vubeh}(h]h ]h"]h$]h&]j`jauh1j<hjuhhhjuhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjuhhhjuhM ubah}(h]juah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjuhM hjuhhubjw)}(hhh]h)}(h5filesystem helper to lookup single pathname componenth]h5filesystem helper to lookup single pathname component}(hj-whhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj*whhubah}(h]h ]h"]h$]h&]uh1jvhjuhhhjuhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEwjjEwjjjuh1jhhhjHhNhNubj)}(hXl**Parameters** ``struct qstr *name`` pathname component to lookup ``struct dentry *base`` base directory to lookup from **Description** Note that this routine is purely a helper for filesystem usage and should not be called by generic code. It does no permission checking. Unlike lookup_noperm(), it should be called without the parent i_rwsem held, and will take the i_rwsem itself if necessary. Unlike try_lookup_noperm() it *does* revalidate the dentry if it already existed. **Return** A dentry, possibly negative, or - ERR_PTR(-ENOENT) if parent has been removed, or - same errors as try_lookup_noperm()h](h)}(h**Parameters**h]j)}(hjOwh]h Parameters}(hjQwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMwubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjIwubj)}(hhh](j)}(h3``struct qstr *name`` pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjnwh]hstruct qstr *name}(hjpwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlwubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjhwubj)}(hhh]h)}(hpathname component to lookuph]hpathname component to lookup}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhM hjwubah}(h]h ]h"]h$]h&]uh1jhjhwubeh}(h]h ]h"]h$]h&]uh1jhjwhM hjewubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjwh]hstruct dentry *base}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjwubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhM hjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhM hjewubeh}(h]h ]h"]h$]h&]uh1jhjIwubh)}(h**Description**h]j)}(hjwh]h Description}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjIwubh)}(hNote that this routine is purely a helper for filesystem usage and should not be called by generic code. It does no permission checking.h]hNote that this routine is purely a helper for filesystem usage and should not be called by generic code. It does no permission checking.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjIwubh)}(h{Unlike lookup_noperm(), it should be called without the parent i_rwsem held, and will take the i_rwsem itself if necessary.h]h{Unlike lookup_noperm(), it should be called without the parent i_rwsem held, and will take the i_rwsem itself if necessary.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjIwubh)}(hQUnlike try_lookup_noperm() it *does* revalidate the dentry if it already existed.h](hUnlike try_lookup_noperm() it }(hjxhhhNhNubj )}(h*does*h]hdoes}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1j~ hjxubh- revalidate the dentry if it already existed.}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjIwubh)}(h **Return**h]j)}(hj9xh]hReturn}(hj;xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7xubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjIwubh)}(hvA dentry, possibly negative, or - ERR_PTR(-ENOENT) if parent has been removed, or - same errors as try_lookup_noperm()h]hvA dentry, possibly negative, or - ERR_PTR(-ENOENT) if parent has been removed, or - same errors as try_lookup_noperm()}(hjOxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjIwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j start_creating (C function)c.start_creatinghNtauh1hhjHhhhNhNubj)}(hhh](j)}(hbstruct dentry * start_creating (struct mnt_idmap *idmap, struct dentry *parent, struct qstr *name)h]j)}(h`struct dentry *start_creating(struct mnt_idmap *idmap, struct dentry *parent, struct qstr *name)h](j )}(hjh]hstruct}(hj~xhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjzxhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM8 ubj2)}(h h]h }(hjxhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjzxhhhjxhM8 ubh)}(hhh]jI)}(hdentryh]hdentry}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj )}j ]j)}jstart_creatingsbc.start_creatingasbuh1hhjzxhhhjxhM8 ubj2)}(h h]h }(hjxhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjzxhhhjxhM8 ubj)}(hjh]h*}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzxhhhjxhM8 ubjC)}(hstart_creatingh]jI)}(hjxh]hstart_creating}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjzxhhhjxhM8 ubj=)}(hC(struct mnt_idmap *idmap, struct dentry *parent, struct qstr *name)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjxubj2)}(h h]h }(hjyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjxubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjyhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj )}j ]jxc.start_creatingasbuh1hhjxubj2)}(h h]h }(hj4yhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjxubj)}(hjh]h*}(hjByhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubjI)}(hidmaph]hidmap}(hjOyhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjxubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjhyhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjdyubj2)}(h h]h }(hjuyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdyubh)}(hhh]jI)}(hdentryh]hdentry}(hjyhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj )}j ]jxc.start_creatingasbuh1hhjdyubj2)}(h h]h }(hjyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdyubj)}(hjh]h*}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdyubjI)}(hparenth]hparent}(hjyhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdyubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjxubjC)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjyubj2)}(h h]h }(hjyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjyubh)}(hhh]jI)}(hqstrh]hqstr}(hjyhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj )}j ]jxc.start_creatingasbuh1hhjyubj2)}(h h]h }(hjzhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjyubj)}(hjh]h*}(hj"zhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubjI)}(hnameh]hname}(hj/zhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjyubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjxubeh}(h]h ]h"]h$]h&]j`jauh1j<hjzxhhhjxhM8 ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjvxhhhjxhM8 ubah}(h]jqxah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjxhM8 hjsxhhubjw)}(hhh]h)}(h7prepare to create a given name with permission checkingh]h7prepare to create a given name with permission checking}(hjYzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM8 hjVzhhubah}(h]h ]h"]h$]h&]uh1jvhjsxhhhjxhM8 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqzjjqzjjjuh1jhhhjHhNhNubj)}(hX/**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount ``struct dentry *parent`` directory in which to prepare to create the name ``struct qstr *name`` the name to be created **Description** Locks are taken and a lookup is performed prior to creating an object in a directory. Permission checking (MAY_EXEC) is performed against **idmap**. If the name already exists, a positive dentry is returned, so behaviour is similar to O_CREAT without O_EXCL, which doesn't fail with -EEXIST. **Return** a negative or positive dentry, or an error.h](h)}(h**Parameters**h]j)}(hj{zh]h Parameters}(hj}zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyzubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM< hjuzubj)}(hhh](j)}(h/``struct mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjzh]hstruct mnt_idmap *idmap}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM9 hjzubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhM9 hjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhM9 hjzubj)}(hK``struct dentry *parent`` directory in which to prepare to create the name h](j)}(h``struct dentry *parent``h]j)}(hjzh]hstruct dentry *parent}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM: hjzubj)}(hhh]h)}(h0directory in which to prepare to create the nameh]h0directory in which to prepare to create the name}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhM: hjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhM: hjzubj)}(h-``struct qstr *name`` the name to be created h](j)}(h``struct qstr *name``h]j)}(hj {h]hstruct qstr *name}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj {ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM; hj{ubj)}(hhh]h)}(hthe name to be createdh]hthe name to be created}(hj%{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!{hM; hj"{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj!{hM; hjzubeh}(h]h ]h"]h$]h&]uh1jhjuzubh)}(h**Description**h]j)}(hjG{h]h Description}(hjI{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE{ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM= hjuzubh)}(hLocks are taken and a lookup is performed prior to creating an object in a directory. Permission checking (MAY_EXEC) is performed against **idmap**.h](hLocks are taken and a lookup is performed prior to creating an object in a directory. Permission checking (MAY_EXEC) is performed against }(hj]{hhhNhNubj)}(h **idmap**h]hidmap}(hje{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]{ubh.}(hj]{hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM< hjuzubh)}(hIf the name already exists, a positive dentry is returned, so behaviour is similar to O_CREAT without O_EXCL, which doesn't fail with -EEXIST.h]hIf the name already exists, a positive dentry is returned, so behaviour is similar to O_CREAT without O_EXCL, which doesn’t fail with -EEXIST.}(hj~{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM@ hjuzubh)}(h **Return**h]j)}(hj{h]hReturn}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMD hjuzubh)}(h+a negative or positive dentry, or an error.h]h+a negative or positive dentry, or an error.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chME hjuzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j start_removing (C function)c.start_removinghNtauh1hhjHhhhNhNubj)}(hhh](j)}(hbstruct dentry * start_removing (struct mnt_idmap *idmap, struct dentry *parent, struct qstr *name)h]j)}(h`struct dentry *start_removing(struct mnt_idmap *idmap, struct dentry *parent, struct qstr *name)h](j )}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj{hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMS ubj2)}(h h]h }(hj{hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj{hhhj{hMS ubh)}(hhh]jI)}(hdentryh]hdentry}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNjj )}j ]j)}jstart_removingsbc.start_removingasbuh1hhj{hhhj{hMS ubj2)}(h h]h }(hj|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj{hhhj{hMS ubj)}(hjh]h*}(hj"|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{hhhj{hMS ubjC)}(hstart_removingh]jI)}(hj|h]hstart_removing}(hj3|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/|ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj{hhhj{hMS ubj=)}(hC(struct mnt_idmap *idmap, struct dentry *parent, struct qstr *name)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjN|hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjJ|ubj2)}(h h]h }(hj[|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJ|ubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjl|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhji|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjn|modnameN classnameNjj )}j ]j|c.start_removingasbuh1hhjJ|ubj2)}(h h]h }(hj|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJ|ubj)}(hjh]h*}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJ|ubjI)}(hidmaph]hidmap}(hj|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJ|ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjF|ubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj|ubj2)}(h h]h }(hj|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|ubh)}(hhh]jI)}(hdentryh]hdentry}(hj|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj )}j ]j|c.start_removingasbuh1hhj|ubj2)}(h h]h }(hj|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|ubj)}(hjh]h*}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubjI)}(hparenth]hparent}(hj}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjF|ubjC)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hj.}hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj*}ubj2)}(h h]h }(hj;}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*}ubh)}(hhh]jI)}(hqstrh]hqstr}(hjL}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjI}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjN}modnameN classnameNjj )}j ]j|c.start_removingasbuh1hhj*}ubj2)}(h h]h }(hjj}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*}ubj)}(hjh]h*}(hjx}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*}ubjI)}(hnameh]hname}(hj}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*}ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjF|ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj{hhhj{hMS ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj{hhhj{hMS ubah}(h]j{ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj{hMS hj{hhubjw)}(hhh]h)}(h7prepare to remove a given name with permission checkingh]h7prepare to remove a given name with permission checking}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMS hj}hhubah}(h]h ]h"]h$]h&]uh1jvhj{hhhj{hMS ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}jj}jjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount ``struct dentry *parent`` directory in which to find the name ``struct qstr *name`` the name to be removed **Description** Locks are taken and a lookup in performed prior to removing an object from a directory. Permission checking (MAY_EXEC) is performed against **idmap**. If the name doesn't exist, an error is returned. end_removing() should be called when removal is complete, or aborted. **Return** a positive dentry, or an error.h](h)}(h**Parameters**h]j)}(hj}h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMW hj}ubj)}(hhh](j)}(h/``struct mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj}h]hstruct mnt_idmap *idmap}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMT hj}ubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hj ~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hMT hj~ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj~hMT hj}ubj)}(h>``struct dentry *parent`` directory in which to find the name h](j)}(h``struct dentry *parent``h]j)}(hj)~h]hstruct dentry *parent}(hj+~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'~ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMU hj#~ubj)}(hhh]h)}(h#directory in which to find the nameh]h#directory in which to find the name}(hjB~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>~hMU hj?~ubah}(h]h ]h"]h$]h&]uh1jhj#~ubeh}(h]h ]h"]h$]h&]uh1jhj>~hMU hj}ubj)}(h-``struct qstr *name`` the name to be removed h](j)}(h``struct qstr *name``h]j)}(hjb~h]hstruct qstr *name}(hjd~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`~ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMV hj\~ubj)}(hhh]h)}(hthe name to be removedh]hthe name to be removed}(hj{~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjw~hMV hjx~ubah}(h]h ]h"]h$]h&]uh1jhj\~ubeh}(h]h ]h"]h$]h&]uh1jhjw~hMV hj}ubeh}(h]h ]h"]h$]h&]uh1jhj}ubh)}(h**Description**h]j)}(hj~h]h Description}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMX hj}ubh)}(hLocks are taken and a lookup in performed prior to removing an object from a directory. Permission checking (MAY_EXEC) is performed against **idmap**.h](hLocks are taken and a lookup in performed prior to removing an object from a directory. Permission checking (MAY_EXEC) is performed against }(hj~hhhNhNubj)}(h **idmap**h]hidmap}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh.}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMW hj}ubh)}(h0If the name doesn't exist, an error is returned.h]h2If the name doesn’t exist, an error is returned.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM[ hj}ubh)}(hEend_removing() should be called when removal is complete, or aborted.h]hEend_removing() should be called when removal is complete, or aborted.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM] hj}ubh)}(h **Return**h]j)}(hj~h]hReturn}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM_ hj}ubh)}(ha positive dentry, or an error.h]ha positive dentry, or an error.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM` hj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $start_creating_killable (C function)c.start_creating_killablehNtauh1hhjHhhhNhNubj)}(hhh](j)}(hkstruct dentry * start_creating_killable (struct mnt_idmap *idmap, struct dentry *parent, struct qstr *name)h]j)}(histruct dentry *start_creating_killable(struct mnt_idmap *idmap, struct dentry *parent, struct qstr *name)h](j )}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj5hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMn ubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj5hhhjFhMn ubh)}(hhh]jI)}(hdentryh]hdentry}(hjXhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNjj )}j ]j)}jstart_creating_killablesbc.start_creating_killableasbuh1hhj5hhhjFhMn ubj2)}(h h]h }(hjyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj5hhhjFhMn ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5hhhjFhMn ubjC)}(hstart_creating_killableh]jI)}(hjvh]hstart_creating_killable}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj5hhhjFhMn ubj=)}(hC(struct mnt_idmap *idmap, struct dentry *parent, struct qstr *name)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jtc.start_creating_killableasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj )}j ]jtc.start_creating_killableasbuh1hhjubj2)}(h h]h }(hj_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hjzhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hqstrh]hqstr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jtc.start_creating_killableasbuh1hhjubj2)}(h h]h }(hjπhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj݀hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hj5hhhjFhMn ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj1hhhjFhMn ubah}(h]j,ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjFhMn hj.hhubjw)}(hhh]h)}(h7prepare to create a given name with permission checkingh]h7prepare to create a given name with permission checking}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMn hjhhubah}(h]h ]h"]h$]h&]uh1jvhj.hhhjFhMn ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1jhhhjHhNhNubj)}(hX-**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount ``struct dentry *parent`` directory in which to prepare to create the name ``struct qstr *name`` the name to be created **Description** Locks are taken and a lookup in performed prior to creating an object in a directory. Permission checking (MAY_EXEC) is performed against **idmap**. If the name already exists, a positive dentry is returned. If a signal is received or was already pending, the function aborts with -EINTR; **Return** a negative or positive dentry, or an error.h](h)}(h**Parameters**h]j)}(hj6h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMr hj0ubj)}(hhh](j)}(h/``struct mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjUh]hstruct mnt_idmap *idmap}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMo hjOubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMo hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMo hjLubj)}(hK``struct dentry *parent`` directory in which to prepare to create the name h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMp hjubj)}(hhh]h)}(h0directory in which to prepare to create the nameh]h0directory in which to prepare to create the name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMp hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMp hjLubj)}(h-``struct qstr *name`` the name to be created h](j)}(h``struct qstr *name``h]j)}(hjǁh]hstruct qstr *name}(hjɁhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjŁubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMq hjubj)}(hhh]h)}(hthe name to be createdh]hthe name to be created}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj܁hMq hj݁ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj܁hMq hjLubeh}(h]h ]h"]h$]h&]uh1jhj0ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMs hj0ubh)}(hLocks are taken and a lookup in performed prior to creating an object in a directory. Permission checking (MAY_EXEC) is performed against **idmap**.h](hLocks are taken and a lookup in performed prior to creating an object in a directory. Permission checking (MAY_EXEC) is performed against }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMr hj0ubh)}(h:If the name already exists, a positive dentry is returned.h]h:If the name already exists, a positive dentry is returned.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMv hj0ubh)}(hPIf a signal is received or was already pending, the function aborts with -EINTR;h]hPIf a signal is received or was already pending, the function aborts with -EINTR;}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMx hj0ubh)}(h **Return**h]j)}(hjYh]hReturn}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM{ hj0ubh)}(h+a negative or positive dentry, or an error.h]h+a negative or positive dentry, or an error.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM| hj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $start_removing_killable (C function)c.start_removing_killablehNtauh1hhjHhhhNhNubj)}(hhh](j)}(hkstruct dentry * start_removing_killable (struct mnt_idmap *idmap, struct dentry *parent, struct qstr *name)h]j)}(histruct dentry *start_removing_killable(struct mnt_idmap *idmap, struct dentry *parent, struct qstr *name)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM ubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jstart_removing_killablesbc.start_removing_killableasbuh1hhjhhhjhM ubj2)}(h h]h }(hjނhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM ubjC)}(hstart_removing_killableh]jI)}(hjۂh]hstart_removing_killable}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM ubj=)}(hC(struct mnt_idmap *idmap, struct dentry *parent, struct qstr *name)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj%hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hj6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj )}j ]jقc.start_removing_killableasbuh1hhjubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hjohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jقc.start_removing_killableasbuh1hhjubj2)}(h h]h }(hjăhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj҃hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hj߃hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hqstrh]hqstr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jقc.start_removing_killableasbuh1hhjubj2)}(h h]h }(hj4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM hjhhubjw)}(hhh]h)}(h7prepare to remove a given name with permission checkingh]h7prepare to remove a given name with permission checking}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjvhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hXS**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount ``struct dentry *parent`` directory in which to find the name ``struct qstr *name`` the name to be removed **Description** Locks are taken and a lookup in performed prior to removing an object from a directory. Permission checking (MAY_EXEC) is performed against **idmap**. If the name doesn't exist, an error is returned. end_removing() should be called when removal is complete, or aborted. If a signal is received or was already pending, the function aborts with -EINTR; **Return** a positive dentry, or an error.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh](j)}(h/``struct mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjӄhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjτhM hjЄubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjτhM hjubj)}(h>``struct dentry *parent`` directory in which to find the name h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh]h)}(h#directory in which to find the nameh]h#directory in which to find the name}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h-``struct qstr *name`` the name to be removed h](j)}(h``struct qstr *name``h]j)}(hj,h]hstruct qstr *name}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj&ubj)}(hhh]h)}(hthe name to be removedh]hthe name to be removed}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhM hjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjgh]h Description}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(hLocks are taken and a lookup in performed prior to removing an object from a directory. Permission checking (MAY_EXEC) is performed against **idmap**.h](hLocks are taken and a lookup in performed prior to removing an object from a directory. Permission checking (MAY_EXEC) is performed against }(hj}hhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubh.}(hj}hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(h0If the name doesn't exist, an error is returned.h]h2If the name doesn’t exist, an error is returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(hEend_removing() should be called when removal is complete, or aborted.h]hEend_removing() should be called when removal is complete, or aborted.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(hPIf a signal is received or was already pending, the function aborts with -EINTR;h]hPIf a signal is received or was already pending, the function aborts with -EINTR;}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(h **Return**h]j)}(hjͅh]hReturn}(hjυhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˅ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(ha positive dentry, or an error.h]ha positive dentry, or an error.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "start_creating_noperm (C function)c.start_creating_nopermhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hPstruct dentry * start_creating_noperm (struct dentry *parent, struct qstr *name)h]j)}(hNstruct dentry *start_creating_noperm(struct dentry *parent, struct qstr *name)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM ubh)}(hhh]jI)}(hdentryh]hdentry}(hj1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj )}j ]j)}jstart_creating_nopermsbc.start_creating_nopermasbuh1hhjhhhjhM ubj2)}(h h]h }(hjRhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM ubj)}(hjh]h*}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM ubjC)}(hstart_creating_nopermh]jI)}(hjOh]hstart_creating_noperm}(hjqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjmubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM ubj=)}(h*(struct dentry *parent, struct qstr *name)h](jC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jMc.start_creating_nopermasbuh1hhjubj2)}(h h]h }(hjȆhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjֆhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hqstrh]hqstr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jMc.start_creating_nopermasbuh1hhjubj2)}(h h]h }(hj8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj hhhjhM ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM hjhhubjw)}(hhh]h)}(h:prepare to create a given name without permission checkingh]h:prepare to create a given name without permission checking}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjzhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hXi**Parameters** ``struct dentry *parent`` directory in which to prepare to create the name ``struct qstr *name`` the name to be created **Description** Locks are taken and a lookup in performed prior to creating an object in a directory. If the name already exists, a positive dentry is returned. **Return** a negative or positive dentry, or an error.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh](j)}(hK``struct dentry *parent`` directory in which to prepare to create the name h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh]h)}(h0directory in which to prepare to create the nameh]h0directory in which to prepare to create the name}(hjׇhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjӇhM hjԇubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjӇhM hjubj)}(h-``struct qstr *name`` the name to be created h](j)}(h``struct qstr *name``h]j)}(hjh]hstruct qstr *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh]h)}(hthe name to be createdh]hthe name to be created}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj2h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(hULocks are taken and a lookup in performed prior to creating an object in a directory.h]hULocks are taken and a lookup in performed prior to creating an object in a directory.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(h:If the name already exists, a positive dentry is returned.h]h:If the name already exists, a positive dentry is returned.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(h **Return**h]j)}(hjhh]hReturn}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(h+a negative or positive dentry, or an error.h]h+a negative or positive dentry, or an error.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "start_removing_noperm (C function)c.start_removing_nopermhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hPstruct dentry * start_removing_noperm (struct dentry *parent, struct qstr *name)h]j)}(hNstruct dentry *start_removing_noperm(struct dentry *parent, struct qstr *name)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM ubh)}(hhh]jI)}(hdentryh]hdentry}(hj̈hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjɈubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjΈmodnameN classnameNjj )}j ]j)}jstart_removing_nopermsbc.start_removing_nopermasbuh1hhjhhhjhM ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM ubjC)}(hstart_removing_nopermh]jI)}(hjh]hstart_removing_noperm}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM ubj=)}(h*(struct dentry *parent, struct qstr *name)h](jC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj#ubj2)}(h h]h }(hj4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#ubh)}(hhh]jI)}(hdentryh]hdentry}(hjEhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNjj )}j ]jc.start_removing_nopermasbuh1hhj#ubj2)}(h h]h }(hjchhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#ubj)}(hjh]h*}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubjI)}(hparenth]hparent}(hj~hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hqstrh]hqstr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.start_removing_nopermasbuh1hhjubj2)}(h h]h }(hjӉhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM hjhhubjw)}(hhh]h)}(h:prepare to remove a given name without permission checkingh]h:prepare to remove a given name without permission checking}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct dentry *parent`` directory in which to find the name ``struct qstr *name`` the name to be removed **Description** Locks are taken and a lookup in performed prior to removing an object from a directory. If the name doesn't exist, an error is returned. end_removing() should be called when removal is complete, or aborted. **Return** a positive dentry, or an error.h](h)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj4ubj)}(hhh](j)}(h>``struct dentry *parent`` directory in which to find the name h](j)}(h``struct dentry *parent``h]j)}(hjYh]hstruct dentry *parent}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjSubj)}(hhh]h)}(h#directory in which to find the nameh]h#directory in which to find the name}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhM hjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhM hjPubj)}(h-``struct qstr *name`` the name to be removed h](j)}(h``struct qstr *name``h]j)}(hjh]hstruct qstr *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh]h)}(hthe name to be removedh]hthe name to be removed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjPubeh}(h]h ]h"]h$]h&]uh1jhj4ubh)}(h**Description**h]j)}(hj͊h]h Description}(hjϊhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjˊubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj4ubh)}(hWLocks are taken and a lookup in performed prior to removing an object from a directory.h]hWLocks are taken and a lookup in performed prior to removing an object from a directory.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj4ubh)}(h0If the name doesn't exist, an error is returned.h]h2If the name doesn’t exist, an error is returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj4ubh)}(hEend_removing() should be called when removal is complete, or aborted.h]hEend_removing() should be called when removal is complete, or aborted.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj4ubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj4ubh)}(ha positive dentry, or an error.h]ha positive dentry, or an error.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "start_creating_dentry (C function)c.start_creating_dentryhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hSstruct dentry * start_creating_dentry (struct dentry *parent, struct dentry *child)h]j)}(hQstruct dentry *start_creating_dentry(struct dentry *parent, struct dentry *child)h](j )}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjShhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjShhhjdhM ubh)}(hhh]jI)}(hdentryh]hdentry}(hjvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj )}j ]j)}jstart_creating_dentrysbc.start_creating_dentryasbuh1hhjShhhjdhM ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjShhhjdhM ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjShhhjdhM ubjC)}(hstart_creating_dentryh]jI)}(hjh]hstart_creating_dentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjShhhjdhM ubj=)}(h-(struct dentry *parent, struct dentry *child)h](jC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjыhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj͋ubj2)}(h h]h }(hjދhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj͋ubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.start_creating_dentryasbuh1hhj͋ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj͋ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj͋ubjI)}(hparenth]hparent}(hj(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj͋ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjɋubjC)}(hstruct dentry *childh](j )}(hjh]hstruct}(hjAhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj=ubj2)}(h h]h }(hjNhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=ubh)}(hhh]jI)}(hdentryh]hdentry}(hj_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNjj )}j ]jc.start_creating_dentryasbuh1hhj=ubj2)}(h h]h }(hj}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubjI)}(hchildh]hchild}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj=ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjɋubeh}(h]h ]h"]h$]h&]j`jauh1j<hjShhhjdhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjOhhhjdhM ubah}(h]jJah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjdhM hjLhhubjw)}(hhh]h)}(h prepare to create a given dentryh]h prepare to create a given dentry}(hjŒhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjhhubah}(h]h ]h"]h$]h&]uh1jvhjLhhhjdhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjڌjjڌjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct dentry *parent`` directory from which dentry should be removed ``struct dentry *child`` the dentry to be removed **Description** A lock is taken to protect the dentry again other dirops and the validity of the dentry is checked: correct parent and still hashed. If the dentry is valid and negative a reference is taken and returned. If not an error is returned. end_creating() should be called when creation is complete, or aborted. **Return** the valid dentry, or an error.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjތubj)}(hhh](j)}(hH``struct dentry *parent`` directory from which dentry should be removed h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh]h)}(h-directory from which dentry should be removedh]h-directory from which dentry should be removed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h2``struct dentry *child`` the dentry to be removed h](j)}(h``struct dentry *child``h]j)}(hj<h]hstruct dentry *child}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj6ubj)}(hhh]h)}(hthe dentry to be removedh]hthe dentry to be removed}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhM hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhM hjubeh}(h]h ]h"]h$]h&]uh1jhjތubh)}(h**Description**h]j)}(hjwh]h Description}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjތubh)}(hA lock is taken to protect the dentry again other dirops and the validity of the dentry is checked: correct parent and still hashed.h]hA lock is taken to protect the dentry again other dirops and the validity of the dentry is checked: correct parent and still hashed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjތubh)}(hdIf the dentry is valid and negative a reference is taken and returned. If not an error is returned.h]hdIf the dentry is valid and negative a reference is taken and returned. If not an error is returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjތubh)}(hFend_creating() should be called when creation is complete, or aborted.h]hFend_creating() should be called when creation is complete, or aborted.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjތubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjތubh)}(hthe valid dentry, or an error.h]hthe valid dentry, or an error.}(hjҍhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjތubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "start_removing_dentry (C function)c.start_removing_dentryhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hSstruct dentry * start_removing_dentry (struct dentry *parent, struct dentry *child)h]j)}(hQstruct dentry *start_removing_dentry(struct dentry *parent, struct dentry *child)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM ubh)}(hhh]jI)}(hdentryh]hdentry}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNjj )}j ]j)}jstart_removing_dentrysbc.start_removing_dentryasbuh1hhjhhhjhM ubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM ubj)}(hjh]h*}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM ubjC)}(hstart_removing_dentryh]jI)}(hj>h]hstart_removing_dentry}(hj`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM ubj=)}(h-(struct dentry *parent, struct dentry *child)h](jC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j<c.start_removing_dentryasbuh1hhjwubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubj)}(hjh]h*}(hjŎhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubjI)}(hparenth]hparent}(hjҎhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjsubjC)}(hstruct dentry *childh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]j<c.start_removing_dentryasbuh1hhjubj2)}(h h]h }(hj'hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hchildh]hchild}(hjBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjsubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM hjhhubjw)}(hhh]h)}(h prepare to remove a given dentryh]h prepare to remove a given dentry}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjihhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct dentry *parent`` directory from which dentry should be removed ``struct dentry *child`` the dentry to be removed **Description** A lock is taken to protect the dentry again other dirops and the validity of the dentry is checked: correct parent and still hashed. If the dentry is valid and positive, a reference is taken and returned. If not an error is returned. end_removing() should be called when removal is complete, or aborted. **Return** the valid dentry, or an error.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh](j)}(hH``struct dentry *parent`` directory from which dentry should be removed h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh]h)}(h-directory from which dentry should be removedh]h-directory from which dentry should be removed}(hjƏhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjÏubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h2``struct dentry *child`` the dentry to be removed h](j)}(h``struct dentry *child``h]j)}(hjh]hstruct dentry *child}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh]h)}(hthe dentry to be removedh]hthe dentry to be removed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj!h]h Description}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(hA lock is taken to protect the dentry again other dirops and the validity of the dentry is checked: correct parent and still hashed.h]hA lock is taken to protect the dentry again other dirops and the validity of the dentry is checked: correct parent and still hashed.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(heIf the dentry is valid and positive, a reference is taken and returned. If not an error is returned.h]heIf the dentry is valid and positive, a reference is taken and returned. If not an error is returned.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(hEend_removing() should be called when removal is complete, or aborted.h]hEend_removing() should be called when removal is complete, or aborted.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(h **Return**h]j)}(hjfh]hReturn}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(hthe valid dentry, or an error.h]hthe valid dentry, or an error.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j start_renaming (C function)c.start_renaminghNtauh1hhjHhhhNhNubj)}(hhh](j)}(hjint start_renaming (struct renamedata *rd, int lookup_flags, struct qstr *old_last, struct qstr *new_last)h]j)}(hiint start_renaming(struct renamedata *rd, int lookup_flags, struct qstr *old_last, struct qstr *new_last)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMTubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMTubjC)}(hstart_renamingh]jI)}(hstart_renamingh]hstart_renaming}(hj̐hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjȐubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMTubj=)}(hW(struct renamedata *rd, int lookup_flags, struct qstr *old_last, struct qstr *new_last)h](jC)}(hstruct renamedata *rdh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h renamedatah]h renamedata}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjΐsbc.start_renamingasbuh1hhjubj2)}(h h]h }(hj&hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hrdh]hrd}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hint lookup_flagsh](jf)}(hinth]hint}(hjZhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjVubj2)}(h h]h }(hjhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVubjI)}(h lookup_flagsh]h lookup_flags}(hjvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct qstr *old_lasth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hqstrh]hqstr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j"c.start_renamingasbuh1hhjubj2)}(h h]h }(hjˑhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjّhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hold_lasth]hold_last}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct qstr *new_lasth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hqstrh]hqstr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j"c.start_renamingasbuh1hhjubj2)}(h h]h }(hj;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnew_lasth]hnew_last}(hjVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMTubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMTubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMThjhhubjw)}(hhh]h)}(h9lookup and lock names for rename with permission checkingh]h9lookup and lock names for rename with permission checking}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMThj}hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMTubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct renamedata *rd`` rename data containing parents and flags, and for receiving found dentries ``int lookup_flags`` extra flags to pass to ->lookup (e.g. LOOKUP_REVAL, LOOKUP_NO_SYMLINKS etc). ``struct qstr *old_last`` name of object in **rd.old_parent** ``struct qstr *new_last`` name of object in **rd.new_parent** **Description** Look up two names and ensure locks are in place for rename. On success the found dentries are stored in **rd.old_dentry**, **rd.new_dentry**. Also the refcount on **rd->old_parent** is increased. These references and the lock are dropped by end_renaming(). The passed in qstrs need not have the hash calculated, and basic eXecute permission checking is performed against **rd.mnt_idmap**. **Return** zero or an error.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMXhjubj)}(hhh](j)}(he``struct renamedata *rd`` rename data containing parents and flags, and for receiving found dentries h](j)}(h``struct renamedata *rd``h]j)}(hjh]hstruct renamedata *rd}(hjÒhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMVhjubj)}(hhh]h)}(hJrename data containing parents and flags, and for receiving found dentriesh]hJrename data containing parents and flags, and for receiving found dentries}(hjڒhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMUhjגubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj֒hMVhjubj)}(hb``int lookup_flags`` extra flags to pass to ->lookup (e.g. LOOKUP_REVAL, LOOKUP_NO_SYMLINKS etc). h](j)}(h``int lookup_flags``h]j)}(hjh]hint lookup_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMXhjubj)}(hhh]h)}(hLextra flags to pass to ->lookup (e.g. LOOKUP_REVAL, LOOKUP_NO_SYMLINKS etc).h]hLextra flags to pass to ->lookup (e.g. LOOKUP_REVAL, LOOKUP_NO_SYMLINKS etc).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(h>``struct qstr *old_last`` name of object in **rd.old_parent** h](j)}(h``struct qstr *old_last``h]j)}(hj5h]hstruct qstr *old_last}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMYhj/ubj)}(hhh]h)}(h#name of object in **rd.old_parent**h](hname of object in }(hjNhhhNhNubj)}(h**rd.old_parent**h]h rd.old_parent}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1hhjJhMYhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMYhjubj)}(h>``struct qstr *new_last`` name of object in **rd.new_parent** h](j)}(h``struct qstr *new_last``h]j)}(hj|h]hstruct qstr *new_last}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMZhjvubj)}(hhh]h)}(h#name of object in **rd.new_parent**h](hname of object in }(hjhhhNhNubj)}(h**rd.new_parent**h]h rd.new_parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjœh]h Description}(hjǓhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjÓubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM\hjubh)}(h;Look up two names and ensure locks are in place for rename.h]h;Look up two names and ensure locks are in place for rename.}(hjۓhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM[hjubh)}(hOn success the found dentries are stored in **rd.old_dentry**, **rd.new_dentry**. Also the refcount on **rd->old_parent** is increased. These references and the lock are dropped by end_renaming().h](h,On success the found dentries are stored in }(hjhhhNhNubj)}(h**rd.old_dentry**h]h rd.old_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**rd.new_dentry**h]h rd.new_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. Also the refcount on }(hjhhhNhNubj)}(h**rd->old_parent**h]hrd->old_parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhK is increased. These references and the lock are dropped by end_renaming().}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM^hjubh)}(hThe passed in qstrs need not have the hash calculated, and basic eXecute permission checking is performed against **rd.mnt_idmap**.h](hrThe passed in qstrs need not have the hash calculated, and basic eXecute permission checking is performed against }(hj/hhhNhNubj)}(h**rd.mnt_idmap**h]h rd.mnt_idmap}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubh.}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMbhjubh)}(h **Return**h]j)}(hjRh]hReturn}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMehjubh)}(hzero or an error.h]hzero or an error.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMfhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "start_renaming_dentry (C function)c.start_renaming_dentryhNtauh1hhjHhhhNhNubj)}(hhh](j)}(huint start_renaming_dentry (struct renamedata *rd, int lookup_flags, struct dentry *old_dentry, struct qstr *new_last)h]j)}(htint start_renaming_dentry(struct renamedata *rd, int lookup_flags, struct dentry *old_dentry, struct qstr *new_last)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hstart_renaming_dentryh]jI)}(hstart_renaming_dentryh]hstart_renaming_dentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h[(struct renamedata *rd, int lookup_flags, struct dentry *old_dentry, struct qstr *new_last)h](jC)}(hstruct renamedata *rdh](j )}(hjh]hstruct}(hjԔhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjДubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjДubh)}(hhh]jI)}(h renamedatah]h renamedata}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.start_renaming_dentryasbuh1hhjДubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjДubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjДubjI)}(hrdh]hrd}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjДubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj̔ubjC)}(hint lookup_flagsh](jf)}(hinth]hint}(hjFhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjBubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBubjI)}(h lookup_flagsh]h lookup_flags}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj̔ubjC)}(hstruct dentry *old_dentryh](j )}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.start_renaming_dentryasbuh1hhjwubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubj)}(hjh]h*}(hjŕhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubjI)}(h old_dentryh]h old_dentry}(hjҕhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj̔ubjC)}(hstruct qstr *new_lasth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hqstrh]hqstr}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]jc.start_renaming_dentryasbuh1hhjubj2)}(h h]h }(hj'hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnew_lasth]hnew_last}(hjBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj̔ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h8lookup and lock name for rename with permission checking8h]h8lookup and lock name for rename with permission checking}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjihhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct renamedata *rd`` rename data containing parents and flags, and for receiving found dentries ``int lookup_flags`` extra flags to pass to ->lookup (e.g. LOOKUP_REVAL, LOOKUP_NO_SYMLINKS etc). ``struct dentry *old_dentry`` dentry of name to move ``struct qstr *new_last`` name of target in **rd.new_parent** **Description** Look up target name and ensure locks are in place for rename. On success the found dentry is stored in **rd.new_dentry** and **rd.old_parent** is confirmed to be the parent of **old_dentry**. If it was originally ``NULL``, it is set. In either case a reference is taken so that end_renaming() can have a stable reference to unlock. References and the lock can be dropped with end_renaming() The passed in qstr need not have the hash calculated, and basic eXecute permission checking is performed against **rd.mnt_idmap**. **Return** zero or an error.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh](j)}(he``struct renamedata *rd`` rename data containing parents and flags, and for receiving found dentries h](j)}(h``struct renamedata *rd``h]j)}(hjh]hstruct renamedata *rd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hJrename data containing parents and flags, and for receiving found dentriesh]hJrename data containing parents and flags, and for receiving found dentries}(hjƖhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjÖubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj–hMhjubj)}(hb``int lookup_flags`` extra flags to pass to ->lookup (e.g. LOOKUP_REVAL, LOOKUP_NO_SYMLINKS etc). h](j)}(h``int lookup_flags``h]j)}(hjh]hint lookup_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hLextra flags to pass to ->lookup (e.g. LOOKUP_REVAL, LOOKUP_NO_SYMLINKS etc).h]hLextra flags to pass to ->lookup (e.g. LOOKUP_REVAL, LOOKUP_NO_SYMLINKS etc).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``struct dentry *old_dentry`` dentry of name to move h](j)}(h``struct dentry *old_dentry``h]j)}(hj!h]hstruct dentry *old_dentry}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hdentry of name to moveh]hdentry of name to move}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(h>``struct qstr *new_last`` name of target in **rd.new_parent** h](j)}(h``struct qstr *new_last``h]j)}(hjZh]hstruct qstr *new_last}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjTubj)}(hhh]h)}(h#name of target in **rd.new_parent**h](hname of target in }(hjshhhNhNubj)}(h**rd.new_parent**h]h rd.new_parent}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1hhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(h=Look up target name and ensure locks are in place for rename.h]h=Look up target name and ensure locks are in place for rename.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(hXOn success the found dentry is stored in **rd.new_dentry** and **rd.old_parent** is confirmed to be the parent of **old_dentry**. If it was originally ``NULL``, it is set. In either case a reference is taken so that end_renaming() can have a stable reference to unlock.h](h)On success the found dentry is stored in }(hjȗhhhNhNubj)}(h**rd.new_dentry**h]h rd.new_dentry}(hjЗhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȗubh and }(hjȗhhhNhNubj)}(h**rd.old_parent**h]h rd.old_parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȗubh" is confirmed to be the parent of }(hjȗhhhNhNubj)}(h**old_dentry**h]h old_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȗubh. If it was originally }(hjȗhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȗubho, it is set. In either case a reference is taken so that end_renaming() can have a stable reference to unlock.}(hjȗhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(h:References and the lock can be dropped with end_renaming()h]h:References and the lock can be dropped with end_renaming()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(hThe passed in qstr need not have the hash calculated, and basic eXecute permission checking is performed against **rd.mnt_idmap**.h](hqThe passed in qstr need not have the hash calculated, and basic eXecute permission checking is performed against }(hj.hhhNhNubj)}(h**rd.mnt_idmap**h]h rd.mnt_idmap}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(h **Return**h]j)}(hjQh]hReturn}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(hzero or an error.h]hzero or an error.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j (start_renaming_two_dentries (C function)c.start_renaming_two_dentrieshNtauh1hhjHhhhNhNubj)}(hhh](j)}(hmint start_renaming_two_dentries (struct renamedata *rd, struct dentry *old_dentry, struct dentry *new_dentry)h]j)}(hlint start_renaming_two_dentries(struct renamedata *rd, struct dentry *old_dentry, struct dentry *new_dentry)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hstart_renaming_two_dentriesh]jI)}(hstart_renaming_two_dentriesh]hstart_renaming_two_dentries}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hM(struct renamedata *rd, struct dentry *old_dentry, struct dentry *new_dentry)h](jC)}(hstruct renamedata *rdh](j )}(hjh]hstruct}(hjӘhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjϘubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjϘubh)}(hhh]jI)}(h renamedatah]h renamedata}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.start_renaming_two_dentriesasbuh1hhjϘubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjϘubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjϘubjI)}(hrdh]hrd}(hj,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjϘubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj˘ubjC)}(hstruct dentry *old_dentryh](j )}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjAubj2)}(h h]h }(hjRhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAubh)}(hhh]jI)}(hdentryh]hdentry}(hjchhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj )}j ]j c.start_renaming_two_dentriesasbuh1hhjAubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubjI)}(h old_dentryh]h old_dentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj˘ubjC)}(hstruct dentry *new_dentryh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj™hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjәhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjЙubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjՙmodnameN classnameNjj )}j ]j c.start_renaming_two_dentriesasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(h new_dentryh]h new_dentry}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj˘ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h,Lock to dentries in given parents for renameh]h,Lock to dentries in given parents for rename}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj3hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct renamedata *rd`` rename data containing parent ``struct dentry *old_dentry`` dentry of name to move ``struct dentry *new_dentry`` dentry to move to **Description** Ensure locks are in place for rename and check parentage is still correct. On success the two dentries are stored in **rd.old_dentry** and **rd.new_dentry** and **rd.old_parent** and **rd.new_parent** are confirmed to be the parents of the dentries. References and the lock can be dropped with end_renaming() **Return** zero or an error.h](h)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjRubj)}(hhh](j)}(h8``struct renamedata *rd`` rename data containing parent h](j)}(h``struct renamedata *rd``h]j)}(hjwh]hstruct renamedata *rd}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjqubj)}(hhh]h)}(hrename data containing parenth]hrename data containing parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhjnubj)}(h5``struct dentry *old_dentry`` dentry of name to move h](j)}(h``struct dentry *old_dentry``h]j)}(hjh]hstruct dentry *old_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hdentry of name to moveh]hdentry of name to move}(hjɚhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjŚhMhjƚubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjŚhMhjnubj)}(h0``struct dentry *new_dentry`` dentry to move to h](j)}(h``struct dentry *new_dentry``h]j)}(hjh]hstruct dentry *new_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hdentry to move toh]hdentry to move to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjnubeh}(h]h ]h"]h$]h&]uh1jhjRubh)}(h**Description**h]j)}(hj$h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjRubh)}(hJEnsure locks are in place for rename and check parentage is still correct.h]hJEnsure locks are in place for rename and check parentage is still correct.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjRubh)}(hOn success the two dentries are stored in **rd.old_dentry** and **rd.new_dentry** and **rd.old_parent** and **rd.new_parent** are confirmed to be the parents of the dentries.h](h*On success the two dentries are stored in }(hjIhhhNhNubj)}(h**rd.old_dentry**h]h rd.old_dentry}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh and }(hjIhhhNhNubj)}(h**rd.new_dentry**h]h rd.new_dentry}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh and }(hjIhhhNhNubj)}(h**rd.old_parent**h]h rd.old_parent}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh and }hjIsbj)}(h**rd.new_parent**h]h rd.new_parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh1 are confirmed to be the parents of the dentries.}(hjIhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjRubh)}(h:References and the lock can be dropped with end_renaming()h]h:References and the lock can be dropped with end_renaming()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjRubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjRubh)}(hzero or an error.h]hzero or an error.}(hjǛhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_create (C function) c.vfs_createhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hiint vfs_create (struct mnt_idmap *idmap, struct dentry *dentry, umode_t mode, struct delegated_inode *di)h]j)}(hhint vfs_create(struct mnt_idmap *idmap, struct dentry *dentry, umode_t mode, struct delegated_inode *di)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMHubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMHubjC)}(h vfs_createh]jI)}(h vfs_createh]h vfs_create}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMHubj=)}(hZ(struct mnt_idmap *idmap, struct dentry *dentry, umode_t mode, struct delegated_inode *di)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj/ubj2)}(h h]h }(hj@hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/ubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj )}j ]j)}jjsb c.vfs_createasbuh1hhj/ubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubjI)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj+ubjC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjÜhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjŜmodnameN classnameNjj )}j ]jm c.vfs_createasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj+ubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jm c.vfs_createasbuh1hhjubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hjDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj+ubjC)}(hstruct delegated_inode *dih](j )}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjYubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubh)}(hhh]jI)}(hdelegated_inodeh]hdelegated_inode}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj )}j ]jm c.vfs_createasbuh1hhjYubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubjI)}(hdih]hdi}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj+ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMHubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMHubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMHhjhhubjw)}(hhh]h)}(hcreate new fileh]hcreate new file}(hjޝhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMHhj۝hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMHubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct dentry *dentry`` dentry of the child file ``umode_t mode`` mode of the child file ``struct delegated_inode *di`` returns parent inode, if the inode is delegated. **Description** Create a new file. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMLhjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMIhjubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hMIhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMIhjubj)}(h3``struct dentry *dentry`` dentry of the child file h](j)}(h``struct dentry *dentry``h]j)}(hjXh]hstruct dentry *dentry}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMJhjRubj)}(hhh]h)}(hdentry of the child fileh]hdentry of the child file}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMJhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMJhjubj)}(h(``umode_t mode`` mode of the child file h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMKhjubj)}(hhh]h)}(hmode of the child fileh]hmode of the child file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubj)}(hP``struct delegated_inode *di`` returns parent inode, if the inode is delegated. h](j)}(h``struct delegated_inode *di``h]j)}(hjʞh]hstruct delegated_inode *di}(hj̞hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȞubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMLhjĞubj)}(hhh]h)}(h0returns parent inode, if the inode is delegated.h]h0returns parent inode, if the inode is delegated.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjߞhMLhjubah}(h]h ]h"]h$]h&]uh1jhjĞubeh}(h]h ]h"]h$]h&]uh1jhjߞhMLhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMNhjubh)}(hCreate a new file.h]hCreate a new file.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMMhjubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hj*hhhNhNubj)}(h **idmap**h]hidmap}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubhB. This function will then take care to map the inode according to }(hj*hhhNhNubj)}(h **idmap**h]hidmap}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hj*hhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh.}(hj*hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMOhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  kernel_tmpfile_open (C function)c.kernel_tmpfile_openhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hstruct file * kernel_tmpfile_open (struct mnt_idmap *idmap, const struct path *parentpath, umode_t mode, int open_flag, const struct cred *cred)h]j)}(hstruct file *kernel_tmpfile_open(struct mnt_idmap *idmap, const struct path *parentpath, umode_t mode, int open_flag, const struct cred *cred)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubh)}(hhh]jI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jkernel_tmpfile_opensbc.kernel_tmpfile_openasbuh1hhjhhhjhMubj2)}(h h]h }(hjϟhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjݟhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(hkernel_tmpfile_openh]jI)}(hj̟h]hkernel_tmpfile_open}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hn(struct mnt_idmap *idmap, const struct path *parentpath, umode_t mode, int open_flag, const struct cred *cred)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hj'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNjj )}j ]jʟc.kernel_tmpfile_openasbuh1hhjubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hj`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst struct path *parentpathh](j )}(hjh]hconst}(hjyhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjuubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjuubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjuubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjuubh)}(hhh]jI)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jʟc.kernel_tmpfile_openasbuh1hhjuubj2)}(h h]h }(hjРhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjuubj)}(hjh]h*}(hjޠhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubjI)}(h parentpathh]h parentpath}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjuubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]jʟc.kernel_tmpfile_openasbuh1hhjubj2)}(h h]h }(hj%hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h int open_flagh](jf)}(hinth]hint}(hjLhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjHubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjHubjI)}(h open_flagh]h open_flag}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjHubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst struct cred *credh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj}ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}ubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj}ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}ubh)}(hhh]jI)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jʟc.kernel_tmpfile_openasbuh1hhj}ubj2)}(h h]h }(hjءhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubjI)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h&open a tmpfile for kernel internal useh]h&open a tmpfile for kernel internal use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``const struct path *parentpath`` path of the base directory ``umode_t mode`` mode of the new tmpfile ``int open_flag`` flags ``const struct cred *cred`` credentials for open **Description** Create and open a temporary file. The file is not accounted in nr_files, hence this is only for kernel internal use, and must not be installed into file tables or such.h](h)}(h**Parameters**h]j)}(hj?h]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj9ubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj^h]hstruct mnt_idmap *idmap}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjXubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjUubj)}(h=``const struct path *parentpath`` path of the base directory h](j)}(h!``const struct path *parentpath``h]j)}(hjh]hconst struct path *parentpath}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hpath of the base directoryh]hpath of the base directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjUubj)}(h)``umode_t mode`` mode of the new tmpfile h](j)}(h``umode_t mode``h]j)}(hjТh]h umode_t mode}(hjҢhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj΢ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjʢubj)}(hhh]h)}(hmode of the new tmpfileh]hmode of the new tmpfile}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjʢubeh}(h]h ]h"]h$]h&]uh1jhjhMhjUubj)}(h``int open_flag`` flags h](j)}(h``int open_flag``h]j)}(hj h]h int open_flag}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hflagsh]hflags}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjUubj)}(h1``const struct cred *cred`` credentials for open h](j)}(h``const struct cred *cred``h]j)}(hjBh]hconst struct cred *cred}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj<ubj)}(hhh]h)}(hcredentials for openh]hcredentials for open}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjUubeh}(h]h ]h"]h$]h&]uh1jhj9ubh)}(h**Description**h]j)}(hj}h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj9ubh)}(hCreate and open a temporary file. The file is not accounted in nr_files, hence this is only for kernel internal use, and must not be installed into file tables or such.h]hCreate and open a temporary file. The file is not accounted in nr_files, hence this is only for kernel internal use, and must not be installed into file tables or such.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j end_creating_path (C function)c.end_creating_pathhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hGvoid end_creating_path (const struct path *path, struct dentry *dentry)h]j)}(hFvoid end_creating_path(const struct path *path, struct dentry *dentry)h](jf)}(hvoidh]hvoid}(hj£hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMwubj2)}(h h]h }(hjѣhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjУhMwubjC)}(hend_creating_pathh]jI)}(hend_creating_pathh]hend_creating_path}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjߣubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjУhMwubj=)}(h0(const struct path *path, struct dentry *dentry)h](jC)}(hconst struct path *pathh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj'hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hpathh]hpath}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNjj )}j ]j)}jjsbc.end_creating_pathasbuh1hhjubj2)}(h h]h }(hjXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hpathh]hpath}(hjshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jTc.end_creating_pathasbuh1hhjubj2)}(h h]h }(hjȤhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj֤hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjУhMwubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjУhMwubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjУhMwhjhhubjw)}(hhh]h)}(h6finish a code section started by start_creating_path()h]h6finish a code section started by start_creating_path()}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMwhj hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjУhMwubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%jj%jjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``const struct path *path`` the path instantiated by start_creating_path() ``struct dentry *dentry`` the dentry returned by start_creating_path() **Description** end_creating_path() will unlock and locks taken by start_creating_path() and drop an references that were taken. It should only be called if start_creating_path() returned a non-error. If vfs_mkdir() was called and it returned an error, that error *should* be passed to end_creating_path() together with the path.h](h)}(h**Parameters**h]j)}(hj/h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM{hj)ubj)}(hhh](j)}(hK``const struct path *path`` the path instantiated by start_creating_path() h](j)}(h``const struct path *path``h]j)}(hjNh]hconst struct path *path}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMxhjHubj)}(hhh]h)}(h.the path instantiated by start_creating_path()h]h.the path instantiated by start_creating_path()}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchMxhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMxhjEubj)}(hG``struct dentry *dentry`` the dentry returned by start_creating_path() h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMyhjubj)}(hhh]h)}(h,the dentry returned by start_creating_path()h]h,the dentry returned by start_creating_path()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMyhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMyhjEubeh}(h]h ]h"]h$]h&]uh1jhj)ubh)}(h**Description**h]j)}(hj¥h]h Description}(hjĥhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM{hj)ubh)}(hX:end_creating_path() will unlock and locks taken by start_creating_path() and drop an references that were taken. It should only be called if start_creating_path() returned a non-error. If vfs_mkdir() was called and it returned an error, that error *should* be passed to end_creating_path() together with the path.h](hend_creating_path() will unlock and locks taken by start_creating_path() and drop an references that were taken. It should only be called if start_creating_path() returned a non-error. If vfs_mkdir() was called and it returned an error, that error }(hjإhhhNhNubj )}(h*should*h]hshould}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j~ hjإubh9 be passed to end_creating_path() together with the path.}(hjإhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMzhj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j dentry_create (C function)c.dentry_createhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hastruct file * dentry_create (struct path *path, int flags, umode_t mode, const struct cred *cred)h]j)}(h_struct file *dentry_create(struct path *path, int flags, umode_t mode, const struct cred *cred)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj2)}(h h]h }(hj'hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj&hMubh)}(hhh]jI)}(hfileh]hfile}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNjj )}j ]j)}j dentry_createsbc.dentry_createasbuh1hhjhhhj&hMubj2)}(h h]h }(hjYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj&hMubj)}(hjh]h*}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj&hMubjC)}(h dentry_createh]jI)}(hjVh]h dentry_create}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj&hMubj=)}(hE(struct path *path, int flags, umode_t mode, const struct cred *cred)h](jC)}(hstruct path *pathh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jTc.dentry_createasbuh1hhjubj2)}(h h]h }(hjϦhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjݦhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h int flagsh](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hj;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNjj )}j ]jTc.dentry_createasbuh1hhj4ubj2)}(h h]h }(hjYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4ubjI)}(hmodeh]hmode}(hjghhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst struct cred *credh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj|ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|ubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj|ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|ubh)}(hhh]jI)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jTc.dentry_createasbuh1hhj|ubj2)}(h h]h }(hjקhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubjI)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhj&hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj&hMubah}(h]j ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj&hMhjhhubjw)}(hhh]h)}(hCreate and open a fileh]hCreate and open a file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj&hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1jhhhjHhNhNubj)}(hXI**Parameters** ``struct path *path`` path to create ``int flags`` O\_ flags ``umode_t mode`` mode bits for new file ``const struct cred *cred`` credentials to use **Description** Caller must hold the parent directory's lock, and have prepared a negative dentry, placed in **path->dentry**, for the new file. Caller sets **path->mnt** to the vfsmount of the filesystem where the new file is to be created. The parent directory and the negative dentry must reside on the same filesystem instance. On success, returns a ``struct file *``. Otherwise an ERR_PTR is returned.h](h)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj8ubj)}(hhh](j)}(h%``struct path *path`` path to create h](j)}(h``struct path *path``h]j)}(hj]h]hstruct path *path}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjWubj)}(hhh]h)}(hpath to createh]hpath to create}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjTubj)}(h``int flags`` O\_ flags h](j)}(h ``int flags``h]j)}(hjh]h int flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h O\_ flagsh]h O_ flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjTubj)}(h(``umode_t mode`` mode bits for new file h](j)}(h``umode_t mode``h]j)}(hjϨh]h umode_t mode}(hjѨhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjͨubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjɨubj)}(hhh]h)}(hmode bits for new fileh]hmode bits for new file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjɨubeh}(h]h ]h"]h$]h&]uh1jhjhMhjTubj)}(h/``const struct cred *cred`` credentials to use h](j)}(h``const struct cred *cred``h]j)}(hjh]hconst struct cred *cred}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hcredentials to useh]hcredentials to use}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjTubeh}(h]h ]h"]h$]h&]uh1jhj8ubh)}(h**Description**h]j)}(hjCh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj8ubh)}(hCaller must hold the parent directory's lock, and have prepared a negative dentry, placed in **path->dentry**, for the new file.h](h_Caller must hold the parent directory’s lock, and have prepared a negative dentry, placed in }(hjYhhhNhNubj)}(h**path->dentry**h]h path->dentry}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubh, for the new file.}(hjYhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj8ubh)}(hCaller sets **path->mnt** to the vfsmount of the filesystem where the new file is to be created. The parent directory and the negative dentry must reside on the same filesystem instance.h](h Caller sets }(hjzhhhNhNubj)}(h **path->mnt**h]h path->mnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh to the vfsmount of the filesystem where the new file is to be created. The parent directory and the negative dentry must reside on the same filesystem instance.}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj8ubh)}(hJOn success, returns a ``struct file *``. Otherwise an ERR_PTR is returned.h](hOn success, returns a }(hjhhhNhNubj)}(h``struct file *``h]h struct file *}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh#. Otherwise an ERR_PTR is returned.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_mknod (C function) c.vfs_mknodhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hint vfs_mknod (struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev, struct delegated_inode *delegated_inode)h]j)}(hint vfs_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev, struct delegated_inode *delegated_inode)h](jf)}(hinth]hint}(hjܩhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjةhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjةhhhjhMubjC)}(h vfs_mknodh]jI)}(h vfs_mknodh]h vfs_mknod}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjةhhhjhMubj=)}(h(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev, struct delegated_inode *delegated_inode)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj&hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj )}j ]j)}jjsb c.vfs_mknodasbuh1hhjubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hjrhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct inode *dirh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jS c.vfs_mknodasbuh1hhjubj2)}(h h]h }(hjǪhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjժhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jS c.vfs_mknodasbuh1hhjubj2)}(h h]h }(hj7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdentryh]hdentry}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjnhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNjj )}j ]jS c.vfs_mknodasbuh1hhjgubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjgubjI)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjgubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h dev_t devh](h)}(hhh]jI)}(hdev_th]hdev_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jS c.vfs_mknodasbuh1hhjubj2)}(h h]h }(hjԫhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h'struct delegated_inode *delegated_inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jS c.vfs_mknodasbuh1hhjubj2)}(h h]h }(hj7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdelegated_inodeh]hdelegated_inode}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjةhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjԩhhhjhMubah}(h]jϩah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjѩhhubjw)}(hhh]h)}(hcreate device node or fileh]hcreate device node or file}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjyhhubah}(h]h ]h"]h$]h&]uh1jvhjѩhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct inode *dir`` inode of the parent directory ``struct dentry *dentry`` dentry of the child device node ``umode_t mode`` mode of the child device node ``dev_t dev`` device number of device to create ``struct delegated_inode *delegated_inode`` returns parent inode, if the inode is delegated. **Description** Create a device node or file. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hj֬hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjҬhMhjӬubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjҬhMhjubj)}(h4``struct inode *dir`` inode of the parent directory h](j)}(h``struct inode *dir``h]j)}(hjh]hstruct inode *dir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h:``struct dentry *dentry`` dentry of the child device node h](j)}(h``struct dentry *dentry``h]j)}(hj/h]hstruct dentry *dentry}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj)ubj)}(hhh]h)}(hdentry of the child device nodeh]hdentry of the child device node}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjubj)}(h/``umode_t mode`` mode of the child device node h](j)}(h``umode_t mode``h]j)}(hjhh]h umode_t mode}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjbubj)}(hhh]h)}(hmode of the child device nodeh]hmode of the child device node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhjubj)}(h0``dev_t dev`` device number of device to create h](j)}(h ``dev_t dev``h]j)}(hjh]h dev_t dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h!device number of device to createh]h!device number of device to create}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h]``struct delegated_inode *delegated_inode`` returns parent inode, if the inode is delegated. h](j)}(h+``struct delegated_inode *delegated_inode``h]j)}(hjڭh]h'struct delegated_inode *delegated_inode}(hjܭhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjحubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjԭubj)}(hhh]h)}(h0returns parent inode, if the inode is delegated.h]h0returns parent inode, if the inode is delegated.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjԭubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(hCreate a device node or file.h]hCreate a device node or file.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hj:hhhNhNubj)}(h **idmap**h]hidmap}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubhB. This function will then take care to map the inode according to }(hj:hhhNhNubj)}(h **idmap**h]hidmap}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hj:hhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh.}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_mkdir (C function) c.vfs_mkdirhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hstruct dentry * vfs_mkdir (struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, struct delegated_inode *delegated_inode)h]j)}(hstruct dentry *vfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, struct delegated_inode *delegated_inode)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMjubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}j vfs_mkdirsb c.vfs_mkdirasbuh1hhjhhhjhMjubj2)}(h h]h }(hj߮hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMjubjC)}(h vfs_mkdirh]jI)}(hjܮh]h vfs_mkdir}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMjubj=)}(hz(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, struct delegated_inode *delegated_inode)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj&hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj )}j ]jڮ c.vfs_mkdirasbuh1hhjubj2)}(h h]h }(hjUhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hjphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct inode *dirh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jڮ c.vfs_mkdirasbuh1hhjubj2)}(h h]h }(hjůhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjӯhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jڮ c.vfs_mkdirasbuh1hhjubj2)}(h h]h }(hj5hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdentryh]hdentry}(hjPhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj )}j ]jڮ c.vfs_mkdirasbuh1hhjeubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjeubjI)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h'struct delegated_inode *delegated_inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdelegated_inodeh]hdelegated_inode}(hjϰhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj̰ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjѰmodnameN classnameNjj )}j ]jڮ c.vfs_mkdirasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMjubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMjubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMjhjhhubjw)}(hhh]h)}(h5create directory returning correct dentry if possibleh]h5create directory returning correct dentry if possible}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMjhj/hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct inode *dir`` inode of the parent directory ``struct dentry *dentry`` dentry of the child directory ``umode_t mode`` mode of the child directory ``struct delegated_inode *delegated_inode`` returns parent inode, if the inode is delegated. **Description** Create a directory. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**. In the event that the filesystem does not use the ***dentry** but leaves it negative or unhashes it and possibly splices a different one returning it, the original dentry is dput() and the alternate is returned. In case of an error the dentry is dput() and an ERR_PTR() is returned.h](h)}(h**Parameters**h]j)}(hjTh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMnhjNubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjsh]hstruct mnt_idmap *idmap}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMkhjmubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMkhjjubj)}(h4``struct inode *dir`` inode of the parent directory h](j)}(h``struct inode *dir``h]j)}(hjh]hstruct inode *dir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMlhjubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hjűhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMlhj±ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjjubj)}(h8``struct dentry *dentry`` dentry of the child directory h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMmhj߱ubj)}(hhh]h)}(hdentry of the child directoryh]hdentry of the child directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhj߱ubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjjubj)}(h-``umode_t mode`` mode of the child directory h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMnhjubj)}(hhh]h)}(hmode of the child directoryh]hmode of the child directory}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMnhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMnhjjubj)}(h]``struct delegated_inode *delegated_inode`` returns parent inode, if the inode is delegated. h](j)}(h+``struct delegated_inode *delegated_inode``h]j)}(hjWh]h'struct delegated_inode *delegated_inode}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMohjQubj)}(hhh]h)}(h0returns parent inode, if the inode is delegated.h]h0returns parent inode, if the inode is delegated.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMohjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMohjjubeh}(h]h ]h"]h$]h&]uh1jhjNubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMqhjNubh)}(hCreate a directory.h]hCreate a directory.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMphjNubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB. This function will then take care to map the inode according to }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjѲhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMrhjNubh)}(hIn the event that the filesystem does not use the ***dentry** but leaves it negative or unhashes it and possibly splices a different one returning it, the original dentry is dput() and the alternate is returned.h](h2In the event that the filesystem does not use the }(hjhhhNhNubj)}(h ***dentry**h]h*dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh but leaves it negative or unhashes it and possibly splices a different one returning it, the original dentry is dput() and the alternate is returned.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMxhjNubh)}(hFIn case of an error the dentry is dput() and an ERR_PTR() is returned.h]hFIn case of an error the dentry is dput() and an ERR_PTR() is returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM|hjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_rmdir (C function) c.vfs_rmdirhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hzint vfs_rmdir (struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, struct delegated_inode *delegated_inode)h]j)}(hyint vfs_rmdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, struct delegated_inode *delegated_inode)h](jf)}(hinth]hint}(hjLhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjHhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj2)}(h h]h }(hj[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjHhhhjZhMubjC)}(h vfs_rmdirh]jI)}(h vfs_rmdirh]h vfs_rmdir}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjHhhhjZhMubj=)}(hl(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, struct delegated_inode *delegated_inode)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjosb c.vfs_rmdirasbuh1hhjubj2)}(h h]h }(hjdzhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjճhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct inode *dirh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jó c.vfs_rmdirasbuh1hhjubj2)}(h h]h }(hj7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdirh]hdir}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjgubj2)}(h h]h }(hjxhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjgubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jó c.vfs_rmdirasbuh1hhjgubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjgubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubjI)}(hdentryh]hdentry}(hj´hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjgubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h'struct delegated_inode *delegated_inodeh](j )}(hjh]hstruct}(hj۴hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj״ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj״ubh)}(hhh]jI)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jó c.vfs_rmdirasbuh1hhj״ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj״ubj)}(hjh]h*}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj״ubjI)}(hdelegated_inodeh]hdelegated_inode}(hj2hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj״ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjHhhhjZhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjDhhhjZhMubah}(h]j?ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjZhMhjAhhubjw)}(hhh]h)}(hremove directoryh]hremove directory}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjYhhubah}(h]h ]h"]h$]h&]uh1jvhjAhhhjZhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct inode *dir`` inode of the parent directory ``struct dentry *dentry`` dentry of the child directory ``struct delegated_inode *delegated_inode`` returns parent inode, if it's delegated. **Description** Remove a directory. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hj~h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjxubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``struct inode *dir`` inode of the parent directory h](j)}(h``struct inode *dir``h]j)}(hjֵh]hstruct inode *dir}(hjصhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԵubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjеubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjеubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``struct dentry *dentry`` dentry of the child directory h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj ubj)}(hhh]h)}(hdentry of the child directoryh]hdentry of the child directory}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhjubj)}(hU``struct delegated_inode *delegated_inode`` returns parent inode, if it's delegated. h](j)}(h+``struct delegated_inode *delegated_inode``h]j)}(hjHh]h'struct delegated_inode *delegated_inode}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjBubj)}(hhh]h)}(h(returns parent inode, if it's delegated.h]h*returns parent inode, if it’s delegated.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhjubeh}(h]h ]h"]h$]h&]uh1jhjxubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjxubh)}(hRemove a directory.h]hRemove a directory.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjxubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB. This function will then take care to map the inode according to }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hj¶hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjԶhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_unlink (C function) c.vfs_unlinkhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h{int vfs_unlink (struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, struct delegated_inode *delegated_inode)h]j)}(hzint vfs_unlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, struct delegated_inode *delegated_inode)h](jf)}(hinth]hint}(hj hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMYubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj hhhjhMYubjC)}(h vfs_unlinkh]jI)}(h vfs_unlinkh]h vfs_unlink}(hj.hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj hhhjhMYubj=)}(hl(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, struct delegated_inode *delegated_inode)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjFubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNjj )}j ]j)}jj0sb c.vfs_unlinkasbuh1hhjFubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubjI)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjBubjC)}(hstruct inode *dirh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjɷhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjڷhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj׷ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjܷmodnameN classnameNjj )}j ]j c.vfs_unlinkasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjBubjC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hj,hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj(ubj2)}(h h]h }(hj9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj(ubh)}(hhh]jI)}(hdentryh]hdentry}(hjJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNjj )}j ]j c.vfs_unlinkasbuh1hhj(ubj2)}(h h]h }(hjhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj(ubj)}(hjh]h*}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubjI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj(ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjBubjC)}(h'struct delegated_inode *delegated_inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j c.vfs_unlinkasbuh1hhjubj2)}(h h]h }(hjظhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjBubeh}(h]h ]h"]h$]h&]j`jauh1j<hj hhhjhMYubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMYubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMYhjhhubjw)}(hhh]h)}(hunlink a filesystem objecth]hunlink a filesystem object}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMYhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1jhhhjHhNhNubj)}(hX`**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct inode *dir`` parent directory ``struct dentry *dentry`` victim ``struct delegated_inode *delegated_inode`` returns victim inode, if the inode is delegated. **Description** The caller must hold dir->i_rwsem exclusively. If vfs_unlink discovers a delegation, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation on that inode and retry. Because breaking a delegation may take a long time, the caller should drop dir->i_rwsem before doing so. Alternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hj?h]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM]hj9ubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj^h]hstruct mnt_idmap *idmap}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMZhjXubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshMZhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMZhjUubj)}(h'``struct inode *dir`` parent directory h](j)}(h``struct inode *dir``h]j)}(hjh]hstruct inode *dir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM[hjubj)}(hhh]h)}(hparent directoryh]hparent directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjUubj)}(h!``struct dentry *dentry`` victim h](j)}(h``struct dentry *dentry``h]j)}(hjйh]hstruct dentry *dentry}(hjҹhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjιubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM\hjʹubj)}(hhh]h)}(hvictimh]hvictim}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjʹubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjUubj)}(h]``struct delegated_inode *delegated_inode`` returns victim inode, if the inode is delegated. h](j)}(h+``struct delegated_inode *delegated_inode``h]j)}(hj h]h'struct delegated_inode *delegated_inode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM]hjubj)}(hhh]h)}(h0returns victim inode, if the inode is delegated.h]h0returns victim inode, if the inode is delegated.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjUubeh}(h]h ]h"]h$]h&]uh1jhj9ubh)}(h**Description**h]j)}(hjDh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM_hj9ubh)}(h.The caller must hold dir->i_rwsem exclusively.h]h.The caller must hold dir->i_rwsem exclusively.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM^hj9ubh)}(hX)If vfs_unlink discovers a delegation, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation on that inode and retry. Because breaking a delegation may take a long time, the caller should drop dir->i_rwsem before doing so.h]hX)If vfs_unlink discovers a delegation, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation on that inode and retry. Because breaking a delegation may take a long time, the caller should drop dir->i_rwsem before doing so.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM`hj9ubh)}(hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.h]hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMfhj9ubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB. This function will then take care to map the inode according to }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMjhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_symlink (C function) c.vfs_symlinkhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hint vfs_symlink (struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *oldname, struct delegated_inode *delegated_inode)h]j)}(hint vfs_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *oldname, struct delegated_inode *delegated_inode)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(h vfs_symlinkh]jI)}(h vfs_symlinkh]h vfs_symlink}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *oldname, struct delegated_inode *delegated_inode)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj%ubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%ubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjGhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNjj )}j ]j)}jjsb c.vfs_symlinkasbuh1hhj%ubj2)}(h h]h }(hjghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%ubj)}(hjh]h*}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubjI)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj!ubjC)}(hstruct inode *dirh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc c.vfs_symlinkasbuh1hhjubj2)}(h h]h }(hj׻hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj!ubjC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+modnameN classnameNjj )}j ]jc c.vfs_symlinkasbuh1hhjubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdentryh]hdentry}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj!ubjC)}(hconst char *oldnameh](j )}(hjh]hconst}(hj{hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjwubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubjI)}(holdnameh]holdname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj!ubjC)}(h'struct delegated_inode *delegated_inodeh](j )}(hjh]hstruct}(hjؼhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjԼubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjԼubh)}(hhh]jI)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc c.vfs_symlinkasbuh1hhjԼubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjԼubj)}(hjh]h*}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjԼubjI)}(hdelegated_inodeh]hdelegated_inode}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjԼubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj!ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jߺah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hcreate symlinkh]hcreate symlink}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjVhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct inode *dir`` inode of the parent directory ``struct dentry *dentry`` dentry of the child symlink file ``const char *oldname`` name of the file to link to ``struct delegated_inode *delegated_inode`` returns victim inode, if the inode is delegated. **Description** Create a symlink. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hj{h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjuubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``struct inode *dir`` inode of the parent directory h](j)}(h``struct inode *dir``h]j)}(hjӽh]hstruct inode *dir}(hjսhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjѽubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjͽubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjͽubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h;``struct dentry *dentry`` dentry of the child symlink file h](j)}(h``struct dentry *dentry``h]j)}(hj h]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h dentry of the child symlink fileh]h dentry of the child symlink file}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhjubj)}(h4``const char *oldname`` name of the file to link to h](j)}(h``const char *oldname``h]j)}(hjEh]hconst char *oldname}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj?ubj)}(hhh]h)}(hname of the file to link toh]hname of the file to link to}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjubj)}(h]``struct delegated_inode *delegated_inode`` returns victim inode, if the inode is delegated. h](j)}(h+``struct delegated_inode *delegated_inode``h]j)}(hj~h]h'struct delegated_inode *delegated_inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjxubj)}(hhh]h)}(h0returns victim inode, if the inode is delegated.h]h0returns victim inode, if the inode is delegated.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjuubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjuubh)}(hCreate a symlink.h]hCreate a symlink.}(hjϾhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjuubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hj޾hhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj޾ubhB. This function will then take care to map the inode according to }(hj޾hhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj޾ubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hj޾hhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj޾ubh.}(hj޾hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_link (C function) c.vfs_linkhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hint vfs_link (struct dentry *old_dentry, struct mnt_idmap *idmap, struct inode *dir, struct dentry *new_dentry, struct delegated_inode *delegated_inode)h]j)}(hint vfs_link(struct dentry *old_dentry, struct mnt_idmap *idmap, struct inode *dir, struct dentry *new_dentry, struct delegated_inode *delegated_inode)h](jf)}(hinth]hint}(hjChhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj?hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMTubj2)}(h h]h }(hjRhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj?hhhjQhMTubjC)}(hvfs_linkh]jI)}(hvfs_linkh]hvfs_link}(hjdhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj?hhhjQhMTubj=)}(h(struct dentry *old_dentry, struct mnt_idmap *idmap, struct inode *dir, struct dentry *new_dentry, struct delegated_inode *delegated_inode)h](jC)}(hstruct dentry *old_dentryh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj|ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|ubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjfsb c.vfs_linkasbuh1hhj|ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|ubj)}(hjh]h*}(hj̿hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubjI)}(h old_dentryh]h old_dentry}(hjٿhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjxubjC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j c.vfs_linkasbuh1hhjubj2)}(h h]h }(hj.hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hjIhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjxubjC)}(hstruct inode *dirh](j )}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj^ubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj^ubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j c.vfs_linkasbuh1hhj^ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj^ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubjI)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj^ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjxubjC)}(hstruct dentry *new_dentryh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j c.vfs_linkasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(h new_dentryh]h new_dentry}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjxubjC)}(h'struct delegated_inode *delegated_inodeh](j )}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj>ubj2)}(h h]h }(hjOhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj>ubh)}(hhh]jI)}(hdelegated_inodeh]hdelegated_inode}(hj`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNjj )}j ]j c.vfs_linkasbuh1hhj>ubj2)}(h h]h }(hj~hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj>ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubjI)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj>ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjxubeh}(h]h ]h"]h$]h&]j`jauh1j<hj?hhhjQhMTubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj;hhhjQhMTubah}(h]j6ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjQhMThj8hhubjw)}(hhh]h)}(hcreate a new linkh]hcreate a new link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMThjhhubah}(h]h ]h"]h$]h&]uh1jvhj8hhhjQhMTubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct dentry *old_dentry`` object to be linked ``struct mnt_idmap *idmap`` idmap of the mount ``struct inode *dir`` new parent ``struct dentry *new_dentry`` where to create the new link ``struct delegated_inode *delegated_inode`` returns inode needing a delegation break **Description** The caller must hold dir->i_rwsem exclusively. If vfs_link discovers a delegation on the to-be-linked file in need of breaking, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop the i_rwsem before doing so. Alternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMXhjubj)}(hhh](j)}(h2``struct dentry *old_dentry`` object to be linked h](j)}(h``struct dentry *old_dentry``h]j)}(hjh]hstruct dentry *old_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMUhjubj)}(hhh]h)}(hobject to be linkedh]hobject to be linked}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjubj)}(h/``struct mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj=h]hstruct mnt_idmap *idmap}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMVhj7ubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhMVhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMVhjubj)}(h!``struct inode *dir`` new parent h](j)}(h``struct inode *dir``h]j)}(hjvh]hstruct inode *dir}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMWhjpubj)}(hhh]h)}(h new parenth]h new parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMWhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMWhjubj)}(h;``struct dentry *new_dentry`` where to create the new link h](j)}(h``struct dentry *new_dentry``h]j)}(hjh]hstruct dentry *new_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMXhjubj)}(hhh]h)}(hwhere to create the new linkh]hwhere to create the new link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(hU``struct delegated_inode *delegated_inode`` returns inode needing a delegation break h](j)}(h+``struct delegated_inode *delegated_inode``h]j)}(hjh]h'struct delegated_inode *delegated_inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMYhjubj)}(hhh]h)}(h(returns inode needing a delegation breakh]h(returns inode needing a delegation break}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj#h]h Description}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM[hjubh)}(h.The caller must hold dir->i_rwsem exclusively.h]h.The caller must hold dir->i_rwsem exclusively.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMZhjubh)}(hXEIf vfs_link discovers a delegation on the to-be-linked file in need of breaking, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop the i_rwsem before doing so.h]hXEIf vfs_link discovers a delegation on the to-be-linked file in need of breaking, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop the i_rwsem before doing so.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM\hjubh)}(hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.h]hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMbhjubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjfhhhNhNubj)}(h **idmap**h]hidmap}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubhB. This function will then take care to map the inode according to }(hjfhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjfhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh.}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMfhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_rename (C function) c.vfs_renamehNtauh1hhjHhhhNhNubj)}(hhh](j)}(h&int vfs_rename (struct renamedata *rd)h]j)}(h%int vfs_rename(struct renamedata *rd)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(h vfs_renameh]jI)}(h vfs_renameh]h vfs_rename}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h(struct renamedata *rd)h]jC)}(hstruct renamedata *rdh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h renamedatah]h renamedata}(hj&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNjj )}j ]j)}jjsb c.vfs_renameasbuh1hhjubj2)}(h h]h }(hjFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hrdh]hrd}(hjahhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hrename a filesystem objecth]hrename a filesystem object}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hXr **Parameters** ``struct renamedata *rd`` pointer to :c:type:`struct renamedata ` info **Description** The caller must hold multiple mutexes--see lock_rename()). If vfs_rename discovers a delegation in need of breaking at either the source or destination, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop all locks before doing so. Alternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported. The worst of all namespace operations - renaming directory. "Perverted" doesn't even start to describe it. Somebody in UCB had a heck of a trip... Problems: a) we can get into loop creation. b) race potential - two innocent renames can create a loop together. That's where 4.4BSD screws up. Current fix: serialization on sb->s_vfs_rename_mutex. We might be more accurate, but that's another story. c) we may have to lock up to _four_ objects - parents and victim (if it exists), and source (if it's a non-directory or a subdirectory that moves to different parent). And that - after we got ->i_rwsem on parents (until then we don't know whether the target exists). Solution: try to be smart with locking order for inodes. We rely on the fact that tree topology may change only under ->s_vfs_rename_mutex _and_ that parent of the object we move will be locked. Thus we can rank directories by the tree (ancestors first) and rank all non-directories after them. That works since everybody except rename does "lock parent, lookup, lock child" and rename is under ->s_vfs_rename_mutex. HOWEVER, it relies on the assumption that any object with ->lookup() has no more than 1 dentry. If "hybrid" objects will ever appear, we'd better make sure that there's no link(2) for them. d) conversion from fhandle to dentry may come in the wrong moment - when we are removing the target. Solution: we will have to grab ->i_rwsem in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_rwsem on parents, which works but leads to some truly excessive locking].h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh]j)}(hS``struct renamedata *rd`` pointer to :c:type:`struct renamedata ` info h](j)}(h``struct renamedata *rd``h]j)}(hjh]hstruct renamedata *rd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh]h)}(h8pointer to :c:type:`struct renamedata ` infoh](h pointer to }(hjhhhNhNubh)}(h(:c:type:`struct renamedata `h]j)}(hjh]hstruct renamedata}(hjhhhNhNubah}(h]h ](xrefjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocfilesystems/api-summary refdomainjreftypetype refexplicitrefwarnjj )}j ]sb reftarget renamedatauh1hhjhM hjubh info}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj0h]h Description}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(h:The caller must hold multiple mutexes--see lock_rename()).h]h:The caller must hold multiple mutexes--see lock_rename()).}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(hXPIf vfs_rename discovers a delegation in need of breaking at either the source or destination, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop all locks before doing so.h]hXPIf vfs_rename discovers a delegation in need of breaking at either the source or destination, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop all locks before doing so.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.h]hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(hThe worst of all namespace operations - renaming directory. "Perverted" doesn't even start to describe it. Somebody in UCB had a heck of a trip... Problems:h]hThe worst of all namespace operations - renaming directory. “Perverted” doesn’t even start to describe it. Somebody in UCB had a heck of a trip... Problems:}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hXa) we can get into loop creation. b) race potential - two innocent renames can create a loop together. That's where 4.4BSD screws up. Current fix: serialization on sb->s_vfs_rename_mutex. We might be more accurate, but that's another story. c) we may have to lock up to _four_ objects - parents and victim (if it exists), and source (if it's a non-directory or a subdirectory that moves to different parent). And that - after we got ->i_rwsem on parents (until then we don't know whether the target exists). Solution: try to be smart with locking order for inodes. We rely on the fact that tree topology may change only under ->s_vfs_rename_mutex _and_ that parent of the object we move will be locked. Thus we can rank directories by the tree (ancestors first) and rank all non-directories after them. That works since everybody except rename does "lock parent, lookup, lock child" and rename is under ->s_vfs_rename_mutex. HOWEVER, it relies on the assumption that any object with ->lookup() has no more than 1 dentry. If "hybrid" objects will ever appear, we'd better make sure that there's no link(2) for them. d) conversion from fhandle to dentry may come in the wrong moment - when we are removing the target. Solution: we will have to grab ->i_rwsem in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_rwsem on parents, which works but leads to some truly excessive locking].h]j)}(hhh](j#C)}(hwe can get into loop creation.h]h)}(hjh]hwe can get into loop creation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubah}(h]h ]h"]h$]h&]uh1j"Chjubj#C)}(hrace potential - two innocent renames can create a loop together. That's where 4.4BSD screws up. Current fix: serialization on sb->s_vfs_rename_mutex. We might be more accurate, but that's another story.h]h)}(hrace potential - two innocent renames can create a loop together. That's where 4.4BSD screws up. Current fix: serialization on sb->s_vfs_rename_mutex. We might be more accurate, but that's another story.h]hrace potential - two innocent renames can create a loop together. That’s where 4.4BSD screws up. Current fix: serialization on sb->s_vfs_rename_mutex. We might be more accurate, but that’s another story.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubah}(h]h ]h"]h$]h&]uh1j"Chjubj#C)}(hXjwe may have to lock up to _four_ objects - parents and victim (if it exists), and source (if it's a non-directory or a subdirectory that moves to different parent). And that - after we got ->i_rwsem on parents (until then we don't know whether the target exists). Solution: try to be smart with locking order for inodes. We rely on the fact that tree topology may change only under ->s_vfs_rename_mutex _and_ that parent of the object we move will be locked. Thus we can rank directories by the tree (ancestors first) and rank all non-directories after them. That works since everybody except rename does "lock parent, lookup, lock child" and rename is under ->s_vfs_rename_mutex. HOWEVER, it relies on the assumption that any object with ->lookup() has no more than 1 dentry. If "hybrid" objects will ever appear, we'd better make sure that there's no link(2) for them.h]h)}(hXjwe may have to lock up to _four_ objects - parents and victim (if it exists), and source (if it's a non-directory or a subdirectory that moves to different parent). And that - after we got ->i_rwsem on parents (until then we don't know whether the target exists). Solution: try to be smart with locking order for inodes. We rely on the fact that tree topology may change only under ->s_vfs_rename_mutex _and_ that parent of the object we move will be locked. Thus we can rank directories by the tree (ancestors first) and rank all non-directories after them. That works since everybody except rename does "lock parent, lookup, lock child" and rename is under ->s_vfs_rename_mutex. HOWEVER, it relies on the assumption that any object with ->lookup() has no more than 1 dentry. If "hybrid" objects will ever appear, we'd better make sure that there's no link(2) for them.h]hXzwe may have to lock up to _four_ objects - parents and victim (if it exists), and source (if it’s a non-directory or a subdirectory that moves to different parent). And that - after we got ->i_rwsem on parents (until then we don’t know whether the target exists). Solution: try to be smart with locking order for inodes. We rely on the fact that tree topology may change only under ->s_vfs_rename_mutex _and_ that parent of the object we move will be locked. Thus we can rank directories by the tree (ancestors first) and rank all non-directories after them. That works since everybody except rename does “lock parent, lookup, lock child” and rename is under ->s_vfs_rename_mutex. HOWEVER, it relies on the assumption that any object with ->lookup() has no more than 1 dentry. If “hybrid” objects will ever appear, we’d better make sure that there’s no link(2) for them.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubah}(h]h ]h"]h$]h&]uh1j"Chjubj#C)}(hXconversion from fhandle to dentry may come in the wrong moment - when we are removing the target. Solution: we will have to grab ->i_rwsem in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_rwsem on parents, which works but leads to some truly excessive locking].h]h)}(hXconversion from fhandle to dentry may come in the wrong moment - when we are removing the target. Solution: we will have to grab ->i_rwsem in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_rwsem on parents, which works but leads to some truly excessive locking].h]hXconversion from fhandle to dentry may come in the wrong moment - when we are removing the target. Solution: we will have to grab ->i_rwsem in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_rwsem on parents, which works but leads to some truly excessive locking].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM.hjubah}(h]h ]h"]h$]h&]uh1j"Chjubeh}(h]h ]h"]h$]h&]j loweralphajhjjOuh1jhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_readlink (C function)c.vfs_readlinkhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hIint vfs_readlink (struct dentry *dentry, char __user *buffer, int buflen)h]j)}(hHint vfs_readlink(struct dentry *dentry, char __user *buffer, int buflen)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMlubj2)}(h h]h }(hj(hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj'hMlubjC)}(h vfs_readlinkh]jI)}(h vfs_readlinkh]h vfs_readlink}(hj:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj'hMlubj=)}(h8(struct dentry *dentry, char __user *buffer, int buflen)h](jC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjRubj2)}(h h]h }(hjchhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRubh)}(hhh]jI)}(hdentryh]hdentry}(hjthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNjj )}j ]j)}jj<sbc.vfs_readlinkasbuh1hhjRubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubjI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjNubjC)}(hchar __user *bufferh](jf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh__user}(hjhhhNhNubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjNubjC)}(h int buflenh](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hj*hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hbuflenh]hbuflen}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjNubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhj'hMlubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj'hMlubah}(h]j ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj'hMlhjhhubjw)}(hhh]h)}(h'copy symlink body into userspace bufferh]h'copy symlink body into userspace buffer}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMlhj_hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj'hMlubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1jhhhjHhNhNubj)}(hX **Parameters** ``struct dentry *dentry`` dentry on which to get symbolic link ``char __user *buffer`` user memory pointer ``int buflen`` size of buffer **Description** Does not touch atime. That's up to the caller if necessary Does not call security hook.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMphj~ubj)}(hhh](j)}(h?``struct dentry *dentry`` dentry on which to get symbolic link h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMmhjubj)}(hhh]h)}(h$dentry on which to get symbolic linkh]h$dentry on which to get symbolic link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubj)}(h,``char __user *buffer`` user memory pointer h](j)}(h``char __user *buffer``h]j)}(hjh]hchar __user *buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMnhjubj)}(hhh]h)}(huser memory pointerh]huser memory pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubj)}(h``int buflen`` size of buffer h](j)}(h``int buflen``h]j)}(hjh]h int buflen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMohjubj)}(hhh]h)}(hsize of bufferh]hsize of buffer}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMohj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMohjubeh}(h]h ]h"]h$]h&]uh1jhj~ubh)}(h**Description**h]j)}(hjPh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMqhj~ubh)}(h;Does not touch atime. That's up to the caller if necessaryh]h=Does not touch atime. That’s up to the caller if necessary}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMphj~ubh)}(hDoes not call security hook.h]hDoes not call security hook.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMrhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_get_link (C function)c.vfs_get_linkhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hLconst char * vfs_get_link (struct dentry *dentry, struct delayed_call *done)h]j)}(hJconst char *vfs_get_link(struct dentry *dentry, struct delayed_call *done)h](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhjhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(h vfs_get_linkh]jI)}(h vfs_get_linkh]h vfs_get_link}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h2(struct dentry *dentry, struct delayed_call *done)h](jC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hj'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNjj )}j ]j)}jjsbc.vfs_get_linkasbuh1hhjubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdentryh]hdentry}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct delayed_call *doneh](j )}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubh)}(hhh]jI)}(h delayed_callh]h delayed_call}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jCc.vfs_get_linkasbuh1hhjwubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubjI)}(hdoneh]hdone}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hget symlink bodyh]hget symlink body}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hXi**Parameters** ``struct dentry *dentry`` dentry on which to get symbolic link ``struct delayed_call *done`` caller needs to free returned data with this **Description** Calls security hook and i_op->get_link() on the supplied inode. It does not touch atime. That's up to the caller if necessary. Does not work on "special" symlinks like /proc/$$/fd/Nh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh](j)}(h?``struct dentry *dentry`` dentry on which to get symbolic link h](j)}(h``struct dentry *dentry``h]j)}(hj=h]hstruct dentry *dentry}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj7ubj)}(hhh]h)}(h$dentry on which to get symbolic linkh]h$dentry on which to get symbolic link}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhj4ubj)}(hK``struct delayed_call *done`` caller needs to free returned data with this h](j)}(h``struct delayed_call *done``h]j)}(hjvh]hstruct delayed_call *done}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjpubj)}(hhh]h)}(h,caller needs to free returned data with thish]h,caller needs to free returned data with this}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhj4ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(h?Calls security hook and i_op->get_link() on the supplied inode.h]h?Calls security hook and i_op->get_link() on the supplied inode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(h?It does not touch atime. That's up to the caller if necessary.h]hAIt does not touch atime. That’s up to the caller if necessary.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(h6Does not work on "special" symlinks like /proc/$$/fd/Nh]h:Does not work on “special” symlinks like /proc/$$/fd/N}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j page_get_link (C function)c.page_get_linkhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hfconst char * page_get_link (struct dentry *dentry, struct inode *inode, struct delayed_call *callback)h]j)}(hdconst char *page_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *callback)h](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj2)}(h h]h }(hj"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj!hMubjf)}(hcharh]hchar}(hj0hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhj!hMubj2)}(h h]h }(hj>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj!hMubj)}(hjh]h*}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj!hMubjC)}(h page_get_linkh]jI)}(h page_get_linkh]h page_get_link}(hj]hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj!hMubj=)}(hK(struct dentry *dentry, struct inode *inode, struct delayed_call *callback)h](jC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjuubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjuubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jj_sbc.page_get_linkasbuh1hhjuubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjuubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubjI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjuubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjqubjC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]jc.page_get_linkasbuh1hhjubj2)}(h h]h }(hj'hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjqubjC)}(hstruct delayed_call *callbackh](j )}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjWubj2)}(h h]h }(hjhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjWubh)}(hhh]jI)}(h delayed_callh]h delayed_call}(hjyhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNjj )}j ]jc.page_get_linkasbuh1hhjWubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjWubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubjI)}(hcallbackh]hcallback}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjqubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhj!hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj hhhj!hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj!hMhj hhubjw)}(hhh]h)}(h2An implementation of the get_link inode_operation.h]h2An implementation of the get_link inode_operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhj hhhj!hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct dentry *dentry`` The directory entry which is the symlink. ``struct inode *inode`` The inode for the symlink. ``struct delayed_call *callback`` Used to drop the reference to the symlink. **Description** Filesystems which store their symlinks in the page cache should use this to implement the get_link() member of their inode_operations. **Return** A pointer to the NUL-terminated symlink.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh](j)}(hD``struct dentry *dentry`` The directory entry which is the symlink. h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h)The directory entry which is the symlink.h]h)The directory entry which is the symlink.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubj)}(h3``struct inode *inode`` The inode for the symlink. h](j)}(h``struct inode *inode``h]j)}(hjVh]hstruct inode *inode}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjPubj)}(hhh]h)}(hThe inode for the symlink.h]hThe inode for the symlink.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjubj)}(hM``struct delayed_call *callback`` Used to drop the reference to the symlink. h](j)}(h!``struct delayed_call *callback``h]j)}(hjh]hstruct delayed_call *callback}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h*Used to drop the reference to the symlink.h]h*Used to drop the reference to the symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(hFilesystems which store their symlinks in the page cache should use this to implement the get_link() member of their inode_operations.h]hFilesystems which store their symlinks in the page cache should use this to implement the get_link() member of their inode_operations.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(h(A pointer to the NUL-terminated symlink.h]h(A pointer to the NUL-terminated symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j page_put_link (C function)c.page_put_linkhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hvoid page_put_link (void *arg)h]j)}(hvoid page_put_link(void *arg)h](jf)}(hvoidh]hvoid}(hj6hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj2hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2hhhjDhMubjC)}(h page_put_linkh]jI)}(h page_put_linkh]h page_put_link}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj2hhhjDhMubj=)}(h (void *arg)h]jC)}(h void *argh](jf)}(hvoidh]hvoid}(hjshhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjoubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjoubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubjI)}(hargh]harg}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjkubah}(h]h ]h"]h$]h&]j`jauh1j<hj2hhhjDhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj.hhhjDhMubah}(h]j)ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjDhMhj+hhubjw)}(hhh]h)}(h"Drop the reference to the symlink.h]h"Drop the reference to the symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhj+hhhjDhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX>**Parameters** ``void *arg`` The folio which contains the symlink. **Description** This is used internally by page_get_link(). It is exported for use by filesystems which need to implement a variant of page_get_link() themselves. Despite the apparent symmetry, filesystems which use page_get_link() do not need to call page_put_link(). The argument, while it has a void pointer type, must be a pointer to the folio which was retrieved from the page cache. The delayed_call infrastructure is used to drop the reference count once the caller is done with the symlink.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]j)}(h4``void *arg`` The folio which contains the symlink. h](j)}(h ``void *arg``h]j)}(hjh]h void *arg}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h%The folio which contains the symlink.h]h%The folio which contains the symlink.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjBh]h Description}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(hThis is used internally by page_get_link(). It is exported for use by filesystems which need to implement a variant of page_get_link() themselves. Despite the apparent symmetry, filesystems which use page_get_link() do not need to call page_put_link().h]hThis is used internally by page_get_link(). It is exported for use by filesystems which need to implement a variant of page_get_link() themselves. Despite the apparent symmetry, filesystems which use page_get_link() do not need to call page_put_link().}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(hThe argument, while it has a void pointer type, must be a pointer to the folio which was retrieved from the page cache. The delayed_call infrastructure is used to drop the reference count once the caller is done with the symlink.h]hThe argument, while it has a void pointer type, must be a pointer to the folio which was retrieved from the page cache. The delayed_call infrastructure is used to drop the reference count once the caller is done with the symlink.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j finish_open (C function) c.finish_openhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hfint finish_open (struct file *file, struct dentry *dentry, int (*open)(struct inode *, struct file *))h]j)}(hcint finish_open(struct file *file, struct dentry *dentry, int (*open)(struct inode*, struct file*))h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(h finish_openh]jI)}(h finish_openh]h finish_open}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hT(struct file *file, struct dentry *dentry, int (*open)(struct inode*, struct file*))h](jC)}(hstruct file *fileh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsb c.finish_openasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfileh]hfile}(hj,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjAubj2)}(h h]h }(hjRhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAubh)}(hhh]jI)}(hdentryh]hdentry}(hjchhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj )}j ]j  c.finish_openasbuh1hhjAubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubjI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h(int (*open)(struct inode*, struct file*)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hopenh]hopen}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubj)}(hjOh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hj1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj )}j ]j  c.finish_openasbuh1hhjubj)}(hjh]h*}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h,}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjihhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j  c.finish_openasbuh1hhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjOh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hfinish opening a fileh]hfinish opening a file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hXT**Parameters** ``struct file *file`` file pointer ``struct dentry *dentry`` pointer to dentry ``int (*open)(struct inode *, struct file *)`` open callback **Description** This can be used to finish opening a file passed to i_op->atomic_open(). If the open callback is set to NULL, then the standard f_op->open() filesystem callback is substituted. NB: the dentry reference is _not_ consumed. If, for example, the dentry is the return value of d_splice_alias(), then the caller needs to perform dput() on it after finish_open(). Returns zero on success or -errno if the open failed.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjubj)}(hhh](j)}(h#``struct file *file`` file pointer h](j)}(h``struct file *file``h]j)}(hj*h]hstruct file *file}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhj$ubj)}(hhh]h)}(h file pointerh]h file pointer}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhj!ubj)}(h,``struct dentry *dentry`` pointer to dentry h](j)}(h``struct dentry *dentry``h]j)}(hjch]hstruct dentry *dentry}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhj]ubj)}(hhh]h)}(hpointer to dentryh]hpointer to dentry}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhj!ubj)}(h=``int (*open)(struct inode *, struct file *)`` open callback h](j)}(h.``int (*open)(struct inode *, struct file *)``h]j)}(hjh]h*int (*open)(struct inode *, struct file *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjubj)}(hhh]h)}(h open callbackh]h open callback}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj!ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjubh)}(hHThis can be used to finish opening a file passed to i_op->atomic_open().h]hHThis can be used to finish opening a file passed to i_op->atomic_open().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjubh)}(hgIf the open callback is set to NULL, then the standard f_op->open() filesystem callback is substituted.h]hgIf the open callback is set to NULL, then the standard f_op->open() filesystem callback is substituted.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjubh)}(hNB: the dentry reference is _not_ consumed. If, for example, the dentry is the return value of d_splice_alias(), then the caller needs to perform dput() on it after finish_open().h]hNB: the dentry reference is _not_ consumed. If, for example, the dentry is the return value of d_splice_alias(), then the caller needs to perform dput() on it after finish_open().}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjubh)}(h5Returns zero on success or -errno if the open failed.h]h5Returns zero on success or -errno if the open failed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j finish_no_open (C function)c.finish_no_openhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h=int finish_no_open (struct file *file, struct dentry *dentry)h]j)}(hah"]h$]h&]uh1j1hjEhhhjWhMubjC)}(hfinish_no_openh]jI)}(hfinish_no_openh]hfinish_no_open}(hjjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjfubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjEhhhjWhMubj=)}(h*(struct file *file, struct dentry *dentry)h](jC)}(hstruct file *fileh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjlsbc.finish_no_openasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj~ubjC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.finish_no_openasbuh1hhjubj2)}(h h]h }(hj4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdentryh]hdentry}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj~ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjEhhhjWhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjAhhhjWhMubah}(h]j<ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjWhMhj>hhubjw)}(hhh]h)}(h/finish ->atomic_open() without opening the fileh]h/finish ->atomic_open() without opening the file}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjvhhubah}(h]h ]h"]h$]h&]uh1jvhj>hhhjWhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct file *file`` file pointer ``struct dentry *dentry`` dentry, ERR_PTR(-E...) or NULL (as returned from ->lookup()) **Description** This can be used to set the result of a lookup in ->atomic_open(). NB: unlike finish_open() this function does consume the dentry reference and the caller need not dput() it. Returns 0 or -E..., which must be the return value of ->atomic_open() after having called this function.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjubj)}(hhh](j)}(h#``struct file *file`` file pointer h](j)}(h``struct file *file``h]j)}(hjh]hstruct file *file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjubj)}(hhh]h)}(h file pointerh]h file pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hW``struct dentry *dentry`` dentry, ERR_PTR(-E...) or NULL (as returned from ->lookup()) h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjubj)}(hhh]h)}(hlookup())h]hlookup())}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj.h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjubh)}(hBThis can be used to set the result of a lookup in ->atomic_open().h]hBThis can be used to set the result of a lookup in ->atomic_open().}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjubh)}(hkNB: unlike finish_open() this function does consume the dentry reference and the caller need not dput() it.h]hkNB: unlike finish_open() this function does consume the dentry reference and the caller need not dput() it.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjubh)}(hhReturns 0 or -E..., which must be the return value of ->atomic_open() after having called this function.h]hhReturns 0 or -E..., which must be the return value of ->atomic_open() after having called this function.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j kernel_file_open (C function)c.kernel_file_openhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h\struct file * kernel_file_open (const struct path *path, int flags, const struct cred *cred)h]j)}(hZstruct file *kernel_file_open(const struct path *path, int flags, const struct cred *cred)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMOubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMOubh)}(hhh]jI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jkernel_file_opensbc.kernel_file_openasbuh1hhjhhhjhMOubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMOubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMOubjC)}(hkernel_file_openh]jI)}(hjh]hkernel_file_open}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMOubj=)}(h=(const struct path *path, int flags, const struct cred *cred)h](jC)}(hconst struct path *pathh](j )}(hjh]hconst}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hpathh]hpath}(hjDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNjj )}j ]jc.kernel_file_openasbuh1hhjubj2)}(h h]h }(hjbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hpathh]hpath}(hj}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h int flagsh](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst struct cred *credh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.kernel_file_openasbuh1hhjubj2)}(h h]h }(hj"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hcredh]hcred}(hj=hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMOubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMOubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMOhjhhubjw)}(hhh]h)}(h#open a file for kernel internal useh]h#open a file for kernel internal use}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMOhjdhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX{**Parameters** ``const struct path *path`` path of the file to open ``int flags`` open flags ``const struct cred *cred`` credentials for open **Description** Open a file for use by in-kernel consumers. The file is not accounted against nr_files and must not be installed into the file descriptor table. **Return** Opened file on success, an error pointer on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMShjubj)}(hhh](j)}(h5``const struct path *path`` path of the file to open h](j)}(h``const struct path *path``h]j)}(hjh]hconst struct path *path}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMPhjubj)}(hhh]h)}(hpath of the file to openh]hpath of the file to open}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubj)}(h``int flags`` open flags h](j)}(h ``int flags``h]j)}(hjh]h int flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMQhjubj)}(hhh]h)}(h open flagsh]h open flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubj)}(h1``const struct cred *cred`` credentials for open h](j)}(h``const struct cred *cred``h]j)}(hjh]hconst struct cred *cred}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMRhjubj)}(hhh]h)}(hcredentials for openh]hcredentials for open}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMRhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMRhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjUh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMThjubh)}(hOpen a file for use by in-kernel consumers. The file is not accounted against nr_files and must not be installed into the file descriptor table.h]hOpen a file for use by in-kernel consumers. The file is not accounted against nr_files and must not be installed into the file descriptor table.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMShjubh)}(h **Return**h]j)}(hj|h]hReturn}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMWhjubh)}(h4Opened file on success, an error pointer on failure.h]h4Opened file on success, an error pointer on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMXhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j filp_open (C function) c.filp_openhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hGstruct file * filp_open (const char *filename, int flags, umode_t mode)h]j)}(hEstruct file *filp_open(const char *filename, int flags, umode_t mode)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chM2ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM2ubh)}(hhh]jI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}j filp_opensb c.filp_openasbuh1hhjhhhjhM2ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM2ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM2ubjC)}(h filp_openh]jI)}(hjh]h filp_open}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM2ubj=)}(h/(const char *filename, int flags, umode_t mode)h](jC)}(hconst char *filenameh](j )}(hjh]hconst}(hj;hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj7ubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7ubjf)}(hcharh]hchar}(hjVhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj7ubj2)}(h h]h }(hjdhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7ubj)}(hjh]h*}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubjI)}(hfilenameh]hfilename}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj3ubjC)}(h int flagsh](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj3ubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j c.filp_openasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj3ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM2ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM2ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM2hjhhubjw)}(hhh]h)}(h!open file and return file pointerh]h!open file and return file pointer}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chM2hj#hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM2ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1jhhhjHhNhNubj)}(hXr**Parameters** ``const char *filename`` path to open ``int flags`` open flags as per the open(2) second argument ``umode_t mode`` mode for the new file if O_CREAT is set, else ignored **Description** This is the helper to open a file from kernelspace if you really have to. But in generally you should not do this, so please move along, nothing to see here..h](h)}(h**Parameters**h]j)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chM6hjBubj)}(hhh](j)}(h&``const char *filename`` path to open h](j)}(h``const char *filename``h]j)}(hjgh]hconst char *filename}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chM4hjaubj)}(hhh]h)}(h path to openh]h path to open}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hM4hj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hM4hj^ubj)}(h<``int flags`` open flags as per the open(2) second argument h](j)}(h ``int flags``h]j)}(hjh]h int flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chM5hjubj)}(hhh]h)}(h-open flags as per the open(2) second argumenth]h-open flags as per the open(2) second argument}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM5hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5hj^ubj)}(hG``umode_t mode`` mode for the new file if O_CREAT is set, else ignored h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chM6hjubj)}(hhh]h)}(h5mode for the new file if O_CREAT is set, else ignoredh]h5mode for the new file if O_CREAT is set, else ignored}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hj^ubeh}(h]h ]h"]h$]h&]uh1jhjBubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chM8hjBubh)}(hThis is the helper to open a file from kernelspace if you really have to. But in generally you should not do this, so please move along, nothing to see here..h]hThis is the helper to open a file from kernelspace if you really have to. But in generally you should not do this, so please move along, nothing to see here..}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chM7hjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_reset (C function) c.bio_resethNtauh1hhjHhhhNhNubj)}(hhh](j)}(hJvoid bio_reset (struct bio *bio, struct block_device *bdev, blk_opf_t opf)h]j)}(hIvoid bio_reset(struct bio *bio, struct block_device *bdev, blk_opf_t opf)h](jf)}(hvoidh]hvoid}(hjYhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjUhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj2)}(h h]h }(hjhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjUhhhjghMubjC)}(h bio_reseth]jI)}(h bio_reseth]h bio_reset}(hjzhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjvubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjUhhhjghMubj=)}(h;(struct bio *bio, struct block_device *bdev, blk_opf_t opf)h](jC)}(hstruct bio *bioh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jj|sb c.bio_resetasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct block_device *bdevh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h block_deviceh]h block_device}(hj&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNjj )}j ]j c.bio_resetasbuh1hhjubj2)}(h h]h }(hjDhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbdevh]hbdev}(hj_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h blk_opf_t opfh](h)}(hhh]jI)}(h blk_opf_th]h blk_opf_t}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj )}j ]j c.bio_resetasbuh1hhjtubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubjI)}(hopfh]hopf}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjUhhhjghMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjQhhhjghMubah}(h]jLah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjghMhjNhhubjw)}(hhh]h)}(hreinitialize a bioh]hreinitialize a bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjNhhhjghMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct bio *bio`` bio to reset ``struct block_device *bdev`` block device to use the bio for ``blk_opf_t opf`` operation and flags for bio **Description** After calling bio_reset(), **bio** will be in the same state as a freshly allocated bio returned bio bio_alloc_bioset() - the only fields that are preserved are the ones that are initialized by bio_alloc_bioset(). See comment in struct bio.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM hjubj)}(hhh](j)}(h!``struct bio *bio`` bio to reset h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj ubj)}(hhh]h)}(h bio to reseth]h bio to reset}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhj ubj)}(h>``struct block_device *bdev`` block device to use the bio for h](j)}(h``struct block_device *bdev``h]j)}(hjKh]hstruct block_device *bdev}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM hjEubj)}(hhh]h)}(hblock device to use the bio forh]hblock device to use the bio for}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hM hjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hM hj ubj)}(h.``blk_opf_t opf`` operation and flags for bio h](j)}(h``blk_opf_t opf``h]j)}(hjh]h blk_opf_t opf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM hj~ubj)}(hhh]h)}(hoperation and flags for bioh]hoperation and flags for bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhM hj ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM hjubj)}(hAfter calling bio_reset(), **bio** will be in the same state as a freshly allocated bio returned bio bio_alloc_bioset() - the only fields that are preserved are the ones that are initialized by bio_alloc_bioset(). See comment in struct bio.h]h)}(hAfter calling bio_reset(), **bio** will be in the same state as a freshly allocated bio returned bio bio_alloc_bioset() - the only fields that are preserved are the ones that are initialized by bio_alloc_bioset(). See comment in struct bio.h](hAfter calling bio_reset(), }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh will be in the same state as a freshly allocated bio returned bio bio_alloc_bioset() - the only fields that are preserved are the ones that are initialized by bio_alloc_bioset(). See comment in struct bio.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM hjubah}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_reuse (C function) c.bio_reusehNtauh1hhjHhhhNhNubj)}(hhh](j)}(h/void bio_reuse (struct bio *bio, blk_opf_t opf)h]j)}(h.void bio_reuse(struct bio *bio, blk_opf_t opf)h](jf)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM"ubj2)}(h h]h }(hj/hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj.hM"ubjC)}(h bio_reuseh]jI)}(h bio_reuseh]h bio_reuse}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj=ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj.hM"ubj=)}(h (struct bio *bio, blk_opf_t opf)h](jC)}(hstruct bio *bioh](j )}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjYubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubh)}(hhh]jI)}(hbioh]hbio}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj )}j ]j)}jjCsb c.bio_reuseasbuh1hhjYubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubjI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjUubjC)}(h blk_opf_t opfh](h)}(hhh]jI)}(h blk_opf_th]h blk_opf_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j c.bio_reuseasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hopfh]hopf}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjUubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhj.hM"ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj.hM"ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj.hM"hjhhubjw)}(hhh]h)}(h(reuse a bio with the payload left intacth]h(reuse a bio with the payload left intact}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM"hj%hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj.hM"ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@jj@jjjuh1jhhhjHhNhNubj)}(hXc**Parameters** ``struct bio *bio`` bio to reuse ``blk_opf_t opf`` operation and flags for the next I/O **Description** Allow reusing an existing bio for another operation with all set up fields including the payload, device and end_io handler left intact. Typically used when **bio** is first used to read data which is then written to another location without modification. **bio** must not be in-flight and owned by the caller. Can't be used for cloned bios. **Note** Can't be used when **bio** has integrity or blk-crypto contexts for now. Feel free to add that support when you need it, though.h](h)}(h**Parameters**h]j)}(hjJh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM&hjDubj)}(hhh](j)}(h!``struct bio *bio`` bio to reuse h](j)}(h``struct bio *bio``h]j)}(hjih]hstruct bio *bio}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM#hjcubj)}(hhh]h)}(h bio to reuseh]h bio to reuse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hM#hjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hM#hj`ubj)}(h7``blk_opf_t opf`` operation and flags for the next I/O h](j)}(h``blk_opf_t opf``h]j)}(hjh]h blk_opf_t opf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM$hjubj)}(hhh]h)}(h$operation and flags for the next I/Oh]h$operation and flags for the next I/O}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM$hj`ubeh}(h]h ]h"]h$]h&]uh1jhjDubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM&hjDubh)}(hAllow reusing an existing bio for another operation with all set up fields including the payload, device and end_io handler left intact.h]hAllow reusing an existing bio for another operation with all set up fields including the payload, device and end_io handler left intact.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM%hjDubh)}(hTypically used when **bio** is first used to read data which is then written to another location without modification. **bio** must not be in-flight and owned by the caller. Can't be used for cloned bios.h](hTypically used when }(hjhhhNhNubj)}(h**bio**h]hbio}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh] is first used to read data which is then written to another location without modification. }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhQ must not be in-flight and owned by the caller. Can’t be used for cloned bios.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM(hjDubh)}(h**Note**h]j)}(hj7h]hNote}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM,hjDubh)}(hCan't be used when **bio** has integrity or blk-crypto contexts for now. Feel free to add that support when you need it, though.h](hCan’t be used when }(hjMhhhNhNubj)}(h**bio**h]hbio}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubhf has integrity or blk-crypto contexts for now. Feel free to add that support when you need it, though.}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM-hjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_chain (C function) c.bio_chainhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h4void bio_chain (struct bio *bio, struct bio *parent)h]j)}(h3void bio_chain(struct bio *bio, struct bio *parent)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMWubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMWubjC)}(h bio_chainh]jI)}(h bio_chainh]h bio_chain}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMWubj=)}(h%(struct bio *bio, struct bio *parent)h](jC)}(hstruct bio *bioh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsb c.bio_chainasbuh1hhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbioh]hbio}(hj$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct bio *parenth](j )}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj9ubj2)}(h h]h }(hjJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9ubh)}(hhh]jI)}(hbioh]hbio}(hj[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNjj )}j ]j c.bio_chainasbuh1hhj9ubj2)}(h h]h }(hjyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj9ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMWubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMWubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMWhjhhubjw)}(hhh]h)}(hchain bio completionsh]hchain bio completions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMWhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMWubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct bio *bio`` the target bio ``struct bio *parent`` the parent bio of **bio** **Description** The caller won't have a bi_end_io called when **bio** completes - instead, **parent**'s bi_end_io won't be called until both **parent** and **bio** have completed; the chained bio will also be freed when it completes. The caller must not set bi_private or bi_end_io in **bio**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM[hjubj)}(hhh](j)}(h#``struct bio *bio`` the target bio h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMXhjubj)}(hhh]h)}(hthe target bioh]hthe target bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(h1``struct bio *parent`` the parent bio of **bio** h](j)}(h``struct bio *parent``h]j)}(hj8h]hstruct bio *parent}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMYhj2ubj)}(hhh]h)}(hthe parent bio of **bio**h](hthe parent bio of }(hjQhhhNhNubj)}(h**bio**h]hbio}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1hhjMhMYhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMYhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM[hjubh)}(hThe caller won't have a bi_end_io called when **bio** completes - instead, **parent**'s bi_end_io won't be called until both **parent** and **bio** have completed; the chained bio will also be freed when it completes.h](h0The caller won’t have a bi_end_io called when }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh completes - instead, }(hjhhhNhNubj)}(h **parent**h]hparent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh,’s bi_end_io won’t be called until both }(hjhhhNhNubj)}(h **parent**h]hparent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF have completed; the chained bio will also be freed when it completes.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMZhjubh)}(h;The caller must not set bi_private or bi_end_io in **bio**.h](h3The caller must not set bi_private or bi_end_io in }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM^hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_alloc_bioset (C function)c.bio_alloc_biosethNtauh1hhjHhhhNhNubj)}(hhh](j)}(hstruct bio * bio_alloc_bioset (struct block_device *bdev, unsigned short nr_vecs, blk_opf_t opf, gfp_t gfp, struct bio_set *bs)h]j)}(h}struct bio *bio_alloc_bioset(struct block_device *bdev, unsigned short nr_vecs, blk_opf_t opf, gfp_t gfp, struct bio_set *bs)h](j )}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj+hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj2)}(h h]h }(hj=hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj+hhhj<hMubh)}(hhh]jI)}(hbioh]hbio}(hjNhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj )}j ]j)}jbio_alloc_biosetsbc.bio_alloc_biosetasbuh1hhj+hhhj<hMubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj+hhhj<hMubj)}(hjh]h*}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+hhhj<hMubjC)}(hbio_alloc_bioseth]jI)}(hjlh]hbio_alloc_bioset}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj+hhhj<hMubj=)}(ha(struct block_device *bdev, unsigned short nr_vecs, blk_opf_t opf, gfp_t gfp, struct bio_set *bs)h](jC)}(hstruct block_device *bdevh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h block_deviceh]h block_device}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jjc.bio_alloc_biosetasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbdevh]hbdev}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hunsigned short nr_vecsh](jf)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hj'hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hshorth]hshort}(hj5hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjChhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hnr_vecsh]hnr_vecs}(hjQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h blk_opf_t opfh](h)}(hhh]jI)}(h blk_opf_th]h blk_opf_t}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNjj )}j ]jjc.bio_alloc_biosetasbuh1hhjfubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjfubjI)}(hopfh]hopf}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjfubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h gfp_t gfph](h)}(hhh]jI)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jjc.bio_alloc_biosetasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct bio_set *bsh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hbio_seth]hbio_set}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jjc.bio_alloc_biosetasbuh1hhjubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbsh]hbs}(hjQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hj+hhhj<hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj'hhhj<hMubah}(h]j"ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj<hMhj$hhubjw)}(hhh]h)}(hallocate a bio for I/Oh]hallocate a bio for I/O}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjxhhubah}(h]h ]h"]h$]h&]uh1jvhj$hhhj<hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX **Parameters** ``struct block_device *bdev`` block device to allocate the bio for (can be ``NULL``) ``unsigned short nr_vecs`` number of bvecs to pre-allocate ``blk_opf_t opf`` operation and flags for bio ``gfp_t gfp`` the GFP_* mask given to the slab allocator ``struct bio_set *bs`` the bio_set to allocate from. **Description** Allocate a bio from the mempools in **bs**. If ``__GFP_DIRECT_RECLAIM`` is set then bio_alloc will always be able to allocate a bio. This is due to the mempool guarantees. To make this work, callers must never allocate more than 1 bio at a time from the general pool. Callers that need to allocate more than 1 bio must always submit the previously allocated bio for IO before attempting to allocate a new one. Failure to do so can cause deadlocks under memory pressure. Note that when running under submit_bio_noacct() (i.e. any block driver), bios are not submitted until after you return - see the code in submit_bio_noacct() that converts recursion into iteration, to prevent stack overflows. This would normally mean allocating multiple bios under submit_bio_noacct() would be susceptible to deadlocks, but we have deadlock avoidance code that resubmits any blocked bios from a rescuer thread. However, we do not guarantee forward progress for allocations from other mempools. Doing multiple allocations from the same mempool under submit_bio_noacct() should be avoided - instead, use bio_set's front_pad for per bio allocations. **Return** Pointer to new bio on success, NULL on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh](j)}(hU``struct block_device *bdev`` block device to allocate the bio for (can be ``NULL``) h](j)}(h``struct block_device *bdev``h]j)}(hjh]hstruct block_device *bdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(h6block device to allocate the bio for (can be ``NULL``)h](h-block device to allocate the bio for (can be }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h;``unsigned short nr_vecs`` number of bvecs to pre-allocate h](j)}(h``unsigned short nr_vecs``h]j)}(hjh]hunsigned short nr_vecs}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(hnumber of bvecs to pre-allocateh]hnumber of bvecs to pre-allocate}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h.``blk_opf_t opf`` operation and flags for bio h](j)}(h``blk_opf_t opf``h]j)}(hj@h]h blk_opf_t opf}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj:ubj)}(hhh]h)}(hoperation and flags for bioh]hoperation and flags for bio}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjubj)}(h9``gfp_t gfp`` the GFP_* mask given to the slab allocator h](j)}(h ``gfp_t gfp``h]j)}(hjyh]h gfp_t gfp}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjsubj)}(hhh]h)}(h*the GFP_* mask given to the slab allocatorh]h*the GFP_* mask given to the slab allocator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``struct bio_set *bs`` the bio_set to allocate from. h](j)}(h``struct bio_set *bs``h]j)}(hjh]hstruct bio_set *bs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(hthe bio_set to allocate from.h]hthe bio_set to allocate from.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubh)}(h+Allocate a bio from the mempools in **bs**.h](h$Allocate a bio from the mempools in }(hjhhhNhNubj)}(h**bs**h]hbs}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubh)}(hXIf ``__GFP_DIRECT_RECLAIM`` is set then bio_alloc will always be able to allocate a bio. This is due to the mempool guarantees. To make this work, callers must never allocate more than 1 bio at a time from the general pool. Callers that need to allocate more than 1 bio must always submit the previously allocated bio for IO before attempting to allocate a new one. Failure to do so can cause deadlocks under memory pressure.h](hIf }(hj$hhhNhNubj)}(h``__GFP_DIRECT_RECLAIM``h]h__GFP_DIRECT_RECLAIM}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubhX is set then bio_alloc will always be able to allocate a bio. This is due to the mempool guarantees. To make this work, callers must never allocate more than 1 bio at a time from the general pool. Callers that need to allocate more than 1 bio must always submit the previously allocated bio for IO before attempting to allocate a new one. Failure to do so can cause deadlocks under memory pressure.}(hj$hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubh)}(hNote that when running under submit_bio_noacct() (i.e. any block driver), bios are not submitted until after you return - see the code in submit_bio_noacct() that converts recursion into iteration, to prevent stack overflows.h]hNote that when running under submit_bio_noacct() (i.e. any block driver), bios are not submitted until after you return - see the code in submit_bio_noacct() that converts recursion into iteration, to prevent stack overflows.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubh)}(hThis would normally mean allocating multiple bios under submit_bio_noacct() would be susceptible to deadlocks, but we have deadlock avoidance code that resubmits any blocked bios from a rescuer thread.h]hThis would normally mean allocating multiple bios under submit_bio_noacct() would be susceptible to deadlocks, but we have deadlock avoidance code that resubmits any blocked bios from a rescuer thread.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM hjubh)}(hHowever, we do not guarantee forward progress for allocations from other mempools. Doing multiple allocations from the same mempool under submit_bio_noacct() should be avoided - instead, use bio_set's front_pad for per bio allocations.h]hHowever, we do not guarantee forward progress for allocations from other mempools. Doing multiple allocations from the same mempool under submit_bio_noacct() should be avoided - instead, use bio_set’s front_pad for per bio allocations.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubh)}(h **Return**h]j)}(hjth]hReturn}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubh)}(h/Pointer to new bio on success, NULL on failure.h]h/Pointer to new bio on success, NULL on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_kmalloc (C function) c.bio_kmallochNtauh1hhjHhhhNhNubj)}(hhh](j)}(hAstruct bio * bio_kmalloc (unsigned short nr_vecs, gfp_t gfp_mask)h]j)}(h?struct bio *bio_kmalloc(unsigned short nr_vecs, gfp_t gfp_mask)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMlubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMlubh)}(hhh]jI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}j bio_kmallocsb c.bio_kmallocasbuh1hhjhhhjhMlubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMlubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMlubjC)}(h bio_kmalloch]jI)}(hjh]h bio_kmalloc}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMlubj=)}(h((unsigned short nr_vecs, gfp_t gfp_mask)h](jC)}(hunsigned short nr_vecsh](jf)}(hunsignedh]hunsigned}(hj3hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj/ubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/ubjf)}(hshorth]hshort}(hjOhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj/ubj2)}(h h]h }(hj]hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/ubjI)}(hnr_vecsh]hnr_vecs}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj+ubjC)}(hgfp_t gfp_maskh](h)}(hhh]jI)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j c.bio_kmallocasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj+ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMlubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMlubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMlhjhhubjw)}(hhh]h)}(h kmalloc a bioh]h kmalloc a bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMlhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMlubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``unsigned short nr_vecs`` number of bio_vecs to allocate ``gfp_t gfp_mask`` the GFP_* mask given to the slab allocator **Description** Use kmalloc to allocate a bio (including bvecs). The bio must be initialized using bio_init() before use. To free a bio returned from this function use kfree() after calling bio_uninit(). A bio returned from this function can be reused by calling bio_uninit() before calling bio_init() again. Note that unlike bio_alloc() or bio_alloc_bioset() allocations from this function are not backed by a mempool can fail. Do not use this function for allocations in the file system I/O path. **Return** Pointer to new bio on success, NULL on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMphjubj)}(hhh](j)}(h:``unsigned short nr_vecs`` number of bio_vecs to allocate h](j)}(h``unsigned short nr_vecs``h]j)}(hjh]hunsigned short nr_vecs}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMmhjubj)}(hhh]h)}(hnumber of bio_vecs to allocateh]hnumber of bio_vecs to allocate}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMmhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMmhjubj)}(h>``gfp_t gfp_mask`` the GFP_* mask given to the slab allocator h](j)}(h``gfp_t gfp_mask``h]j)}(hjWh]hgfp_t gfp_mask}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMnhjQubj)}(hhh]h)}(h*the GFP_* mask given to the slab allocatorh]h*the GFP_* mask given to the slab allocator}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMnhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMnhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMphjubh)}(hX'Use kmalloc to allocate a bio (including bvecs). The bio must be initialized using bio_init() before use. To free a bio returned from this function use kfree() after calling bio_uninit(). A bio returned from this function can be reused by calling bio_uninit() before calling bio_init() again.h]hX'Use kmalloc to allocate a bio (including bvecs). The bio must be initialized using bio_init() before use. To free a bio returned from this function use kfree() after calling bio_uninit(). A bio returned from this function can be reused by calling bio_uninit() before calling bio_init() again.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMohjubh)}(hNote that unlike bio_alloc() or bio_alloc_bioset() allocations from this function are not backed by a mempool can fail. Do not use this function for allocations in the file system I/O path.h]hNote that unlike bio_alloc() or bio_alloc_bioset() allocations from this function are not backed by a mempool can fail. Do not use this function for allocations in the file system I/O path.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMthjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMxhjubh)}(h/Pointer to new bio on success, NULL on failure.h]h/Pointer to new bio on success, NULL on failure. }(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMyhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_put (C function) c.bio_puthNtauh1hhjHhhhNhNubj)}(hhh](j)}(hvoid bio_put (struct bio *bio)h]j)}(hvoid bio_put(struct bio *bio)h](jf)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMCubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj hhhjhMCubjC)}(hbio_puth]jI)}(hbio_puth]hbio_put}(hj.hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj hhhjhMCubj=)}(h(struct bio *bio)h]jC)}(hstruct bio *bioh](j )}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjFubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubh)}(hhh]jI)}(hbioh]hbio}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNjj )}j ]j)}jj0sb c.bio_putasbuh1hhjFubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubjI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjBubah}(h]h ]h"]h$]h&]j`jauh1j<hj hhhjhMCubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMCubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMChjhhubjw)}(hhh]h)}(hrelease a reference to a bioh]hrelease a reference to a bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMChjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMCubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(h**Parameters** ``struct bio *bio`` bio to release reference to **Description** Put a reference to a :c:type:`struct bio `, either one you have gotten with bio_alloc, bio_get or bio_clone_*. The last put of a bio will free it.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMGhjubj)}(hhh]j)}(h0``struct bio *bio`` bio to release reference to h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMDhjubj)}(hhh]h)}(hbio to release reference toh]hbio to release reference to}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hMDhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMDhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjIh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMFhjubj)}(hPut a reference to a :c:type:`struct bio `, either one you have gotten with bio_alloc, bio_get or bio_clone_*. The last put of a bio will free it.h]h)}(hPut a reference to a :c:type:`struct bio `, either one you have gotten with bio_alloc, bio_get or bio_clone_*. The last put of a bio will free it.h](hPut a reference to a }(hjchhhNhNubh)}(h:c:type:`struct bio `h]j)}(hjmh]h struct bio}(hjohhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjj jbiouh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMFhjcubhh, either one you have gotten with bio_alloc, bio_get or bio_clone_*. The last put of a bio will free it.}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMFhj_ubah}(h]h ]h"]h$]h&]uh1jhjhMFhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_alloc_clone (C function)c.bio_alloc_clonehNtauh1hhjHhhhNhNubj)}(hhh](j)}(hlstruct bio * bio_alloc_clone (struct block_device *bdev, struct bio *bio_src, gfp_t gfp, struct bio_set *bs)h]j)}(hjstruct bio *bio_alloc_clone(struct block_device *bdev, struct bio *bio_src, gfp_t gfp, struct bio_set *bs)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMpubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMpubh)}(hhh]jI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jbio_alloc_clonesbc.bio_alloc_cloneasbuh1hhjhhhjhMpubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMpubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMpubjC)}(hbio_alloc_cloneh]jI)}(hjh]hbio_alloc_clone}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMpubj=)}(hO(struct block_device *bdev, struct bio *bio_src, gfp_t gfp, struct bio_set *bs)h](jC)}(hstruct block_device *bdevh](j )}(hjh]hstruct}(hj5hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj1ubj2)}(h h]h }(hjBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1ubh)}(hhh]jI)}(h block_deviceh]h block_device}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj )}j ]jc.bio_alloc_cloneasbuh1hhj1ubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubjI)}(hbdevh]hbdev}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj-ubjC)}(hstruct bio *bio_srch](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.bio_alloc_cloneasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbio_srch]hbio_src}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj-ubjC)}(h gfp_t gfph](h)}(hhh]jI)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.bio_alloc_cloneasbuh1hhjubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hgfph]hgfp}(hjDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj-ubjC)}(hstruct bio_set *bsh](j )}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjYubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubh)}(hhh]jI)}(hbio_seth]hbio_set}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj )}j ]jc.bio_alloc_cloneasbuh1hhjYubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubjI)}(hbsh]hbs}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj-ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMpubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMpubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMphjhhubjw)}(hhh]h)}(h1clone a bio that shares the original bio's biovech]h3clone a bio that shares the original bio’s biovec}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMphjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMpubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX&**Parameters** ``struct block_device *bdev`` block_device to clone onto ``struct bio *bio_src`` bio to clone from ``gfp_t gfp`` allocation priority ``struct bio_set *bs`` bio_set to allocate from **Description** Allocate a new bio that is a clone of **bio_src**. This reuses the bio_vecs pointed to by **bio_src->bi_io_vec**, and clones the iterator pointing to the current position in it. The caller owns the returned bio, but not the bio_vecs, and must ensure the bio is freed before the memory pointed to by **bio_Src->bi_io_vecs**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMthjubj)}(hhh](j)}(h9``struct block_device *bdev`` block_device to clone onto h](j)}(h``struct block_device *bdev``h]j)}(hjh]hstruct block_device *bdev}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMqhjubj)}(hhh]h)}(hblock_device to clone ontoh]hblock_device to clone onto}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hMqhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMqhjubj)}(h*``struct bio *bio_src`` bio to clone from h](j)}(h``struct bio *bio_src``h]j)}(hjXh]hstruct bio *bio_src}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMrhjRubj)}(hhh]h)}(hbio to clone fromh]hbio to clone from}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMrhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMrhjubj)}(h"``gfp_t gfp`` allocation priority h](j)}(h ``gfp_t gfp``h]j)}(hjh]h gfp_t gfp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMshjubj)}(hhh]h)}(hallocation priorityh]hallocation priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjubj)}(h0``struct bio_set *bs`` bio_set to allocate from h](j)}(h``struct bio_set *bs``h]j)}(hjh]hstruct bio_set *bs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMthjubj)}(hhh]h)}(hbio_set to allocate fromh]hbio_set to allocate from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMvhjubh)}(hXDAllocate a new bio that is a clone of **bio_src**. This reuses the bio_vecs pointed to by **bio_src->bi_io_vec**, and clones the iterator pointing to the current position in it. The caller owns the returned bio, but not the bio_vecs, and must ensure the bio is freed before the memory pointed to by **bio_Src->bi_io_vecs**.h](h&Allocate a new bio that is a clone of }(hjhhhNhNubj)}(h **bio_src**h]hbio_src}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh). This reuses the bio_vecs pointed to by }(hjhhhNhNubj)}(h**bio_src->bi_io_vec**h]hbio_src->bi_io_vec}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, and clones the iterator pointing to the current position in it. The caller owns the returned bio, but not the bio_vecs, and must ensure the bio is freed before the memory pointed to by }(hjhhhNhNubj)}(h**bio_Src->bi_io_vecs**h]hbio_Src->bi_io_vecs}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMuhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_init_clone (C function)c.bio_init_clonehNtauh1hhjHhhhNhNubj)}(hhh](j)}(h_int bio_init_clone (struct block_device *bdev, struct bio *bio, struct bio *bio_src, gfp_t gfp)h]j)}(h^int bio_init_clone(struct block_device *bdev, struct bio *bio, struct bio *bio_src, gfp_t gfp)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj|hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|hhhjhMubjC)}(hbio_init_cloneh]jI)}(hbio_init_cloneh]hbio_init_clone}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj|hhhjhMubj=)}(hL(struct block_device *bdev, struct bio *bio, struct bio *bio_src, gfp_t gfp)h](jC)}(hstruct block_device *bdevh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h block_deviceh]h block_device}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.bio_init_cloneasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbdevh]hbdev}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct bio *bioh](j )}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj+ubj2)}(h h]h }(hj<hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj+ubh)}(hhh]jI)}(hbioh]hbio}(hjMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj )}j ]jc.bio_init_cloneasbuh1hhj+ubj2)}(h h]h }(hjkhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj+ubj)}(hjh]h*}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubjI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj+ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct bio *bio_srch](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.bio_init_cloneasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbio_srch]hbio_src}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h gfp_t gfph](h)}(hhh]jI)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.bio_init_cloneasbuh1hhj ubj2)}(h h]h }(hj0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubjI)}(hgfph]hgfp}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hj|hhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjxhhhjhMubah}(h]jsah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjuhhubjw)}(hhh]h)}(h1clone a bio that shares the original bio's biovech]h3clone a bio that shares the original bio’s biovec}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjehhubah}(h]h ]h"]h$]h&]uh1jvhjuhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hXq**Parameters** ``struct block_device *bdev`` block_device to clone onto ``struct bio *bio`` bio to clone into ``struct bio *bio_src`` bio to clone from ``gfp_t gfp`` allocation priority **Description** Initialize a new bio in caller provided memory that is a clone of **bio_src**. The same bio_vecs reuse and bio lifetime rules as bio_alloc_clone() apply.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh](j)}(h9``struct block_device *bdev`` block_device to clone onto h](j)}(h``struct block_device *bdev``h]j)}(hjh]hstruct block_device *bdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(hblock_device to clone ontoh]hblock_device to clone onto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h&``struct bio *bio`` bio to clone into h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(hbio to clone intoh]hbio to clone into}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``struct bio *bio_src`` bio to clone from h](j)}(h``struct bio *bio_src``h]j)}(hjh]hstruct bio *bio_src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(hbio to clone fromh]hbio to clone from}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hMhjubj)}(h"``gfp_t gfp`` allocation priority h](j)}(h ``gfp_t gfp``h]j)}(hjTh]h gfp_t gfp}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjNubj)}(hhh]h)}(hallocation priorityh]hallocation priority}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubh)}(hInitialize a new bio in caller provided memory that is a clone of **bio_src**. The same bio_vecs reuse and bio lifetime rules as bio_alloc_clone() apply.h](hBInitialize a new bio in caller provided memory that is a clone of }(hjhhhNhNubj)}(h **bio_src**h]hbio_src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhL. The same bio_vecs reuse and bio lifetime rules as bio_alloc_clone() apply.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j __bio_add_page (C function)c.__bio_add_pagehNtauh1hhjHhhhNhNubj)}(hhh](j)}(h\void __bio_add_page (struct bio *bio, struct page *page, unsigned int len, unsigned int off)h]j)}(h[void __bio_add_page(struct bio *bio, struct page *page, unsigned int len, unsigned int off)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(h__bio_add_pageh]jI)}(h__bio_add_pageh]h__bio_add_page}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hH(struct bio *bio, struct page *page, unsigned int len, unsigned int off)h](jC)}(hstruct bio *bioh](j )}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hbioh]hbio}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj )}j ]j)}jj sbc.__bio_add_pageasbuh1hhjubj2)}(h h]h }(hjahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbioh]hbio}(hj|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct page *pageh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j]c.__bio_add_pageasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hunsigned int lenh](jf)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hinth]hint}(hj!hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hj/hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hlenh]hlen}(hj=hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hunsigned int offh](jf)}(hunsignedh]hunsigned}(hjVhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjRubj2)}(h h]h }(hjdhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRubjf)}(hinth]hint}(hjrhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjRubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRubjI)}(hoffh]hoff}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h%add page(s) to a bio in a new segmenth]h%add page(s) to a bio in a new segment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct bio *bio`` destination bio ``struct page *page`` start page to add ``unsigned int len`` length of the data to add, may cross pages ``unsigned int off`` offset of the data relative to **page**, may cross pages **Description** Add the data at **page** + **off** to **bio** as a new bvec. The caller must ensure that **bio** has space for another bvec.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh](j)}(h$``struct bio *bio`` destination bio h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h(``struct page *page`` start page to add h](j)}(h``struct page *page``h]j)}(hj2h]hstruct page *page}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj,ubj)}(hhh]h)}(hstart page to addh]hstart page to add}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjubj)}(h@``unsigned int len`` length of the data to add, may cross pages h](j)}(h``unsigned int len``h]j)}(hjkh]hunsigned int len}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjeubj)}(hhh]h)}(h*length of the data to add, may cross pagesh]h*length of the data to add, may cross pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hN``unsigned int off`` offset of the data relative to **page**, may cross pages h](j)}(h``unsigned int off``h]j)}(hjh]hunsigned int off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(h8offset of the data relative to **page**, may cross pagesh](hoffset of the data relative to }(hjhhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, may cross pages}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubh)}(h}Add the data at **page** + **off** to **bio** as a new bvec. The caller must ensure that **bio** has space for another bvec.h](hAdd the data at }(hjhhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh + }(hjhhhNhNubj)}(h**off**h]hoff}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to }(hjhhhNhNubj)}(h**bio**h]hbio}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh- as a new bvec. The caller must ensure that }(hjhhhNhNubj)}(h**bio**h]hbio}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh has space for another bvec.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  bio_add_virt_nofail (C function)c.bio_add_virt_nofailhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hEvoid bio_add_virt_nofail (struct bio *bio, void *vaddr, unsigned len)h]j)}(hDvoid bio_add_virt_nofail(struct bio *bio, void *vaddr, unsigned len)h](jf)}(hvoidh]hvoid}(hj~hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjzhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjzhhhjhMubjC)}(hbio_add_virt_nofailh]jI)}(hbio_add_virt_nofailh]hbio_add_virt_nofail}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjzhhhjhMubj=)}(h,(struct bio *bio, void *vaddr, unsigned len)h](jC)}(hstruct bio *bioh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.bio_add_virt_nofailasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h void *vaddrh](jf)}(hvoidh]hvoid}(hj-hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj)ubj2)}(h h]h }(hj;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj)ubj)}(hjh]h*}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubjI)}(hvaddrh]hvaddr}(hjVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h unsigned lenh](jf)}(hunsignedh]hunsigned}(hjohhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjkubj2)}(h h]h }(hj}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkubjI)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjkubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjzhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjvhhhjhMubah}(h]jqah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjshhubjw)}(hhh]h)}(h.add data in the direct kernel mapping to a bioh]h.add data in the direct kernel mapping to a bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjshhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hXK**Parameters** ``struct bio *bio`` destination bio ``void *vaddr`` data to add ``unsigned len`` length of the data to add, may cross pages **Description** Add the data at **vaddr** to **bio**. The caller must have ensure a segment is available for the added data. No merging into an existing segment will be performed.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh](j)}(h$``struct bio *bio`` destination bio h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h``void *vaddr`` data to add h](j)}(h``void *vaddr``h]j)}(hj/h]h void *vaddr}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj)ubj)}(hhh]h)}(h data to addh]h data to add}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjubj)}(h<``unsigned len`` length of the data to add, may cross pages h](j)}(h``unsigned len``h]j)}(hjhh]h unsigned len}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjbubj)}(hhh]h)}(h*length of the data to add, may cross pagesh]h*length of the data to add, may cross pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubh)}(hAdd the data at **vaddr** to **bio**. The caller must have ensure a segment is available for the added data. No merging into an existing segment will be performed.h](hAdd the data at }(hjhhhNhNubj)}(h **vaddr**h]hvaddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. The caller must have ensure a segment is available for the added data. No merging into an existing segment will be performed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_add_page (C function)c.bio_add_pagehNtauh1hhjHhhhNhNubj)}(hhh](j)}(h\int bio_add_page (struct bio *bio, struct page *page, unsigned int len, unsigned int offset)h]j)}(h[int bio_add_page(struct bio *bio, struct page *page, unsigned int len, unsigned int offset)h](jf)}(hinth]hint}(hj hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(h bio_add_pageh]jI)}(h bio_add_pageh]h bio_add_page}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hK(struct bio *bio, struct page *page, unsigned int len, unsigned int offset)h](jC)}(hstruct bio *bioh](j )}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjEubj2)}(h h]h }(hjVhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjEubh)}(hhh]jI)}(hbioh]hbio}(hjghhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNjj )}j ]j)}jj/sbc.bio_add_pageasbuh1hhjEubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjEubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubjI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjAubjC)}(hstruct page *pageh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.bio_add_pageasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjAubjC)}(hunsigned int lenh](jf)}(hunsignedh]hunsigned}(hj+hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj'ubj2)}(h h]h }(hj9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'ubjf)}(hinth]hint}(hjGhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj'ubj2)}(h h]h }(hjUhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'ubjI)}(hlenh]hlen}(hjchhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjAubjC)}(hunsigned int offseth](jf)}(hunsignedh]hunsigned}(hj|hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjxubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjxubjf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjxubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjxubjI)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjAubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hattempt to add page(s) to bioh]hattempt to add page(s) to bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct bio *bio`` destination bio ``struct page *page`` start page to add ``unsigned int len`` vec entry length, may cross pages ``unsigned int offset`` vec entry offset relative to **page**, may cross pages **Description** Attempt to add page(s) to the bio_vec maplist. This will only fail if either bio->bi_vcnt == bio->bi_max_vecs or it's a cloned bio.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh](j)}(h$``struct bio *bio`` destination bio h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubj)}(h(``struct page *page`` start page to add h](j)}(h``struct page *page``h]j)}(hjXh]hstruct page *page}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjRubj)}(hhh]h)}(hstart page to addh]hstart page to add}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjubj)}(h7``unsigned int len`` vec entry length, may cross pages h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(h!vec entry length, may cross pagesh]h!vec entry length, may cross pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hO``unsigned int offset`` vec entry offset relative to **page**, may cross pages h](j)}(h``unsigned int offset``h]j)}(hjh]hunsigned int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(h6vec entry offset relative to **page**, may cross pagesh](hvec entry offset relative to }(hjhhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, may cross pages}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hAttempt to add page(s) to the bio_vec maplist. This will only fail if either bio->bi_vcnt == bio->bi_max_vecs or it's a cloned bio.h]h)}(hAttempt to add page(s) to the bio_vec maplist. This will only fail if either bio->bi_vcnt == bio->bi_max_vecs or it's a cloned bio.h]hAttempt to add page(s) to the bio_vec maplist. This will only fail if either bio->bi_vcnt == bio->bi_max_vecs or it’s a cloned bio.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj-ubah}(h]h ]h"]h$]h&]uh1jhj?hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_add_folio (C function)c.bio_add_foliohNtauh1hhjHhhhNhNubj)}(hhh](j)}(hQbool bio_add_folio (struct bio *bio, struct folio *folio, size_t len, size_t off)h]j)}(hPbool bio_add_folio(struct bio *bio, struct folio *folio, size_t len, size_t off)h](jf)}(hjih]hbool}(hjfhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjbhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM?ubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbhhhjshM?ubjC)}(h bio_add_folioh]jI)}(h bio_add_folioh]h bio_add_folio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjbhhhjshM?ubj=)}(h>(struct bio *bio, struct folio *folio, size_t len, size_t off)h](jC)}(hstruct bio *bioh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.bio_add_folioasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct folio *folioh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj!hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hfolioh]hfolio}(hj2hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj )}j ]jc.bio_add_folioasbuh1hhjubj2)}(h h]h }(hjPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfolioh]hfolio}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h size_t lenh](h)}(hhh]jI)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.bio_add_folioasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h size_t offh](h)}(hhh]jI)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.bio_add_folioasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hoffh]hoff}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjbhhhjshM?ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj^hhhjshM?ubah}(h]jYah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjshM?hj[hhubjw)}(hhh]h)}(h(Attempt to add part of a folio to a bio.h]h(Attempt to add part of a folio to a bio.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM?hj"hhubah}(h]h ]h"]h$]h&]uh1jvhj[hhhjshM?ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=jj=jjjuh1jhhhjHhNhNubj)}(hX$**Parameters** ``struct bio *bio`` BIO to add to. ``struct folio *folio`` Folio to add. ``size_t len`` How many bytes from the folio to add. ``size_t off`` First byte in this folio to add. **Description** Filesystems that use folios can call this function instead of calling bio_add_page() for each page in the folio. If **off** is bigger than PAGE_SIZE, this function can create a bio_vec that starts in a page after the bv_page. BIOs do not support folios that are 4GiB or larger. **Return** Whether the addition was successful.h](h)}(h**Parameters**h]j)}(hjGh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMChjAubj)}(hhh](j)}(h#``struct bio *bio`` BIO to add to. h](j)}(h``struct bio *bio``h]j)}(hjfh]hstruct bio *bio}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM@hj`ubj)}(hhh]h)}(hBIO to add to.h]hBIO to add to.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hM@hj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hM@hj]ubj)}(h&``struct folio *folio`` Folio to add. h](j)}(h``struct folio *folio``h]j)}(hjh]hstruct folio *folio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMAhjubj)}(hhh]h)}(h Folio to add.h]h Folio to add.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMAhj]ubj)}(h5``size_t len`` How many bytes from the folio to add. h](j)}(h``size_t len``h]j)}(hjh]h size_t len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMBhjubj)}(hhh]h)}(h%How many bytes from the folio to add.h]h%How many bytes from the folio to add.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhj]ubj)}(h0``size_t off`` First byte in this folio to add. h](j)}(h``size_t off``h]j)}(hjh]h size_t off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMChj ubj)}(hhh]h)}(h First byte in this folio to add.h]h First byte in this folio to add.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hMChj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMChj]ubeh}(h]h ]h"]h$]h&]uh1jhjAubh)}(h**Description**h]j)}(hjLh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMEhjAubh)}(hXFilesystems that use folios can call this function instead of calling bio_add_page() for each page in the folio. If **off** is bigger than PAGE_SIZE, this function can create a bio_vec that starts in a page after the bv_page. BIOs do not support folios that are 4GiB or larger.h](huFilesystems that use folios can call this function instead of calling bio_add_page() for each page in the folio. If }(hjbhhhNhNubj)}(h**off**h]hoff}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh is bigger than PAGE_SIZE, this function can create a bio_vec that starts in a page after the bv_page. BIOs do not support folios that are 4GiB or larger.}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMDhjAubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMIhjAubh)}(h$Whether the addition was successful.h]h$Whether the addition was successful.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMJhjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "bio_add_vmalloc_chunk (C function)c.bio_add_vmalloc_chunkhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hOunsigned int bio_add_vmalloc_chunk (struct bio *bio, void *vaddr, unsigned len)h]j)}(hNunsigned int bio_add_vmalloc_chunk(struct bio *bio, void *vaddr, unsigned len)h](jf)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMXubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMXubjf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhjhMXubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMXubjC)}(hbio_add_vmalloc_chunkh]jI)}(hbio_add_vmalloc_chunkh]hbio_add_vmalloc_chunk}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMXubj=)}(h,(struct bio *bio, void *vaddr, unsigned len)h](jC)}(hstruct bio *bioh](j )}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hbioh]hbio}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj )}j ]j)}jj sbc.bio_add_vmalloc_chunkasbuh1hhjubj2)}(h h]h }(hjahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbioh]hbio}(hj|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h void *vaddrh](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hvaddrh]hvaddr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h unsigned lenh](jf)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMXubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMXubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMXhjhhubjw)}(hhh]h)}(hadd a vmalloc chunk to a bioh]hadd a vmalloc chunk to a bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMXhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMXubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct bio *bio`` destination bio ``void *vaddr`` vmalloc address to add ``unsigned len`` total length in bytes of the data to add **Description** Add data starting at **vaddr** to **bio** and return how many bytes were added. This may be less than the amount originally asked. Returns 0 if no data could be added to **bio**. This helper calls flush_kernel_vmap_range() for the range added. For reads the caller still needs to manually call invalidate_kernel_vmap_range() in the completion handler.h](h)}(h**Parameters**h]j)}(hj?h]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM\hj9ubj)}(hhh](j)}(h$``struct bio *bio`` destination bio h](j)}(h``struct bio *bio``h]j)}(hj^h]hstruct bio *bio}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMYhjXubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshMYhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMYhjUubj)}(h'``void *vaddr`` vmalloc address to add h](j)}(h``void *vaddr``h]j)}(hjh]h void *vaddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMZhjubj)}(hhh]h)}(hvmalloc address to addh]hvmalloc address to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjUubj)}(h:``unsigned len`` total length in bytes of the data to add h](j)}(h``unsigned len``h]j)}(hjh]h unsigned len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM[hjubj)}(hhh]h)}(h(total length in bytes of the data to addh]h(total length in bytes of the data to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjUubeh}(h]h ]h"]h$]h&]uh1jhj9ubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM]hj9ubh)}(hAdd data starting at **vaddr** to **bio** and return how many bytes were added. This may be less than the amount originally asked. Returns 0 if no data could be added to **bio**.h](hAdd data starting at }(hj!hhhNhNubj)}(h **vaddr**h]hvaddr}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh to }(hj!hhhNhNubj)}(h**bio**h]hbio}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh and return how many bytes were added. This may be less than the amount originally asked. Returns 0 if no data could be added to }(hj!hhhNhNubj)}(h**bio**h]hbio}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh.}(hj!hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM\hj9ubh)}(hThis helper calls flush_kernel_vmap_range() for the range added. For reads the caller still needs to manually call invalidate_kernel_vmap_range() in the completion handler.h]hThis helper calls flush_kernel_vmap_range() for the range added. For reads the caller still needs to manually call invalidate_kernel_vmap_range() in the completion handler.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM`hj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_add_vmalloc (C function)c.bio_add_vmallochNtauh1hhjHhhhNhNubj)}(hhh](j)}(hEbool bio_add_vmalloc (struct bio *bio, void *vaddr, unsigned int len)h]j)}(hDbool bio_add_vmalloc(struct bio *bio, void *vaddr, unsigned int len)h](jf)}(hjih]hbool}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMsubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMsubjC)}(hbio_add_vmalloch]jI)}(hbio_add_vmalloch]hbio_add_vmalloc}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMsubj=)}(h0(struct bio *bio, void *vaddr, unsigned int len)h](jC)}(hstruct bio *bioh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.bio_add_vmallocasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbioh]hbio}(hj*hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h void *vaddrh](jf)}(hvoidh]hvoid}(hjChhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj?ubj2)}(h h]h }(hjQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj?ubj)}(hjh]h*}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubjI)}(hvaddrh]hvaddr}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj?ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hunsigned int lenh](jf)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMsubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMsubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMshjhhubjw)}(hhh]h)}(hadd a vmalloc region to a bioh]hadd a vmalloc region to a bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMshjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMsubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct bio *bio`` destination bio ``void *vaddr`` vmalloc address to add ``unsigned int len`` total length in bytes of the data to add **Description** Add data starting at **vaddr** to **bio**. Return ``true`` on success or ``false`` if **bio** does not have enough space for the payload. This helper calls flush_kernel_vmap_range() for the range added. For reads the caller still needs to manually call invalidate_kernel_vmap_range() in the completion handler.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMwhjubj)}(hhh](j)}(h$``struct bio *bio`` destination bio h](j)}(h``struct bio *bio``h]j)}(hj(h]hstruct bio *bio}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMthj"ubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMthj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMthjubj)}(h'``void *vaddr`` vmalloc address to add h](j)}(h``void *vaddr``h]j)}(hjah]h void *vaddr}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMuhj[ubj)}(hhh]h)}(hvmalloc address to addh]hvmalloc address to add}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhMuhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMuhjubj)}(h>``unsigned int len`` total length in bytes of the data to add h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMvhjubj)}(hhh]h)}(h(total length in bytes of the data to addh]h(total length in bytes of the data to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMxhjubh)}(hAdd data starting at **vaddr** to **bio**. Return ``true`` on success or ``false`` if **bio** does not have enough space for the payload.h](hAdd data starting at }(hjhhhNhNubj)}(h **vaddr**h]hvaddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh . Return }(hjhhhNhNubj)}(h``true``h]htrue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on success or }(hjhhhNhNubj)}(h ``false``h]hfalse}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if }(hjhhhNhNubj)}(h**bio**h]hbio}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, does not have enough space for the payload.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMwhjubh)}(hThis helper calls flush_kernel_vmap_range() for the range added. For reads the caller still needs to manually call invalidate_kernel_vmap_range() in the completion handler.h]hThis helper calls flush_kernel_vmap_range() for the range added. For reads the caller still needs to manually call invalidate_kernel_vmap_range() in the completion handler.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMzhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_await (C function) c.bio_awaithNtauh1hhjHhhhNhNubj)}(hhh](j)}(hYvoid bio_await (struct bio *bio, void *priv, void (*submit)(struct bio *bio, void *priv))h]j)}(hXvoid bio_await(struct bio *bio, void *priv, void (*submit)(struct bio *bio, void *priv))h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(h bio_awaith]jI)}(h bio_awaith]h bio_await}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hJ(struct bio *bio, void *priv, void (*submit)(struct bio *bio, void *priv))h](jC)}(hstruct bio *bioh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsb c.bio_awaitasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h void *privh](jf)}(hvoidh]hvoid}(hj2hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj.ubj2)}(h h]h }(hj@hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.ubj)}(hjh]h*}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubjI)}(hprivh]hpriv}(hj[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj.ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h+void (*submit)(struct bio *bio, void *priv)h](jf)}(hvoidh]hvoid}(hjthhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjpubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubjI)}(hsubmith]hsubmit}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubj)}(hjOh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjpubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubh)}(hhh]jI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j c.bio_awaitasbuh1hhjpubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubjI)}(hbioh]hbio}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubj)}(hjh]h,}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj2)}(h h]h }(hjDhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubjf)}(hvoidh]hvoid}(hjRhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjpubj2)}(h h]h }(hj`hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubj)}(hjh]h*}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubjI)}(hprivh]hpriv}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubj)}(hjOh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj{hhhjhMubah}(h]jvah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjxhhubjw)}(hhh]h)}(h5call a function on a bio, and wait until it completesh]h5call a function on a bio, and wait until it completes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjxhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hXA**Parameters** ``struct bio *bio`` the bio which describes the I/O ``void *priv`` private data passed to **submit** ``void (*submit)(struct bio *bio, void *priv)`` function called to submit the bio **Description** Wait for the bio as well as any bio chained off it after executing the passed in callback **submit**. The wait for the bio is set up before calling **submit** to ensure that the completion is captured. If **submit** is ``NULL``, submit_bio() is used instead to submit the bio. **Note** this overrides the bi_private and bi_end_io fields in the bio.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh](j)}(h4``struct bio *bio`` the bio which describes the I/O h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(hthe bio which describes the I/Oh]hthe bio which describes the I/O}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h1``void *priv`` private data passed to **submit** h](j)}(h``void *priv``h]j)}(hj,h]h void *priv}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj&ubj)}(hhh]h)}(h!private data passed to **submit**h](hprivate data passed to }(hjEhhhNhNubj)}(h **submit**h]hsubmit}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1hhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjubj)}(hR``void (*submit)(struct bio *bio, void *priv)`` function called to submit the bio h](j)}(h/``void (*submit)(struct bio *bio, void *priv)``h]j)}(hjsh]h+void (*submit)(struct bio *bio, void *priv)}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjmubj)}(hhh]h)}(h!function called to submit the bioh]h!function called to submit the bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubh)}(hXWait for the bio as well as any bio chained off it after executing the passed in callback **submit**. The wait for the bio is set up before calling **submit** to ensure that the completion is captured. If **submit** is ``NULL``, submit_bio() is used instead to submit the bio.h](hZWait for the bio as well as any bio chained off it after executing the passed in callback }(hjhhhNhNubj)}(h **submit**h]hsubmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh1. The wait for the bio is set up before calling }(hjhhhNhNubj)}(h **submit**h]hsubmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh0 to ensure that the completion is captured. If }(hjhhhNhNubj)}(h **submit**h]hsubmit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh1, submit_bio() is used instead to submit the bio.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubh)}(h**Note**h]j)}(hj h]hNote}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubh)}(h>this overrides the bi_private and bi_end_io fields in the bio.h]h>this overrides the bi_private and bi_end_io fields in the bio.}(hj3 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j submit_bio_wait (C function)c.submit_bio_waithNtauh1hhjHhhhNhNubj)}(hhh](j)}(h%int submit_bio_wait (struct bio *bio)h]j)}(h$int submit_bio_wait(struct bio *bio)h](jf)}(hinth]hint}(hjb hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj^ hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj2)}(h h]h }(hjq hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj^ hhhjp hMubjC)}(hsubmit_bio_waith]jI)}(hsubmit_bio_waith]hsubmit_bio_wait}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj^ hhhjp hMubj=)}(h(struct bio *bio)h]jC)}(hstruct bio *bioh](j )}(hjh]hstruct}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubh)}(hhh]jI)}(hbioh]hbio}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]j)}jj sbc.submit_bio_waitasbuh1hhj ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(hbioh]hbio}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj ubah}(h]h ]h"]h$]h&]j`jauh1j<hj^ hhhjp hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjZ hhhjp hMubah}(h]jU ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjp hMhjW hhubjw)}(hhh]h)}(h)submit a bio, and wait until it completesh]h)submit a bio, and wait until it completes}(hj" hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj hhubah}(h]h ]h"]h$]h&]uh1jvhjW hhhjp hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj: jj: jjjuh1jhhhjHhNhNubj)}(hXv**Parameters** ``struct bio *bio`` The :c:type:`struct bio ` which describes the I/O **Description** Simple wrapper around submit_bio(). Returns 0 on success, or the error from bio_endio() on failure. WARNING: Unlike to how submit_bio() is usually used, this function does not result in bio reference to be consumed. The caller must drop the reference on his own.h](h)}(h**Parameters**h]j)}(hjD h]h Parameters}(hjF hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj> ubj)}(hhh]j)}(hK``struct bio *bio`` The :c:type:`struct bio ` which describes the I/O h](j)}(h``struct bio *bio``h]j)}(hjc h]hstruct bio *bio}(hje hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj] ubj)}(hhh]h)}(h6The :c:type:`struct bio ` which describes the I/Oh](hThe }(hj| hhhNhNubh)}(h:c:type:`struct bio `h]j)}(hj h]h struct bio}(hj hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjj jbiouh1hhjx hMhj| ubh which describes the I/O}(hj| hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjx hMhjy ubah}(h]h ]h"]h$]h&]uh1jhj] ubeh}(h]h ]h"]h$]h&]uh1jhjx hMhjZ ubah}(h]h ]h"]h$]h&]uh1jhj> ubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj> ubh)}(hcSimple wrapper around submit_bio(). Returns 0 on success, or the error from bio_endio() on failure.h]hcSimple wrapper around submit_bio(). Returns 0 on success, or the error from bio_endio() on failure.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj> ubh)}(hWARNING: Unlike to how submit_bio() is usually used, this function does not result in bio reference to be consumed. The caller must drop the reference on his own.h]hWARNING: Unlike to how submit_bio() is usually used, this function does not result in bio reference to be consumed. The caller must drop the reference on his own.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj> ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bdev_rw_virt (C function)c.bdev_rw_virthNtauh1hhjHhhhNhNubj)}(hhh](j)}(heint bdev_rw_virt (struct block_device *bdev, sector_t sector, void *data, size_t len, enum req_op op)h]j)}(hdint bdev_rw_virt(struct block_device *bdev, sector_t sector, void *data, size_t len, enum req_op op)h](jf)}(hinth]hint}(hj hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM#ubj2)}(h h]h }(hj$ hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj hhhj# hM#ubjC)}(h bdev_rw_virth]jI)}(h bdev_rw_virth]h bdev_rw_virt}(hj6 hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2 ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj hhhj# hM#ubj=)}(hT(struct block_device *bdev, sector_t sector, void *data, size_t len, enum req_op op)h](jC)}(hstruct block_device *bdevh](j )}(hjh]hstruct}(hjR hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjN ubj2)}(h h]h }(hj_ hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjN ubh)}(hhh]jI)}(h block_deviceh]h block_device}(hjp hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjm ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjr modnameN classnameNjj )}j ]j)}jj8 sbc.bdev_rw_virtasbuh1hhjN ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjN ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjN ubjI)}(hbdevh]hbdev}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjN ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjJ ubjC)}(hsector_t sectorh](h)}(hhh]jI)}(hsector_th]hsector_t}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]j c.bdev_rw_virtasbuh1hhj ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubjI)}(hsectorh]hsector}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjJ ubjC)}(h void *datah](jf)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hj( hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(hdatah]hdata}(hj5 hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjJ ubjC)}(h size_t lenh](h)}(hhh]jI)}(hsize_th]hsize_t}(hjQ hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjN ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjS modnameN classnameNjj )}j ]j c.bdev_rw_virtasbuh1hhjJ ubj2)}(h h]h }(hjo hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJ ubjI)}(hlenh]hlen}(hj} hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJ ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjJ ubjC)}(henum req_op oph](j )}(hj#h]henum}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubh)}(hhh]jI)}(hreq_oph]hreq_op}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]j c.bdev_rw_virtasbuh1hhj ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubjI)}(hoph]hop}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjJ ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj hhhj# hM#ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj hhhj# hM#ubah}(h]j ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj# hM#hj hhubjw)}(hhh]h)}(h3synchronously read into / write from kernel mappingh]h3synchronously read into / write from kernel mapping}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM#hj hhubah}(h]h ]h"]h$]h&]uh1jvhj hhhj# hM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj" jj" jjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct block_device *bdev`` block device to access ``sector_t sector`` sector to access ``void *data`` data to read/write ``size_t len`` length in byte to read/write ``enum req_op op`` operation (e.g. REQ_OP_READ/REQ_OP_WRITE) **Description** Performs synchronous I/O to **bdev** for **data**/**len**. **data** must be in the kernel direct mapping and not a vmalloc address.h](h)}(h**Parameters**h]j)}(hj, h]h Parameters}(hj. hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj* ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM'hj& ubj)}(hhh](j)}(h5``struct block_device *bdev`` block device to access h](j)}(h``struct block_device *bdev``h]j)}(hjK h]hstruct block_device *bdev}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM$hjE ubj)}(hhh]h)}(hblock device to accessh]hblock device to access}(hjd hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj` hM$hja ubah}(h]h ]h"]h$]h&]uh1jhjE ubeh}(h]h ]h"]h$]h&]uh1jhj` hM$hjB ubj)}(h%``sector_t sector`` sector to access h](j)}(h``sector_t sector``h]j)}(hj h]hsector_t sector}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM%hj~ ubj)}(hhh]h)}(hsector to accessh]hsector to access}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM%hj ubah}(h]h ]h"]h$]h&]uh1jhj~ ubeh}(h]h ]h"]h$]h&]uh1jhj hM%hjB ubj)}(h"``void *data`` data to read/write h](j)}(h``void *data``h]j)}(hj h]h void *data}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM&hj ubj)}(hhh]h)}(hdata to read/writeh]hdata to read/write}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM&hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM&hjB ubj)}(h,``size_t len`` length in byte to read/write h](j)}(h``size_t len``h]j)}(hj h]h size_t len}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM'hj ubj)}(hhh]h)}(hlength in byte to read/writeh]hlength in byte to read/write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM'hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM'hjB ubj)}(h=``enum req_op op`` operation (e.g. REQ_OP_READ/REQ_OP_WRITE) h](j)}(h``enum req_op op``h]j)}(hj/h]henum req_op op}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM(hj)ubj)}(hhh]h)}(h)operation (e.g. REQ_OP_READ/REQ_OP_WRITE)h]h)operation (e.g. REQ_OP_READ/REQ_OP_WRITE)}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhM(hjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhM(hjB ubeh}(h]h ]h"]h$]h&]uh1jhj& ubh)}(h**Description**h]j)}(hjjh]h Description}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM*hj& ubh)}(hPerforms synchronous I/O to **bdev** for **data**/**len**. **data** must be in the kernel direct mapping and not a vmalloc address.h](hPerforms synchronous I/O to }(hjhhhNhNubj)}(h**bdev**h]hbdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh for }(hjhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/}(hjhhhNhNubj)}(h**len**h]hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh@ must be in the kernel direct mapping and not a vmalloc address.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM)hj& ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_copy_data (C function)c.bio_copy_datahNtauh1hhjHhhhNhNubj)}(hhh](j)}(h5void bio_copy_data (struct bio *dst, struct bio *src)h]j)}(h4void bio_copy_data(struct bio *dst, struct bio *src)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMLubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMLubjC)}(h bio_copy_datah]jI)}(h bio_copy_datah]h bio_copy_data}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMLubj=)}(h"(struct bio *dst, struct bio *src)h](jC)}(hstruct bio *dsth](j )}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj0ubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0ubh)}(hhh]jI)}(hbioh]hbio}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTmodnameN classnameNjj )}j ]j)}jjsbc.bio_copy_dataasbuh1hhj0ubj2)}(h h]h }(hjrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubjI)}(hdsth]hdst}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj,ubjC)}(hstruct bio *srch](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jnc.bio_copy_dataasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsrch]hsrc}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj,ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMLubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMLubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMLhjhhubjw)}(hhh]h)}(h5copy contents of data buffers from one bio to anotherh]h5copy contents of data buffers from one bio to another}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMLhj$hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct bio *dst`` destination bio ``struct bio *src`` source bio **Description** Stops when it reaches the end of either **src** or **dst** - that is, copies min(src->bi_size, dst->bi_size) bytes (or the equivalent for lists of bios).h](h)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMPhjCubj)}(hhh](j)}(h$``struct bio *dst`` destination bio h](j)}(h``struct bio *dst``h]j)}(hjhh]hstruct bio *dst}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMNhjbubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hMNhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMNhj_ubj)}(h``struct bio *src`` source bio h](j)}(h``struct bio *src``h]j)}(hjh]hstruct bio *src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMMhjubj)}(hhh]h)}(h source bioh]h source bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhj_ubeh}(h]h ]h"]h$]h&]uh1jhjCubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMOhjCubh)}(hStops when it reaches the end of either **src** or **dst** - that is, copies min(src->bi_size, dst->bi_size) bytes (or the equivalent for lists of bios).h](h(Stops when it reaches the end of either }(hjhhhNhNubj)}(h**src**h]hsrc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh or }(hjhhhNhNubj)}(h**dst**h]hdst}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh_ - that is, copies min(src->bi_size, dst->bi_size) bytes (or the equivalent for lists of bios).}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMOhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_endio (C function) c.bio_endiohNtauh1hhjHhhhNhNubj)}(hhh](j)}(h void bio_endio (struct bio *bio)h]j)}(hvoid bio_endio(struct bio *bio)h](jf)}(hvoidh]hvoid}(hjEhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjAhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAhhhjShMubjC)}(h bio_endioh]jI)}(h bio_endioh]h bio_endio}(hjfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjAhhhjShMubj=)}(h(struct bio *bio)h]jC)}(hstruct bio *bioh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj~ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj~ubh)}(hhh]jI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjhsb c.bio_endioasbuh1hhj~ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj~ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~ubjI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj~ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjzubah}(h]h ]h"]h$]h&]j`jauh1j<hjAhhhjShMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj=hhhjShMubah}(h]j8ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjShMhj:hhubjw)}(hhh]h)}(hend I/O on a bioh]hend I/O on a bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhj:hhhjShMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct bio *bio`` bio **Description** bio_endio() will end I/O on the whole bio. bio_endio() is the preferred way to end I/O on a bio. No one should call bi_end_io() directly on a bio unless they own it and thus know that it has an end_io function. bio_endio() can be called several times on a bio that has been chained using bio_chain(). The ->bi_end_io() function will only be called the last time.h](h)}(h**Parameters**h]j)}(hj'h]h Parameters}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj!ubj)}(hhh]j)}(h``struct bio *bio`` bio h](j)}(h``struct bio *bio``h]j)}(hjFh]hstruct bio *bio}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj@ubj)}(hhh]h)}(hbioh]hbio}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj!ubj)}(hXlbio_endio() will end I/O on the whole bio. bio_endio() is the preferred way to end I/O on a bio. No one should call bi_end_io() directly on a bio unless they own it and thus know that it has an end_io function. bio_endio() can be called several times on a bio that has been chained using bio_chain(). The ->bi_end_io() function will only be called the last time.h](h)}(hbio_endio() will end I/O on the whole bio. bio_endio() is the preferred way to end I/O on a bio. No one should call bi_end_io() directly on a bio unless they own it and thus know that it has an end_io function.h]hbio_endio() will end I/O on the whole bio. bio_endio() is the preferred way to end I/O on a bio. No one should call bi_end_io() directly on a bio unless they own it and thus know that it has an end_io function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubh)}(hbio_endio() can be called several times on a bio that has been chained using bio_chain(). The ->bi_end_io() function will only be called the last time.h]hbio_endio() can be called several times on a bio that has been chained using bio_chain(). The ->bi_end_io() function will only be called the last time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_split (C function) c.bio_splithNtauh1hhjHhhhNhNubj)}(hhh](j)}(hTstruct bio * bio_split (struct bio *bio, int sectors, gfp_t gfp, struct bio_set *bs)h]j)}(hRstruct bio *bio_split(struct bio *bio, int sectors, gfp_t gfp, struct bio_set *bs)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM ubh)}(hhh]jI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}j bio_splitsb c.bio_splitasbuh1hhjhhhjhM ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM ubj)}(hjh]h*}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM ubjC)}(h bio_splith]jI)}(hjh]h bio_split}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj:ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM ubj=)}(h=(struct bio *bio, int sectors, gfp_t gfp, struct bio_set *bs)h](jC)}(hstruct bio *bioh](j )}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjUubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjUubh)}(hhh]jI)}(hbioh]hbio}(hjwhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj )}j ]j c.bio_splitasbuh1hhjUubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjUubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubjI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjUubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjQubjC)}(h int sectorsh](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hsectorsh]hsectors}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjQubjC)}(h gfp_t gfph](h)}(hhh]jI)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j c.bio_splitasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hgfph]hgfp}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjQubjC)}(hstruct bio_set *bsh](j )}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjBubj2)}(h h]h }(hjShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBubh)}(hhh]jI)}(hbio_seth]hbio_set}(hjdhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj )}j ]j c.bio_splitasbuh1hhjBubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubjI)}(hbsh]hbs}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjQubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM hjhhubjw)}(hhh]h)}(h split a bioh]h split a bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM hjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX2**Parameters** ``struct bio *bio`` bio to split ``int sectors`` number of sectors to split from the front of **bio** ``gfp_t gfp`` gfp mask ``struct bio_set *bs`` bio set to allocate from **Description** Allocates and returns a new bio which represents **sectors** from the start of **bio**, and updates **bio** to represent the remaining sectors. Unless this is a discard request the newly allocated bio will point to **bio**'s bi_io_vec. It is the caller's responsibility to ensure that neither **bio** nor **bs** are freed before the split bio.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM$hjubj)}(hhh](j)}(h!``struct bio *bio`` bio to split h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM!hjubj)}(hhh]h)}(h bio to splith]h bio to split}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM!hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM!hjubj)}(hE``int sectors`` number of sectors to split from the front of **bio** h](j)}(h``int sectors``h]j)}(hjAh]h int sectors}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM"hj;ubj)}(hhh]h)}(h4number of sectors to split from the front of **bio**h](h-number of sectors to split from the front of }(hjZhhhNhNubj)}(h**bio**h]hbio}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1hhjVhM"hjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhM"hjubj)}(h``gfp_t gfp`` gfp mask h](j)}(h ``gfp_t gfp``h]j)}(hjh]h gfp_t gfp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM#hjubj)}(hhh]h)}(hgfp maskh]hgfp mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjubj)}(h0``struct bio_set *bs`` bio set to allocate from h](j)}(h``struct bio_set *bs``h]j)}(hjh]hstruct bio_set *bs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM$hjubj)}(hhh]h)}(hbio set to allocate fromh]hbio set to allocate from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM&hjubh)}(hAllocates and returns a new bio which represents **sectors** from the start of **bio**, and updates **bio** to represent the remaining sectors.h](h1Allocates and returns a new bio which represents }(hjhhhNhNubj)}(h **sectors**h]hsectors}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh from the start of }(hjhhhNhNubj)}(h**bio**h]hbio}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, and updates }(hjhhhNhNubj)}(h**bio**h]hbio}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh$ to represent the remaining sectors.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM%hjubh)}(hUnless this is a discard request the newly allocated bio will point to **bio**'s bi_io_vec. It is the caller's responsibility to ensure that neither **bio** nor **bs** are freed before the split bio.h](hGUnless this is a discard request the newly allocated bio will point to }(hjWhhhNhNubj)}(h**bio**h]hbio}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubhK’s bi_io_vec. It is the caller’s responsibility to ensure that neither }(hjWhhhNhNubj)}(h**bio**h]hbio}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh nor }(hjWhhhNhNubj)}(h**bs**h]hbs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh are freed before the split bio.}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM(hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_trim (C function) c.bio_trimhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h?void bio_trim (struct bio *bio, sector_t offset, sector_t size)h]j)}(h>void bio_trim(struct bio *bio, sector_t offset, sector_t size)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMRubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMRubjC)}(hbio_trimh]jI)}(hbio_trimh]hbio_trim}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMRubj=)}(h1(struct bio *bio, sector_t offset, sector_t size)h](jC)}(hstruct bio *bioh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsb c.bio_trimasbuh1hhjubj2)}(h h]h }(hj7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbioh]hbio}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hsector_t offseth](h)}(hhh]jI)}(hsector_th]hsector_t}(hjnhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNjj )}j ]j3 c.bio_trimasbuh1hhjgubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjgubjI)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjgubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h sector_t sizeh](h)}(hhh]jI)}(hsector_th]hsector_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j3 c.bio_trimasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMRubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMRubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMRhjhhubjw)}(hhh]h)}(h trim a bioh]h trim a bio}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMRhj hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMRubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jj$jjjuh1jhhhjHhNhNubj)}(hX9**Parameters** ``struct bio *bio`` bio to trim ``sector_t offset`` number of sectors to trim from the front of **bio** ``sector_t size`` size we want to trim **bio** to, in sectors **Description** This function is typically used for bios that are cloned and submitted to the underlying device in parts.h](h)}(h**Parameters**h]j)}(hj.h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMVhj(ubj)}(hhh](j)}(h ``struct bio *bio`` bio to trim h](j)}(h``struct bio *bio``h]j)}(hjMh]hstruct bio *bio}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMShjGubj)}(hhh]h)}(h bio to trimh]h bio to trim}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhMShjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMShjDubj)}(hH``sector_t offset`` number of sectors to trim from the front of **bio** h](j)}(h``sector_t offset``h]j)}(hjh]hsector_t offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMThjubj)}(hhh]h)}(h3number of sectors to trim from the front of **bio**h](h,number of sectors to trim from the front of }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjDubj)}(h>``sector_t size`` size we want to trim **bio** to, in sectors h](j)}(h``sector_t size``h]j)}(hjh]h sector_t size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMUhjubj)}(hhh]h)}(h+size we want to trim **bio** to, in sectorsh](hsize we want to trim }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to, in sectors}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjDubeh}(h]h ]h"]h$]h&]uh1jhj(ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMWhj(ubh)}(hiThis function is typically used for bios that are cloned and submitted to the underlying device in parts.h]hiThis function is typically used for bios that are cloned and submitted to the underlying device in parts.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMVhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bioset_init (C function) c.bioset_inithNtauh1hhjHhhhNhNubj)}(hhh](j)}(h_int bioset_init (struct bio_set *bs, unsigned int pool_size, unsigned int front_pad, int flags)h]j)}(h^int bioset_init(struct bio_set *bs, unsigned int pool_size, unsigned int front_pad, int flags)h](jf)}(hinth]hint}(hj_hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj[hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj2)}(h h]h }(hjnhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj[hhhjmhMubjC)}(h bioset_inith]jI)}(h bioset_inith]h bioset_init}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj[hhhjmhMubj=)}(hO(struct bio_set *bs, unsigned int pool_size, unsigned int front_pad, int flags)h](jC)}(hstruct bio_set *bsh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hbio_seth]hbio_set}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsb c.bioset_initasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbsh]hbs}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hunsigned int pool_sizeh](jf)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubjf)}(hinth]hint}(hj*hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj ubj2)}(h h]h }(hj8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubjI)}(h pool_sizeh]h pool_size}(hjFhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hunsigned int front_padh](jf)}(hunsignedh]hunsigned}(hj_hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj[ubj2)}(h h]h }(hjmhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj[ubjf)}(hinth]hint}(hj{hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj[ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj[ubjI)}(h front_padh]h front_pad}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h int flagsh](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hj[hhhjmhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjWhhhjmhMubah}(h]jRah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjmhMhjThhubjw)}(hhh]h)}(hInitialize a bio_seth]hInitialize a bio_set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjThhhjmhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct bio_set *bs`` pool to initialize ``unsigned int pool_size`` Number of bio and bio_vecs to cache in the mempool ``unsigned int front_pad`` Number of bytes to allocate in front of the returned bio ``int flags`` Flags to modify behavior, currently ``BIOSET_NEED_BVECS`` and ``BIOSET_NEED_RESCUER`` **Description** Set up a bio_set to be used with **bio_alloc_bioset**. Allows the caller to ask for a number of bytes to be allocated in front of the bio. Front pad allocation is useful for embedding the bio inside another structure, to avoid allocating extra data to go with the bio. Note that the bio must be embedded at the END of that structure always, or things will break badly. If ``BIOSET_NEED_BVECS`` is set in **flags**, a separate pool will be allocated for allocating iovecs. This pool is not needed e.g. for bio_init_clone(). If ``BIOSET_NEED_RESCUER`` is set, a workqueue is created which can be used to dispatch queued requests when the mempool runs out of space.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh](j)}(h*``struct bio_set *bs`` pool to initialize h](j)}(h``struct bio_set *bs``h]j)}(hj7h]hstruct bio_set *bs}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj1ubj)}(hhh]h)}(hpool to initializeh]hpool to initialize}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhj.ubj)}(hN``unsigned int pool_size`` Number of bio and bio_vecs to cache in the mempool h](j)}(h``unsigned int pool_size``h]j)}(hjph]hunsigned int pool_size}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjjubj)}(hhh]h)}(h2Number of bio and bio_vecs to cache in the mempoolh]h2Number of bio and bio_vecs to cache in the mempool}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj.ubj)}(hT``unsigned int front_pad`` Number of bytes to allocate in front of the returned bio h](j)}(h``unsigned int front_pad``h]j)}(hjh]hunsigned int front_pad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(h8Number of bytes to allocate in front of the returned bioh]h8Number of bytes to allocate in front of the returned bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj.ubj)}(hd``int flags`` Flags to modify behavior, currently ``BIOSET_NEED_BVECS`` and ``BIOSET_NEED_RESCUER`` h](j)}(h ``int flags``h]j)}(hjh]h int flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(hUFlags to modify behavior, currently ``BIOSET_NEED_BVECS`` and ``BIOSET_NEED_RESCUER``h](h$Flags to modify behavior, currently }(hjhhhNhNubj)}(h``BIOSET_NEED_BVECS``h]hBIOSET_NEED_BVECS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``BIOSET_NEED_RESCUER``h]hBIOSET_NEED_RESCUER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj.ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj>h]h Description}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hXSet up a bio_set to be used with **bio_alloc_bioset**. Allows the caller to ask for a number of bytes to be allocated in front of the bio. Front pad allocation is useful for embedding the bio inside another structure, to avoid allocating extra data to go with the bio. Note that the bio must be embedded at the END of that structure always, or things will break badly. If ``BIOSET_NEED_BVECS`` is set in **flags**, a separate pool will be allocated for allocating iovecs. This pool is not needed e.g. for bio_init_clone(). If ``BIOSET_NEED_RESCUER`` is set, a workqueue is created which can be used to dispatch queued requests when the mempool runs out of space.h]h)}(hXSet up a bio_set to be used with **bio_alloc_bioset**. Allows the caller to ask for a number of bytes to be allocated in front of the bio. Front pad allocation is useful for embedding the bio inside another structure, to avoid allocating extra data to go with the bio. Note that the bio must be embedded at the END of that structure always, or things will break badly. If ``BIOSET_NEED_BVECS`` is set in **flags**, a separate pool will be allocated for allocating iovecs. This pool is not needed e.g. for bio_init_clone(). If ``BIOSET_NEED_RESCUER`` is set, a workqueue is created which can be used to dispatch queued requests when the mempool runs out of space.h](h!Set up a bio_set to be used with }(hjXhhhNhNubj)}(h**bio_alloc_bioset**h]hbio_alloc_bioset}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubhX?. Allows the caller to ask for a number of bytes to be allocated in front of the bio. Front pad allocation is useful for embedding the bio inside another structure, to avoid allocating extra data to go with the bio. Note that the bio must be embedded at the END of that structure always, or things will break badly. If }(hjXhhhNhNubj)}(h``BIOSET_NEED_BVECS``h]hBIOSET_NEED_BVECS}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubh is set in }(hjXhhhNhNubj)}(h **flags**h]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubhr, a separate pool will be allocated for allocating iovecs. This pool is not needed e.g. for bio_init_clone(). If }(hjXhhhNhNubj)}(h``BIOSET_NEED_RESCUER``h]hBIOSET_NEED_RESCUER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubhq is set, a workqueue is created which can be used to dispatch queued requests when the mempool runs out of space.}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjTubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_open (C function) c.seq_openhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hAint seq_open (struct file *file, const struct seq_operations *op)h]j)}(h@int seq_open(struct file *file, const struct seq_operations *op)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chK+ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhK+ubjC)}(hseq_openh]jI)}(hseq_openh]hseq_open}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhK+ubj=)}(h4(struct file *file, const struct seq_operations *op)h](jC)}(hstruct file *fileh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hfileh]hfile}(hj0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj )}j ]j)}jjsb c.seq_openasbuh1hhjubj2)}(h h]h }(hjPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfileh]hfile}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj ubjC)}(hconst struct seq_operations *oph](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hseq_operationsh]hseq_operations}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jL c.seq_openasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hoph]hop}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhK+ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhK+ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhK+hjhhubjw)}(hhh]h)}(hinitialize sequential fileh]hinitialize sequential file}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chK+hjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhK+ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1jhhhjHhNhNubj)}(hXs**Parameters** ``struct file *file`` file we initialize ``const struct seq_operations *op`` method table describing the sequence **Description** seq_open() sets **file**, associating it with a sequence described by **op**. **op->start\(\)** sets the iterator up and returns the first element of sequence. **op->stop\(\)** shuts it down. **op->next\(\)** returns the next element of sequence. **op->show\(\)** prints element into the buffer. In case of error ->start() and ->next() return ERR_PTR(error). In the end of sequence they return ``NULL``. ->show() returns 0 in case of success and negative number in case of error. Returning SEQ_SKIP means "discard this element and move on". **Note** seq_open() will allocate a struct seq_file and store its pointer in **file->private_data**. This pointer should not be modified.h](h)}(h**Parameters**h]j)}(hjBh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chK/hj<ubj)}(hhh](j)}(h)``struct file *file`` file we initialize h](j)}(h``struct file *file``h]j)}(hjah]hstruct file *file}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chK,hj[ubj)}(hhh]h)}(hfile we initializeh]hfile we initialize}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhK,hjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhK,hjXubj)}(hI``const struct seq_operations *op`` method table describing the sequence h](j)}(h#``const struct seq_operations *op``h]j)}(hjh]hconst struct seq_operations *op}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chK-hjubj)}(hhh]h)}(h$method table describing the sequenceh]h$method table describing the sequence}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK-hjXubeh}(h]h ]h"]h$]h&]uh1jhj<ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chK/hj<ubj)}(hX"seq_open() sets **file**, associating it with a sequence described by **op**. **op->start\(\)** sets the iterator up and returns the first element of sequence. **op->stop\(\)** shuts it down. **op->next\(\)** returns the next element of sequence. **op->show\(\)** prints element into the buffer. In case of error ->start() and ->next() return ERR_PTR(error). In the end of sequence they return ``NULL``. ->show() returns 0 in case of success and negative number in case of error. Returning SEQ_SKIP means "discard this element and move on". h]h)}(hX!seq_open() sets **file**, associating it with a sequence described by **op**. **op->start\(\)** sets the iterator up and returns the first element of sequence. **op->stop\(\)** shuts it down. **op->next\(\)** returns the next element of sequence. **op->show\(\)** prints element into the buffer. In case of error ->start() and ->next() return ERR_PTR(error). In the end of sequence they return ``NULL``. ->show() returns 0 in case of success and negative number in case of error. Returning SEQ_SKIP means "discard this element and move on".h](hseq_open() sets }(hjhhhNhNubj)}(h**file**h]hfile}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh., associating it with a sequence described by }(hjhhhNhNubj)}(h**op**h]hop}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubj)}(h**op->start\(\)**h]h op->start()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhA sets the iterator up and returns the first element of sequence. }(hjhhhNhNubj)}(h**op->stop\(\)**h]h op->stop()}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh shuts it down. }(hjhhhNhNubj)}(h**op->next\(\)**h]h op->next()}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( returns the next element of sequence. }(hjhhhNhNubj)}(h**op->show\(\)**h]h op->show()}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh prints element into the buffer. In case of error ->start() and ->next() return ERR_PTR(error). In the end of sequence they return }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. ->show() returns 0 in case of success and negative number in case of error. Returning SEQ_SKIP means “discard this element and move on”.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chK.hjubah}(h]h ]h"]h$]h&]uh1jhj{hK.hj<ubh)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chK7hj<ubj)}(hhh]j)}(hseq_open() will allocate a struct seq_file and store its pointer in **file->private_data**. This pointer should not be modified.h](j)}(h8seq_open() will allocate a struct seq_file and store itsh]h8seq_open() will allocate a struct seq_file and store its}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chK7hjubj)}(hhh]h)}(hGpointer in **file->private_data**. This pointer should not be modified.h](h pointer in }(hjhhhNhNubj)}(h**file->private_data**h]hfile->private_data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh&. This pointer should not be modified.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chK8hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK7hjubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_read (C function) c.seq_readhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hQssize_t seq_read (struct file *file, char __user *buf, size_t size, loff_t *ppos)h]j)}(hPssize_t seq_read(struct file *file, char __user *buf, size_t size, loff_t *ppos)h](h)}(hhh]jI)}(hssize_th]hssize_t}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]j)}jseq_readsb c.seq_readasbuh1hhj hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chKubj2)}(h h]h }(hj+ hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj hhhj* hKubjC)}(hseq_readh]jI)}(hj' h]hseq_read}(hj= hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj9 ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj hhhj* hKubj=)}(h@(struct file *file, char __user *buf, size_t size, loff_t *ppos)h](jC)}(hstruct file *fileh](j )}(hjh]hstruct}(hjX hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjT ubj2)}(h h]h }(hje hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjT ubh)}(hhh]jI)}(hfileh]hfile}(hjv hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjs ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjx modnameN classnameNjj )}j ]j%  c.seq_readasbuh1hhjT ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjT ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjT ubjI)}(hfileh]hfile}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjT ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjP ubjC)}(hchar __user *bufh](jf)}(hcharh]hchar}(hj hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubh__user}(hj hhhNhNubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(hbufh]hbuf}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjP ubjC)}(h size_t sizeh](h)}(hhh]jI)}(hsize_th]hsize_t}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!!modnameN classnameNjj )}j ]j%  c.seq_readasbuh1hhj!ubj2)}(h h]h }(hj=!hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!ubjI)}(hsizeh]hsize}(hjK!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjP ubjC)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjg!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjd!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetji!modnameN classnameNjj )}j ]j%  c.seq_readasbuh1hhj`!ubj2)}(h h]h }(hj!hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj`!ubj)}(hjh]h*}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`!ubjI)}(hpposh]hppos}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`!ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjP ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj hhhj* hKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj* hKubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj* hKhjhhubjw)}(hhh]h)}(h%->read() method for sequential files.h]h%->read() method for sequential files.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chKhj!hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj* hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct file *file`` the file to read from ``char __user *buf`` the buffer to read to ``size_t size`` the maximum number of bytes to read ``loff_t *ppos`` the current position in the file **Description** Ready-made ->f_op->read()h](h)}(h**Parameters**h]j)}(hj!h]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chKhj!ubj)}(hhh](j)}(h,``struct file *file`` the file to read from h](j)}(h``struct file *file``h]j)}(hj "h]hstruct file *file}(hj "hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj "ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chKhj"ubj)}(hhh]h)}(hthe file to read fromh]hthe file to read from}(hj$"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj "hKhj!"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj "hKhj"ubj)}(h+``char __user *buf`` the buffer to read to h](j)}(h``char __user *buf``h]j)}(hjD"h]hchar __user *buf}(hjF"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB"ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chKhj>"ubj)}(hhh]h)}(hthe buffer to read toh]hthe buffer to read to}(hj]"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjY"hKhjZ"ubah}(h]h ]h"]h$]h&]uh1jhj>"ubeh}(h]h ]h"]h$]h&]uh1jhjY"hKhj"ubj)}(h4``size_t size`` the maximum number of bytes to read h](j)}(h``size_t size``h]j)}(hj}"h]h size_t size}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{"ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chKhjw"ubj)}(hhh]h)}(h#the maximum number of bytes to readh]h#the maximum number of bytes to read}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"hKhj"ubah}(h]h ]h"]h$]h&]uh1jhjw"ubeh}(h]h ]h"]h$]h&]uh1jhj"hKhj"ubj)}(h2``loff_t *ppos`` the current position in the file h](j)}(h``loff_t *ppos``h]j)}(hj"h]h loff_t *ppos}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chKhj"ubj)}(hhh]h)}(h the current position in the fileh]h the current position in the file}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"hKhj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hKhj"ubeh}(h]h ]h"]h$]h&]uh1jhj!ubh)}(h**Description**h]j)}(hj"h]h Description}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chKhj!ubj)}(hReady-made ->f_op->read()h]h)}(hj #h]hReady-made ->f_op->read()}(hj #hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chKhj#ubah}(h]h ]h"]h$]h&]uh1jhj#hKhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_lseek (C function) c.seq_lseekhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h?loff_t seq_lseek (struct file *file, loff_t offset, int whence)h]j)}(h>loff_t seq_lseek(struct file *file, loff_t offset, int whence)h](h)}(hhh]jI)}(hloff_th]hloff_t}(hjB#hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj?#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjD#modnameN classnameNjj )}j ]j)}j seq_lseeksb c.seq_lseekasbuh1hhj;#hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM.ubj2)}(h h]h }(hjd#hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj;#hhhjc#hM.ubjC)}(h seq_lseekh]jI)}(hj`#h]h seq_lseek}(hjv#hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjr#ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj;#hhhjc#hM.ubj=)}(h.(struct file *file, loff_t offset, int whence)h](jC)}(hstruct file *fileh](j )}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj#ubj2)}(h h]h }(hj#hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#ubh)}(hhh]jI)}(hfileh]hfile}(hj#hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNjj )}j ]j^# c.seq_lseekasbuh1hhj#ubj2)}(h h]h }(hj#hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#ubj)}(hjh]h*}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubjI)}(hfileh]hfile}(hj#hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj#ubjC)}(h loff_t offseth](h)}(hhh]jI)}(hloff_th]hloff_t}(hj$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNjj )}j ]j^# c.seq_lseekasbuh1hhj#ubj2)}(h h]h }(hj"$hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#ubjI)}(hoffseth]hoffset}(hj0$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj#ubjC)}(h int whenceh](jf)}(hinth]hint}(hjI$hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjE$ubj2)}(h h]h }(hjW$hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjE$ubjI)}(hwhenceh]hwhence}(hje$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjE$ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj#ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj;#hhhjc#hM.ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj7#hhhjc#hM.ubah}(h]j2#ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjc#hM.hj4#hhubjw)}(hhh]h)}(h'->llseek() method for sequential files.h]h'->llseek() method for sequential files.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM.hj$hhubah}(h]h ]h"]h$]h&]uh1jvhj4#hhhjc#hM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jj$jjjuh1jhhhjHhNhNubj)}(h**Parameters** ``struct file *file`` the file in question ``loff_t offset`` new position ``int whence`` 0 for absolute, 1 for relative position **Description** Ready-made ->f_op->llseek()h](h)}(h**Parameters**h]j)}(hj$h]h Parameters}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM2hj$ubj)}(hhh](j)}(h+``struct file *file`` the file in question h](j)}(h``struct file *file``h]j)}(hj$h]hstruct file *file}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM/hj$ubj)}(hhh]h)}(hthe file in questionh]hthe file in question}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hM/hj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hM/hj$ubj)}(h``loff_t offset`` new position h](j)}(h``loff_t offset``h]j)}(hj %h]h loff_t offset}(hj %hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM0hj%ubj)}(hhh]h)}(h new positionh]h new position}(hj"%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hM0hj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hM0hj$ubj)}(h7``int whence`` 0 for absolute, 1 for relative position h](j)}(h``int whence``h]j)}(hjB%h]h int whence}(hjD%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@%ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM1hj<%ubj)}(hhh]h)}(h'0 for absolute, 1 for relative positionh]h'0 for absolute, 1 for relative position}(hj[%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjW%hM1hjX%ubah}(h]h ]h"]h$]h&]uh1jhj<%ubeh}(h]h ]h"]h$]h&]uh1jhjW%hM1hj$ubeh}(h]h ]h"]h$]h&]uh1jhj$ubh)}(h**Description**h]j)}(hj}%h]h Description}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{%ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM3hj$ubj)}(hReady-made ->f_op->llseek()h]h)}(hj%h]hReady-made ->f_op->llseek()}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM2hj%ubah}(h]h ]h"]h$]h&]uh1jhj%hM2hj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_release (C function) c.seq_releasehNtauh1hhjHhhhNhNubj)}(hhh](j)}(h8int seq_release (struct inode *inode, struct file *file)h]j)}(h7int seq_release(struct inode *inode, struct file *file)h](jf)}(hinth]hint}(hj%hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj%hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMZubj2)}(h h]h }(hj%hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%hhhj%hMZubjC)}(h seq_releaseh]jI)}(h seq_releaseh]h seq_release}(hj%hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj%hhhj%hMZubj=)}(h((struct inode *inode, struct file *file)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj&ubj2)}(h h]h }(hj&hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&ubh)}(hhh]jI)}(hinodeh]hinode}(hj&&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(&modnameN classnameNjj )}j ]j)}jj%sb c.seq_releaseasbuh1hhj&ubj2)}(h h]h }(hjF&hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&ubj)}(hjh]h*}(hjT&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubjI)}(hinodeh]hinode}(hja&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj&ubjC)}(hstruct file *fileh](j )}(hjh]hstruct}(hjz&hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjv&ubj2)}(h h]h }(hj&hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjv&ubh)}(hhh]jI)}(hfileh]hfile}(hj&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNjj )}j ]jB& c.seq_releaseasbuh1hhjv&ubj2)}(h h]h }(hj&hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjv&ubj)}(hjh]h*}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjv&ubjI)}(hfileh]hfile}(hj&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjv&ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj&ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj%hhhj%hMZubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj%hhhj%hMZubah}(h]j%ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj%hMZhj%hhubjw)}(hhh]h)}(h4free the structures associated with sequential file.h]h4free the structures associated with sequential file.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMZhj&hhubah}(h]h ]h"]h$]h&]uh1jvhj%hhhj%hMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1jhhhjHhNhNubj)}(h**Parameters** ``struct inode *inode`` its inode ``struct file *file`` file in question **Description** Frees the structures associated with sequential file; can be used as ->f_op->release() if you don't have private data to destroy.h](h)}(h**Parameters**h]j)}(hj'h]h Parameters}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM^hj'ubj)}(hhh](j)}(h"``struct inode *inode`` its inode h](j)}(h``struct inode *inode``h]j)}(hj<'h]hstruct inode *inode}(hj>'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:'ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM[hj6'ubj)}(hhh]h)}(h its inodeh]h its inode}(hjU'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQ'hM[hjR'ubah}(h]h ]h"]h$]h&]uh1jhj6'ubeh}(h]h ]h"]h$]h&]uh1jhjQ'hM[hj3'ubj)}(h'``struct file *file`` file in question h](j)}(h``struct file *file``h]j)}(hju'h]hstruct file *file}(hjw'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs'ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM\hjo'ubj)}(hhh]h)}(hfile in questionh]hfile in question}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hM\hj'ubah}(h]h ]h"]h$]h&]uh1jhjo'ubeh}(h]h ]h"]h$]h&]uh1jhj'hM\hj3'ubeh}(h]h ]h"]h$]h&]uh1jhj'ubh)}(h**Description**h]j)}(hj'h]h Description}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM^hj'ubj)}(hFrees the structures associated with sequential file; can be used as ->f_op->release() if you don't have private data to destroy.h]h)}(hFrees the structures associated with sequential file; can be used as ->f_op->release() if you don't have private data to destroy.h]hFrees the structures associated with sequential file; can be used as ->f_op->release() if you don’t have private data to destroy.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM]hj'ubah}(h]h ]h"]h$]h&]uh1jhj'hM]hj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_escape_mem (C function)c.seq_escape_memhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hjvoid seq_escape_mem (struct seq_file *m, const char *src, size_t len, unsigned int flags, const char *esc)h]j)}(hivoid seq_escape_mem(struct seq_file *m, const char *src, size_t len, unsigned int flags, const char *esc)h](jf)}(hvoidh]hvoid}(hj'hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj'hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMkubj2)}(h h]h }(hj(hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'hhhj (hMkubjC)}(hseq_escape_memh]jI)}(hseq_escape_memh]hseq_escape_mem}(hj (hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj(ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj'hhhj (hMkubj=)}(hV(struct seq_file *m, const char *src, size_t len, unsigned int flags, const char *esc)h](jC)}(hstruct seq_file *mh](j )}(hjh]hstruct}(hj<(hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj8(ubj2)}(h h]h }(hjI(hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8(ubh)}(hhh]jI)}(hseq_fileh]hseq_file}(hjZ(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjW(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\(modnameN classnameNjj )}j ]j)}jj"(sbc.seq_escape_memasbuh1hhj8(ubj2)}(h h]h }(hjz(hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8(ubj)}(hjh]h*}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8(ubjI)}(hmh]hm}(hj(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8(ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj4(ubjC)}(hconst char *srch](j )}(hjh]hconst}(hj(hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj(ubj2)}(h h]h }(hj(hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj(ubjf)}(hcharh]hchar}(hj(hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj(ubj2)}(h h]h }(hj(hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj(ubj)}(hjh]h*}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubjI)}(hsrch]hsrc}(hj(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj(ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj4(ubjC)}(h size_t lenh](h)}(hhh]jI)}(hsize_th]hsize_t}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj )ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNjj )}j ]jv(c.seq_escape_memasbuh1hhj)ubj2)}(h h]h }(hj,)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj)ubjI)}(hlenh]hlen}(hj:)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj4(ubjC)}(hunsigned int flagsh](jf)}(hunsignedh]hunsigned}(hjS)hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjO)ubj2)}(h h]h }(hja)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjO)ubjf)}(hinth]hint}(hjo)hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjO)ubj2)}(h h]h }(hj})hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjO)ubjI)}(hflagsh]hflags}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjO)ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj4(ubjC)}(hconst char *esch](j )}(hjh]hconst}(hj)hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj)ubj2)}(h h]h }(hj)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj)ubjf)}(hcharh]hchar}(hj)hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj)ubj2)}(h h]h }(hj)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj)ubj)}(hjh]h*}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubjI)}(hesch]hesc}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj4(ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj'hhhj (hMkubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj'hhhj (hMkubah}(h]j'ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj (hMkhj'hhubjw)}(hhh]h)}(h0print data into buffer, escaping some charactersh]h0print data into buffer, escaping some characters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMkhj*hhubah}(h]h ]h"]h$]h&]uh1jvhj'hhhj (hMkubeh}(h]h ](jfunctioneh"]h$]h&]jjjj**jj**jjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct seq_file *m`` target buffer ``const char *src`` source buffer ``size_t len`` size of source buffer ``unsigned int flags`` flags to pass to string_escape_mem() ``const char *esc`` set of characters that need escaping **Description** Puts data into buffer, replacing each occurrence of character from given class (defined by **flags** and **esc**) with printable escaped sequence. Use seq_has_overflowed() to check for errors.h](h)}(h**Parameters**h]j)}(hj4*h]h Parameters}(hj6*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2*ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMohj.*ubj)}(hhh](j)}(h%``struct seq_file *m`` target buffer h](j)}(h``struct seq_file *m``h]j)}(hjS*h]hstruct seq_file *m}(hjU*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ*ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMlhjM*ubj)}(hhh]h)}(h target bufferh]h target buffer}(hjl*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjh*hMlhji*ubah}(h]h ]h"]h$]h&]uh1jhjM*ubeh}(h]h ]h"]h$]h&]uh1jhjh*hMlhjJ*ubj)}(h"``const char *src`` source buffer h](j)}(h``const char *src``h]j)}(hj*h]hconst char *src}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMmhj*ubj)}(hhh]h)}(h source bufferh]h source buffer}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMmhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMmhjJ*ubj)}(h%``size_t len`` size of source buffer h](j)}(h``size_t len``h]j)}(hj*h]h size_t len}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMnhj*ubj)}(hhh]h)}(hsize of source bufferh]hsize of source buffer}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMnhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMnhjJ*ubj)}(h<``unsigned int flags`` flags to pass to string_escape_mem() h](j)}(h``unsigned int flags``h]j)}(hj*h]hunsigned int flags}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMohj*ubj)}(hhh]h)}(h$flags to pass to string_escape_mem()h]h$flags to pass to string_escape_mem()}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+hMohj+ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj+hMohjJ*ubj)}(h9``const char *esc`` set of characters that need escaping h](j)}(h``const char *esc``h]j)}(hj7+h]hconst char *esc}(hj9+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5+ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMphj1+ubj)}(hhh]h)}(h$set of characters that need escapingh]h$set of characters that need escaping}(hjP+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjL+hMphjM+ubah}(h]h ]h"]h$]h&]uh1jhj1+ubeh}(h]h ]h"]h$]h&]uh1jhjL+hMphjJ*ubeh}(h]h ]h"]h$]h&]uh1jhj.*ubh)}(h**Description**h]j)}(hjr+h]h Description}(hjt+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp+ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMrhj.*ubh)}(hPuts data into buffer, replacing each occurrence of character from given class (defined by **flags** and **esc**) with printable escaped sequence.h](h[Puts data into buffer, replacing each occurrence of character from given class (defined by }(hj+hhhNhNubj)}(h **flags**h]hflags}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh and }(hj+hhhNhNubj)}(h**esc**h]hesc}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh") with printable escaped sequence.}(hj+hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMqhj.*ubh)}(h-Use seq_has_overflowed() to check for errors.h]h-Use seq_has_overflowed() to check for errors.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMthj.*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j mangle_path (C function) c.mangle_pathhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hah"]h$]h&]uh1j1hj+hhhj+hMubj)}(hjh]h*}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+hhhj+hMubjC)}(h mangle_pathh]jI)}(h mangle_pathh]h mangle_path}(hj,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj,ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj+hhhj+hMubj=)}(h)(char *s, const char *p, const char *esc)h](jC)}(hchar *sh](jf)}(hcharh]hchar}(hj4,hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj0,ubj2)}(h h]h }(hjB,hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0,ubj)}(hjh]h*}(hjP,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0,ubjI)}(hj)h]hs}(hj],hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0,ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj,,ubjC)}(h const char *ph](j )}(hjh]hconst}(hju,hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjq,ubj2)}(h h]h }(hj,hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjq,ubjf)}(hcharh]hchar}(hj,hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjq,ubj2)}(h h]h }(hj,hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjq,ubj)}(hjh]h*}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjq,ubjI)}(hjh]hp}(hj,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjq,ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj,,ubjC)}(hconst char *esch](j )}(hjh]hconst}(hj,hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj,ubj2)}(h h]h }(hj,hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj,ubjf)}(hcharh]hchar}(hj,hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj,ubj2)}(h h]h }(hj,hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj,ubj)}(hjh]h*}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubjI)}(hesch]hesc}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj,ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj,,ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj+hhhj+hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj+hhhj+hMubah}(h]j+ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj+hMhj+hhubjw)}(hhh]h)}(h(mangle and copy path to buffer beginningh]h(mangle and copy path to buffer beginning}(hj?-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj<-hhubah}(h]h ]h"]h$]h&]uh1jvhj+hhhj+hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjW-jjW-jjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``char *s`` buffer start ``const char *p`` beginning of path in above buffer ``const char *esc`` set of characters that need escaping **Description** Copy the path from **p** to **s**, replacing each occurrence of character from **esc** with usual octal escape. Returns pointer past last written character in **s**, or NULL in case of failure.h](h)}(h**Parameters**h]j)}(hja-h]h Parameters}(hjc-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_-ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj[-ubj)}(hhh](j)}(h``char *s`` buffer start h](j)}(h ``char *s``h]j)}(hj-h]hchar *s}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~-ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjz-ubj)}(hhh]h)}(h buffer starth]h buffer start}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hMhj-ubah}(h]h ]h"]h$]h&]uh1jhjz-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjw-ubj)}(h4``const char *p`` beginning of path in above buffer h](j)}(h``const char *p``h]j)}(hj-h]h const char *p}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj-ubj)}(hhh]h)}(h!beginning of path in above bufferh]h!beginning of path in above buffer}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hMhj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjw-ubj)}(h9``const char *esc`` set of characters that need escaping h](j)}(h``const char *esc``h]j)}(hj-h]hconst char *esc}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj-ubj)}(hhh]h)}(h$set of characters that need escapingh]h$set of characters that need escaping}(hj .hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hMhj.ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjw-ubeh}(h]h ]h"]h$]h&]uh1jhj[-ubh)}(h**Description**h]j)}(hj-.h]h Description}(hj/.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+.ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj[-ubj)}(hCopy the path from **p** to **s**, replacing each occurrence of character from **esc** with usual octal escape. Returns pointer past last written character in **s**, or NULL in case of failure.h]h)}(hCopy the path from **p** to **s**, replacing each occurrence of character from **esc** with usual octal escape. Returns pointer past last written character in **s**, or NULL in case of failure.h](hCopy the path from }(hjG.hhhNhNubj)}(h**p**h]hp}(hjO.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG.ubh to }(hjG.hhhNhNubj)}(h**s**h]hs}(hja.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG.ubh., replacing each occurrence of character from }(hjG.hhhNhNubj)}(h**esc**h]hesc}(hjs.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG.ubhI with usual octal escape. Returns pointer past last written character in }(hjG.hhhNhNubj)}(h**s**h]hs}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG.ubh, or NULL in case of failure.}(hjG.hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjC.ubah}(h]h ]h"]h$]h&]uh1jhj.hMhj[-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_path (C function) c.seq_pathhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hKint seq_path (struct seq_file *m, const struct path *path, const char *esc)h]j)}(hJint seq_path(struct seq_file *m, const struct path *path, const char *esc)h](jf)}(hinth]hint}(hj.hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj.hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMubj2)}(h h]h }(hj.hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.hhhj.hMubjC)}(hseq_pathh]jI)}(hseq_pathh]hseq_path}(hj.hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj.ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj.hhhj.hMubj=)}(h>(struct seq_file *m, const struct path *path, const char *esc)h](jC)}(hstruct seq_file *mh](j )}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj.ubj2)}(h h]h }(hj/hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.ubh)}(hhh]jI)}(hseq_fileh]hseq_file}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!/modnameN classnameNjj )}j ]j)}jj.sb c.seq_pathasbuh1hhj.ubj2)}(h h]h }(hj?/hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.ubj)}(hjh]h*}(hjM/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.ubjI)}(hj(h]hm}(hjZ/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj.ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj.ubjC)}(hconst struct path *pathh](j )}(hjh]hconst}(hjr/hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjn/ubj2)}(h h]h }(hj/hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjn/ubj )}(hjh]hstruct}(hj/hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjn/ubj2)}(h h]h }(hj/hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjn/ubh)}(hhh]jI)}(hpathh]hpath}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNjj )}j ]j;/ c.seq_pathasbuh1hhjn/ubj2)}(h h]h }(hj/hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjn/ubj)}(hjh]h*}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjn/ubjI)}(hpathh]hpath}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjn/ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj.ubjC)}(hconst char *esch](j )}(hjh]hconst}(hj/hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj/ubj2)}(h h]h }(hj 0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/ubjf)}(hcharh]hchar}(hj0hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj/ubj2)}(h h]h }(hj&0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/ubj)}(hjh]h*}(hj40hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubjI)}(hesch]hesc}(hjA0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj.ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj.hhhj.hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj.hhhj.hMubah}(h]j.ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj.hMhj.hhubjw)}(hhh]h)}(h&seq_file interface to print a pathnameh]h&seq_file interface to print a pathname}(hjk0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjh0hhubah}(h]h ]h"]h$]h&]uh1jvhj.hhhj.hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1jhhhjHhNhNubj)}(hX***Parameters** ``struct seq_file *m`` the seq_file handle ``const struct path *path`` the struct path to print ``const char *esc`` set of characters to escape in the output **Description** return the absolute path of 'path', as represented by the dentry / mnt pair in the path parameter.h](h)}(h**Parameters**h]j)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj0ubj)}(hhh](j)}(h+``struct seq_file *m`` the seq_file handle h](j)}(h``struct seq_file *m``h]j)}(hj0h]hstruct seq_file *m}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj0ubj)}(hhh]h)}(hthe seq_file handleh]hthe seq_file handle}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj0ubj)}(h5``const struct path *path`` the struct path to print h](j)}(h``const struct path *path``h]j)}(hj0h]hconst struct path *path}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj0ubj)}(hhh]h)}(hthe struct path to printh]hthe struct path to print}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj0ubj)}(h>``const char *esc`` set of characters to escape in the output h](j)}(h``const char *esc``h]j)}(hj1h]hconst char *esc}(hj 1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj1ubj)}(hhh]h)}(h)set of characters to escape in the outputh]h)set of characters to escape in the output}(hj71hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj31hMhj41ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj31hMhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0ubh)}(h**Description**h]j)}(hjY1h]h Description}(hj[1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW1ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj0ubh)}(hbreturn the absolute path of 'path', as represented by the dentry / mnt pair in the path parameter.h]hfreturn the absolute path of ‘path’, as represented by the dentry / mnt pair in the path parameter.}(hjo1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_file_path (C function)c.seq_file_pathhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hJint seq_file_path (struct seq_file *m, struct file *file, const char *esc)h]j)}(hIint seq_file_path(struct seq_file *m, struct file *file, const char *esc)h](jf)}(hinth]hint}(hj1hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj1hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMubj2)}(h h]h }(hj1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1hhhj1hMubjC)}(h seq_file_pathh]jI)}(h seq_file_pathh]h seq_file_path}(hj1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj1hhhj1hMubj=)}(h8(struct seq_file *m, struct file *file, const char *esc)h](jC)}(hstruct seq_file *mh](j )}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj1ubj2)}(h h]h }(hj1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1ubh)}(hhh]jI)}(hseq_fileh]hseq_file}(hj1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNjj )}j ]j)}jj1sbc.seq_file_pathasbuh1hhj1ubj2)}(h h]h }(hj2hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1ubj)}(hjh]h*}(hj'2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubjI)}(hj(h]hm}(hj42hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj1ubjC)}(hstruct file *fileh](j )}(hjh]hstruct}(hjL2hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjH2ubj2)}(h h]h }(hjY2hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjH2ubh)}(hhh]jI)}(hfileh]hfile}(hjj2hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjg2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjl2modnameN classnameNjj )}j ]j2c.seq_file_pathasbuh1hhjH2ubj2)}(h h]h }(hj2hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjH2ubj)}(hjh]h*}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjH2ubjI)}(hfileh]hfile}(hj2hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjH2ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj1ubjC)}(hconst char *esch](j )}(hjh]hconst}(hj2hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj2ubj2)}(h h]h }(hj2hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubjf)}(hcharh]hchar}(hj2hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj2ubj2)}(h h]h }(hj2hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubj)}(hjh]h*}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubjI)}(hesch]hesc}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj1ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj1hhhj1hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj1hhhj1hMubah}(h]j1ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj1hMhj1hhubjw)}(hhh]h)}(h0seq_file interface to print a pathname of a fileh]h0seq_file interface to print a pathname of a file}(hj*3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj'3hhubah}(h]h ]h"]h$]h&]uh1jvhj1hhhj1hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjB3jjB3jjjuh1jhhhjHhNhNubj)}(h**Parameters** ``struct seq_file *m`` the seq_file handle ``struct file *file`` the struct file to print ``const char *esc`` set of characters to escape in the output **Description** return the absolute path to the file.h](h)}(h**Parameters**h]j)}(hjL3h]h Parameters}(hjN3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ3ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjF3ubj)}(hhh](j)}(h+``struct seq_file *m`` the seq_file handle h](j)}(h``struct seq_file *m``h]j)}(hjk3h]hstruct seq_file *m}(hjm3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji3ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhje3ubj)}(hhh]h)}(hthe seq_file handleh]hthe seq_file handle}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhje3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjb3ubj)}(h/``struct file *file`` the struct file to print h](j)}(h``struct file *file``h]j)}(hj3h]hstruct file *file}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj3ubj)}(hhh]h)}(hthe struct file to printh]hthe struct file to print}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjb3ubj)}(h>``const char *esc`` set of characters to escape in the output h](j)}(h``const char *esc``h]j)}(hj3h]hconst char *esc}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj3ubj)}(hhh]h)}(h)set of characters to escape in the outputh]h)set of characters to escape in the output}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjb3ubeh}(h]h ]h"]h$]h&]uh1jhjF3ubh)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjF3ubh)}(h%return the absolute path to the file.h]h%return the absolute path to the file.}(hj.4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjF3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_write (C function) c.seq_writehNtauh1hhjHhhhNhNubj)}(hhh](j)}(hBint seq_write (struct seq_file *seq, const void *data, size_t len)h]j)}(hAint seq_write(struct seq_file *seq, const void *data, size_t len)h](jf)}(hinth]hint}(hj]4hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjY4hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM1ubj2)}(h h]h }(hjl4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjY4hhhjk4hM1ubjC)}(h seq_writeh]jI)}(h seq_writeh]h seq_write}(hj~4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjz4ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjY4hhhjk4hM1ubj=)}(h4(struct seq_file *seq, const void *data, size_t len)h](jC)}(hstruct seq_file *seqh](j )}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj4ubj2)}(h h]h }(hj4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4ubh)}(hhh]jI)}(hseq_fileh]hseq_file}(hj4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj )}j ]j)}jj4sb c.seq_writeasbuh1hhj4ubj2)}(h h]h }(hj4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4ubj)}(hjh]h*}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubjI)}(hseqh]hseq}(hj4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj4ubjC)}(hconst void *datah](j )}(hjh]hconst}(hj 5hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj5ubj2)}(h h]h }(hj5hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj5ubjf)}(hvoidh]hvoid}(hj'5hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj5ubj2)}(h h]h }(hj55hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj5ubj)}(hjh]h*}(hjC5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubjI)}(hdatah]hdata}(hjP5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj5ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj4ubjC)}(h size_t lenh](h)}(hhh]jI)}(hsize_th]hsize_t}(hjl5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhji5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjn5modnameN classnameNjj )}j ]j4 c.seq_writeasbuh1hhje5ubj2)}(h h]h }(hj5hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hje5ubjI)}(hlenh]hlen}(hj5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhje5ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj4ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjY4hhhjk4hM1ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjU4hhhjk4hM1ubah}(h]jP4ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjk4hM1hjR4hhubjw)}(hhh]h)}(hwrite arbitrary data to bufferh]hwrite arbitrary data to buffer}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM1hj5hhubah}(h]h ]h"]h$]h&]uh1jvhjR4hhhjk4hM1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1jhhhjHhNhNubj)}(h**Parameters** ``struct seq_file *seq`` seq_file identifying the buffer to which data should be written ``const void *data`` data address ``size_t len`` number of bytes **Description** Return 0 on success, non-zero otherwise.h](h)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM5hj5ubj)}(hhh](j)}(hY``struct seq_file *seq`` seq_file identifying the buffer to which data should be written h](j)}(h``struct seq_file *seq``h]j)}(hj6h]hstruct seq_file *seq}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM2hj5ubj)}(hhh]h)}(h?seq_file identifying the buffer to which data should be writtenh]h?seq_file identifying the buffer to which data should be written}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hM2hj6ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj6hM2hj5ubj)}(h"``const void *data`` data address h](j)}(h``const void *data``h]j)}(hj<6h]hconst void *data}(hj>6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:6ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM3hj66ubj)}(hhh]h)}(h data addressh]h data address}(hjU6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQ6hM3hjR6ubah}(h]h ]h"]h$]h&]uh1jhj66ubeh}(h]h ]h"]h$]h&]uh1jhjQ6hM3hj5ubj)}(h``size_t len`` number of bytes h](j)}(h``size_t len``h]j)}(hju6h]h size_t len}(hjw6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs6ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM4hjo6ubj)}(hhh]h)}(hnumber of bytesh]hnumber of bytes}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hM4hj6ubah}(h]h ]h"]h$]h&]uh1jhjo6ubeh}(h]h ]h"]h$]h&]uh1jhj6hM4hj5ubeh}(h]h ]h"]h$]h&]uh1jhj5ubh)}(h**Description**h]j)}(hj6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM6hj5ubh)}(h(Return 0 on success, non-zero otherwise.h]h(Return 0 on success, non-zero otherwise.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM5hj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_pad (C function) c.seq_padhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h)void seq_pad (struct seq_file *m, char c)h]j)}(h(void seq_pad(struct seq_file *m, char c)h](jf)}(hvoidh]hvoid}(hj6hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj6hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMEubj2)}(h h]h }(hj7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6hhhj7hMEubjC)}(hseq_padh]jI)}(hseq_padh]hseq_pad}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj6hhhj7hMEubj=)}(h(struct seq_file *m, char c)h](jC)}(hstruct seq_file *mh](j )}(hjh]hstruct}(hj27hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj.7ubj2)}(h h]h }(hj?7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.7ubh)}(hhh]jI)}(hseq_fileh]hseq_file}(hjP7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjM7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjR7modnameN classnameNjj )}j ]j)}jj7sb c.seq_padasbuh1hhj.7ubj2)}(h h]h }(hjp7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.7ubj)}(hjh]h*}(hj~7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.7ubjI)}(hj(h]hm}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj.7ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj*7ubjC)}(hchar ch](jf)}(hcharh]hchar}(hj7hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj7ubj2)}(h h]h }(hj7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7ubjI)}(hjh]hc}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj*7ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj6hhhj7hMEubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj6hhhj7hMEubah}(h]j6ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj7hMEhj6hhubjw)}(hhh]h)}(hwrite padding spaces to bufferh]hwrite padding spaces to buffer}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMEhj7hhubah}(h]h ]h"]h$]h&]uh1jvhj6hhhj7hMEubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1jhhhjHhNhNubj)}(h**Parameters** ``struct seq_file *m`` seq_file identifying the buffer to which data should be written ``char c`` the byte to append after padding if non-zeroh](h)}(h**Parameters**h]j)}(hj 8h]h Parameters}(hj 8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMIhj8ubj)}(hhh](j)}(hW``struct seq_file *m`` seq_file identifying the buffer to which data should be written h](j)}(h``struct seq_file *m``h]j)}(hj)8h]hstruct seq_file *m}(hj+8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'8ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMFhj#8ubj)}(hhh]h)}(h?seq_file identifying the buffer to which data should be writtenh]h?seq_file identifying the buffer to which data should be written}(hjB8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>8hMFhj?8ubah}(h]h ]h"]h$]h&]uh1jhj#8ubeh}(h]h ]h"]h$]h&]uh1jhj>8hMFhj 8ubj)}(h7``char c`` the byte to append after padding if non-zeroh](j)}(h ``char c``h]j)}(hjb8h]hchar c}(hjd8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`8ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMHhj\8ubj)}(hhh]h)}(h,the byte to append after padding if non-zeroh]h,the byte to append after padding if non-zero}(hj{8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMGhjx8ubah}(h]h ]h"]h$]h&]uh1jhj\8ubeh}(h]h ]h"]h$]h&]uh1jhjw8hMHhj 8ubeh}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_hlist_start (C function)c.seq_hlist_starthNtauh1hhjHhhhNhNubj)}(hhh](j)}(hIstruct hlist_node * seq_hlist_start (struct hlist_head *head, loff_t pos)h]j)}(hGstruct hlist_node *seq_hlist_start(struct hlist_head *head, loff_t pos)h](j )}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj8hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMubj2)}(h h]h }(hj8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8hhhj8hMubh)}(hhh]jI)}(h hlist_nodeh]h hlist_node}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj )}j ]j)}jseq_hlist_startsbc.seq_hlist_startasbuh1hhj8hhhj8hMubj2)}(h h]h }(hj8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8hhhj8hMubj)}(hjh]h*}(hj 9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhj8hMubjC)}(hseq_hlist_starth]jI)}(hj8h]hseq_hlist_start}(hj9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj9ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj8hhhj8hMubj=)}(h%(struct hlist_head *head, loff_t pos)h](jC)}(hstruct hlist_head *headh](j )}(hjh]hstruct}(hj69hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj29ubj2)}(h h]h }(hjC9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj29ubh)}(hhh]jI)}(h hlist_headh]h hlist_head}(hjT9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQ9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjV9modnameN classnameNjj )}j ]j8c.seq_hlist_startasbuh1hhj29ubj2)}(h h]h }(hjr9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj29ubj)}(hjh]h*}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj29ubjI)}(hheadh]hhead}(hj9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj29ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj.9ubjC)}(h loff_t posh](h)}(hhh]jI)}(hloff_th]hloff_t}(hj9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj )}j ]j8c.seq_hlist_startasbuh1hhj9ubj2)}(h h]h }(hj9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9ubjI)}(hposh]hpos}(hj9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj9ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj.9ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj8hhhj8hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj8hhhj8hMubah}(h]j8ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj8hMhj8hhubjw)}(hhh]h)}(hstart an iteration of a hlisth]hstart an iteration of a hlist}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj9hhubah}(h]h ]h"]h$]h&]uh1jvhj8hhhj8hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jj:jjjuh1jhhhjHhNhNubj)}(h**Parameters** ``struct hlist_head *head`` the head of the hlist ``loff_t pos`` the start position of the sequence **Description** Called at seq_file->op->start().h](h)}(h**Parameters**h]j)}(hj!:h]h Parameters}(hj#:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj:ubj)}(hhh](j)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(hj@:h]hstruct hlist_head *head}(hjB:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>:ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj::ubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hjY:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjU:hMhjV:ubah}(h]h ]h"]h$]h&]uh1jhj::ubeh}(h]h ]h"]h$]h&]uh1jhjU:hMhj7:ubj)}(h2``loff_t pos`` the start position of the sequence h](j)}(h``loff_t pos``h]j)}(hjy:h]h loff_t pos}(hj{:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw:ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjs:ubj)}(hhh]h)}(h"the start position of the sequenceh]h"the start position of the sequence}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjs:ubeh}(h]h ]h"]h$]h&]uh1jhj:hMhj7:ubeh}(h]h ]h"]h$]h&]uh1jhj:ubh)}(h**Description**h]j)}(hj:h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj:ubh)}(h Called at seq_file->op->start().h]h Called at seq_file->op->start().}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !seq_hlist_start_head (C function)c.seq_hlist_start_headhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hNstruct hlist_node * seq_hlist_start_head (struct hlist_head *head, loff_t pos)h]j)}(hLstruct hlist_node *seq_hlist_start_head(struct hlist_head *head, loff_t pos)h](j )}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj:hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMubj2)}(h h]h }(hj;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj:hhhj;hMubh)}(hhh]jI)}(h hlist_nodeh]h hlist_node}(hj;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNjj )}j ]j)}jseq_hlist_start_headsbc.seq_hlist_start_headasbuh1hhj:hhhj;hMubj2)}(h h]h }(hj9;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj:hhhj;hMubj)}(hjh]h*}(hjG;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:hhhj;hMubjC)}(hseq_hlist_start_headh]jI)}(hj6;h]hseq_hlist_start_head}(hjX;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjT;ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj:hhhj;hMubj=)}(h%(struct hlist_head *head, loff_t pos)h](jC)}(hstruct hlist_head *headh](j )}(hjh]hstruct}(hjs;hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjo;ubj2)}(h h]h }(hj;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjo;ubh)}(hhh]jI)}(h hlist_headh]h hlist_head}(hj;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNjj )}j ]j4;c.seq_hlist_start_headasbuh1hhjo;ubj2)}(h h]h }(hj;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjo;ubj)}(hjh]h*}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjo;ubjI)}(hheadh]hhead}(hj;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjo;ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjk;ubjC)}(h loff_t posh](h)}(hhh]jI)}(hloff_th]hloff_t}(hj;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNjj )}j ]j4;c.seq_hlist_start_headasbuh1hhj;ubj2)}(h h]h }(hj<hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj;ubjI)}(hposh]hpos}(hj<hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj;ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjk;ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj:hhhj;hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj:hhhj;hMubah}(h]j:ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj;hMhj:hhubjw)}(hhh]h)}(hstart an iteration of a hlisth]hstart an iteration of a hlist}(hj<<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj9<hhubah}(h]h ]h"]h$]h&]uh1jvhj:hhhj;hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjT<jjT<jjjuh1jhhhjHhNhNubj)}(h**Parameters** ``struct hlist_head *head`` the head of the hlist ``loff_t pos`` the start position of the sequence **Description** Called at seq_file->op->start(). Call this function if you want to print a header at the top of the output.h](h)}(h**Parameters**h]j)}(hj^<h]h Parameters}(hj`<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\<ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjX<ubj)}(hhh](j)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(hj}<h]hstruct hlist_head *head}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{<ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjw<ubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<hMhj<ubah}(h]h ]h"]h$]h&]uh1jhjw<ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjt<ubj)}(h2``loff_t pos`` the start position of the sequence h](j)}(h``loff_t pos``h]j)}(hj<h]h loff_t pos}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj<ubj)}(hhh]h)}(h"the start position of the sequenceh]h"the start position of the sequence}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjt<ubeh}(h]h ]h"]h$]h&]uh1jhjX<ubh)}(h**Description**h]j)}(hj<h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjX<ubh)}(hkCalled at seq_file->op->start(). Call this function if you want to print a header at the top of the output.h]hkCalled at seq_file->op->start(). Call this function if you want to print a header at the top of the output.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjX<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_hlist_next (C function)c.seq_hlist_nexthNtauh1hhjHhhhNhNubj)}(hhh](j)}(hSstruct hlist_node * seq_hlist_next (void *v, struct hlist_head *head, loff_t *ppos)h]j)}(hQstruct hlist_node *seq_hlist_next(void *v, struct hlist_head *head, loff_t *ppos)h](j )}(hjh]hstruct}(hj6=hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj2=hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMubj2)}(h h]h }(hjD=hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2=hhhjC=hMubh)}(hhh]jI)}(h hlist_nodeh]h hlist_node}(hjU=hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjR=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjW=modnameN classnameNjj )}j ]j)}jseq_hlist_nextsbc.seq_hlist_nextasbuh1hhj2=hhhjC=hMubj2)}(h h]h }(hjv=hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2=hhhjC=hMubj)}(hjh]h*}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2=hhhjC=hMubjC)}(hseq_hlist_nexth]jI)}(hjs=h]hseq_hlist_next}(hj=hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj=ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj2=hhhjC=hMubj=)}(h0(void *v, struct hlist_head *head, loff_t *ppos)h](jC)}(hvoid *vh](jf)}(hvoidh]hvoid}(hj=hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj=ubj2)}(h h]h }(hj=hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=ubj)}(hjh]h*}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubjI)}(hvh]hv}(hj=hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj=ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj=ubjC)}(hstruct hlist_head *headh](j )}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj=ubj2)}(h h]h }(hj=hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=ubh)}(hhh]jI)}(h hlist_headh]h hlist_head}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj >ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNjj )}j ]jq=c.seq_hlist_nextasbuh1hhj=ubj2)}(h h]h }(hj.>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=ubj)}(hjh]h*}(hj<>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubjI)}(hheadh]hhead}(hjI>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj=ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj=ubjC)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hje>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjb>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjg>modnameN classnameNjj )}j ]jq=c.seq_hlist_nextasbuh1hhj^>ubj2)}(h h]h }(hj>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj^>ubj)}(hjh]h*}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^>ubjI)}(hpposh]hppos}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj^>ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj=ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj2=hhhjC=hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj.=hhhjC=hMubah}(h]j)=ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjC=hMhj+=hhubjw)}(hhh]h)}(h&move to the next position of the hlisth]h&move to the next position of the hlist}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj>hhubah}(h]h ]h"]h$]h&]uh1jvhj+=hhhjC=hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1jhhhjHhNhNubj)}(h**Parameters** ``void *v`` the current iterator ``struct hlist_head *head`` the head of the hlist ``loff_t *ppos`` the current position **Description** Called at seq_file->op->next().h](h)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj>ubj)}(hhh](j)}(h!``void *v`` the current iterator h](j)}(h ``void *v``h]j)}(hj ?h]hvoid *v}(hj ?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj?ubj)}(hhh]h)}(hthe current iteratorh]hthe current iterator}(hj"?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhj?ubj)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(hjB?h]hstruct hlist_head *head}(hjD?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@?ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjubh)}(h**Description**h]j)}(hj?h]h Description}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj>ubh)}(hCalled at seq_file->op->next().h]hCalled at seq_file->op->next().}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  seq_hlist_start_rcu (C function)c.seq_hlist_start_rcuhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hMstruct hlist_node * seq_hlist_start_rcu (struct hlist_head *head, loff_t pos)h]j)}(hKstruct hlist_node *seq_hlist_start_rcu(struct hlist_head *head, loff_t pos)h](j )}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj?hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMubj2)}(h h]h }(hj @hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj?hhhj@hMubh)}(hhh]jI)}(h hlist_nodeh]h hlist_node}(hj@hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNjj )}j ]j)}jseq_hlist_start_rcusbc.seq_hlist_start_rcuasbuh1hhj?hhhj@hMubj2)}(h h]h }(hj;@hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj?hhhj@hMubj)}(hjh]h*}(hjI@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?hhhj@hMubjC)}(hseq_hlist_start_rcuh]jI)}(hj8@h]hseq_hlist_start_rcu}(hjZ@hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjV@ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj?hhhj@hMubj=)}(h%(struct hlist_head *head, loff_t pos)h](jC)}(hstruct hlist_head *headh](j )}(hjh]hstruct}(hju@hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjq@ubj2)}(h h]h }(hj@hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjq@ubh)}(hhh]jI)}(h hlist_headh]h hlist_head}(hj@hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNjj )}j ]j6@c.seq_hlist_start_rcuasbuh1hhjq@ubj2)}(h h]h }(hj@hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjq@ubj)}(hjh]h*}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjq@ubjI)}(hheadh]hhead}(hj@hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjq@ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjm@ubjC)}(h loff_t posh](h)}(hhh]jI)}(hloff_th]hloff_t}(hj@hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNjj )}j ]j6@c.seq_hlist_start_rcuasbuh1hhj@ubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj@ubjI)}(hposh]hpos}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj@ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjm@ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj?hhhj@hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj?hhhj@hMubah}(h]j?ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj@hMhj?hhubjw)}(hhh]h)}(h.start an iteration of a hlist protected by RCUh]h.start an iteration of a hlist protected by RCU}(hj>AhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj;Ahhubah}(h]h ]h"]h$]h&]uh1jvhj?hhhj@hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVAjjVAjjjuh1jhhhjHhNhNubj)}(hXb**Parameters** ``struct hlist_head *head`` the head of the hlist ``loff_t pos`` the start position of the sequence **Description** Called at seq_file->op->start(). This list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as hlist_add_head_rcu() as long as the traversal is guarded by rcu_read_lock().h](h)}(h**Parameters**h]j)}(hj`Ah]h Parameters}(hjbAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^Aubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjZAubj)}(hhh](j)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(hjAh]hstruct hlist_head *head}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Aubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjyAubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhMhjAubah}(h]h ]h"]h$]h&]uh1jhjyAubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjvAubj)}(h2``loff_t pos`` the start position of the sequence h](j)}(h``loff_t pos``h]j)}(hjAh]h loff_t pos}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjAubj)}(hhh]h)}(h"the start position of the sequenceh]h"the start position of the sequence}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhMhjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjvAubeh}(h]h ]h"]h$]h&]uh1jhjZAubh)}(h**Description**h]j)}(hjAh]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjZAubh)}(h Called at seq_file->op->start().h]h Called at seq_file->op->start().}(hj BhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjZAubh)}(hThis list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as hlist_add_head_rcu() as long as the traversal is guarded by rcu_read_lock().h]hThis list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as hlist_add_head_rcu() as long as the traversal is guarded by rcu_read_lock().}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjZAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j %seq_hlist_start_head_rcu (C function)c.seq_hlist_start_head_rcuhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hRstruct hlist_node * seq_hlist_start_head_rcu (struct hlist_head *head, loff_t pos)h]j)}(hPstruct hlist_node *seq_hlist_start_head_rcu(struct hlist_head *head, loff_t pos)h](j )}(hjh]hstruct}(hjGBhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjCBhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMubj2)}(h h]h }(hjUBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCBhhhjTBhMubh)}(hhh]jI)}(h hlist_nodeh]h hlist_node}(hjfBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjcBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhBmodnameN classnameNjj )}j ]j)}jseq_hlist_start_head_rcusbc.seq_hlist_start_head_rcuasbuh1hhjCBhhhjTBhMubj2)}(h h]h }(hjBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCBhhhjTBhMubj)}(hjh]h*}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCBhhhjTBhMubjC)}(hseq_hlist_start_head_rcuh]jI)}(hjBh]hseq_hlist_start_head_rcu}(hjBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjCBhhhjTBhMubj=)}(h%(struct hlist_head *head, loff_t pos)h](jC)}(hstruct hlist_head *headh](j )}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjBubj2)}(h h]h }(hjBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBubh)}(hhh]jI)}(h hlist_headh]h hlist_head}(hjBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNjj )}j ]jBc.seq_hlist_start_head_rcuasbuh1hhjBubj2)}(h h]h }(hjBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBubj)}(hjh]h*}(hj ChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubjI)}(hheadh]hhead}(hjChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjBubjC)}(h loff_t posh](h)}(hhh]jI)}(hloff_th]hloff_t}(hj4ChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1Cubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6CmodnameN classnameNjj )}j ]jBc.seq_hlist_start_head_rcuasbuh1hhj-Cubj2)}(h h]h }(hjRChhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj-CubjI)}(hposh]hpos}(hj`ChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj-Cubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjBubeh}(h]h ]h"]h$]h&]j`jauh1j<hjCBhhhjTBhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj?BhhhjTBhMubah}(h]j:Bah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjTBhMhjop->start(). Call this function if you want to print a header at the top of the output. This list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as hlist_add_head_rcu() as long as the traversal is guarded by rcu_read_lock().h](h)}(h**Parameters**h]j)}(hjCh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjCubj)}(hhh](j)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(hjCh]hstruct hlist_head *head}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjCubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChMhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChMhjCubj)}(h2``loff_t pos`` the start position of the sequence h](j)}(h``loff_t pos``h]j)}(hjDh]h loff_t pos}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjCubj)}(hhh]h)}(h"the start position of the sequenceh]h"the start position of the sequence}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMhjDubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjDhMhjCubeh}(h]h ]h"]h$]h&]uh1jhjCubh)}(h**Description**h]j)}(hj?Dh]h Description}(hjADhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=Dubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjCubh)}(hkCalled at seq_file->op->start(). Call this function if you want to print a header at the top of the output.h]hkCalled at seq_file->op->start(). Call this function if you want to print a header at the top of the output.}(hjUDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjCubh)}(hThis list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as hlist_add_head_rcu() as long as the traversal is guarded by rcu_read_lock().h]hThis list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as hlist_add_head_rcu() as long as the traversal is guarded by rcu_read_lock().}(hjdDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_hlist_next_rcu (C function)c.seq_hlist_next_rcuhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hWstruct hlist_node * seq_hlist_next_rcu (void *v, struct hlist_head *head, loff_t *ppos)h]j)}(hUstruct hlist_node *seq_hlist_next_rcu(void *v, struct hlist_head *head, loff_t *ppos)h](j )}(hjh]hstruct}(hjDhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjDhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM&ubj2)}(h h]h }(hjDhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjDhhhjDhM&ubh)}(hhh]jI)}(h hlist_nodeh]h hlist_node}(hjDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNjj )}j ]j)}jseq_hlist_next_rcusbc.seq_hlist_next_rcuasbuh1hhjDhhhjDhM&ubj2)}(h h]h }(hjDhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjDhhhjDhM&ubj)}(hjh]h*}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhjDhM&ubjC)}(hseq_hlist_next_rcuh]jI)}(hjDh]hseq_hlist_next_rcu}(hjDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjDubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjDhhhjDhM&ubj=)}(h0(void *v, struct hlist_head *head, loff_t *ppos)h](jC)}(hvoid *vh](jf)}(hvoidh]hvoid}(hj EhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj Eubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj Eubj)}(hjh]h*}(hj)EhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj EubjI)}(hj=h]hv}(hj6EhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj Eubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjEubjC)}(hstruct hlist_head *headh](j )}(hjh]hstruct}(hjNEhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjJEubj2)}(h h]h }(hj[EhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJEubh)}(hhh]jI)}(h hlist_headh]h hlist_head}(hjlEhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnEmodnameN classnameNjj )}j ]jDc.seq_hlist_next_rcuasbuh1hhjJEubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJEubj)}(hjh]h*}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJEubjI)}(hheadh]hhead}(hjEhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJEubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjEubjC)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjEhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj )}j ]jDc.seq_hlist_next_rcuasbuh1hhjEubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjEubj)}(hjh]h*}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubjI)}(hpposh]hppos}(hjEhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjEubeh}(h]h ]h"]h$]h&]j`jauh1j<hjDhhhjDhM&ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjDhhhjDhM&ubah}(h]jDah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjDhM&hjDhhubjw)}(hhh]h)}(h7move to the next position of the hlist protected by RCUh]h7move to the next position of the hlist protected by RCU}(hj$FhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM&hj!Fhhubah}(h]h ]h"]h$]h&]uh1jvhjDhhhjDhM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjop->next(). This list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as hlist_add_head_rcu() as long as the traversal is guarded by rcu_read_lock().h](h)}(h**Parameters**h]j)}(hjFFh]h Parameters}(hjHFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDFubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM*hj@Fubj)}(hhh](j)}(h!``void *v`` the current iterator h](j)}(h ``void *v``h]j)}(hjeFh]hvoid *v}(hjgFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcFubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM'hj_Fubj)}(hhh]h)}(hthe current iteratorh]hthe current iterator}(hj~FhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzFhM'hj{Fubah}(h]h ]h"]h$]h&]uh1jhj_Fubeh}(h]h ]h"]h$]h&]uh1jhjzFhM'hj\Fubj)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(hjFh]hstruct hlist_head *head}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM(hjFubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhM(hjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhM(hj\Fubj)}(h&``loff_t *ppos`` the current position h](j)}(h``loff_t *ppos``h]j)}(hjFh]h loff_t *ppos}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM)hjFubj)}(hhh]h)}(hthe current positionh]hthe current position}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhM)hjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhM)hj\Fubeh}(h]h ]h"]h$]h&]uh1jhj@Fubh)}(h**Description**h]j)}(hjGh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM+hj@Fubh)}(hCalled at seq_file->op->next().h]hCalled at seq_file->op->next().}(hj(GhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM*hj@Fubh)}(hThis list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as hlist_add_head_rcu() as long as the traversal is guarded by rcu_read_lock().h]hThis list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as hlist_add_head_rcu() as long as the traversal is guarded by rcu_read_lock().}(hj7GhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM,hj@Fubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j #seq_hlist_start_percpu (C function)c.seq_hlist_start_percpuhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hcstruct hlist_node * seq_hlist_start_percpu (struct hlist_head __percpu *head, int *cpu, loff_t pos)h]j)}(hastruct hlist_node *seq_hlist_start_percpu(struct hlist_head __percpu *head, int *cpu, loff_t pos)h](j )}(hjh]hstruct}(hjfGhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjbGhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM@ubj2)}(h h]h }(hjtGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbGhhhjsGhM@ubh)}(hhh]jI)}(h hlist_nodeh]h hlist_node}(hjGhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNjj )}j ]j)}jseq_hlist_start_percpusbc.seq_hlist_start_percpuasbuh1hhjbGhhhjsGhM@ubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbGhhhjsGhM@ubj)}(hjh]h*}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbGhhhjsGhM@ubjC)}(hseq_hlist_start_percpuh]jI)}(hjGh]hseq_hlist_start_percpu}(hjGhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjbGhhhjsGhM@ubj=)}(h8(struct hlist_head __percpu *head, int *cpu, loff_t pos)h](jC)}(h struct hlist_head __percpu *headh](j )}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjGubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGubh)}(hhh]jI)}(h hlist_headh]h hlist_head}(hjGhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNjj )}j ]jGc.seq_hlist_start_percpuasbuh1hhjGubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGubh__percpu}(hjGhhhNhNubj2)}(h h]h }(hj.HhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGubj)}(hjh]h*}(hjah"]h$]h&]uh1j1hj^Hubj)}(hjh]h*}(hj~HhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^HubjI)}(hcpuh]hcpu}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj^Hubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjGubjC)}(h loff_t posh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNjj )}j ]jGc.seq_hlist_start_percpuasbuh1hhjHubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjHubjI)}(hposh]hpos}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjHubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjGubeh}(h]h ]h"]h$]h&]j`jauh1j<hjbGhhhjsGhM@ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj^GhhhjsGhM@ubah}(h]jYGah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjsGhM@hj[Ghhubjw)}(hhh]h)}(h*start an iteration of a percpu hlist arrayh]h*start an iteration of a percpu hlist array}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM@hjHhhubah}(h]h ]h"]h$]h&]uh1jvhj[GhhhjsGhM@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1jhhhjHhNhNubj)}(h**Parameters** ``struct hlist_head __percpu *head`` pointer to percpu array of struct hlist_heads ``int *cpu`` pointer to cpu "cursor" ``loff_t pos`` start position of sequence **Description** Called at seq_file->op->start().h](h)}(h**Parameters**h]j)}(hjIh]h Parameters}(hj!IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMDhjIubj)}(hhh](j)}(hS``struct hlist_head __percpu *head`` pointer to percpu array of struct hlist_heads h](j)}(h$``struct hlist_head __percpu *head``h]j)}(hj>Ih]h struct hlist_head __percpu *head}(hj@IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjop->start().h]h Called at seq_file->op->start().}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMDhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "seq_hlist_next_percpu (C function)c.seq_hlist_next_percpuhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hlstruct hlist_node * seq_hlist_next_percpu (void *v, struct hlist_head __percpu *head, int *cpu, loff_t *pos)h]j)}(hjstruct hlist_node *seq_hlist_next_percpu(void *v, struct hlist_head __percpu *head, int *cpu, loff_t *pos)h](j )}(hjh]hstruct}(hj0JhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj,JhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMWubj2)}(h h]h }(hj>JhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj,Jhhhj=JhMWubh)}(hhh]jI)}(h hlist_nodeh]h hlist_node}(hjOJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQJmodnameN classnameNjj )}j ]j)}jseq_hlist_next_percpusbc.seq_hlist_next_percpuasbuh1hhj,Jhhhj=JhMWubj2)}(h h]h }(hjpJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj,Jhhhj=JhMWubj)}(hjh]h*}(hj~JhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,Jhhhj=JhMWubjC)}(hseq_hlist_next_percpuh]jI)}(hjmJh]hseq_hlist_next_percpu}(hjJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj,Jhhhj=JhMWubj=)}(hB(void *v, struct hlist_head __percpu *head, int *cpu, loff_t *pos)h](jC)}(hvoid *vh](jf)}(hvoidh]hvoid}(hjJhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjJubj2)}(h h]h }(hjJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJubj)}(hjh]h*}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubjI)}(hj=h]hv}(hjJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjJubjC)}(h struct hlist_head __percpu *headh](j )}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjJubj2)}(h h]h }(hjJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJubh)}(hhh]jI)}(h hlist_headh]h hlist_head}(hj KhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj KmodnameN classnameNjj )}j ]jkJc.seq_hlist_next_percpuasbuh1hhjJubj2)}(h h]h }(hj'KhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJubh__percpu}(hjJhhhNhNubj2)}(h h]h }(hj9KhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJubj)}(hjh]h*}(hjGKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubjI)}(hheadh]hhead}(hjTKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjJubjC)}(hint *cpuh](jf)}(hinth]hint}(hjmKhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjiKubj2)}(h h]h }(hj{KhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjiKubj)}(hjh]h*}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiKubjI)}(hcpuh]hcpu}(hjKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiKubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjJubjC)}(h loff_t *posh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNjj )}j ]jkJc.seq_hlist_next_percpuasbuh1hhjKubj2)}(h h]h }(hjKhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjKubj)}(hjh]h*}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubjI)}(hposh]hpos}(hjKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjKubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjJubeh}(h]h ]h"]h$]h&]j`jauh1j<hj,Jhhhj=JhMWubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj(Jhhhj=JhMWubah}(h]j#Jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj=JhMWhj%Jhhubjw)}(hhh]h)}(h3move to the next position of the percpu hlist arrayh]h3move to the next position of the percpu hlist array}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMWhjLhhubah}(h]h ]h"]h$]h&]uh1jvhj%Jhhhj=JhMWubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-Ljj-Ljjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``void *v`` pointer to current hlist_node ``struct hlist_head __percpu *head`` pointer to percpu array of struct hlist_heads ``int *cpu`` pointer to cpu "cursor" ``loff_t *pos`` start position of sequence **Description** Called at seq_file->op->next().h](h)}(h**Parameters**h]j)}(hj7Lh]h Parameters}(hj9LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5Lubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM[hj1Lubj)}(hhh](j)}(h*``void *v`` pointer to current hlist_node h](j)}(h ``void *v``h]j)}(hjVLh]hvoid *v}(hjXLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTLubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMXhjPLubj)}(hhh]h)}(hpointer to current hlist_nodeh]hpointer to current hlist_node}(hjoLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkLhMXhjlLubah}(h]h ]h"]h$]h&]uh1jhjPLubeh}(h]h ]h"]h$]h&]uh1jhjkLhMXhjMLubj)}(hS``struct hlist_head __percpu *head`` pointer to percpu array of struct hlist_heads h](j)}(h$``struct hlist_head __percpu *head``h]j)}(hjLh]h struct hlist_head __percpu *head}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMYhjLubj)}(hhh]h)}(h-pointer to percpu array of struct hlist_headsh]h-pointer to percpu array of struct hlist_heads}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhMYhjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhMYhjMLubj)}(h%``int *cpu`` pointer to cpu "cursor" h](j)}(h ``int *cpu``h]j)}(hjLh]hint *cpu}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMZhjLubj)}(hhh]h)}(hpointer to cpu "cursor"h]hpointer to cpu “cursor”}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhMZhjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhMZhjMLubj)}(h+``loff_t *pos`` start position of sequence h](j)}(h``loff_t *pos``h]j)}(hjMh]h loff_t *pos}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM[hjLubj)}(hhh]h)}(hstart position of sequenceh]hstart position of sequence}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhM[hjMubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjMhM[hjMLubeh}(h]h ]h"]h$]h&]uh1jhj1Lubh)}(h**Description**h]j)}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:Mubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM]hj1Lubh)}(hCalled at seq_file->op->next().h]hCalled at seq_file->op->next().}(hjRMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM\hj1Lubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  register_filesystem (C function)c.register_filesystemhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h5int register_filesystem (struct file_system_type *fs)h]j)}(h4int register_filesystem(struct file_system_type *fs)h](jf)}(hinth]hint}(hjMhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj}MhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKXubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}MhhhjMhKXubjC)}(hregister_filesystemh]jI)}(hregister_filesystemh]hregister_filesystem}(hjMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj}MhhhjMhKXubj=)}(h(struct file_system_type *fs)h]jC)}(hstruct file_system_type *fsh](j )}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjMubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjMubh)}(hhh]jI)}(hfile_system_typeh]hfile_system_type}(hjMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNjj )}j ]j)}jjMsbc.register_filesystemasbuh1hhjMubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjMubj)}(hjh]h*}(hj NhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubjI)}(hfsh]hfs}(hjNhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjMubah}(h]h ]h"]h$]h&]j`jauh1j<hj}MhhhjMhKXubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjyMhhhjMhKXubah}(h]jtMah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjMhKXhjvMhhubjw)}(hhh]h)}(hregister a new filesystemh]hregister a new filesystem}(hjANhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKXhj>Nhhubah}(h]h ]h"]h$]h&]uh1jvhjvMhhhjMhKXubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYNjjYNjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct file_system_type *fs`` the file system structure **Description** Adds the file system passed to the list of file systems the kernel is aware of for mount and other syscalls. Returns 0 on success, or a negative errno code on an error. The :c:type:`struct file_system_type ` that is passed is linked into the kernel structures and must not be freed until the file system has been unregistered.h](h)}(h**Parameters**h]j)}(hjcNh]h Parameters}(hjeNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chK\hj]Nubj)}(hhh]j)}(h:``struct file_system_type *fs`` the file system structure h](j)}(h``struct file_system_type *fs``h]j)}(hjNh]hstruct file_system_type *fs}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKYhj|Nubj)}(hhh]h)}(hthe file system structureh]hthe file system structure}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhKYhjNubah}(h]h ]h"]h$]h&]uh1jhj|Nubeh}(h]h ]h"]h$]h&]uh1jhjNhKYhjyNubah}(h]h ]h"]h$]h&]uh1jhj]Nubh)}(h**Description**h]j)}(hjNh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chK[hj]Nubj)}(hXYAdds the file system passed to the list of file systems the kernel is aware of for mount and other syscalls. Returns 0 on success, or a negative errno code on an error. The :c:type:`struct file_system_type ` that is passed is linked into the kernel structures and must not be freed until the file system has been unregistered.h](h)}(hAdds the file system passed to the list of file systems the kernel is aware of for mount and other syscalls. Returns 0 on success, or a negative errno code on an error.h]hAdds the file system passed to the list of file systems the kernel is aware of for mount and other syscalls. Returns 0 on success, or a negative errno code on an error.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKZhjNubh)}(hThe :c:type:`struct file_system_type ` that is passed is linked into the kernel structures and must not be freed until the file system has been unregistered.h](hThe }(hjNhhhNhNubh)}(h4:c:type:`struct file_system_type `h]j)}(hjNh]hstruct file_system_type}(hjNhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjj jfile_system_typeuh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chK^hjNubhw that is passed is linked into the kernel structures and must not be freed until the file system has been unregistered.}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj OhK^hjNubeh}(h]h ]h"]h$]h&]uh1jhjNhKZhj]Nubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "unregister_filesystem (C function)c.unregister_filesystemhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h7int unregister_filesystem (struct file_system_type *fs)h]j)}(h6int unregister_filesystem(struct file_system_type *fs)h](jf)}(hinth]hint}(hj>OhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj:OhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKwubj2)}(h h]h }(hjMOhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj:OhhhjLOhKwubjC)}(hunregister_filesystemh]jI)}(hunregister_filesystemh]hunregister_filesystem}(hj_OhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[Oubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj:OhhhjLOhKwubj=)}(h(struct file_system_type *fs)h]jC)}(hstruct file_system_type *fsh](j )}(hjh]hstruct}(hj{OhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwOubj2)}(h h]h }(hjOhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwOubh)}(hhh]jI)}(hfile_system_typeh]hfile_system_type}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj )}j ]j)}jjaOsbc.unregister_filesystemasbuh1hhjwOubj2)}(h h]h }(hjOhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwOubj)}(hjh]h*}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwOubjI)}(hfsh]hfs}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwOubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjsOubah}(h]h ]h"]h$]h&]j`jauh1j<hj:OhhhjLOhKwubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj6OhhhjLOhKwubah}(h]j1Oah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjLOhKwhj3Ohhubjw)}(hhh]h)}(hunregister a file systemh]hunregister a file system}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKwhjOhhubah}(h]h ]h"]h$]h&]uh1jvhj3OhhhjLOhKwubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct file_system_type *fs`` filesystem to unregister **Description** Remove a file system that was previously successfully registered with the kernel. An error is returned if the file system is not found. Zero is returned on a success. Once this function has returned the :c:type:`struct file_system_type ` structure may be freed or reused.h](h)}(h**Parameters**h]j)}(hj Ph]h Parameters}(hj"PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chK{hjPubj)}(hhh]j)}(h9``struct file_system_type *fs`` filesystem to unregister h](j)}(h``struct file_system_type *fs``h]j)}(hj?Ph]hstruct file_system_type *fs}(hjAPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=Pubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKxhj9Pubj)}(hhh]h)}(hfilesystem to unregisterh]hfilesystem to unregister}(hjXPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjTPhKxhjUPubah}(h]h ]h"]h$]h&]uh1jhj9Pubeh}(h]h ]h"]h$]h&]uh1jhjTPhKxhj6Pubah}(h]h ]h"]h$]h&]uh1jhjPubh)}(h**Description**h]j)}(hjzPh]h Description}(hj|PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxPubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKzhjPubj)}(hX"Remove a file system that was previously successfully registered with the kernel. An error is returned if the file system is not found. Zero is returned on a success. Once this function has returned the :c:type:`struct file_system_type ` structure may be freed or reused.h](h)}(hRemove a file system that was previously successfully registered with the kernel. An error is returned if the file system is not found. Zero is returned on a success.h]hRemove a file system that was previously successfully registered with the kernel. An error is returned if the file system is not found. Zero is returned on a success.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKyhjPubh)}(hzOnce this function has returned the :c:type:`struct file_system_type ` structure may be freed or reused.h](h$Once this function has returned the }(hjPhhhNhNubh)}(h4:c:type:`struct file_system_type `h]j)}(hjPh]hstruct file_system_type}(hjPhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjj jfile_system_typeuh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chK}hjPubh" structure may be freed or reused.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjPhK}hjPubeh}(h]h ]h"]h$]h&]uh1jhjPhKyhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j (wbc_attach_fdatawrite_inode (C function)c.wbc_attach_fdatawrite_inodehNtauh1hhjHhhhNhNubj)}(hhh](j)}(hUvoid wbc_attach_fdatawrite_inode (struct writeback_control *wbc, struct inode *inode)h]j)}(hTvoid wbc_attach_fdatawrite_inode(struct writeback_control *wbc, struct inode *inode)h](jf)}(hvoidh]hvoid}(hjPhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjPhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMQubj2)}(h h]h }(hj QhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPhhhj QhMQubjC)}(hwbc_attach_fdatawrite_inodeh]jI)}(hwbc_attach_fdatawrite_inodeh]hwbc_attach_fdatawrite_inode}(hjQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjPhhhj QhMQubj=)}(h4(struct writeback_control *wbc, struct inode *inode)h](jC)}(hstruct writeback_control *wbch](j )}(hjh]hstruct}(hj8QhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj4Qubj2)}(h h]h }(hjEQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4Qubh)}(hhh]jI)}(hwriteback_controlh]hwriteback_control}(hjVQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXQmodnameN classnameNjj )}j ]j)}jjQsbc.wbc_attach_fdatawrite_inodeasbuh1hhj4Qubj2)}(h h]h }(hjvQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4Qubj)}(hjh]h*}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4QubjI)}(hwbch]hwbc}(hjQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4Qubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj0QubjC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjQubj2)}(h h]h }(hjQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjQubh)}(hhh]jI)}(hinodeh]hinode}(hjQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNjj )}j ]jrQc.wbc_attach_fdatawrite_inodeasbuh1hhjQubj2)}(h h]h }(hjQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjQubj)}(hjh]h*}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubjI)}(hinodeh]hinode}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj0Qubeh}(h]h ]h"]h$]h&]j`jauh1j<hjPhhhj QhMQubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjPhhhj QhMQubah}(h]jPah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj QhMQhjPhhubjw)}(hhh]h)}(h&associate wbc and inode for fdatawriteh]h&associate wbc and inode for fdatawrite}(hj+RhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMQhj(Rhhubah}(h]h ]h"]h$]h&]uh1jvhjPhhhj QhMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCRjjCRjjjuh1jhhhjHhNhNubj)}(hXS**Parameters** ``struct writeback_control *wbc`` writeback_control of interest ``struct inode *inode`` target inode **Description** This function is to be used by filemap_writeback(), which is an alternative entry point into writeback code, and first ensures **inode** is associated with a bdi_writeback and attaches it to **wbc**.h](h)}(h**Parameters**h]j)}(hjMRh]h Parameters}(hjORhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKRubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMUhjGRubj)}(hhh](j)}(h@``struct writeback_control *wbc`` writeback_control of interest h](j)}(h!``struct writeback_control *wbc``h]j)}(hjlRh]hstruct writeback_control *wbc}(hjnRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjRubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMRhjfRubj)}(hhh]h)}(hwriteback_control of interesth]hwriteback_control of interest}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhMRhjRubah}(h]h ]h"]h$]h&]uh1jhjfRubeh}(h]h ]h"]h$]h&]uh1jhjRhMRhjcRubj)}(h%``struct inode *inode`` target inode h](j)}(h``struct inode *inode``h]j)}(hjRh]hstruct inode *inode}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMShjRubj)}(hhh]h)}(h target inodeh]h target inode}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhMShjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhMShjcRubeh}(h]h ]h"]h$]h&]uh1jhjGRubh)}(h**Description**h]j)}(hjRh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMUhjGRubh)}(hThis function is to be used by filemap_writeback(), which is an alternative entry point into writeback code, and first ensures **inode** is associated with a bdi_writeback and attaches it to **wbc**.h](hThis function is to be used by filemap_writeback(), which is an alternative entry point into writeback code, and first ensures }(hjRhhhNhNubj)}(h **inode**h]hinode}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh7 is associated with a bdi_writeback and attaches it to }(hjRhhhNhNubj)}(h**wbc**h]hwbc}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh.}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMThjGRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j wbc_detach_inode (C function)c.wbc_detach_inodehNtauh1hhjHhhhNhNubj)}(hhh](j)}(h5void wbc_detach_inode (struct writeback_control *wbc)h]j)}(h4void wbc_detach_inode(struct writeback_control *wbc)h](jf)}(hvoidh]hvoid}(hjIShhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjEShhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMcubj2)}(h h]h }(hjXShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjEShhhjWShMcubjC)}(hwbc_detach_inodeh]jI)}(hwbc_detach_inodeh]hwbc_detach_inode}(hjjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjfSubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjEShhhjWShMcubj=)}(h(struct writeback_control *wbc)h]jC)}(hstruct writeback_control *wbch](j )}(hjh]hstruct}(hjShhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjSubj2)}(h h]h }(hjShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjSubh)}(hhh]jI)}(hwriteback_controlh]hwriteback_control}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj )}j ]j)}jjlSsbc.wbc_detach_inodeasbuh1hhjSubj2)}(h h]h }(hjShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjSubj)}(hjh]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubjI)}(hwbch]hwbc}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj~Subah}(h]h ]h"]h$]h&]j`jauh1j<hjEShhhjWShMcubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjAShhhjWShMcubah}(h]jShhubjw)}(hhh]h)}(h9disassociate wbc from inode and perform foreign detectionh]h9disassociate wbc from inode and perform foreign detection}(hj ThhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMchjThhubah}(h]h ]h"]h$]h&]uh1jvhj>ShhhjWShMcubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!Tjj!Tjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct writeback_control *wbc`` writeback_control of the just finished writeback **Description** To be called after a writeback attempt of an inode finishes and undoes wbc_attach_and_unlock_inode(). Can be called under any context. As concurrent write sharing of an inode is expected to be very rare and memcg only tracks page ownership on first-use basis severely confining the usefulness of such sharing, cgroup writeback tracks ownership per-inode. While the support for concurrent write sharing of an inode is deemed unnecessary, an inode being written to by different cgroups at different points in time is a lot more common, and, more importantly, charging only by first-use can too readily lead to grossly incorrect behaviors (single foreign page can lead to gigabytes of writeback to be incorrectly attributed). To resolve this issue, cgroup writeback detects the majority dirtier of an inode and transfers the ownership to it. To avoid unnecessary oscillation, the detection mechanism keeps track of history and gives out the switch verdict only if the foreign usage pattern is stable over a certain amount of time and/or writeback attempts. On each writeback attempt, **wbc** tries to detect the majority writer using Boyer-Moore majority vote algorithm. In addition to the byte count from the majority voting, it also counts the bytes written for the current wb and the last round's winner wb (max of last round's current wb, the winner from two rounds ago, and the last round's majority candidate). Keeping track of the historical winner helps the algorithm to semi-reliably detect the most active writer even when it's not the absolute majority. Once the winner of the round is determined, whether the winner is foreign or not and how much IO time the round consumed is recorded in inode->i_wb_frn_history. If the amount of recorded foreign IO time is over a certain threshold, the switch verdict is given.h](h)}(h**Parameters**h]j)}(hj+Th]h Parameters}(hj-ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)Tubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMghj%Tubj)}(hhh]j)}(hS``struct writeback_control *wbc`` writeback_control of the just finished writeback h](j)}(h!``struct writeback_control *wbc``h]j)}(hjJTh]hstruct writeback_control *wbc}(hjLThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHTubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMdhjDTubj)}(hhh]h)}(h0writeback_control of the just finished writebackh]h0writeback_control of the just finished writeback}(hjcThhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_ThMdhj`Tubah}(h]h ]h"]h$]h&]uh1jhjDTubeh}(h]h ]h"]h$]h&]uh1jhj_ThMdhjATubah}(h]h ]h"]h$]h&]uh1jhj%Tubh)}(h**Description**h]j)}(hjTh]h Description}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMfhj%Tubh)}(hTo be called after a writeback attempt of an inode finishes and undoes wbc_attach_and_unlock_inode(). Can be called under any context.h]hTo be called after a writeback attempt of an inode finishes and undoes wbc_attach_and_unlock_inode(). Can be called under any context.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMehj%Tubh)}(hXLAs concurrent write sharing of an inode is expected to be very rare and memcg only tracks page ownership on first-use basis severely confining the usefulness of such sharing, cgroup writeback tracks ownership per-inode. While the support for concurrent write sharing of an inode is deemed unnecessary, an inode being written to by different cgroups at different points in time is a lot more common, and, more importantly, charging only by first-use can too readily lead to grossly incorrect behaviors (single foreign page can lead to gigabytes of writeback to be incorrectly attributed).h]hXLAs concurrent write sharing of an inode is expected to be very rare and memcg only tracks page ownership on first-use basis severely confining the usefulness of such sharing, cgroup writeback tracks ownership per-inode. While the support for concurrent write sharing of an inode is deemed unnecessary, an inode being written to by different cgroups at different points in time is a lot more common, and, more importantly, charging only by first-use can too readily lead to grossly incorrect behaviors (single foreign page can lead to gigabytes of writeback to be incorrectly attributed).}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMhhj%Tubh)}(hXKTo resolve this issue, cgroup writeback detects the majority dirtier of an inode and transfers the ownership to it. To avoid unnecessary oscillation, the detection mechanism keeps track of history and gives out the switch verdict only if the foreign usage pattern is stable over a certain amount of time and/or writeback attempts.h]hXKTo resolve this issue, cgroup writeback detects the majority dirtier of an inode and transfers the ownership to it. To avoid unnecessary oscillation, the detection mechanism keeps track of history and gives out the switch verdict only if the foreign usage pattern is stable over a certain amount of time and/or writeback attempts.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMrhj%Tubh)}(hXOn each writeback attempt, **wbc** tries to detect the majority writer using Boyer-Moore majority vote algorithm. In addition to the byte count from the majority voting, it also counts the bytes written for the current wb and the last round's winner wb (max of last round's current wb, the winner from two rounds ago, and the last round's majority candidate). Keeping track of the historical winner helps the algorithm to semi-reliably detect the most active writer even when it's not the absolute majority.h](hOn each writeback attempt, }(hjThhhNhNubj)}(h**wbc**h]hwbc}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubhX tries to detect the majority writer using Boyer-Moore majority vote algorithm. In addition to the byte count from the majority voting, it also counts the bytes written for the current wb and the last round’s winner wb (max of last round’s current wb, the winner from two rounds ago, and the last round’s majority candidate). Keeping track of the historical winner helps the algorithm to semi-reliably detect the most active writer even when it’s not the absolute majority.}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMxhj%Tubh)}(hXOnce the winner of the round is determined, whether the winner is foreign or not and how much IO time the round consumed is recorded in inode->i_wb_frn_history. If the amount of recorded foreign IO time is over a certain threshold, the switch verdict is given.h]hXOnce the winner of the round is determined, whether the winner is foreign or not and how much IO time the round consumed is recorded in inode->i_wb_frn_history. If the amount of recorded foreign IO time is over a certain threshold, the switch verdict is given.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMhj%Tubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j %wbc_account_cgroup_owner (C function)c.wbc_account_cgroup_ownerhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h`void wbc_account_cgroup_owner (struct writeback_control *wbc, struct folio *folio, size_t bytes)h]j)}(h_void wbc_account_cgroup_owner(struct writeback_control *wbc, struct folio *folio, size_t bytes)h](jf)}(hvoidh]hvoid}(hjUhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjUhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMubj2)}(h h]h }(hj'UhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjUhhhj&UhMubjC)}(hwbc_account_cgroup_ownerh]jI)}(hwbc_account_cgroup_ownerh]hwbc_account_cgroup_owner}(hj9UhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj5Uubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjUhhhj&UhMubj=)}(hB(struct writeback_control *wbc, struct folio *folio, size_t bytes)h](jC)}(hstruct writeback_control *wbch](j )}(hjh]hstruct}(hjUUhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjQUubj2)}(h h]h }(hjbUhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjQUubh)}(hhh]jI)}(hwriteback_controlh]hwriteback_control}(hjsUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjuUmodnameN classnameNjj )}j ]j)}jj;Usbc.wbc_account_cgroup_ownerasbuh1hhjQUubj2)}(h h]h }(hjUhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjQUubj)}(hjh]h*}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQUubjI)}(hwbch]hwbc}(hjUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQUubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjMUubjC)}(hstruct folio *folioh](j )}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjUubj2)}(h h]h }(hjUhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjUubh)}(hhh]jI)}(hfolioh]hfolio}(hjUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj )}j ]jUc.wbc_account_cgroup_ownerasbuh1hhjUubj2)}(h h]h }(hjVhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjUubj)}(hjh]h*}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubjI)}(hfolioh]hfolio}(hjVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjUubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjMUubjC)}(h size_t bytesh](h)}(hhh]jI)}(hsize_th]hsize_t}(hj:VhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7Vubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjah"]h$]h&]uh1j1hj3VubjI)}(hbytesh]hbytes}(hjfVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3Vubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjMUubeh}(h]h ]h"]h$]h&]j`jauh1j<hjUhhhj&UhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjUhhhj&UhMubah}(h]j Uah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj&UhMhj Uhhubjw)}(hhh]h)}(h2account writeback to update inode cgroup ownershiph]h2account writeback to update inode cgroup ownership}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMhjVhhubah}(h]h ]h"]h$]h&]uh1jvhj Uhhhj&UhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct writeback_control *wbc`` writeback_control of the writeback in progress ``struct folio *folio`` folio being written out ``size_t bytes`` number of bytes being written out **Description** **bytes** from **folio** are about to written out during the writeback controlled by **wbc**. Keep the book for foreign inode detection. See wbc_detach_inode().h](h)}(h**Parameters**h]j)}(hjVh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMhjVubj)}(hhh](j)}(hQ``struct writeback_control *wbc`` writeback_control of the writeback in progress h](j)}(h!``struct writeback_control *wbc``h]j)}(hjVh]hstruct writeback_control *wbc}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMhjVubj)}(hhh]h)}(h.writeback_control of the writeback in progressh]h.writeback_control of the writeback in progress}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjVubj)}(h0``struct folio *folio`` folio being written out h](j)}(h``struct folio *folio``h]j)}(hj Wh]hstruct folio *folio}(hj WhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMhjWubj)}(hhh]h)}(hfolio being written outh]hfolio being written out}(hj#WhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhMhj Wubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjVubj)}(h3``size_t bytes`` number of bytes being written out h](j)}(h``size_t bytes``h]j)}(hjCWh]h size_t bytes}(hjEWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAWubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMhj=Wubj)}(hhh]h)}(h!number of bytes being written outh]h!number of bytes being written out}(hj\WhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXWhMhjYWubah}(h]h ]h"]h$]h&]uh1jhj=Wubeh}(h]h ]h"]h$]h&]uh1jhjXWhMhjVubeh}(h]h ]h"]h$]h&]uh1jhjVubh)}(h**Description**h]j)}(hj~Wh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|Wubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMhjVubh)}(h**bytes** from **folio** are about to written out during the writeback controlled by **wbc**. Keep the book for foreign inode detection. See wbc_detach_inode().h](j)}(h **bytes**h]hbytes}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh from }(hjWhhhNhNubj)}(h **folio**h]hfolio}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh= are about to written out during the writeback controlled by }(hjWhhhNhNubj)}(h**wbc**h]hwbc}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubhF. Keep the book for foreign inode detection. See wbc_detach_inode().}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j -filemap_dontcache_kick_writeback (C function)"c.filemap_dontcache_kick_writebackhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hEvoid filemap_dontcache_kick_writeback (struct address_space *mapping)h]j)}(hDvoid filemap_dontcache_kick_writeback(struct address_space *mapping)h](jf)}(hvoidh]hvoid}(hjWhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjWhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM ubj2)}(h h]h }(hjXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjWhhhjXhM ubjC)}(h filemap_dontcache_kick_writebackh]jI)}(h filemap_dontcache_kick_writebackh]h filemap_dontcache_kick_writeback}(hjXhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjWhhhjXhM ubj=)}(h(struct address_space *mapping)h]jC)}(hstruct address_space *mappingh](j )}(hjh]hstruct}(hj2XhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj.Xubj2)}(h h]h }(hj?XhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.Xubh)}(hhh]jI)}(h address_spaceh]h address_space}(hjPXhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRXmodnameN classnameNjj )}j ]j)}jjXsb"c.filemap_dontcache_kick_writebackasbuh1hhj.Xubj2)}(h h]h }(hjpXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.Xubj)}(hjh]h*}(hj~XhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.XubjI)}(hmappingh]hmapping}(hjXhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj.Xubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj*Xubah}(h]h ]h"]h$]h&]j`jauh1j<hjWhhhjXhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjWhhhjXhM ubah}(h]jWah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjXhM hjWhhubjw)}(hhh]h)}(h&kick flusher for IOCB_DONTCACHE writesh]h&kick flusher for IOCB_DONTCACHE writes}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjXhhubah}(h]h ]h"]h$]h&]uh1jvhjWhhhjXhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXjjXjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct address_space *mapping`` address_space that was just written to **Description** Kick the writeback flusher thread to expedite writeback of dontcache dirty pages. Queue writeback for the inode's wb for as many pages as there are dontcache pages, but don't restrict writeback to dontcache pages only. This significantly improves performance over either writing all wb's pages or writing only dontcache pages. Although it doesn't guarantee quick writeback and reclaim of dontcache pages, it keeps the amount of dirty pages in check. Over longer term dontcache pages get written and reclaimed by background writeback even with this rough heuristic.h](h)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjXubj)}(hhh]j)}(hI``struct address_space *mapping`` address_space that was just written to h](j)}(h!``struct address_space *mapping``h]j)}(hjXh]hstruct address_space *mapping}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjXubj)}(hhh]h)}(h&address_space that was just written toh]h&address_space that was just written to}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj YhM hj Yubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhj YhM hjXubah}(h]h ]h"]h$]h&]uh1jhjXubh)}(h**Description**h]j)}(hj1Yh]h Description}(hj3YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Yubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjXubh)}(hKick the writeback flusher thread to expedite writeback of dontcache dirty pages. Queue writeback for the inode's wb for as many pages as there are dontcache pages, but don't restrict writeback to dontcache pages only.h]hKick the writeback flusher thread to expedite writeback of dontcache dirty pages. Queue writeback for the inode’s wb for as many pages as there are dontcache pages, but don’t restrict writeback to dontcache pages only.}(hjGYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjXubh)}(hXZThis significantly improves performance over either writing all wb's pages or writing only dontcache pages. Although it doesn't guarantee quick writeback and reclaim of dontcache pages, it keeps the amount of dirty pages in check. Over longer term dontcache pages get written and reclaimed by background writeback even with this rough heuristic.h]hX^This significantly improves performance over either writing all wb’s pages or writing only dontcache pages. Although it doesn’t guarantee quick writeback and reclaim of dontcache pages, it keeps the amount of dirty pages in check. Over longer term dontcache pages get written and reclaimed by background writeback even with this rough heuristic.}(hjVYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j __mark_inode_dirty (C function)c.__mark_inode_dirtyhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h8void __mark_inode_dirty (struct inode *inode, int flags)h]j)}(h7void __mark_inode_dirty(struct inode *inode, int flags)h](jf)}(hvoidh]hvoid}(hjYhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjYhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMX ubj2)}(h h]h }(hjYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYhhhjYhMX ubjC)}(h__mark_inode_dirtyh]jI)}(h__mark_inode_dirtyh]h__mark_inode_dirty}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjYhhhjYhMX ubj=)}(h (struct inode *inode, int flags)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjYubj2)}(h h]h }(hjYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubh)}(hhh]jI)}(hinodeh]hinode}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj )}j ]j)}jjYsbc.__mark_inode_dirtyasbuh1hhjYubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubj)}(hjh]h*}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubjI)}(hinodeh]hinode}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjYubjC)}(h int flagsh](jf)}(hinth]hint}(hj4ZhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj0Zubj2)}(h h]h }(hjBZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0ZubjI)}(hflagsh]hflags}(hjPZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0Zubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjYubeh}(h]h ]h"]h$]h&]j`jauh1j<hjYhhhjYhMX ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj}YhhhjYhMX ubah}(h]jxYah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjYhMX hjzYhhubjw)}(hhh]h)}(h(internal function to mark an inode dirtyh]h(internal function to mark an inode dirty}(hjzZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMX hjwZhhubah}(h]h ]h"]h$]h&]uh1jvhjzYhhhjYhMX ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct inode *inode`` inode to mark ``int flags`` what kind of dirty, e.g. I_DIRTY_SYNC. This can be a combination of multiple I_DIRTY_* flags, except that I_DIRTY_TIME can't be combined with I_DIRTY_PAGES. **Description** Mark an inode as dirty. We notify the filesystem, then update the inode's dirty flags. Then, if needed we add the inode to the appropriate dirty list. Most callers should use mark_inode_dirty() or mark_inode_dirty_sync() instead of calling this directly. CAREFUL! We only add the inode to the dirty list if it is hashed or if it refers to a blockdev. Unhashed inodes will never be added to the dirty list even if they are later hashed, as they will have been marked dirty already. In short, ensure you hash any inodes _before_ you start marking them dirty. Note that for blockdevs, inode->dirtied_when represents the dirtying time of the block-special inode (/dev/hda1) itself. And the ->dirtied_when field of the kernel-internal blockdev inode represents the dirtying time of the blockdev's pages. This is why for I_DIRTY_PAGES we always use page->mapping->host, so the page-dirtying time is recorded in the internal blockdev inode.h](h)}(h**Parameters**h]j)}(hjZh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM\ hjZubj)}(hhh](j)}(h&``struct inode *inode`` inode to mark h](j)}(h``struct inode *inode``h]j)}(hjZh]hstruct inode *inode}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMZ hjZubj)}(hhh]h)}(h inode to markh]h inode to mark}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhMZ hjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMZ hjZubj)}(h``int flags`` what kind of dirty, e.g. I_DIRTY_SYNC. This can be a combination of multiple I_DIRTY_* flags, except that I_DIRTY_TIME can't be combined with I_DIRTY_PAGES. h](j)}(h ``int flags``h]j)}(hjZh]h int flags}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM] hjZubj)}(hhh]h)}(hwhat kind of dirty, e.g. I_DIRTY_SYNC. This can be a combination of multiple I_DIRTY_* flags, except that I_DIRTY_TIME can't be combined with I_DIRTY_PAGES.h]hwhat kind of dirty, e.g. I_DIRTY_SYNC. This can be a combination of multiple I_DIRTY_* flags, except that I_DIRTY_TIME can’t be combined with I_DIRTY_PAGES.}(hj [hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM[ hj [ubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhj [hM] hjZubeh}(h]h ]h"]h$]h&]uh1jhjZubh)}(h**Description**h]j)}(hj0[h]h Description}(hj2[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.[ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM_ hjZubh)}(hMark an inode as dirty. We notify the filesystem, then update the inode's dirty flags. Then, if needed we add the inode to the appropriate dirty list.h]hMark an inode as dirty. We notify the filesystem, then update the inode’s dirty flags. Then, if needed we add the inode to the appropriate dirty list.}(hjF[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM^ hjZubh)}(hgMost callers should use mark_inode_dirty() or mark_inode_dirty_sync() instead of calling this directly.h]hgMost callers should use mark_inode_dirty() or mark_inode_dirty_sync() instead of calling this directly.}(hjU[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMa hjZubh)}(hCAREFUL! We only add the inode to the dirty list if it is hashed or if it refers to a blockdev. Unhashed inodes will never be added to the dirty list even if they are later hashed, as they will have been marked dirty already.h]hCAREFUL! We only add the inode to the dirty list if it is hashed or if it refers to a blockdev. Unhashed inodes will never be added to the dirty list even if they are later hashed, as they will have been marked dirty already.}(hjd[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMd hjZubh)}(hKIn short, ensure you hash any inodes _before_ you start marking them dirty.h]hKIn short, ensure you hash any inodes _before_ you start marking them dirty.}(hjs[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMh hjZubh)}(hXzNote that for blockdevs, inode->dirtied_when represents the dirtying time of the block-special inode (/dev/hda1) itself. And the ->dirtied_when field of the kernel-internal blockdev inode represents the dirtying time of the blockdev's pages. This is why for I_DIRTY_PAGES we always use page->mapping->host, so the page-dirtying time is recorded in the internal blockdev inode.h]hX|Note that for blockdevs, inode->dirtied_when represents the dirtying time of the block-special inode (/dev/hda1) itself. And the ->dirtied_when field of the kernel-internal blockdev inode represents the dirtying time of the blockdev’s pages. This is why for I_DIRTY_PAGES we always use page->mapping->host, so the page-dirtying time is recorded in the internal blockdev inode.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMj hjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j #writeback_inodes_sb_nr (C function)c.writeback_inodes_sb_nrhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h]void writeback_inodes_sb_nr (struct super_block *sb, unsigned long nr, enum wb_reason reason)h]j)}(h\void writeback_inodes_sb_nr(struct super_block *sb, unsigned long nr, enum wb_reason reason)h](jf)}(hvoidh]hvoid}(hj[hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj[hhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMy ubj2)}(h h]h }(hj[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj[hhhj[hMy ubjC)}(hwriteback_inodes_sb_nrh]jI)}(hwriteback_inodes_sb_nrh]hwriteback_inodes_sb_nr}(hj[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj[hhhj[hMy ubj=)}(hA(struct super_block *sb, unsigned long nr, enum wb_reason reason)h](jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj[ubj2)}(h h]h }(hj[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj[ubh)}(hhh]jI)}(h super_blockh]h super_block}(hj \hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj \ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj )}j ]j)}jj[sbc.writeback_inodes_sb_nrasbuh1hhj[ubj2)}(h h]h }(hj,\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj[ubj)}(hjh]h*}(hj:\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubjI)}(hsbh]hsb}(hjG\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj[ubjC)}(hunsigned long nrh](jf)}(hunsignedh]hunsigned}(hj`\hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj\\ubj2)}(h h]h }(hjn\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\\ubjf)}(hlongh]hlong}(hj|\hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj\\ubj2)}(h h]h }(hj\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\\ubjI)}(hnrh]hnr}(hj\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\\ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj[ubjC)}(henum wb_reason reasonh](j )}(hj#h]henum}(hj\hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj\ubj2)}(h h]h }(hj\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\ubh)}(hhh]jI)}(h wb_reasonh]h wb_reason}(hj\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj )}j ]j(\c.writeback_inodes_sb_nrasbuh1hhj\ubj2)}(h h]h }(hj\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\ubjI)}(hreasonh]hreason}(hj\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj[ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj[hhhj[hMy ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj[hhhj[hMy ubah}(h]j[ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj[hMy hj[hhubjw)}(hhh]h)}(h-writeback dirty inodes from given super_blockh]h-writeback dirty inodes from given super_block}(hj%]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMy hj"]hhubah}(h]h ]h"]h$]h&]uh1jvhj[hhhj[hMy ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=]jj=]jjjuh1jhhhjHhNhNubj)}(hX|**Parameters** ``struct super_block *sb`` the superblock ``unsigned long nr`` the number of pages to write ``enum wb_reason reason`` reason why some writeback work initiated **Description** Start writeback on some inodes on this super_block. No guarantees are made on how many (if any) will be written, and this function does not wait for IO completion of submitted IO.h](h)}(h**Parameters**h]j)}(hjG]h]h Parameters}(hjI]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE]ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM} hjA]ubj)}(hhh](j)}(h*``struct super_block *sb`` the superblock h](j)}(h``struct super_block *sb``h]j)}(hjf]h]hstruct super_block *sb}(hjh]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd]ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMz hj`]ubj)}(hhh]h)}(hthe superblockh]hthe superblock}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{]hMz hj|]ubah}(h]h ]h"]h$]h&]uh1jhj`]ubeh}(h]h ]h"]h$]h&]uh1jhj{]hMz hj]]ubj)}(h2``unsigned long nr`` the number of pages to write h](j)}(h``unsigned long nr``h]j)}(hj]h]hunsigned long nr}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM{ hj]ubj)}(hhh]h)}(hthe number of pages to writeh]hthe number of pages to write}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hM{ hj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hM{ hj]]ubj)}(hC``enum wb_reason reason`` reason why some writeback work initiated h](j)}(h``enum wb_reason reason``h]j)}(hj]h]henum wb_reason reason}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM| hj]ubj)}(hhh]h)}(h(reason why some writeback work initiatedh]h(reason why some writeback work initiated}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hM| hj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hM| hj]]ubeh}(h]h ]h"]h$]h&]uh1jhjA]ubh)}(h**Description**h]j)}(hj^h]h Description}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM~ hjA]ubh)}(hStart writeback on some inodes on this super_block. No guarantees are made on how many (if any) will be written, and this function does not wait for IO completion of submitted IO.h]hStart writeback on some inodes on this super_block. No guarantees are made on how many (if any) will be written, and this function does not wait for IO completion of submitted IO.}(hj)^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM} hjA]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  writeback_inodes_sb (C function)c.writeback_inodes_sbhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hHvoid writeback_inodes_sb (struct super_block *sb, enum wb_reason reason)h]j)}(hGvoid writeback_inodes_sb(struct super_block *sb, enum wb_reason reason)h](jf)}(hvoidh]hvoid}(hjX^hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjT^hhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM ubj2)}(h h]h }(hjg^hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjT^hhhjf^hM ubjC)}(hwriteback_inodes_sbh]jI)}(hwriteback_inodes_sbh]hwriteback_inodes_sb}(hjy^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhju^ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjT^hhhjf^hM ubj=)}(h/(struct super_block *sb, enum wb_reason reason)h](jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj^ubj2)}(h h]h }(hj^hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj^ubh)}(hhh]jI)}(h super_blockh]h super_block}(hj^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNjj )}j ]j)}jj{^sbc.writeback_inodes_sbasbuh1hhj^ubj2)}(h h]h }(hj^hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj^ubj)}(hjh]h*}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubjI)}(hsbh]hsb}(hj^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj^ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj^ubjC)}(henum wb_reason reasonh](j )}(hj#h]henum}(hj_hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj_ubj2)}(h h]h }(hj_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_ubh)}(hhh]jI)}(h wb_reasonh]h wb_reason}(hj%_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj"_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'_modnameN classnameNjj )}j ]j^c.writeback_inodes_sbasbuh1hhj_ubj2)}(h h]h }(hjC_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_ubjI)}(hreasonh]hreason}(hjQ_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj^ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjT^hhhjf^hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjP^hhhjf^hM ubah}(h]jK^ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjf^hM hjM^hhubjw)}(hhh]h)}(h-writeback dirty inodes from given super_blockh]h-writeback dirty inodes from given super_block}(hj{_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjx_hhubah}(h]h ]h"]h$]h&]uh1jvhjM^hhhjf^hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_jj_jjjuh1jhhhjHhNhNubj)}(hXK**Parameters** ``struct super_block *sb`` the superblock ``enum wb_reason reason`` reason why some writeback work was initiated **Description** Start writeback on some inodes on this super_block. No guarantees are made on how many (if any) will be written, and this function does not wait for IO completion of submitted IO.h](h)}(h**Parameters**h]j)}(hj_h]h Parameters}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj_ubj)}(hhh](j)}(h*``struct super_block *sb`` the superblock h](j)}(h``struct super_block *sb``h]j)}(hj_h]hstruct super_block *sb}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj_ubj)}(hhh]h)}(hthe superblockh]hthe superblock}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hM hj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hM hj_ubj)}(hG``enum wb_reason reason`` reason why some writeback work was initiated h](j)}(h``enum wb_reason reason``h]j)}(hj_h]henum wb_reason reason}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj_ubj)}(hhh]h)}(h,reason why some writeback work was initiatedh]h,reason why some writeback work was initiated}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj `hM hj `ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj `hM hj_ubeh}(h]h ]h"]h$]h&]uh1jhj_ubh)}(h**Description**h]j)}(hj0`h]h Description}(hj2`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.`ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj_ubh)}(hStart writeback on some inodes on this super_block. No guarantees are made on how many (if any) will be written, and this function does not wait for IO completion of submitted IO.h]hStart writeback on some inodes on this super_block. No guarantees are made on how many (if any) will be written, and this function does not wait for IO completion of submitted IO.}(hjF`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j 'try_to_writeback_inodes_sb (C function)c.try_to_writeback_inodes_sbhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hOvoid try_to_writeback_inodes_sb (struct super_block *sb, enum wb_reason reason)h]j)}(hNvoid try_to_writeback_inodes_sb(struct super_block *sb, enum wb_reason reason)h](jf)}(hvoidh]hvoid}(hju`hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjq`hhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM ubj2)}(h h]h }(hj`hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjq`hhhj`hM ubjC)}(htry_to_writeback_inodes_sbh]jI)}(htry_to_writeback_inodes_sbh]htry_to_writeback_inodes_sb}(hj`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjq`hhhj`hM ubj=)}(h/(struct super_block *sb, enum wb_reason reason)h](jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hj`hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj`ubj2)}(h h]h }(hj`hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj`ubh)}(hhh]jI)}(h super_blockh]h super_block}(hj`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNjj )}j ]j)}jj`sbc.try_to_writeback_inodes_sbasbuh1hhj`ubj2)}(h h]h }(hj`hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj`ubj)}(hjh]h*}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubjI)}(hsbh]hsb}(hj ahhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj`ubjC)}(henum wb_reason reasonh](j )}(hj#h]henum}(hj$ahhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj aubj2)}(h h]h }(hj1ahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj aubh)}(hhh]jI)}(h wb_reasonh]h wb_reason}(hjBahhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj?aubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDamodnameN classnameNjj )}j ]j`c.try_to_writeback_inodes_sbasbuh1hhj aubj2)}(h h]h }(hj`ahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj aubjI)}(hreasonh]hreason}(hjnahhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj aubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj`ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjq`hhhj`hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjm`hhhj`hM ubah}(h]jh`ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj`hM hjj`hhubjw)}(hhh]h)}(h'try to start writeback if none underwayh]h'try to start writeback if none underway}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjahhubah}(h]h ]h"]h$]h&]uh1jvhjj`hhhj`hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1jhhhjHhNhNubj)}(h**Parameters** ``struct super_block *sb`` the superblock ``enum wb_reason reason`` reason why some writeback work was initiated **Description** Invoke __writeback_inodes_sb_nr if no writeback is currently underway.h](h)}(h**Parameters**h]j)}(hjah]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjaubj)}(hhh](j)}(h*``struct super_block *sb`` the superblock h](j)}(h``struct super_block *sb``h]j)}(hjah]hstruct super_block *sb}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjaubj)}(hhh]h)}(hthe superblockh]hthe superblock}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahM hjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahM hjaubj)}(hG``enum wb_reason reason`` reason why some writeback work was initiated h](j)}(h``enum wb_reason reason``h]j)}(hjbh]henum wb_reason reason}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj bubj)}(hhh]h)}(h,reason why some writeback work was initiatedh]h,reason why some writeback work was initiated}(hj+bhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'bhM hj(bubah}(h]h ]h"]h$]h&]uh1jhj bubeh}(h]h ]h"]h$]h&]uh1jhj'bhM hjaubeh}(h]h ]h"]h$]h&]uh1jhjaubh)}(h**Description**h]j)}(hjMbh]h Description}(hjObhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKbubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjaubh)}(hFInvoke __writeback_inodes_sb_nr if no writeback is currently underway.h]hFInvoke __writeback_inodes_sb_nr if no writeback is currently underway.}(hjcbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j sync_inodes_sb (C function)c.sync_inodes_sbhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h,void sync_inodes_sb (struct super_block *sb)h]j)}(h+void sync_inodes_sb(struct super_block *sb)h](jf)}(hvoidh]hvoid}(hjbhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjbhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM ubj2)}(h h]h }(hjbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbhhhjbhM ubjC)}(hsync_inodes_sbh]jI)}(hsync_inodes_sbh]hsync_inodes_sb}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjbhhhjbhM ubj=)}(h(struct super_block *sb)h]jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjbubj2)}(h h]h }(hjbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbubh)}(hhh]jI)}(h super_blockh]h super_block}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNjj )}j ]j)}jjbsbc.sync_inodes_sbasbuh1hhjbubj2)}(h h]h }(hj chhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbubj)}(hjh]h*}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubjI)}(hsbh]hsb}(hj(chhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjbubah}(h]h ]h"]h$]h&]j`jauh1j<hjbhhhjbhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjbhhhjbhM ubah}(h]jbah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjbhM hjbhhubjw)}(hhh]h)}(hsync sb inode pagesh]hsync sb inode pages}(hjRchhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjOchhubah}(h]h ]h"]h$]h&]uh1jvhjbhhhjbhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjcjjjcjjjuh1jhhhjHhNhNubj)}(h**Parameters** ``struct super_block *sb`` the superblock **Description** This function writes and waits on any dirty inode belonging to this super_block.h](h)}(h**Parameters**h]j)}(hjtch]h Parameters}(hjvchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrcubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjncubj)}(hhh]j)}(h*``struct super_block *sb`` the superblock h](j)}(h``struct super_block *sb``h]j)}(hjch]hstruct super_block *sb}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjcubj)}(hhh]h)}(hthe superblockh]hthe superblock}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchM hjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchM hjcubah}(h]h ]h"]h$]h&]uh1jhjncubh)}(h**Description**h]j)}(hjch]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjncubh)}(hPThis function writes and waits on any dirty inode belonging to this super_block.h]hPThis function writes and waits on any dirty inode belonging to this super_block.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjncubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j write_inode_now (C function)c.write_inode_nowhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h3int write_inode_now (struct inode *inode, int sync)h]j)}(h2int write_inode_now(struct inode *inode, int sync)h](jf)}(hinth]hint}(hjdhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjdhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM ubj2)}(h h]h }(hj"dhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdhhhj!dhM ubjC)}(hwrite_inode_nowh]jI)}(hwrite_inode_nowh]hwrite_inode_now}(hj4dhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0dubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjdhhhj!dhM ubj=)}(h(struct inode *inode, int sync)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjPdhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjLdubj2)}(h h]h }(hj]dhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLdubh)}(hhh]jI)}(hinodeh]hinode}(hjndhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjkdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpdmodnameN classnameNjj )}j ]j)}jj6dsbc.write_inode_nowasbuh1hhjLdubj2)}(h h]h }(hjdhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLdubj)}(hjh]h*}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLdubjI)}(hinodeh]hinode}(hjdhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLdubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjHdubjC)}(hint synch](jf)}(hinth]hint}(hjdhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjdubj2)}(h h]h }(hjdhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdubjI)}(hsynch]hsync}(hjdhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjHdubeh}(h]h ]h"]h$]h&]j`jauh1j<hjdhhhj!dhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj dhhhj!dhM ubah}(h]jdah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj!dhM hjdhhubjw)}(hhh]h)}(hwrite an inode to diskh]hwrite an inode to disk}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjehhubah}(h]h ]h"]h$]h&]uh1jvhjdhhhj!dhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj ejj ejjjuh1jhhhjHhNhNubj)}(hXE**Parameters** ``struct inode *inode`` inode to write to disk ``int sync`` whether the write should be synchronous or not **Description** This function commits an inode to disk immediately if it is dirty. This is primarily needed by knfsd. The caller must either have a ref on the inode or must have set I_WILL_FREE.h](h)}(h**Parameters**h]j)}(hj*eh]h Parameters}(hj,ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(eubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj$eubj)}(hhh](j)}(h/``struct inode *inode`` inode to write to disk h](j)}(h``struct inode *inode``h]j)}(hjIeh]hstruct inode *inode}(hjKehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGeubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjCeubj)}(hhh]h)}(hinode to write to diskh]hinode to write to disk}(hjbehhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^ehM hj_eubah}(h]h ]h"]h$]h&]uh1jhjCeubeh}(h]h ]h"]h$]h&]uh1jhj^ehM hj@eubj)}(h<``int sync`` whether the write should be synchronous or not h](j)}(h ``int sync``h]j)}(hjeh]hint sync}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj|eubj)}(hhh]h)}(h.whether the write should be synchronous or noth]h.whether the write should be synchronous or not}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehM hjeubah}(h]h ]h"]h$]h&]uh1jhj|eubeh}(h]h ]h"]h$]h&]uh1jhjehM hj@eubeh}(h]h ]h"]h$]h&]uh1jhj$eubh)}(h**Description**h]j)}(hjeh]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj$eubh)}(heThis function commits an inode to disk immediately if it is dirty. This is primarily needed by knfsd.h]heThis function commits an inode to disk immediately if it is dirty. This is primarily needed by knfsd.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj$eubh)}(hLThe caller must either have a ref on the inode or must have set I_WILL_FREE.h]hLThe caller must either have a ref on the inode or must have set I_WILL_FREE.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj$eubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  sync_inode_metadata (C function)c.sync_inode_metadatahNtauh1hhjHhhhNhNubj)}(hhh](j)}(h7int sync_inode_metadata (struct inode *inode, int wait)h]j)}(h6int sync_inode_metadata(struct inode *inode, int wait)h](jf)}(hinth]hint}(hjfhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj fhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM ubj2)}(h h]h }(hj fhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj fhhhjfhM ubjC)}(hsync_inode_metadatah]jI)}(hsync_inode_metadatah]hsync_inode_metadata}(hj2fhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj.fubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj fhhhjfhM ubj=)}(h(struct inode *inode, int wait)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjNfhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjJfubj2)}(h h]h }(hj[fhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJfubh)}(hhh]jI)}(hinodeh]hinode}(hjlfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjifubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnfmodnameN classnameNjj )}j ]j)}jj4fsbc.sync_inode_metadataasbuh1hhjJfubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJfubj)}(hjh]h*}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJfubjI)}(hinodeh]hinode}(hjfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJfubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjFfubjC)}(hint waith](jf)}(hinth]hint}(hjfhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjfubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjfubjI)}(hwaith]hwait}(hjfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjfubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjFfubeh}(h]h ]h"]h$]h&]j`jauh1j<hj fhhhjfhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj fhhhjfhM ubah}(h]jfah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjfhM hjfhhubjw)}(hhh]h)}(hwrite an inode to diskh]hwrite an inode to disk}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjghhubah}(h]h ]h"]h$]h&]uh1jvhjfhhhjfhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjgjjgjjjuh1jhhhjHhNhNubj)}(hX **Parameters** ``struct inode *inode`` the inode to sync ``int wait`` wait for I/O to complete. **Description** Write an inode to disk and adjust its dirty state after completion. **Note** only writes the actual inode, no associated data or other metadata.h](h)}(h**Parameters**h]j)}(hj(gh]h Parameters}(hj*ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&gubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj"gubj)}(hhh](j)}(h*``struct inode *inode`` the inode to sync h](j)}(h``struct inode *inode``h]j)}(hjGgh]hstruct inode *inode}(hjIghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEgubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjAgubj)}(hhh]h)}(hthe inode to synch]hthe inode to sync}(hj`ghhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\ghM hj]gubah}(h]h ]h"]h$]h&]uh1jhjAgubeh}(h]h ]h"]h$]h&]uh1jhj\ghM hj>gubj)}(h'``int wait`` wait for I/O to complete. h](j)}(h ``int wait``h]j)}(hjgh]hint wait}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~gubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjzgubj)}(hhh]h)}(hwait for I/O to complete.h]hwait for I/O to complete.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghM hjgubah}(h]h ]h"]h$]h&]uh1jhjzgubeh}(h]h ]h"]h$]h&]uh1jhjghM hj>gubeh}(h]h ]h"]h$]h&]uh1jhj"gubh)}(h**Description**h]j)}(hjgh]h Description}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj"gubh)}(hCWrite an inode to disk and adjust its dirty state after completion.h]hCWrite an inode to disk and adjust its dirty state after completion.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj"gubh)}(h**Note**h]j)}(hjgh]hNote}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj"gubh)}(hConly writes the actual inode, no associated data or other metadata.h]hConly writes the actual inode, no associated data or other metadata.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj"gubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j anon_inode_getfile (C function)c.anon_inode_getfilehNtauh1hhjHhhhNhNubj)}(hhh](j)}(hnstruct file * anon_inode_getfile (const char *name, const struct file_operations *fops, void *priv, int flags)h]j)}(hlstruct file *anon_inode_getfile(const char *name, const struct file_operations *fops, void *priv, int flags)h](j )}(hjh]hstruct}(hj'hhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj#hhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKubj2)}(h h]h }(hj5hhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#hhhhj4hhKubh)}(hhh]jI)}(hfileh]hfile}(hjFhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjChubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHhmodnameN classnameNjj )}j ]j)}janon_inode_getfilesbc.anon_inode_getfileasbuh1hhj#hhhhj4hhKubj2)}(h h]h }(hjghhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#hhhhj4hhKubj)}(hjh]h*}(hjuhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#hhhhj4hhKubjC)}(hanon_inode_getfileh]jI)}(hjdhh]hanon_inode_getfile}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj#hhhhj4hhKubj=)}(hM(const char *name, const struct file_operations *fops, void *priv, int flags)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhubj2)}(h h]h }(hjhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubjf)}(hcharh]hchar}(hjhhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhubj2)}(h h]h }(hjhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubj)}(hjh]h*}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubjI)}(hnameh]hname}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjhubjC)}(h"const struct file_operations *fopsh](j )}(hjh]hconst}(hjhhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhubj2)}(h h]h }(hj ihhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubj )}(hjh]hstruct}(hjihhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhubj2)}(h h]h }(hj&ihhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubh)}(hhh]jI)}(hfile_operationsh]hfile_operations}(hj7ihhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4iubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9imodnameN classnameNjj )}j ]jbhc.anon_inode_getfileasbuh1hhjhubj2)}(h h]h }(hjUihhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubj)}(hjh]h*}(hjcihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubjI)}(hfopsh]hfops}(hjpihhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjhubjC)}(h void *privh](jf)}(hvoidh]hvoid}(hjihhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjiubj2)}(h h]h }(hjihhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjiubj)}(hjh]h*}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubjI)}(hprivh]hpriv}(hjihhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjhubjC)}(h int flagsh](jf)}(hinth]hint}(hjihhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjiubj2)}(h h]h }(hjihhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjiubjI)}(hflagsh]hflags}(hjihhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjhubeh}(h]h ]h"]h$]h&]j`jauh1j<hj#hhhhj4hhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhhj4hhKubah}(h]jhah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj4hhKhjhhhubjw)}(hhh]h)}(hvcreates a new file instance by hooking it up to an anonymous inode, and a dentry that describe the "class" of the fileh]hzcreates a new file instance by hooking it up to an anonymous inode, and a dentry that describe the “class” of the file}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhhj4hhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)jjj)jjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``const char *name`` [in] name of the "class" of the new file ``const struct file_operations *fops`` [in] file operations for the new file ``void *priv`` [in] private data for the new file (will be file's private_data) ``int flags`` [in] flags **Description** Creates a new file by hooking it on a single inode. This is useful for files that do not need to have a full-fledged inode in order to operate correctly. All the files created with anon_inode_getfile() will share a single inode, hence saving memory and avoiding code duplication for the file/inode/dentry setup. Returns the newly created file* or an error pointer.h](h)}(h**Parameters**h]j)}(hj3jh]h Parameters}(hj5jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1jubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhj-jubj)}(hhh](j)}(hA``const char *name`` [in] name of the "class" of the new file h](j)}(h``const char *name``h]j)}(hjRjh]hconst char *name}(hjTjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjLjubj)}(hhh]h)}(h+[in] name of the "class" of the new fileh]h/[in] name of the “class” of the new file}(hjkjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjgjhKhjhjubah}(h]h ]h"]h$]h&]uh1jhjLjubeh}(h]h ]h"]h$]h&]uh1jhjgjhKhjIjubj)}(hP``const struct file_operations *fops`` [in] file operations for the new file h](j)}(h&``const struct file_operations *fops``h]j)}(hjjh]h"const struct file_operations *fops}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjjubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhKhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhKhjIjubj)}(hS``void *priv`` [in] private data for the new file (will be file's private_data) h](j)}(h``void *priv``h]j)}(hjjh]h void *priv}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjjubj)}(hhh]h)}(hC[in] private data for the new file (will be file's private_data)h]hE[in] private data for the new file (will be file’s private_data)}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhKhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhKhjIjubj)}(h``int flags`` [in] flags h](j)}(h ``int flags``h]j)}(hjjh]h int flags}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjjubj)}(hhh]h)}(h [in] flagsh]h [in] flags}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhKhjkubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjkhKhjIjubeh}(h]h ]h"]h$]h&]uh1jhj-jubh)}(h**Description**h]j)}(hj8kh]h Description}(hj:khhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6kubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhj-jubh)}(hXmCreates a new file by hooking it on a single inode. This is useful for files that do not need to have a full-fledged inode in order to operate correctly. All the files created with anon_inode_getfile() will share a single inode, hence saving memory and avoiding code duplication for the file/inode/dentry setup. Returns the newly created file* or an error pointer.h]hXmCreates a new file by hooking it on a single inode. This is useful for files that do not need to have a full-fledged inode in order to operate correctly. All the files created with anon_inode_getfile() will share a single inode, hence saving memory and avoiding code duplication for the file/inode/dentry setup. Returns the newly created file* or an error pointer.}(hjNkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhj-jubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j %anon_inode_getfile_fmode (C function)c.anon_inode_getfile_fmodehNtauh1hhjHhhhNhNubj)}(hhh](j)}(hstruct file * anon_inode_getfile_fmode (const char *name, const struct file_operations *fops, void *priv, int flags, fmode_t f_mode)h]j)}(hstruct file *anon_inode_getfile_fmode(const char *name, const struct file_operations *fops, void *priv, int flags, fmode_t f_mode)h](j )}(hjh]hstruct}(hj}khhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjykhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKubj2)}(h h]h }(hjkhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjykhhhjkhKubh)}(hhh]jI)}(hfileh]hfile}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNjj )}j ]j)}janon_inode_getfile_fmodesbc.anon_inode_getfile_fmodeasbuh1hhjykhhhjkhKubj2)}(h h]h }(hjkhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjykhhhjkhKubj)}(hjh]h*}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjykhhhjkhKubjC)}(hanon_inode_getfile_fmodeh]jI)}(hjkh]hanon_inode_getfile_fmode}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjkubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjykhhhjkhKubj=)}(h](const char *name, const struct file_operations *fops, void *priv, int flags, fmode_t f_mode)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjkhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjkubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkubjf)}(hcharh]hchar}(hjlhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjkubj2)}(h h]h }(hj lhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkubj)}(hjh]h*}(hj.lhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubjI)}(hnameh]hname}(hj;lhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjkubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjkubjC)}(h"const struct file_operations *fopsh](j )}(hjh]hconst}(hjTlhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjPlubj2)}(h h]h }(hjalhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPlubj )}(hjh]hstruct}(hjolhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjPlubj2)}(h h]h }(hj|lhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPlubh)}(hhh]jI)}(hfile_operationsh]hfile_operations}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj )}j ]jkc.anon_inode_getfile_fmodeasbuh1hhjPlubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPlubj)}(hjh]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPlubjI)}(hfopsh]hfops}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPlubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjkubjC)}(h void *privh](jf)}(hvoidh]hvoid}(hjlhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjlubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjlubj)}(hjh]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubjI)}(hprivh]hpriv}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjkubjC)}(h int flagsh](jf)}(hinth]hint}(hj!mhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjmubj2)}(h h]h }(hj/mhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjmubjI)}(hflagsh]hflags}(hj=mhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjmubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjkubjC)}(hfmode_t f_modeh](h)}(hhh]jI)}(hfmode_th]hfmode_t}(hjYmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[mmodnameN classnameNjj )}j ]jkc.anon_inode_getfile_fmodeasbuh1hhjRmubj2)}(h h]h }(hjwmhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRmubjI)}(hf_modeh]hf_mode}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRmubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjkubeh}(h]h ]h"]h$]h&]j`jauh1j<hjykhhhjkhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjukhhhjkhKubah}(h]jpkah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjkhKhjrkhhubjw)}(hhh]h)}(hvcreates a new file instance by hooking it up to an anonymous inode, and a dentry that describe the "class" of the fileh]hzcreates a new file instance by hooking it up to an anonymous inode, and a dentry that describe the “class” of the file}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjmhhubah}(h]h ]h"]h$]h&]uh1jvhjrkhhhjkhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``const char *name`` [in] name of the "class" of the new file ``const struct file_operations *fops`` [in] file operations for the new file ``void *priv`` [in] private data for the new file (will be file's private_data) ``int flags`` [in] flags ``fmode_t f_mode`` [in] fmode **Description** Creates a new file by hooking it on a single inode. This is useful for files that do not need to have a full-fledged inode in order to operate correctly. All the files created with anon_inode_getfile() will share a single inode, hence saving memory and avoiding code duplication for the file/inode/dentry setup. Allows setting the fmode. Returns the newly created file* or an error pointer.h](h)}(h**Parameters**h]j)}(hjmh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjmubj)}(hhh](j)}(hA``const char *name`` [in] name of the "class" of the new file h](j)}(h``const char *name``h]j)}(hjmh]hconst char *name}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjmubj)}(hhh]h)}(h+[in] name of the "class" of the new fileh]h/[in] name of the “class” of the new file}(hj nhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhKhjnubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjnhKhjmubj)}(hP``const struct file_operations *fops`` [in] file operations for the new file h](j)}(h&``const struct file_operations *fops``h]j)}(hj)nh]h"const struct file_operations *fops}(hj+nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'nubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhj#nubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(hjBnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>nhKhj?nubah}(h]h ]h"]h$]h&]uh1jhj#nubeh}(h]h ]h"]h$]h&]uh1jhj>nhKhjmubj)}(hS``void *priv`` [in] private data for the new file (will be file's private_data) h](j)}(h``void *priv``h]j)}(hjbnh]h void *priv}(hjdnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`nubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhj\nubj)}(hhh]h)}(hC[in] private data for the new file (will be file's private_data)h]hE[in] private data for the new file (will be file’s private_data)}(hj{nhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwnhKhjxnubah}(h]h ]h"]h$]h&]uh1jhj\nubeh}(h]h ]h"]h$]h&]uh1jhjwnhKhjmubj)}(h``int flags`` [in] flags h](j)}(h ``int flags``h]j)}(hjnh]h int flags}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjnubj)}(hhh]h)}(h [in] flagsh]h [in] flags}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhKhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhKhjmubj)}(h!``fmode_t f_mode`` [in] fmode h](j)}(h``fmode_t f_mode``h]j)}(hjnh]hfmode_t f_mode}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjnubj)}(hhh]h)}(h [in] fmodeh]h [in] fmode}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhKhjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhKhjmubeh}(h]h ]h"]h$]h&]uh1jhjmubh)}(h**Description**h]j)}(hjoh]h Description}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj oubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjmubh)}(hXCreates a new file by hooking it on a single inode. This is useful for files that do not need to have a full-fledged inode in order to operate correctly. All the files created with anon_inode_getfile() will share a single inode, hence saving memory and avoiding code duplication for the file/inode/dentry setup. Allows setting the fmode. Returns the newly created file* or an error pointer.h]hXCreates a new file by hooking it on a single inode. This is useful for files that do not need to have a full-fledged inode in order to operate correctly. All the files created with anon_inode_getfile() will share a single inode, hence saving memory and avoiding code duplication for the file/inode/dentry setup. Allows setting the fmode. Returns the newly created file* or an error pointer.}(hj%ohhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j &anon_inode_create_getfile (C function)c.anon_inode_create_getfilehNtauh1hhjHhhhNhNubj)}(hhh](j)}(hstruct file * anon_inode_create_getfile (const char *name, const struct file_operations *fops, void *priv, int flags, const struct inode *context_inode)h]j)}(hstruct file *anon_inode_create_getfile(const char *name, const struct file_operations *fops, void *priv, int flags, const struct inode *context_inode)h](j )}(hjh]hstruct}(hjTohhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjPohhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKubj2)}(h h]h }(hjbohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPohhhjaohKubh)}(hhh]jI)}(hfileh]hfile}(hjsohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjuomodnameN classnameNjj )}j ]j)}janon_inode_create_getfilesbc.anon_inode_create_getfileasbuh1hhjPohhhjaohKubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPohhhjaohKubj)}(hjh]h*}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPohhhjaohKubjC)}(hanon_inode_create_getfileh]jI)}(hjoh]hanon_inode_create_getfile}(hjohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjPohhhjaohKubj=)}(hp(const char *name, const struct file_operations *fops, void *priv, int flags, const struct inode *context_inode)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjohhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjoubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjoubjf)}(hcharh]hchar}(hjohhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjoubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjoubj)}(hjh]h*}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubjI)}(hnameh]hname}(hjphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjoubjC)}(h"const struct file_operations *fopsh](j )}(hjh]hconst}(hj+phhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj'pubj2)}(h h]h }(hj8phhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'pubj )}(hjh]hstruct}(hjFphhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj'pubj2)}(h h]h }(hjSphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'pubh)}(hhh]jI)}(hfile_operationsh]hfile_operations}(hjdphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjapubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfpmodnameN classnameNjj )}j ]joc.anon_inode_create_getfileasbuh1hhj'pubj2)}(h h]h }(hjphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'pubj)}(hjh]h*}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'pubjI)}(hfopsh]hfops}(hjphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'pubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjoubjC)}(h void *privh](jf)}(hvoidh]hvoid}(hjphhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjpubj2)}(h h]h }(hjphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubj)}(hjh]h*}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubjI)}(hprivh]hpriv}(hjphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjoubjC)}(h int flagsh](jf)}(hinth]hint}(hjphhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjpubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubjI)}(hflagsh]hflags}(hjqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjoubjC)}(h!const struct inode *context_inodeh](j )}(hjh]hconst}(hj-qhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj)qubj2)}(h h]h }(hj:qhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj)qubj )}(hjh]hstruct}(hjHqhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj)qubj2)}(h h]h }(hjUqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj)qubh)}(hhh]jI)}(hinodeh]hinode}(hjfqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjcqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhqmodnameN classnameNjj )}j ]joc.anon_inode_create_getfileasbuh1hhj)qubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj)qubj)}(hjh]h*}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)qubjI)}(h context_inodeh]h context_inode}(hjqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)qubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjoubeh}(h]h ]h"]h$]h&]j`jauh1j<hjPohhhjaohKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjLohhhjaohKubah}(h]jGoah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjaohKhjIohhubjw)}(hhh]h)}(hLike anon_inode_getfile(), but creates a new !S_PRIVATE anon inode rather than reuse the singleton anon inode and calls the inode_init_security_anon() LSM hook.h]hLike anon_inode_getfile(), but creates a new !S_PRIVATE anon inode rather than reuse the singleton anon inode and calls the inode_init_security_anon() LSM hook.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjqhhubah}(h]h ]h"]h$]h&]uh1jvhjIohhhjaohKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1jhhhjHhNhNubj)}(hXT**Parameters** ``const char *name`` [in] name of the "class" of the new file ``const struct file_operations *fops`` [in] file operations for the new file ``void *priv`` [in] private data for the new file (will be file's private_data) ``int flags`` [in] flags ``const struct inode *context_inode`` [in] the logical relationship with the new inode (optional) **Description** Create a new anonymous inode and file pair. This can be done for two reasons: - for the inode to have its own security context, so that LSMs can enforce policy on the inode's creation; - if the caller needs a unique inode, for example in order to customize the size returned by fstat() The LSM may use **context_inode** in inode_init_security_anon(), but a reference to it is not held. Returns the newly created file* or an error pointer.h](h)}(h**Parameters**h]j)}(hjqh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjqubj)}(hhh](j)}(hA``const char *name`` [in] name of the "class" of the new file h](j)}(h``const char *name``h]j)}(hj rh]hconst char *name}(hj rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjrubj)}(hhh]h)}(h+[in] name of the "class" of the new fileh]h/[in] name of the “class” of the new file}(hj#rhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhKhj rubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhKhjrubj)}(hP``const struct file_operations *fops`` [in] file operations for the new file h](j)}(h&``const struct file_operations *fops``h]j)}(hjCrh]h"const struct file_operations *fops}(hjErhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjArubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhj=rubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(hj\rhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXrhKhjYrubah}(h]h ]h"]h$]h&]uh1jhj=rubeh}(h]h ]h"]h$]h&]uh1jhjXrhKhjrubj)}(hS``void *priv`` [in] private data for the new file (will be file's private_data) h](j)}(h``void *priv``h]j)}(hj|rh]h void *priv}(hj~rhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzrubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjvrubj)}(hhh]h)}(hC[in] private data for the new file (will be file's private_data)h]hE[in] private data for the new file (will be file’s private_data)}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhKhjrubah}(h]h ]h"]h$]h&]uh1jhjvrubeh}(h]h ]h"]h$]h&]uh1jhjrhKhjrubj)}(h``int flags`` [in] flags h](j)}(h ``int flags``h]j)}(hjrh]h int flags}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjrubj)}(hhh]h)}(h [in] flagsh]h [in] flags}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhKhjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhKhjrubj)}(he``const struct inode *context_inode`` [in] the logical relationship with the new inode (optional) h](j)}(h%``const struct inode *context_inode``h]j)}(hjrh]h!const struct inode *context_inode}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjrubj)}(hhh]h)}(h>[in] the logical relationship with the new inode (optional)h]h>[in] the logical relationship with the new inode (optional)}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshKhjsubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjshKhjrubeh}(h]h ]h"]h$]h&]uh1jhjqubh)}(h**Description**h]j)}(hj)sh]h Description}(hj+shhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'subah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjqubh)}(hNCreate a new anonymous inode and file pair. This can be done for two reasons:h]hNCreate a new anonymous inode and file pair. This can be done for two reasons:}(hj?shhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjqubjC)}(hhh](j#C)}(hifor the inode to have its own security context, so that LSMs can enforce policy on the inode's creation; h]h)}(hhfor the inode to have its own security context, so that LSMs can enforce policy on the inode's creation;h]hjfor the inode to have its own security context, so that LSMs can enforce policy on the inode’s creation;}(hjUshhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjQsubah}(h]h ]h"]h$]h&]uh1j"ChjNsubj#C)}(hcif the caller needs a unique inode, for example in order to customize the size returned by fstat() h]h)}(hbif the caller needs a unique inode, for example in order to customize the size returned by fstat()h]hbif the caller needs a unique inode, for example in order to customize the size returned by fstat()}(hjnshhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chMhjjsubah}(h]h ]h"]h$]h&]uh1j"ChjNsubeh}(h]h ]h"]h$]h&]j\Cjuh1jChjcshKhjqubh)}(hcThe LSM may use **context_inode** in inode_init_security_anon(), but a reference to it is not held.h](hThe LSM may use }(hjshhhNhNubj)}(h**context_inode**h]h context_inode}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubhB in inode_init_security_anon(), but a reference to it is not held.}(hjshhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chMhjqubh)}(h4Returns the newly created file* or an error pointer.h]h4Returns the newly created file* or an error pointer.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chMhjqubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j anon_inode_getfd (C function)c.anon_inode_getfdhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hbint anon_inode_getfd (const char *name, const struct file_operations *fops, void *priv, int flags)h]j)}(haint anon_inode_getfd(const char *name, const struct file_operations *fops, void *priv, int flags)h](jf)}(hinth]hint}(hjshhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjshhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chMubj2)}(h h]h }(hjshhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjshhhjshMubjC)}(hanon_inode_getfdh]jI)}(hanon_inode_getfdh]hanon_inode_getfd}(hjshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjsubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjshhhjshMubj=)}(hM(const char *name, const struct file_operations *fops, void *priv, int flags)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjthhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjtubj2)}(h h]h }(hj#thhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubjf)}(hcharh]hchar}(hj1thhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjtubj2)}(h h]h }(hj?thhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubj)}(hjh]h*}(hjMthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubjI)}(hnameh]hname}(hjZthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjtubjC)}(h"const struct file_operations *fopsh](j )}(hjh]hconst}(hjsthhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjotubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjotubj )}(hjh]hstruct}(hjthhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjotubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjotubh)}(hhh]jI)}(hfile_operationsh]hfile_operations}(hjthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj )}j ]j)}jjssbc.anon_inode_getfdasbuh1hhjotubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjotubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjotubjI)}(hfopsh]hfops}(hjthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjotubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjtubjC)}(h void *privh](jf)}(hvoidh]hvoid}(hjuhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjtubj2)}(h h]h }(hjuhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubj)}(hjh]h*}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubjI)}(hprivh]hpriv}(hj)uhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjtubjC)}(h int flagsh](jf)}(hinth]hint}(hjBuhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj>uubj2)}(h h]h }(hjPuhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj>uubjI)}(hflagsh]hflags}(hj^uhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj>uubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjtubeh}(h]h ]h"]h$]h&]j`jauh1j<hjshhhjshMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjshhhjshMubah}(h]jsah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjshMhjshhubjw)}(hhh]h)}(hucreates a new file instance by hooking it up to an anonymous inode and a dentry that describe the "class" of the fileh]hycreates a new file instance by hooking it up to an anonymous inode and a dentry that describe the “class” of the file}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chMhjuhhubah}(h]h ]h"]h$]h&]uh1jvhjshhhjshMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjujjujjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``const char *name`` [in] name of the "class" of the new file ``const struct file_operations *fops`` [in] file operations for the new file ``void *priv`` [in] private data for the new file (will be file's private_data) ``int flags`` [in] flags **Description** Creates a new file by hooking it on a single inode. This is useful for files that do not need to have a full-fledged inode in order to operate correctly. All the files created with anon_inode_getfd() will use the same singleton inode, reducing memory use and avoiding code duplication for the file/inode/dentry setup. Returns a newly created file descriptor or an error code.h](h)}(h**Parameters**h]j)}(hjuh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chM"hjuubj)}(hhh](j)}(hA``const char *name`` [in] name of the "class" of the new file h](j)}(h``const char *name``h]j)}(hjuh]hconst char *name}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chM"hjuubj)}(hhh]h)}(h+[in] name of the "class" of the new fileh]h/[in] name of the “class” of the new file}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhM"hjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhM"hjuubj)}(hP``const struct file_operations *fops`` [in] file operations for the new file h](j)}(h&``const struct file_operations *fops``h]j)}(hjvh]h"const struct file_operations *fops}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chM#hjuubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhM#hjvubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjvhM#hjuubj)}(hS``void *priv`` [in] private data for the new file (will be file's private_data) h](j)}(h``void *priv``h]j)}(hj;vh]h void *priv}(hj=vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9vubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chM$hj5vubj)}(hhh]h)}(hC[in] private data for the new file (will be file's private_data)h]hE[in] private data for the new file (will be file’s private_data)}(hjTvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPvhM$hjQvubah}(h]h ]h"]h$]h&]uh1jhj5vubeh}(h]h ]h"]h$]h&]uh1jhjPvhM$hjuubj)}(h``int flags`` [in] flags h](j)}(h ``int flags``h]j)}(hjtvh]h int flags}(hjvvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrvubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chM%hjnvubj)}(hhh]h)}(h [in] flagsh]h [in] flags}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhM%hjvubah}(h]h ]h"]h$]h&]uh1jhjnvubeh}(h]h ]h"]h$]h&]uh1jhjvhM%hjuubeh}(h]h ]h"]h$]h&]uh1jhjuubh)}(h**Description**h]j)}(hjvh]h Description}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chM'hjuubh)}(hXyCreates a new file by hooking it on a single inode. This is useful for files that do not need to have a full-fledged inode in order to operate correctly. All the files created with anon_inode_getfd() will use the same singleton inode, reducing memory use and avoiding code duplication for the file/inode/dentry setup. Returns a newly created file descriptor or an error code.h]hXyCreates a new file by hooking it on a single inode. This is useful for files that do not need to have a full-fledged inode in order to operate correctly. All the files created with anon_inode_getfd() will use the same singleton inode, reducing memory use and avoiding code duplication for the file/inode/dentry setup. Returns a newly created file descriptor or an error code.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chM&hjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j %setattr_should_drop_sgid (C function)c.setattr_should_drop_sgidhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hQint setattr_should_drop_sgid (struct mnt_idmap *idmap, const struct inode *inode)h]j)}(hPint setattr_should_drop_sgid(struct mnt_idmap *idmap, const struct inode *inode)h](jf)}(hinth]hint}(hjvhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjvhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjvhhhjwhKubjC)}(hsetattr_should_drop_sgidh]jI)}(hsetattr_should_drop_sgidh]hsetattr_should_drop_sgid}(hjwhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjvhhhjwhKubj=)}(h4(struct mnt_idmap *idmap, const struct inode *inode)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hj1whhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj-wubj2)}(h h]h }(hj>whhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj-wubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjOwhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQwmodnameN classnameNjj )}j ]j)}jjwsbc.setattr_should_drop_sgidasbuh1hhj-wubj2)}(h h]h }(hjowhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj-wubj)}(hjh]h*}(hj}whhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-wubjI)}(hidmaph]hidmap}(hjwhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj-wubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj)wubjC)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hjwhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubj )}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubh)}(hhh]jI)}(hinodeh]hinode}(hjwhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNjj )}j ]jkwc.setattr_should_drop_sgidasbuh1hhjwubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubj)}(hjh]h*}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubjI)}(hinodeh]hinode}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj)wubeh}(h]h ]h"]h$]h&]j`jauh1j<hjvhhhjwhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjvhhhjwhKubah}(h]jvah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjwhKhjvhhubjw)}(hhh]h)}(h4determine whether the setgid bit needs to be removedh]h4determine whether the setgid bit needs to be removed}(hj?xhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjATTR_KILL_SGID if setgid bit needs to be removed, 0 otherwise.h]h>ATTR_KILL_SGID if setgid bit needs to be removed, 0 otherwise.}(hjCyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhj[xubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j (setattr_should_drop_suidgid (C function)c.setattr_should_drop_suidgidhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hNint setattr_should_drop_suidgid (struct mnt_idmap *idmap, struct inode *inode)h]j)}(hMint setattr_should_drop_suidgid(struct mnt_idmap *idmap, struct inode *inode)h](jf)}(hinth]hint}(hjryhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjnyhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chK1ubj2)}(h h]h }(hjyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjnyhhhjyhK1ubjC)}(hsetattr_should_drop_suidgidh]jI)}(hsetattr_should_drop_suidgidh]hsetattr_should_drop_suidgid}(hjyhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjyubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjnyhhhjyhK1ubj=)}(h.(struct mnt_idmap *idmap, struct inode *inode)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjyubj2)}(h h]h }(hjyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjyubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjyhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj )}j ]j)}jjysbc.setattr_should_drop_suidgidasbuh1hhjyubj2)}(h h]h }(hjyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjyubj)}(hjh]h*}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubjI)}(hidmaph]hidmap}(hjzhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjyubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjyubjC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj!zhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjzubj2)}(h h]h }(hj.zhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjzubh)}(hhh]jI)}(hinodeh]hinode}(hj?zhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjah"]h$]h&]uh1j1hjzubj)}(hjh]h*}(hjkzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubjI)}(hinodeh]hinode}(hjxzhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjyubeh}(h]h ]h"]h$]h&]j`jauh1j<hjnyhhhjyhK1ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjjyhhhjyhK1ubah}(h]jeyah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjyhK1hjgyhhubjw)}(hhh]h)}(h8determine whether the set{g,u}id bit needs to be droppedh]h8determine whether the set{g,u}id bit needs to be dropped}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chK1hjzhhubah}(h]h ]h"]h$]h&]uh1jvhjgyhhhjyhK1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1jhhhjHhNhNubj)}(hX(**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from ``struct inode *inode`` inode to check **Description** This function determines whether the set{g,u}id bits need to be removed. If the setuid bit needs to be removed ATTR_KILL_SUID is returned. If the setgid bit needs to be removed ATTR_KILL_SGID is returned. If both set{g,u}id bits need to be removed the corresponding mask of both flags is returned. **Return** A mask of ATTR_KILL_S{G,U}ID indicating which - if any - setid bits to remove, 0 otherwise.h](h)}(h**Parameters**h]j)}(hjzh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chK5hjzubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjzh]hstruct mnt_idmap *idmap}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chK3hjzubj)}(hhh]h)}(h+idmap of the mount **inode** was found fromh](hidmap of the mount }(hjzhhhNhNubj)}(h **inode**h]hinode}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh was found from}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjzhK3hjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhK3hjzubj)}(h'``struct inode *inode`` inode to check h](j)}(h``struct inode *inode``h]j)}(hj.{h]hstruct inode *inode}(hj0{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,{ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chK4hj({ubj)}(hhh]h)}(hinode to checkh]hinode to check}(hjG{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjC{hK4hjD{ubah}(h]h ]h"]h$]h&]uh1jhj({ubeh}(h]h ]h"]h$]h&]uh1jhjC{hK4hjzubeh}(h]h ]h"]h$]h&]uh1jhjzubh)}(h**Description**h]j)}(hji{h]h Description}(hjk{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg{ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chK6hjzubh)}(hX)This function determines whether the set{g,u}id bits need to be removed. If the setuid bit needs to be removed ATTR_KILL_SUID is returned. If the setgid bit needs to be removed ATTR_KILL_SGID is returned. If both set{g,u}id bits need to be removed the corresponding mask of both flags is returned.h]hX)This function determines whether the set{g,u}id bits need to be removed. If the setuid bit needs to be removed ATTR_KILL_SUID is returned. If the setgid bit needs to be removed ATTR_KILL_SGID is returned. If both set{g,u}id bits need to be removed the corresponding mask of both flags is returned.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chK5hjzubh)}(h **Return**h]j)}(hj{h]hReturn}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chK;hjzubh)}(h[A mask of ATTR_KILL_S{G,U}ID indicating which - if any - setid bits to remove, 0 otherwise.h]h[A mask of ATTR_KILL_S{G,U}ID indicating which - if any - setid bits to remove, 0 otherwise.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKah"]h$]h&]uh1j1hj{hhhj{hKubjC)}(hsetattr_prepareh]jI)}(hsetattr_prepareh]hsetattr_prepare}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj{ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj{hhhj{hKubj=)}(hD(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj|ubj2)}(h h]h }(hj|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|ubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hj0|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj-|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2|modnameN classnameNjj )}j ]j)}jj{sbc.setattr_prepareasbuh1hhj|ubj2)}(h h]h }(hjP|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|ubj)}(hjh]h*}(hj^|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubjI)}(hidmaph]hidmap}(hjk|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj |ubjC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj|ubj2)}(h h]h }(hj|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|ubh)}(hhh]jI)}(hdentryh]hdentry}(hj|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj )}j ]jL|c.setattr_prepareasbuh1hhj|ubj2)}(h h]h }(hj|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|ubj)}(hjh]h*}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubjI)}(hdentryh]hdentry}(hj|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj |ubjC)}(hstruct iattr *attrh](j )}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj|ubj2)}(h h]h }(hj}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|ubh)}(hhh]jI)}(hiattrh]hiattr}(hj}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj )}j ]jL|c.setattr_prepareasbuh1hhj|ubj2)}(h h]h }(hj0}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|ubj)}(hjh]h*}(hj>}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubjI)}(hattrh]hattr}(hjK}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj |ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj{hhhj{hKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj{hhhj{hKubah}(h]j{ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj{hKhj{hhubjw)}(hhh]h)}(h2check if attribute changes to a dentry are allowedh]h2check if attribute changes to a dentry are allowed}(hju}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjr}hhubah}(h]h ]h"]h$]h&]uh1jvhj{hhhj{hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}jj}jjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct dentry *dentry`` dentry to check ``struct iattr *attr`` attributes to change **Description** Check if we are allowed to change the attributes contained in **attr** in the given dentry. This includes the normal unix access permission checks, as well as checks for rlimits and others. The function also clears SGID bit from mode if user is not allowed to set it. Also file capabilities and IMA extended attributes are cleared if ATTR_KILL_PRIV is set. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**. Should be called as the first thing in ->setattr implementations, possibly after taking additional locks.h](h)}(h**Parameters**h]j)}(hj}h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhj}ubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj}h]hstruct mnt_idmap *idmap}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhj}ubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hKhj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hKhj}ubj)}(h*``struct dentry *dentry`` dentry to check h](j)}(h``struct dentry *dentry``h]j)}(hj}h]hstruct dentry *dentry}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhj}ubj)}(hhh]h)}(hdentry to checkh]hdentry to check}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hKhj~ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj~hKhj}ubj)}(h,``struct iattr *attr`` attributes to change h](j)}(h``struct iattr *attr``h]j)}(hj(~h]hstruct iattr *attr}(hj*~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&~ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhj"~ubj)}(hhh]h)}(hattributes to changeh]hattributes to change}(hjA~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=~hKhj>~ubah}(h]h ]h"]h$]h&]uh1jhj"~ubeh}(h]h ]h"]h$]h&]uh1jhj=~hKhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}ubh)}(h**Description**h]j)}(hjc~h]h Description}(hje~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja~ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhj}ubh)}(hXeCheck if we are allowed to change the attributes contained in **attr** in the given dentry. This includes the normal unix access permission checks, as well as checks for rlimits and others. The function also clears SGID bit from mode if user is not allowed to set it. Also file capabilities and IMA extended attributes are cleared if ATTR_KILL_PRIV is set.h](h>Check if we are allowed to change the attributes contained in }(hjy~hhhNhNubj)}(h**attr**h]hattr}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy~ubhX in the given dentry. This includes the normal unix access permission checks, as well as checks for rlimits and others. The function also clears SGID bit from mode if user is not allowed to set it. Also file capabilities and IMA extended attributes are cleared if ATTR_KILL_PRIV is set.}(hjy~hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhj}ubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hj~hhhNhNubj)}(h **idmap**h]hidmap}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubhB. This function will then take care to map the inode according to }(hj~hhhNhNubj)}(h **idmap**h]hidmap}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hj~hhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh.}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhj}ubh)}(hiShould be called as the first thing in ->setattr implementations, possibly after taking additional locks.h]hiShould be called as the first thing in ->setattr implementations, possibly after taking additional locks.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j inode_newsize_ok (C function)c.inode_newsize_okhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h?int inode_newsize_ok (const struct inode *inode, loff_t offset)h]j)}(h>int inode_newsize_ok(const struct inode *inode, loff_t offset)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj hhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj hhhjhKubjC)}(hinode_newsize_okh]jI)}(hinode_newsize_okh]hinode_newsize_ok}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj+ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj hhhjhKubj=)}(h*(const struct inode *inode, loff_t offset)h](jC)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hjKhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjGubj2)}(h h]h }(hjXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGubj )}(hjh]hstruct}(hjfhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjGubj2)}(h h]h }(hjshhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jj1sbc.inode_newsize_okasbuh1hhjGubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjCubjC)}(h loff_t offseth](h)}(hhh]jI)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.inode_newsize_okasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjCubeh}(h]h ]h"]h$]h&]j`jauh1j<hj hhhjhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhKubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhKhjhhubjw)}(hhh]h)}(h+may this inode be truncated to a given sizeh]h+may this inode be truncated to a given size}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhj.hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1jhhhjHhNhNubj)}(hX}**Parameters** ``const struct inode *inode`` the inode to be truncated ``loff_t offset`` the new size to assign to the inode **Description** inode_newsize_ok must be called with i_rwsem held exclusively. inode_newsize_ok will check filesystem limits and ulimits to check that the new inode size is within limits. inode_newsize_ok will also send SIGXFSZ when necessary. Caller must not proceed with inode size change if failure is returned. **inode** must be a file (not directory), with appropriate permissions to allow truncate (inode_newsize_ok does NOT check these conditions). **Return** 0 on success, -ve errno on failureh](h)}(h**Parameters**h]j)}(hjSh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjMubj)}(hhh](j)}(h8``const struct inode *inode`` the inode to be truncated h](j)}(h``const struct inode *inode``h]j)}(hjrh]hconst struct inode *inode}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjlubj)}(hhh]h)}(hthe inode to be truncatedh]hthe inode to be truncated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhKhjiubj)}(h6``loff_t offset`` the new size to assign to the inode h](j)}(h``loff_t offset``h]j)}(hjh]h loff_t offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjubj)}(hhh]h)}(h#the new size to assign to the inodeh]h#the new size to assign to the inode}(hjĀhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjiubeh}(h]h ]h"]h$]h&]uh1jhjMubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjMubh)}(h>inode_newsize_ok must be called with i_rwsem held exclusively.h]h>inode_newsize_ok must be called with i_rwsem held exclusively.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjMubh)}(hXxinode_newsize_ok will check filesystem limits and ulimits to check that the new inode size is within limits. inode_newsize_ok will also send SIGXFSZ when necessary. Caller must not proceed with inode size change if failure is returned. **inode** must be a file (not directory), with appropriate permissions to allow truncate (inode_newsize_ok does NOT check these conditions).h](hinode_newsize_ok will check filesystem limits and ulimits to check that the new inode size is within limits. inode_newsize_ok will also send SIGXFSZ when necessary. Caller must not proceed with inode size change if failure is returned. }(hj hhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh must be a file (not directory), with appropriate permissions to allow truncate (inode_newsize_ok does NOT check these conditions).}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjMubh)}(h **Return**h]j)}(hj.h]hReturn}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjMubh)}(h"0 on success, -ve errno on failureh]h"0 on success, -ve errno on failure}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjMubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j setattr_copy (C function)c.setattr_copyhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hZvoid setattr_copy (struct mnt_idmap *idmap, struct inode *inode, const struct iattr *attr)h]j)}(hYvoid setattr_copy(struct mnt_idmap *idmap, struct inode *inode, const struct iattr *attr)h](jf)}(hvoidh]hvoid}(hjshhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjohhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chM>ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjohhhjhM>ubjC)}(h setattr_copyh]jI)}(h setattr_copyh]h setattr_copy}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjohhhjhM>ubj=)}(hH(struct mnt_idmap *idmap, struct inode *inode, const struct iattr *attr)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hj΁hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjˁubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjЁmodnameN classnameNjj )}j ]j)}jjsbc.setattr_copyasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj"hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj/hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hj@hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNjj )}j ]jc.setattr_copyasbuh1hhjubj2)}(h h]h }(hj^hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjyhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst struct iattr *attrh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hiattrh]hiattr}(hj˂hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjȂubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj͂modnameN classnameNjj )}j ]jc.setattr_copyasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hattrh]hattr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjohhhjhM>ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjkhhhjhM>ubah}(h]jfah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM>hjhhhubjw)}(hhh]h)}(h3copy simple metadata updates into the generic inodeh]h3copy simple metadata updates into the generic inode}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chM>hj+hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhhjhM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct inode *inode`` the inode to be updated ``const struct iattr *attr`` the new attributes **Description** setattr_copy must be called with i_rwsem held exclusively. setattr_copy updates the inode's metadata with that specified in attr on idmapped mounts. Necessary permission checks to determine whether or not the S_ISGID property needs to be removed are performed with the correct idmapped mount permission helpers. Noticeably missing is inode size update, which is more complex as it requires pagecache updates. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**. The inode is not marked as dirty after this operation. The rationale is that for "simple" filesystems, the struct inode is the inode storage. The caller is free to mark the inode dirty afterwards if needed.h](h)}(h**Parameters**h]j)}(hjPh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMBhjJubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjoh]hstruct mnt_idmap *idmap}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chM?hjiubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjfubj)}(h0``struct inode *inode`` the inode to be updated h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chM@hjubj)}(hhh]h)}(hthe inode to be updatedh]hthe inode to be updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@hjfubj)}(h0``const struct iattr *attr`` the new attributes h](j)}(h``const struct iattr *attr``h]j)}(hjh]hconst struct iattr *attr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߃ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMAhjۃubj)}(hhh]h)}(hthe new attributesh]hthe new attributes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjۃubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjfubeh}(h]h ]h"]h$]h&]uh1jhjJubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMChjJubh)}(h:setattr_copy must be called with i_rwsem held exclusively.h]h:setattr_copy must be called with i_rwsem held exclusively.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMBhjJubh)}(hX]setattr_copy updates the inode's metadata with that specified in attr on idmapped mounts. Necessary permission checks to determine whether or not the S_ISGID property needs to be removed are performed with the correct idmapped mount permission helpers. Noticeably missing is inode size update, which is more complex as it requires pagecache updates.h]hX_setattr_copy updates the inode’s metadata with that specified in attr on idmapped mounts. Necessary permission checks to determine whether or not the S_ISGID property needs to be removed are performed with the correct idmapped mount permission helpers. Noticeably missing is inode size update, which is more complex as it requires pagecache updates.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMDhjJubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjPhhhNhNubj)}(h **idmap**h]hidmap}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubhB. This function will then take care to map the inode according to }(hjPhhhNhNubj)}(h **idmap**h]hidmap}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjPhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMKhjJubh)}(hThe inode is not marked as dirty after this operation. The rationale is that for "simple" filesystems, the struct inode is the inode storage. The caller is free to mark the inode dirty afterwards if needed.h]hThe inode is not marked as dirty after this operation. The rationale is that for “simple” filesystems, the struct inode is the inode storage. The caller is free to mark the inode dirty afterwards if needed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMQhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j notify_change (C function)c.notify_changehNtauh1hhjHhhhNhNubj)}(hhh](j)}(hint notify_change (struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr, struct delegated_inode *delegated_inode)h]j)}(h~int notify_change(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr, struct delegated_inode *delegated_inode)h](jf)}(hinth]hint}(hjĄhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMubj2)}(h h]h }(hjӄhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj҄hMubjC)}(h notify_changeh]jI)}(h notify_changeh]h notify_change}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj҄hMubj=)}(hm(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr, struct delegated_inode *delegated_inode)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNjj )}j ]j)}jjsbc.notify_changeasbuh1hhjubj2)}(h h]h }(hj?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjshhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjoubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjoubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j;c.notify_changeasbuh1hhjoubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjoubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubjI)}(hdentryh]hdentry}(hjʅhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct iattr *attrh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj߅ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj߅ubh)}(hhh]jI)}(hiattrh]hiattr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j;c.notify_changeasbuh1hhj߅ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj߅ubj)}(hjh]h*}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj߅ubjI)}(hattrh]hattr}(hj:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj߅ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h'struct delegated_inode *delegated_inodeh](j )}(hjh]hstruct}(hjShhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjOubj2)}(h h]h }(hj`hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjOubh)}(hhh]jI)}(hdelegated_inodeh]hdelegated_inode}(hjqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNjj )}j ]j;c.notify_changeasbuh1hhjOubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjOubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubjI)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjOubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhj҄hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj҄hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj҄hMhjhhubjw)}(hhh]h)}(h(modify attributes of a filesystem objecth]h(modify attributes of a filesystem object}(hjԆhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjцhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj҄hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct dentry *dentry`` object affected ``struct iattr *attr`` new attributes ``struct delegated_inode *delegated_inode`` returns inode, if the inode is delegated **Description** The caller must hold the i_rwsem exclusively on the affected object. If notify_change discovers a delegation in need of breaking, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop the i_rwsem before doing so. Alternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported. Also, passing NULL is fine for callers holding the file open for write, as there can be no conflicting delegation in that case. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj ubj)}(h*``struct dentry *dentry`` object affected h](j)}(h``struct dentry *dentry``h]j)}(hjNh]hstruct dentry *dentry}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjHubj)}(hhh]h)}(hobject affectedh]hobject affected}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhj ubj)}(h&``struct iattr *attr`` new attributes h](j)}(h``struct iattr *attr``h]j)}(hjh]hstruct iattr *attr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjubj)}(hhh]h)}(hnew attributesh]hnew attributes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(hU``struct delegated_inode *delegated_inode`` returns inode, if the inode is delegated h](j)}(h+``struct delegated_inode *delegated_inode``h]j)}(hjh]h'struct delegated_inode *delegated_inode}(hj‡hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjubj)}(hhh]h)}(h(returns inode, if the inode is delegatedh]h(returns inode, if the inode is delegated}(hjهhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjՇhMhjևubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjՇhMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjubh)}(hDThe caller must hold the i_rwsem exclusively on the affected object.h]hDThe caller must hold the i_rwsem exclusively on the affected object.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjubh)}(hX1If notify_change discovers a delegation in need of breaking, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop the i_rwsem before doing so.h]hX1If notify_change discovers a delegation in need of breaking, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop the i_rwsem before doing so.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjubh)}(hXAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported. Also, passing NULL is fine for callers holding the file open for write, as there can be no conflicting delegation in that case.h]hXAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported. Also, passing NULL is fine for callers holding the file open for write, as there can be no conflicting delegation in that case.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hj>hhhNhNubj)}(h **idmap**h]hidmap}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubhB. This function will then take care to map the inode according to }(hj>hhhNhNubj)}(h **idmap**h]hidmap}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hj>hhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh.}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_path (C function)c.d_pathhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h>char * d_path (const struct path *path, char *buf, int buflen)h]j)}(hah"]h$]h&]uh1j1hjhhhjhKubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhKubjC)}(hd_pathh]jI)}(hd_pathh]hd_path}(hjшhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj͈ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhKubj=)}(h0(const struct path *path, char *buf, int buflen)h](jC)}(hconst struct path *pathh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hpathh]hpath}(hj&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNjj )}j ]j)}jjӈsbc.d_pathasbuh1hhjubj2)}(h h]h }(hjFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hpathh]hpath}(hjahhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h char *bufh](jf)}(hcharh]hchar}(hjzhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjvubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjvubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubjI)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjvubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h int buflenh](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjʉhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hbuflenh]hbuflen}(hj؉hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhKubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhKhjhhubjw)}(hhh]h)}(hreturn the path of a dentryh]hreturn the path of a dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/d_path.chKhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hXK**Parameters** ``const struct path *path`` path to report ``char *buf`` buffer to return value in ``int buflen`` buffer length **Description** Convert a dentry into an ASCII path name. If the entry has been deleted the string " (deleted)" is appended. Note that this is ambiguous. Returns a pointer into the buffer or an error code if the path was too long. Note: Callers should use the returned pointer, not the passed in buffer, to use the name! The implementation often starts at an offset into the buffer, and may leave 0 bytes at the start. "buflen" should be positive.h](h)}(h**Parameters**h]j)}(hj$h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/d_path.chKhjubj)}(hhh](j)}(h+``const struct path *path`` path to report h](j)}(h``const struct path *path``h]j)}(hjCh]hconst struct path *path}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/d_path.chKhj=ubj)}(hhh]h)}(hpath to reporth]hpath to report}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhKhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhKhj:ubj)}(h(``char *buf`` buffer to return value in h](j)}(h ``char *buf``h]j)}(hj|h]h char *buf}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/d_path.chKhjvubj)}(hhh]h)}(hbuffer to return value inh]hbuffer to return value in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhKhj:ubj)}(h``int buflen`` buffer length h](j)}(h``int buflen``h]j)}(hjh]h int buflen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/d_path.chKhjubj)}(hhh]h)}(h buffer lengthh]h buffer length}(hjΊhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjʊhKhjˊubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjʊhKhj:ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/d_path.chKhjubh)}(hConvert a dentry into an ASCII path name. If the entry has been deleted the string " (deleted)" is appended. Note that this is ambiguous.h]hConvert a dentry into an ASCII path name. If the entry has been deleted the string “ (deleted)” is appended. Note that this is ambiguous.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/d_path.chKhjubh)}(hXReturns a pointer into the buffer or an error code if the path was too long. Note: Callers should use the returned pointer, not the passed in buffer, to use the name! The implementation often starts at an offset into the buffer, and may leave 0 bytes at the start.h]hXReturns a pointer into the buffer or an error code if the path was too long. Note: Callers should use the returned pointer, not the passed in buffer, to use the name! The implementation often starts at an offset into the buffer, and may leave 0 bytes at the start.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/d_path.chMhjubh)}(h"buflen" should be positive.h]h “buflen” should be positive.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/d_path.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "dax_folio_reset_order (C function)c.dax_folio_reset_orderhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h/int dax_folio_reset_order (struct folio *folio)h]j)}(h.int dax_folio_reset_order(struct folio *folio)h](jf)}(hinth]hint}(hjShhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjOhhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM}ubj2)}(h h]h }(hjbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjOhhhjahM}ubjC)}(hdax_folio_reset_orderh]jI)}(hdax_folio_reset_orderh]hdax_folio_reset_order}(hjthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjOhhhjahM}ubj=)}(h(struct folio *folio)h]jC)}(hstruct folio *folioh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hfolioh]hfolio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjvsbc.dax_folio_reset_orderasbuh1hhjubj2)}(h h]h }(hj΋hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj܋hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfolioh]hfolio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjOhhhjahM}ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjKhhhjahM}ubah}(h]jFah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjahM}hjHhhubjw)}(hhh]h)}(h+Reset a compound DAX folio to order-0 pagesh]h+Reset a compound DAX folio to order-0 pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM}hjhhubah}(h]h ]h"]h$]h&]uh1jvhjHhhhjahM}ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1jhhhjHhNhNubj)}(h**Parameters** ``struct folio *folio`` The folio to reset **Description** Splits a compound folio back into individual order-0 pages, clearing compound state and restoring pgmap pointers. **Return** the original folio order (0 if already order-0)h](h)}(h**Parameters**h]j)}(hj5h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhj/ubj)}(hhh]j)}(h+``struct folio *folio`` The folio to reset h](j)}(h``struct folio *folio``h]j)}(hjTh]hstruct folio *folio}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM~hjNubj)}(hhh]h)}(hThe folio to reseth]hThe folio to reset}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihM~hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihM~hjKubah}(h]h ]h"]h$]h&]uh1jhj/ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhj/ubh)}(hqSplits a compound folio back into individual order-0 pages, clearing compound state and restoring pgmap pointers.h]hqSplits a compound folio back into individual order-0 pages, clearing compound state and restoring pgmap pointers.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhj/ubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhj/ubh)}(h/the original folio order (0 if already order-0)h]h/the original folio order (0 if already order-0)}(hǰhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j 'dax_layout_busy_page_range (C function)c.dax_layout_busy_page_rangehNtauh1hhjHhhhNhNubj)}(hhh](j)}(hbstruct page * dax_layout_busy_page_range (struct address_space *mapping, loff_t start, loff_t end)h]j)}(h`struct page *dax_layout_busy_page_range(struct address_space *mapping, loff_t start, loff_t end)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubh)}(hhh]jI)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jdax_layout_busy_page_rangesbc.dax_layout_busy_page_rangeasbuh1hhjhhhjhMubj2)}(h h]h }(hj;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(hdax_layout_busy_page_rangeh]jI)}(hj8h]hdax_layout_busy_page_range}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h9(struct address_space *mapping, loff_t start, loff_t end)h](jC)}(hstruct address_space *mappingh](j )}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjqubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubh)}(hhh]jI)}(h address_spaceh]h address_space}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j6c.dax_layout_busy_page_rangeasbuh1hhjqubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubjI)}(hmappingh]hmapping}(hj̍hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjmubjC)}(h loff_t starth](h)}(hhh]jI)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j6c.dax_layout_busy_page_rangeasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hstarth]hstart}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjmubjC)}(h loff_t endh](h)}(hhh]jI)}(hloff_th]hloff_t}(hj0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj )}j ]j6c.dax_layout_busy_page_rangeasbuh1hhj)ubj2)}(h h]h }(hjNhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj)ubjI)}(hendh]hend}(hj\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjmubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h%find first pinned page in **mapping**h](hfind first pinned page in }(hjhhhNhNubj)}(h **mapping**h]hmapping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hXN**Parameters** ``struct address_space *mapping`` address space to scan for a page with ref count > 1 ``loff_t start`` Starting offset. Page containing 'start' is included. ``loff_t end`` End offset. Page containing 'end' is included. If 'end' is LLONG_MAX, pages from 'start' till the end of file are included. **Description** DAX requires ZONE_DEVICE mapped pages. These pages are never 'onlined' to the page allocator so they are considered idle when page->count == 1. A filesystem uses this interface to determine if any page in the mapping is busy, i.e. for DMA, or other get_user_pages() usages. It is expected that the filesystem is holding locks to block the establishment of new mappings in this address_space. I.e. it expects to be able to run unmap_mapping_range() and subsequently not race mapping_mapped() becoming true.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM hjubj)}(hhh](j)}(hV``struct address_space *mapping`` address space to scan for a page with ref count > 1 h](j)}(h!``struct address_space *mapping``h]j)}(hjՎh]hstruct address_space *mapping}(hj׎hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӎubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjώubj)}(hhh]h)}(h3address space to scan for a page with ref count > 1h]h3address space to scan for a page with ref count > 1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjώubeh}(h]h ]h"]h$]h&]uh1jhjhMhj̎ubj)}(hG``loff_t start`` Starting offset. Page containing 'start' is included. h](j)}(h``loff_t start``h]j)}(hjh]h loff_t start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjubj)}(hhh]h)}(h5Starting offset. Page containing 'start' is included.h]h9Starting offset. Page containing ‘start’ is included.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMhj̎ubj)}(h``loff_t end`` End offset. Page containing 'end' is included. If 'end' is LLONG_MAX, pages from 'start' till the end of file are included. h](j)}(h``loff_t end``h]j)}(hjGh]h loff_t end}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM hjAubj)}(hhh]h)}(h{End offset. Page containing 'end' is included. If 'end' is LLONG_MAX, pages from 'start' till the end of file are included.h]hEnd offset. Page containing ‘end’ is included. If ‘end’ is LLONG_MAX, pages from ‘start’ till the end of file are included.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM hj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hM hj̎ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM hjubh)}(hXDAX requires ZONE_DEVICE mapped pages. These pages are never 'onlined' to the page allocator so they are considered idle when page->count == 1. A filesystem uses this interface to determine if any page in the mapping is busy, i.e. for DMA, or other get_user_pages() usages.h]hXDAX requires ZONE_DEVICE mapped pages. These pages are never ‘onlined’ to the page allocator so they are considered idle when page->count == 1. A filesystem uses this interface to determine if any page in the mapping is busy, i.e. for DMA, or other get_user_pages() usages.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM hjubh)}(hIt is expected that the filesystem is holding locks to block the establishment of new mappings in this address_space. I.e. it expects to be able to run unmap_mapping_range() and subsequently not race mapping_mapped() becoming true.h]hIt is expected that the filesystem is holding locks to block the establishment of new mappings in this address_space. I.e. it expects to be able to run unmap_mapping_range() and subsequently not race mapping_mapped() becoming true.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j dax_iomap_rw (C function)c.dax_iomap_rwhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h]ssize_t dax_iomap_rw (struct kiocb *iocb, struct iov_iter *iter, const struct iomap_ops *ops)h]j)}(h\ssize_t dax_iomap_rw(struct kiocb *iocb, struct iov_iter *iter, const struct iomap_ops *ops)h](h)}(hhh]jI)}(hssize_th]hssize_t}(hjڏhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj׏ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj܏modnameN classnameNjj )}j ]j)}j dax_iomap_rwsbc.dax_iomap_rwasbuh1hhjӏhhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjӏhhhjhMubjC)}(h dax_iomap_rwh]jI)}(hjh]h dax_iomap_rw}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjӏhhhjhMubj=)}(hH(struct kiocb *iocb, struct iov_iter *iter, const struct iomap_ops *ops)h](jC)}(hstruct kiocb *iocbh](j )}(hjh]hstruct}(hj)hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj%ubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%ubh)}(hhh]jI)}(hkiocbh]hkiocb}(hjGhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNjj )}j ]jc.dax_iomap_rwasbuh1hhj%ubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%ubj)}(hjh]h*}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubjI)}(hiocbh]hiocb}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj!ubjC)}(hstruct iov_iter *iterh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hiov_iterh]hiov_iter}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.dax_iomap_rwasbuh1hhjubj2)}(h h]h }(hjՐhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hiterh]hiter}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj!ubjC)}(hconst struct iomap_ops *opsh](j )}(hjh]hconst}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hj$hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h iomap_opsh]h iomap_ops}(hjBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNjj )}j ]jc.dax_iomap_rwasbuh1hhjubj2)}(h h]h }(hj`hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hopsh]hops}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj!ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjӏhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjϏhhhjhMubah}(h]jʏah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhj̏hhubjw)}(hhh]h)}(hPerform I/O to a DAX fileh]hPerform I/O to a DAX file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhj̏hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct kiocb *iocb`` The control block for this I/O ``struct iov_iter *iter`` The addresses to do I/O from or to ``const struct iomap_ops *ops`` iomap ops passed from the file system **Description** This function performs read and write operations to directly mapped persistent memory. The callers needs to take care of read/write exclusion and evicting any page cache pages in the region under I/O.h](h)}(h**Parameters**h]j)}(hjǑh]h Parameters}(hjɑhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjőubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjubj)}(hhh](j)}(h6``struct kiocb *iocb`` The control block for this I/O h](j)}(h``struct kiocb *iocb``h]j)}(hjh]hstruct kiocb *iocb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjubj)}(hhh]h)}(hThe control block for this I/Oh]hThe control block for this I/O}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjݑubj)}(h=``struct iov_iter *iter`` The addresses to do I/O from or to h](j)}(h``struct iov_iter *iter``h]j)}(hjh]hstruct iov_iter *iter}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjubj)}(hhh]h)}(h"The addresses to do I/O from or toh]h"The addresses to do I/O from or to}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjݑubj)}(hF``const struct iomap_ops *ops`` iomap ops passed from the file system h](j)}(h``const struct iomap_ops *ops``h]j)}(hjXh]hconst struct iomap_ops *ops}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjRubj)}(hhh]h)}(h%iomap ops passed from the file systemh]h%iomap ops passed from the file system}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjݑubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjubh)}(hThis function performs read and write operations to directly mapped persistent memory. The callers needs to take care of read/write exclusion and evicting any page cache pages in the region under I/O.h]hThis function performs read and write operations to directly mapped persistent memory. The callers needs to take care of read/write exclusion and evicting any page cache pages in the region under I/O.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j dax_iomap_fault (C function)c.dax_iomap_faulthNtauh1hhjHhhhNhNubj)}(hhh](j)}(hvm_fault_t dax_iomap_fault (struct vm_fault *vmf, unsigned int order, unsigned long *pfnp, int *iomap_errp, const struct iomap_ops *ops)h]j)}(hvm_fault_t dax_iomap_fault(struct vm_fault *vmf, unsigned int order, unsigned long *pfnp, int *iomap_errp, const struct iomap_ops *ops)h](h)}(hhh]jI)}(h vm_fault_th]h vm_fault_t}(hjےhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjؒubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjݒmodnameN classnameNjj )}j ]j)}jdax_iomap_faultsbc.dax_iomap_faultasbuh1hhjԒhhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM0ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjԒhhhjhM0ubjC)}(hdax_iomap_faulth]jI)}(hjh]hdax_iomap_fault}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjԒhhhjhM0ubj=)}(hm(struct vm_fault *vmf, unsigned int order, unsigned long *pfnp, int *iomap_errp, const struct iomap_ops *ops)h](jC)}(hstruct vm_fault *vmfh](j )}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj&ubj2)}(h h]h }(hj7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&ubh)}(hhh]jI)}(hvm_faulth]hvm_fault}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj )}j ]jc.dax_iomap_faultasbuh1hhj&ubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&ubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubjI)}(hvmfh]hvmf}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj"ubjC)}(hunsigned int orderh](jf)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjēhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(horderh]horder}(hjғhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj"ubjC)}(hunsigned long *pfnph](jf)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hpfnph]hpfnp}(hj0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj"ubjC)}(hint *iomap_errph](jf)}(hinth]hint}(hjIhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjEubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjEubj)}(hjh]h*}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubjI)}(h iomap_errph]h iomap_errp}(hjrhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj"ubjC)}(hconst struct iomap_ops *opsh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h iomap_opsh]h iomap_ops}(hjĔhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjƔmodnameN classnameNjj )}j ]jc.dax_iomap_faultasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hopsh]hops}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj"ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjԒhhhjhM0ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjВhhhjhM0ubah}(h]j˒ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM0hj͒hhubjw)}(hhh]h)}(h!handle a page fault on a DAX fileh]h!handle a page fault on a DAX file}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM0hj$hhubah}(h]h ]h"]h$]h&]uh1jvhj͒hhhjhM0ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1jhhhjHhNhNubj)}(hXH**Parameters** ``struct vm_fault *vmf`` The description of the fault ``unsigned int order`` Order of the page to fault in ``unsigned long *pfnp`` PFN to insert for synchronous faults if fsync is required ``int *iomap_errp`` Storage for detailed error code in case of error ``const struct iomap_ops *ops`` Iomap ops passed from the file system **Description** When a page fault occurs, filesystems may call this helper in their fault handler for DAX files. dax_iomap_fault() assumes the caller has done all the necessary locking for page fault to proceed successfully.h](h)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM4hjCubj)}(hhh](j)}(h6``struct vm_fault *vmf`` The description of the fault h](j)}(h``struct vm_fault *vmf``h]j)}(hjhh]hstruct vm_fault *vmf}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM1hjbubj)}(hhh]h)}(hThe description of the faulth]hThe description of the fault}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hM1hj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hM1hj_ubj)}(h5``unsigned int order`` Order of the page to fault in h](j)}(h``unsigned int order``h]j)}(hjh]hunsigned int order}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM2hjubj)}(hhh]h)}(hOrder of the page to fault inh]hOrder of the page to fault in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hj_ubj)}(hR``unsigned long *pfnp`` PFN to insert for synchronous faults if fsync is required h](j)}(h``unsigned long *pfnp``h]j)}(hjڕh]hunsigned long *pfnp}(hjܕhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjؕubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM3hjԕubj)}(hhh]h)}(h9PFN to insert for synchronous faults if fsync is requiredh]h9PFN to insert for synchronous faults if fsync is required}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjԕubeh}(h]h ]h"]h$]h&]uh1jhjhM3hj_ubj)}(hE``int *iomap_errp`` Storage for detailed error code in case of error h](j)}(h``int *iomap_errp``h]j)}(hjh]hint *iomap_errp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM4hj ubj)}(hhh]h)}(h0Storage for detailed error code in case of errorh]h0Storage for detailed error code in case of error}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hM4hj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hM4hj_ubj)}(hF``const struct iomap_ops *ops`` Iomap ops passed from the file system h](j)}(h``const struct iomap_ops *ops``h]j)}(hjLh]hconst struct iomap_ops *ops}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM5hjFubj)}(hhh]h)}(h%Iomap ops passed from the file systemh]h%Iomap ops passed from the file system}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahM5hjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahM5hj_ubeh}(h]h ]h"]h$]h&]uh1jhjCubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM7hjCubh)}(hWhen a page fault occurs, filesystems may call this helper in their fault handler for DAX files. dax_iomap_fault() assumes the caller has done all the necessary locking for page fault to proceed successfully.h]hWhen a page fault occurs, filesystems may call this helper in their fault handler for DAX files. dax_iomap_fault() assumes the caller has done all the necessary locking for page fault to proceed successfully.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM6hjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "dax_finish_sync_fault (C function)c.dax_finish_sync_faulthNtauh1hhjHhhhNhNubj)}(hhh](j)}(h^vm_fault_t dax_finish_sync_fault (struct vm_fault *vmf, unsigned int order, unsigned long pfn)h]j)}(h]vm_fault_t dax_finish_sync_fault(struct vm_fault *vmf, unsigned int order, unsigned long pfn)h](h)}(hhh]jI)}(h vm_fault_th]h vm_fault_t}(hjϖhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj̖ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjіmodnameN classnameNjj )}j ]j)}jdax_finish_sync_faultsbc.dax_finish_sync_faultasbuh1hhjȖhhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMzubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjȖhhhjhMzubjC)}(hdax_finish_sync_faulth]jI)}(hjh]hdax_finish_sync_fault}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjȖhhhjhMzubj=)}(h=(struct vm_fault *vmf, unsigned int order, unsigned long pfn)h](jC)}(hstruct vm_fault *vmfh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hvm_faulth]hvm_fault}(hj<hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNjj )}j ]jc.dax_finish_sync_faultasbuh1hhjubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hvmfh]hvmf}(hjuhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hunsigned int orderh](jf)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(horderh]horder}(hjƗhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hunsigned long pfnh](jf)}(hunsignedh]hunsigned}(hjߗhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjۗubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjۗubjf)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjۗubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjۗubjI)}(hpfnh]hpfn}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjۗubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjȖhhhjhMzubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjĖhhhjhMzubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMzhjhhubjw)}(hhh]h)}(hfinish synchronous page faulth]hfinish synchronous page fault}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMzhj>hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMzubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1jhhhjHhNhNubj)}(hXW**Parameters** ``struct vm_fault *vmf`` The description of the fault ``unsigned int order`` Order of entry to be inserted ``unsigned long pfn`` PFN to insert **Description** This function ensures that the file range touched by the page fault is stored persistently on the media and handles inserting of appropriate page table entry.h](h)}(h**Parameters**h]j)}(hjch]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM~hj]ubj)}(hhh](j)}(h6``struct vm_fault *vmf`` The description of the fault h](j)}(h``struct vm_fault *vmf``h]j)}(hjh]hstruct vm_fault *vmf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM{hj|ubj)}(hhh]h)}(hThe description of the faulth]hThe description of the fault}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM{hjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhM{hjyubj)}(h5``unsigned int order`` Order of entry to be inserted h](j)}(h``unsigned int order``h]j)}(hjh]hunsigned int order}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM|hjubj)}(hhh]h)}(hOrder of entry to be insertedh]hOrder of entry to be inserted}(hjԘhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjИhM|hjјubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjИhM|hjyubj)}(h$``unsigned long pfn`` PFN to insert h](j)}(h``unsigned long pfn``h]j)}(hjh]hunsigned long pfn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM}hjubj)}(hhh]h)}(h PFN to inserth]h PFN to insert}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM}hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM}hjyubeh}(h]h ]h"]h$]h&]uh1jhj]ubh)}(h**Description**h]j)}(hj/h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhj]ubh)}(hThis function ensures that the file range touched by the page fault is stored persistently on the media and handles inserting of appropriate page table entry.h]hThis function ensures that the file range touched by the page fault is stored persistently on the media and handles inserting of appropriate page table entry.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM~hj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $simple_rename_timestamp (C function)c.simple_rename_timestamphNtauh1hhjHhhhNhNubj)}(hhh](j)}(hvoid simple_rename_timestamp (struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry)h]j)}(hvoid simple_rename_timestamp(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry)h](jf)}(hvoidh]hvoid}(hjthhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjphhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM9ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjphhhjhM9ubjC)}(hsimple_rename_timestamph]jI)}(hsimple_rename_timestamph]hsimple_rename_timestamp}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjphhhjhM9ubj=)}(hd(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry)h](jC)}(hstruct inode *old_dirh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjϙhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj̙ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjљmodnameN classnameNjj )}j ]j)}jjsbc.simple_rename_timestampasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hold_dirh]hold_dir}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *old_dentryh](j )}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj )}j ]jc.simple_rename_timestampasbuh1hhjubj2)}(h h]h }(hj_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(h old_dentryh]h old_dentry}(hjzhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct inode *new_dirh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.simple_rename_timestampasbuh1hhjubj2)}(h h]h }(hjϚhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjݚhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnew_dirh]hnew_dir}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *new_dentryh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNjj )}j ]jc.simple_rename_timestampasbuh1hhjubj2)}(h h]h }(hj?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(h new_dentryh]h new_dentry}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjphhhjhM9ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjlhhhjhM9ubah}(h]jgah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM9hjihhubjw)}(hhh]h)}(h.update the various inode timestamps for renameh]h.update the various inode timestamps for rename}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM9hjhhubah}(h]h ]h"]h$]h&]uh1jvhjihhhjhM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct inode *old_dir`` old parent directory ``struct dentry *old_dentry`` dentry that is being renamed ``struct inode *new_dir`` new parent directory ``struct dentry *new_dentry`` target for rename **Description** POSIX mandates that the old and new parent directories have their ctime and mtime updated, and that inodes of **old_dentry** and **new_dentry** (if any), have their ctime updated.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM=hjubj)}(hhh](j)}(h/``struct inode *old_dir`` old parent directory h](j)}(h``struct inode *old_dir``h]j)}(hjśh]hstruct inode *old_dir}(hjǛhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjÛubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM:hjubj)}(hhh]h)}(hold parent directoryh]hold parent directory}(hjޛhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjڛhM:hjۛubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjڛhM:hjubj)}(h;``struct dentry *old_dentry`` dentry that is being renamed h](j)}(h``struct dentry *old_dentry``h]j)}(hjh]hstruct dentry *old_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM;hjubj)}(hhh]h)}(hdentry that is being renamedh]hdentry that is being renamed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjubj)}(h/``struct inode *new_dir`` new parent directory h](j)}(h``struct inode *new_dir``h]j)}(hj7h]hstruct inode *new_dir}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM<hj1ubj)}(hhh]h)}(hnew parent directoryh]hnew parent directory}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhM<hjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhM<hjubj)}(h0``struct dentry *new_dentry`` target for rename h](j)}(h``struct dentry *new_dentry``h]j)}(hjph]hstruct dentry *new_dentry}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM=hjjubj)}(hhh]h)}(htarget for renameh]htarget for rename}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM?hjubh)}(hPOSIX mandates that the old and new parent directories have their ctime and mtime updated, and that inodes of **old_dentry** and **new_dentry** (if any), have their ctime updated.h](hnPOSIX mandates that the old and new parent directories have their ctime and mtime updated, and that inodes of }(hjhhhNhNubj)}(h**old_dentry**h]h old_dentry}(hjɜhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**new_dentry**h]h new_dentry}(hjۜhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh$ (if any), have their ctime updated.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM>hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j simple_setattr (C function)c.simple_setattrhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hXint simple_setattr (struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *iattr)h]j)}(hWint simple_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *iattr)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj2)}(h h]h }(hj#hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj"hMubjC)}(hsimple_setattrh]jI)}(hsimple_setattrh]hsimple_setattr}(hj5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj"hMubj=)}(hE(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *iattr)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjMubj2)}(h h]h }(hj^hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjMubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj )}j ]j)}jj7sbc.simple_setattrasbuh1hhjMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubjI)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjIubjC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjÝhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjНhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjޝubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.simple_setattrasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjIubjC)}(hstruct iattr *iattrh](j )}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj/ubj2)}(h h]h }(hj@hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/ubh)}(hhh]jI)}(hiattrh]hiattr}(hjQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj )}j ]jc.simple_setattrasbuh1hhj/ubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/ubj)}(hjh]h*}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubjI)}(hiattrh]hiattr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjIubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhj"hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj hhhj"hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj"hMhj hhubjw)}(hhh]h)}(hsetattr for simple filesystemh]hsetattr for simple filesystem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhj hhhj"hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj̞jj̞jjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the target mount ``struct dentry *dentry`` dentry ``struct iattr *iattr`` iattr structure **Description** Returns 0 on success, -error on failure. simple_setattr is a simple ->setattr implementation without a proper implementation of size changes. It can either be used for in-memory filesystems or special files on simple regular filesystems. Anything that needs to change on-disk or wire state on size changes needs its own setattr method.h](h)}(h**Parameters**h]j)}(hj֞h]h Parameters}(hj؞hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԞubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjОubj)}(hhh](j)}(h6``struct mnt_idmap *idmap`` idmap of the target mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(hidmap of the target mounth]hidmap of the target mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h!``struct dentry *dentry`` dentry h](j)}(h``struct dentry *dentry``h]j)}(hj.h]hstruct dentry *dentry}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj(ubj)}(hhh]h)}(hdentryh]hdentry}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhjubj)}(h(``struct iattr *iattr`` iattr structure h](j)}(h``struct iattr *iattr``h]j)}(hjgh]hstruct iattr *iattr}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjaubj)}(hhh]h)}(hiattr structureh]hiattr structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhjubeh}(h]h ]h"]h$]h&]uh1jhjОubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjОubh)}(h(Returns 0 on success, -error on failure.h]h(Returns 0 on success, -error on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjОubh)}(hdsimple_setattr is a simple ->setattr implementation without a proper implementation of size changes.h]hdsimple_setattr is a simple ->setattr implementation without a proper implementation of size changes.}(hjǟhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjОubh)}(hIt can either be used for in-memory filesystems or special files on simple regular filesystems. Anything that needs to change on-disk or wire state on size changes needs its own setattr method.h]hIt can either be used for in-memory filesystems or special files on simple regular filesystems. Anything that needs to change on-disk or wire state on size changes needs its own setattr method.}(hj֟hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjОubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $simple_read_from_buffer (C function)c.simple_read_from_bufferhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hqssize_t simple_read_from_buffer (void __user *to, size_t count, loff_t *ppos, const void *from, size_t available)h]j)}(hpssize_t simple_read_from_buffer(void __user *to, size_t count, loff_t *ppos, const void *from, size_t available)h](h)}(hhh]jI)}(hssize_th]hssize_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]j)}jsimple_read_from_buffersbc.simple_read_from_bufferasbuh1hhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMjubj2)}(h h]h }(hj*hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj)hMjubjC)}(hsimple_read_from_bufferh]jI)}(hj&h]hsimple_read_from_buffer}(hj<hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj)hMjubj=)}(hQ(void __user *to, size_t count, loff_t *ppos, const void *from, size_t available)h](jC)}(hvoid __user *toh](jf)}(hvoidh]hvoid}(hjWhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjSubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjSubh__user}(hjShhhNhNubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjSubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubjI)}(htoh]hto}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjOubjC)}(h size_t counth](h)}(hhh]jI)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j$c.simple_read_from_bufferasbuh1hhjubj2)}(h h]h }(hj̠hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hcounth]hcount}(hjڠhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjOubjC)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j$c.simple_read_from_bufferasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hpposh]hppos}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjOubjC)}(hconst void *fromh](j )}(hjh]hconst}(hjHhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjDubj2)}(h h]h }(hjUhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjDubjf)}(hvoidh]hvoid}(hjchhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjDubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjDubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubjI)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjDubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjOubjC)}(hsize_t availableh](h)}(hhh]jI)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j$c.simple_read_from_bufferasbuh1hhjubj2)}(h h]h }(hjơhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(h availableh]h available}(hjԡhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjOubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhj)hMjubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj)hMjubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj)hMjhjhhubjw)}(hhh]h)}(h'copy data from the buffer to user spaceh]h'copy data from the buffer to user space}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMjhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj)hMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hXS**Parameters** ``void __user *to`` the user space buffer to read to ``size_t count`` the maximum number of bytes to read ``loff_t *ppos`` the current position in the buffer ``const void *from`` the buffer to read from ``size_t available`` the size of the buffer **Description** The simple_read_from_buffer() function reads up to **count** bytes from the buffer **from** at offset **ppos** into the user space address starting at **to**. On success, the number of bytes read is returned and the offset **ppos** is advanced by this number, or negative value is returned on error.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMnhjubj)}(hhh](j)}(h5``void __user *to`` the user space buffer to read to h](j)}(h``void __user *to``h]j)}(hj?h]hvoid __user *to}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMkhj9ubj)}(hhh]h)}(h the user space buffer to read toh]h the user space buffer to read to}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMkhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMkhj6ubj)}(h5``size_t count`` the maximum number of bytes to read h](j)}(h``size_t count``h]j)}(hjxh]h size_t count}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMlhjrubj)}(hhh]h)}(h#the maximum number of bytes to readh]h#the maximum number of bytes to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMlhj6ubj)}(h4``loff_t *ppos`` the current position in the buffer h](j)}(h``loff_t *ppos``h]j)}(hjh]h loff_t *ppos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMmhjubj)}(hhh]h)}(h"the current position in the bufferh]h"the current position in the buffer}(hjʢhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjƢhMmhjǢubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjƢhMmhj6ubj)}(h-``const void *from`` the buffer to read from h](j)}(h``const void *from``h]j)}(hjh]hconst void *from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMnhjubj)}(hhh]h)}(hthe buffer to read fromh]hthe buffer to read from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhj6ubj)}(h,``size_t available`` the size of the buffer h](j)}(h``size_t available``h]j)}(hj#h]hsize_t available}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMohjubj)}(hhh]h)}(hthe size of the bufferh]hthe size of the buffer}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hMohj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMohj6ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj^h]h Description}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMqhjubh)}(hThe simple_read_from_buffer() function reads up to **count** bytes from the buffer **from** at offset **ppos** into the user space address starting at **to**.h](h3The simple_read_from_buffer() function reads up to }(hjthhhNhNubj)}(h **count**h]hcount}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh bytes from the buffer }(hjthhhNhNubj)}(h**from**h]hfrom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh at offset }(hjthhhNhNubj)}(h**ppos**h]hppos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh) into the user space address starting at }(hjthhhNhNubj)}(h**to**h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh.}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMphjubh)}(hOn success, the number of bytes read is returned and the offset **ppos** is advanced by this number, or negative value is returned on error.h](h@On success, the number of bytes read is returned and the offset }(hjˣhhhNhNubj)}(h**ppos**h]hppos}(hjӣhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjˣubhD is advanced by this number, or negative value is returned on error.}(hjˣhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMshjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j #simple_write_to_buffer (C function)c.simple_write_to_bufferhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hpssize_t simple_write_to_buffer (void *to, size_t available, loff_t *ppos, const void __user *from, size_t count)h]j)}(hossize_t simple_write_to_buffer(void *to, size_t available, loff_t *ppos, const void __user *from, size_t count)h](h)}(hhh]jI)}(hssize_th]hssize_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jsimple_write_to_buffersbc.simple_write_to_bufferasbuh1hhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj2)}(h h]h }(hj1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj0hMubjC)}(hsimple_write_to_bufferh]jI)}(hj-h]hsimple_write_to_buffer}(hjChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj?ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj0hMubj=)}(hQ(void *to, size_t available, loff_t *ppos, const void __user *from, size_t count)h](jC)}(hvoid *toh](jf)}(hvoidh]hvoid}(hj^hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjZubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjZubj)}(hjh]h*}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubjI)}(htoh]hto}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjZubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjVubjC)}(hsize_t availableh](h)}(hhh]jI)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j+c.simple_write_to_bufferasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(h availableh]h available}(hjϤhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjVubjC)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j+c.simple_write_to_bufferasbuh1hhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hpposh]hppos}(hj$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjVubjC)}(hconst void __user *fromh](j )}(hjh]hconst}(hj=hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj9ubj2)}(h h]h }(hjJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9ubjf)}(hvoidh]hvoid}(hjXhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj9ubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9ubh__user}(hj9hhhNhNubj2)}(h h]h }(hjxhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubjI)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj9ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjVubjC)}(h size_t counth](h)}(hhh]jI)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j+c.simple_write_to_bufferasbuh1hhjubj2)}(h h]h }(hjͥhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hcounth]hcount}(hjۥhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjVubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhj0hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj0hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj0hMhjhhubjw)}(hhh]h)}(h'copy data from user space to the bufferh]h'copy data from user space to the buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj0hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hXV**Parameters** ``void *to`` the buffer to write to ``size_t available`` the size of the buffer ``loff_t *ppos`` the current position in the buffer ``const void __user *from`` the user space buffer to read from ``size_t count`` the maximum number of bytes to read **Description** The simple_write_to_buffer() function reads up to **count** bytes from the user space address starting at **from** into the buffer **to** at offset **ppos**. On success, the number of bytes written is returned and the offset **ppos** is advanced by this number, or negative value is returned on error.h](h)}(h**Parameters**h]j)}(hj'h]h Parameters}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj!ubj)}(hhh](j)}(h$``void *to`` the buffer to write to h](j)}(h ``void *to``h]j)}(hjFh]hvoid *to}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj@ubj)}(hhh]h)}(hthe buffer to write toh]hthe buffer to write to}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhj=ubj)}(h,``size_t available`` the size of the buffer h](j)}(h``size_t available``h]j)}(hjh]hsize_t available}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjyubj)}(hhh]h)}(hthe size of the bufferh]hthe size of the buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhj=ubj)}(h4``loff_t *ppos`` the current position in the buffer h](j)}(h``loff_t *ppos``h]j)}(hjh]h loff_t *ppos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(h"the current position in the bufferh]h"the current position in the buffer}(hjѦhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjͦhMhjΦubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjͦhMhj=ubj)}(h?``const void __user *from`` the user space buffer to read from h](j)}(h``const void __user *from``h]j)}(hjh]hconst void __user *from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(h"the user space buffer to read fromh]h"the user space buffer to read from}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj=ubj)}(h5``size_t count`` the maximum number of bytes to read h](j)}(h``size_t count``h]j)}(hj*h]h size_t count}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj$ubj)}(hhh]h)}(h#the maximum number of bytes to readh]h#the maximum number of bytes to read}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhj=ubeh}(h]h ]h"]h$]h&]uh1jhj!ubh)}(h**Description**h]j)}(hjeh]h Description}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj!ubh)}(hThe simple_write_to_buffer() function reads up to **count** bytes from the user space address starting at **from** into the buffer **to** at offset **ppos**.h](h2The simple_write_to_buffer() function reads up to }(hj{hhhNhNubj)}(h **count**h]hcount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh/ bytes from the user space address starting at }(hj{hhhNhNubj)}(h**from**h]hfrom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh into the buffer }(hj{hhhNhNubj)}(h**to**h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh at offset }(hj{hhhNhNubj)}(h**ppos**h]hppos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh.}(hj{hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj!ubh)}(hOn success, the number of bytes written is returned and the offset **ppos** is advanced by this number, or negative value is returned on error.h](hCOn success, the number of bytes written is returned and the offset }(hjҧhhhNhNubj)}(h**ppos**h]hppos}(hjڧhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҧubhD is advanced by this number, or negative value is returned on error.}(hjҧhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $memory_read_from_buffer (C function)c.memory_read_from_bufferhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hjssize_t memory_read_from_buffer (void *to, size_t count, loff_t *ppos, const void *from, size_t available)h]j)}(hissize_t memory_read_from_buffer(void *to, size_t count, loff_t *ppos, const void *from, size_t available)h](h)}(hhh]jI)}(hssize_th]hssize_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jmemory_read_from_buffersbc.memory_read_from_bufferasbuh1hhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj2)}(h h]h }(hj8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj7hMubjC)}(hmemory_read_from_bufferh]jI)}(hj4h]hmemory_read_from_buffer}(hjJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj7hMubj=)}(hJ(void *to, size_t count, loff_t *ppos, const void *from, size_t available)h](jC)}(hvoid *toh](jf)}(hvoidh]hvoid}(hjehhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjaubj2)}(h h]h }(hjshhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjaubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubjI)}(htoh]hto}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjaubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj]ubjC)}(h size_t counth](h)}(hhh]jI)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j2c.memory_read_from_bufferasbuh1hhjubj2)}(h h]h }(hjȨhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hcounth]hcount}(hj֨hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj]ubjC)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j2c.memory_read_from_bufferasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hpposh]hppos}(hj+hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj]ubjC)}(hconst void *fromh](j )}(hjh]hconst}(hjDhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj@ubj2)}(h h]h }(hjQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj@ubjf)}(hvoidh]hvoid}(hj_hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj@ubj2)}(h h]h }(hjmhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj@ubj)}(hjh]h*}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubjI)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj@ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj]ubjC)}(hsize_t availableh](h)}(hhh]jI)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j2c.memory_read_from_bufferasbuh1hhjubj2)}(h h]h }(hj©hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(h availableh]h available}(hjЩhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj]ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhj7hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj hhhj7hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj7hMhjhhubjw)}(hhh]h)}(hcopy data from the bufferh]hcopy data from the buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj7hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hXP**Parameters** ``void *to`` the kernel space buffer to read to ``size_t count`` the maximum number of bytes to read ``loff_t *ppos`` the current position in the buffer ``const void *from`` the buffer to read from ``size_t available`` the size of the buffer **Description** The memory_read_from_buffer() function reads up to **count** bytes from the buffer **from** at offset **ppos** into the kernel space address starting at **to**. On success, the number of bytes read is returned and the offset **ppos** is advanced by this number, or negative value is returned on error.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh](j)}(h0``void *to`` the kernel space buffer to read to h](j)}(h ``void *to``h]j)}(hj;h]hvoid *to}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj5ubj)}(hhh]h)}(h"the kernel space buffer to read toh]h"the kernel space buffer to read to}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhj2ubj)}(h5``size_t count`` the maximum number of bytes to read h](j)}(h``size_t count``h]j)}(hjth]h size_t count}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjnubj)}(hhh]h)}(h#the maximum number of bytes to readh]h#the maximum number of bytes to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h4``loff_t *ppos`` the current position in the buffer h](j)}(h``loff_t *ppos``h]j)}(hjh]h loff_t *ppos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(h"the current position in the bufferh]h"the current position in the buffer}(hjƪhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjªhMhjêubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjªhMhj2ubj)}(h-``const void *from`` the buffer to read from h](j)}(h``const void *from``h]j)}(hjh]hconst void *from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(hthe buffer to read fromh]hthe buffer to read from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h,``size_t available`` the size of the buffer h](j)}(h``size_t available``h]j)}(hjh]hsize_t available}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(hthe size of the bufferh]hthe size of the buffer}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhj2ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjZh]h Description}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubh)}(hThe memory_read_from_buffer() function reads up to **count** bytes from the buffer **from** at offset **ppos** into the kernel space address starting at **to**.h](h3The memory_read_from_buffer() function reads up to }(hjphhhNhNubj)}(h **count**h]hcount}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh bytes from the buffer }(hjphhhNhNubj)}(h**from**h]hfrom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh at offset }(hjphhhNhNubj)}(h**ppos**h]hppos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh+ into the kernel space address starting at }(hjphhhNhNubj)}(h**to**h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh.}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubh)}(hOn success, the number of bytes read is returned and the offset **ppos** is advanced by this number, or negative value is returned on error.h](h@On success, the number of bytes read is returned and the offset }(hjǫhhhNhNubj)}(h**ppos**h]hppos}(hjϫhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǫubhD is advanced by this number, or negative value is returned on error.}(hjǫhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $generic_encode_ino32_fh (C function)c.generic_encode_ino32_fhhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h`int generic_encode_ino32_fh (struct inode *inode, __u32 *fh, int *max_len, struct inode *parent)h]j)}(h_int generic_encode_ino32_fh(struct inode *inode, __u32 *fh, int *max_len, struct inode *parent)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hgeneric_encode_ino32_fhh]jI)}(hgeneric_encode_ino32_fhh]hgeneric_encode_ino32_fh}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hD(struct inode *inode, __u32 *fh, int *max_len, struct inode *parent)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjAubj2)}(h h]h }(hjRhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAubh)}(hhh]jI)}(hinodeh]hinode}(hjchhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj )}j ]j)}jj+sbc.generic_encode_ino32_fhasbuh1hhjAubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj=ubjC)}(h __u32 *fhh](h)}(hhh]jI)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.generic_encode_ino32_fhasbuh1hhjubj2)}(h h]h }(hjجhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfhh]hfh}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj=ubjC)}(h int *max_lenh](jf)}(hinth]hint}(hj hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hmax_lenh]hmax_len}(hj5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj=ubjC)}(hstruct inode *parenth](j )}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjJubj2)}(h h]h }(hj[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJubh)}(hhh]jI)}(hinodeh]hinode}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj )}j ]jc.generic_encode_ino32_fhasbuh1hhjJubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj=ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h-generic export_operations->encode_fh functionh]h-generic export_operations->encode_fh function}(hjϭhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj̭hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct inode *inode`` the object to encode ``__u32 *fh`` where to store the file handle fragment ``int *max_len`` maximum length to store there (in 4 byte units) ``struct inode *parent`` parent directory inode, if wanted **Description** This generic encode_fh function assumes that the 32 inode number is suitable for locating an inode, and that the generation number can be used to check that it is still valid. It places them in the filehandle fragment where export_decode_fh expects to find them.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh](j)}(h-``struct inode *inode`` the object to encode h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj ubj)}(hhh]h)}(hthe object to encodeh]hthe object to encode}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhjubj)}(h6``__u32 *fh`` where to store the file handle fragment h](j)}(h ``__u32 *fh``h]j)}(hjIh]h __u32 *fh}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjCubj)}(hhh]h)}(h'where to store the file handle fragmenth]h'where to store the file handle fragment}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhjubj)}(hA``int *max_len`` maximum length to store there (in 4 byte units) h](j)}(h``int *max_len``h]j)}(hjh]h int *max_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj|ubj)}(hhh]h)}(h/maximum length to store there (in 4 byte units)h]h/maximum length to store there (in 4 byte units)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h;``struct inode *parent`` parent directory inode, if wanted h](j)}(h``struct inode *parent``h]j)}(hjh]hstruct inode *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(h!parent directory inode, if wantedh]h!parent directory inode, if wanted}(hjԮhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjЮhMhjѮubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjЮhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubh)}(hXThis generic encode_fh function assumes that the 32 inode number is suitable for locating an inode, and that the generation number can be used to check that it is still valid. It places them in the filehandle fragment where export_decode_fh expects to find them.h]hXThis generic encode_fh function assumes that the 32 inode number is suitable for locating an inode, and that the generation number can be used to check that it is still valid. It places them in the filehandle fragment where export_decode_fh expects to find them.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !generic_fh_to_dentry (C function)c.generic_fh_to_dentryhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hstruct dentry * generic_fh_to_dentry (struct super_block *sb, struct fid *fid, int fh_len, int fh_type, struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen))h]j)}(hstruct dentry *generic_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type, struct inode *(*get_inode)(struct super_block *sb, u64 ino, u32 gen))h](j )}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj7hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj2)}(h h]h }(hjIhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7hhhjHhMubh)}(hhh]jI)}(hdentryh]hdentry}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj )}j ]j)}jgeneric_fh_to_dentrysbc.generic_fh_to_dentryasbuh1hhj7hhhjHhMubj2)}(h h]h }(hj{hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7hhhjHhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhjHhMubjC)}(hgeneric_fh_to_dentryh]jI)}(hjxh]hgeneric_fh_to_dentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj7hhhjHhMubj=)}(h(struct super_block *sb, struct fid *fid, int fh_len, int fh_type, struct inode *(*get_inode)(struct super_block *sb, u64 ino, u32 gen))h](jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj¯hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h super_blockh]h super_block}(hjӯhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjЯubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjկmodnameN classnameNjj )}j ]jvc.generic_fh_to_dentryasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsbh]hsb}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct fid *fidh](j )}(hjh]hstruct}(hj%hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj!ubj2)}(h h]h }(hj2hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!ubh)}(hhh]jI)}(hfidh]hfid}(hjChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj )}j ]jvc.generic_fh_to_dentryasbuh1hhj!ubj2)}(h h]h }(hjahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!ubj)}(hjh]h*}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubjI)}(hfidh]hfid}(hj|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h int fh_lenh](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hfh_lenh]hfh_len}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h int fh_typeh](jf)}(hinth]hint}(hjʰhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjưubj2)}(h h]h }(hjذhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjưubjI)}(hfh_typeh]hfh_type}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjưubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hDstruct inode *(*get_inode)(struct super_block *sb, u64 ino, u32 gen)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jvc.generic_fh_to_dentryasbuh1hhjubj2)}(h h]h }(hj;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj&h]h(}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(h get_inodeh]h get_inode}(hjphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubj)}(hjOh]h)}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jvc.generic_fh_to_dentryasbuh1hhjubj2)}(h h]h }(hjԱhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubj)}(hjh]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jvc.generic_fh_to_dentryasbuh1hhjubj2)}(h h]h }(hj9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hinoh]hino}(hjGhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubj)}(hjh]h,}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hu32h]hu32}(hjshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNjj )}j ]jvc.generic_fh_to_dentryasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hgenh]hgen}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubj)}(hjOh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hj7hhhjHhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj3hhhjHhMubah}(h]j.ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjHhMhj0hhubjw)}(hhh]h)}(h4generic helper for the fh_to_dentry export operationh]h4generic helper for the fh_to_dentry export operation}(hjֲhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjӲhhubah}(h]h ]h"]h$]h&]uh1jvhj0hhhjHhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX(**Parameters** ``struct super_block *sb`` filesystem to do the file handle conversion on ``struct fid *fid`` file handle to convert ``int fh_len`` length of the file handle in bytes ``int fh_type`` type of file handle ``struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)`` filesystem callback to retrieve inode **Description** This function decodes **fid** as long as it has one of the well-known Linux filehandle types and calls **get_inode** on it to retrieve the inode for the object specified in the file handle.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh](j)}(hJ``struct super_block *sb`` filesystem to do the file handle conversion on h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(h.filesystem to do the file handle conversion onh]h.filesystem to do the file handle conversion on}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hMhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMhjubj)}(h+``struct fid *fid`` file handle to convert h](j)}(h``struct fid *fid``h]j)}(hjPh]hstruct fid *fid}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjJubj)}(hhh]h)}(hfile handle to converth]hfile handle to convert}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjubj)}(h2``int fh_len`` length of the file handle in bytes h](j)}(h``int fh_len``h]j)}(hjh]h int fh_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(h"length of the file handle in bytesh]h"length of the file handle in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h$``int fh_type`` type of file handle h](j)}(h``int fh_type``h]j)}(hj³h]h int fh_type}(hjijhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(htype of file handleh]htype of file handle}(hj۳hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj׳hMhjسubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj׳hMhjubj)}(hp``struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)`` filesystem callback to retrieve inode h](j)}(hI``struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)``h]j)}(hjh]hEstruct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(h%filesystem callback to retrieve inodeh]h%filesystem callback to retrieve inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj6h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubh)}(hThis function decodes **fid** as long as it has one of the well-known Linux filehandle types and calls **get_inode** on it to retrieve the inode for the object specified in the file handle.h](hThis function decodes }(hjLhhhNhNubj)}(h**fid**h]hfid}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubhJ as long as it has one of the well-known Linux filehandle types and calls }(hjLhhhNhNubj)}(h **get_inode**h]h get_inode}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubhI on it to retrieve the inode for the object specified in the file handle.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !generic_fh_to_parent (C function)c.generic_fh_to_parenthNtauh1hhjHhhhNhNubj)}(hhh](j)}(hstruct dentry * generic_fh_to_parent (struct super_block *sb, struct fid *fid, int fh_len, int fh_type, struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen))h]j)}(hstruct dentry *generic_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type, struct inode *(*get_inode)(struct super_block *sb, u64 ino, u32 gen))h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jgeneric_fh_to_parentsbc.generic_fh_to_parentasbuh1hhjhhhjhMubj2)}(h h]h }(hjߴhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(hgeneric_fh_to_parenth]jI)}(hjܴh]hgeneric_fh_to_parent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h(struct super_block *sb, struct fid *fid, int fh_len, int fh_type, struct inode *(*get_inode)(struct super_block *sb, u64 ino, u32 gen))h](jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj&hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h super_blockh]h super_block}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj )}j ]jڴc.generic_fh_to_parentasbuh1hhjubj2)}(h h]h }(hjUhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsbh]hsb}(hjphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct fid *fidh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hfidh]hfid}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jڴc.generic_fh_to_parentasbuh1hhjubj2)}(h h]h }(hjŵhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjӵhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfidh]hfid}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h int fh_lenh](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hfh_lenh]hfh_len}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h int fh_typeh](jf)}(hinth]hint}(hj.hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj*ubj2)}(h h]h }(hj<hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*ubjI)}(hfh_typeh]hfh_type}(hjJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hDstruct inode *(*get_inode)(struct super_block *sb, u64 ino, u32 gen)h](j )}(hjh]hstruct}(hjchhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj_ubj2)}(h h]h }(hjphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_ubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jڴc.generic_fh_to_parentasbuh1hhj_ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj)}(hjh]h*}(hjǶhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubjI)}(h get_inodeh]h get_inode}(hjԶhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_ubj)}(hjOh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj_ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_ubh)}(hhh]jI)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jڴc.generic_fh_to_parentasbuh1hhj_ubj2)}(h h]h }(hj8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_ubj)}(hjh]h*}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubjI)}(hsbh]hsb}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_ubj)}(hjh]h,}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj2)}(h h]h }(hjnhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_ubh)}(hhh]jI)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jڴc.generic_fh_to_parentasbuh1hhj_ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_ubjI)}(hinoh]hino}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_ubj)}(hjh]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubj2)}(h h]h }(hjƷhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_ubh)}(hhh]jI)}(hu32h]hu32}(hj׷hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjԷubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjٷmodnameN classnameNjj )}j ]jڴc.generic_fh_to_parentasbuh1hhj_ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_ubjI)}(hgenh]hgen}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_ubj)}(hjOh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h4generic helper for the fh_to_parent export operationh]h4generic helper for the fh_to_parent export operation}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1jhhhjHhNhNubj)}(hXj**Parameters** ``struct super_block *sb`` filesystem to do the file handle conversion on ``struct fid *fid`` file handle to convert ``int fh_len`` length of the file handle in bytes ``int fh_type`` type of file handle ``struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)`` filesystem callback to retrieve inode **Description** This function decodes **fid** as long as it has one of the well-known Linux filehandle types and calls **get_inode** on it to retrieve the inode for the _parent_ object specified in the file handle if it is specified in the file handle, or NULL otherwise.h](h)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjVubj)}(hhh](j)}(hJ``struct super_block *sb`` filesystem to do the file handle conversion on h](j)}(h``struct super_block *sb``h]j)}(hj{h]hstruct super_block *sb}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjuubj)}(hhh]h)}(h.filesystem to do the file handle conversion onh]h.filesystem to do the file handle conversion on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubj)}(h+``struct fid *fid`` file handle to convert h](j)}(h``struct fid *fid``h]j)}(hjh]hstruct fid *fid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(hfile handle to converth]hfile handle to convert}(hj͸hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjɸhMhjʸubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjɸhMhjrubj)}(h2``int fh_len`` length of the file handle in bytes h](j)}(h``int fh_len``h]j)}(hjh]h int fh_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(h"length of the file handle in bytesh]h"length of the file handle in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubj)}(h$``int fh_type`` type of file handle h](j)}(h``int fh_type``h]j)}(hj&h]h int fh_type}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj ubj)}(hhh]h)}(htype of file handleh]htype of file handle}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjrubj)}(hp``struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)`` filesystem callback to retrieve inode h](j)}(hI``struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)``h]j)}(hj_h]hEstruct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjYubj)}(hhh]h)}(h%filesystem callback to retrieve inodeh]h%filesystem callback to retrieve inode}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjrubeh}(h]h ]h"]h$]h&]uh1jhjVubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjVubh)}(hThis function decodes **fid** as long as it has one of the well-known Linux filehandle types and calls **get_inode** on it to retrieve the inode for the _parent_ object specified in the file handle if it is specified in the file handle, or NULL otherwise.h](hThis function decodes }(hjhhhNhNubj)}(h**fid**h]hfid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhJ as long as it has one of the well-known Linux filehandle types and calls }(hjhhhNhNubj)}(h **get_inode**h]h get_inode}(hjʹhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on it to retrieve the inode for the _parent_ object specified in the file handle if it is specified in the file handle, or NULL otherwise.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !simple_fsync_noflush (C function)c.simple_fsync_noflushhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hTint simple_fsync_noflush (struct file *file, loff_t start, loff_t end, int datasync)h]j)}(hSint simple_fsync_noflush(struct file *file, loff_t start, loff_t end, int datasync)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hsimple_fsync_noflushh]jI)}(hsimple_fsync_noflushh]hsimple_fsync_noflush}(hj$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h;(struct file *file, loff_t start, loff_t end, int datasync)h](jC)}(hstruct file *fileh](j )}(hjh]hstruct}(hj@hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj<ubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj<ubh)}(hhh]jI)}(hfileh]hfile}(hj^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNjj )}j ]j)}jj&sbc.simple_fsync_noflushasbuh1hhj<ubj2)}(h h]h }(hj~hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj<ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubjI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj<ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj8ubjC)}(h loff_t starth](h)}(hhh]jI)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jzc.simple_fsync_noflushasbuh1hhjubj2)}(h h]h }(hjӺhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hstarth]hstart}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj8ubjC)}(h loff_t endh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jzc.simple_fsync_noflushasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hendh]hend}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj8ubjC)}(h int datasynch](jf)}(hinth]hint}(hjBhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj>ubj2)}(h h]h }(hjPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj>ubjI)}(hdatasynch]hdatasync}(hj^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj>ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj8ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h3generic fsync implementation for simple filesystemsh]h3generic fsync implementation for simple filesystems}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hXq**Parameters** ``struct file *file`` file to synchronize ``loff_t start`` start offset in bytes ``loff_t end`` end offset in bytes (inclusive) ``int datasync`` only synchronize essential metadata if true **Description** This function is an fsync handler for simple filesystems. It writes out dirty data, inode (if dirty), but does not issue a cache flush.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM hjubj)}(hhh](j)}(h*``struct file *file`` file to synchronize h](j)}(h``struct file *file``h]j)}(hjɻh]hstruct file *file}(hj˻hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǻubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjûubj)}(hhh]h)}(hfile to synchronizeh]hfile to synchronize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj޻hMhj߻ubah}(h]h ]h"]h$]h&]uh1jhjûubeh}(h]h ]h"]h$]h&]uh1jhj޻hMhjubj)}(h'``loff_t start`` start offset in bytes h](j)}(h``loff_t start``h]j)}(hjh]h loff_t start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(hstart offset in bytesh]hstart offset in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``loff_t end`` end offset in bytes (inclusive) h](j)}(h``loff_t end``h]j)}(hj;h]h loff_t end}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM hj5ubj)}(hhh]h)}(hend offset in bytes (inclusive)h]hend offset in bytes (inclusive)}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhM hjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhM hjubj)}(h=``int datasync`` only synchronize essential metadata if true h](j)}(h``int datasync``h]j)}(hjth]h int datasync}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM hjnubj)}(hhh]h)}(h+only synchronize essential metadata if trueh]h+only synchronize essential metadata if true}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM hjubh)}(hThis function is an fsync handler for simple filesystems. It writes out dirty data, inode (if dirty), but does not issue a cache flush.h]hThis function is an fsync handler for simple filesystems. It writes out dirty data, inode (if dirty), but does not issue a cache flush.}(hjżhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j simple_fsync (C function)c.simple_fsynchNtauh1hhjHhhhNhNubj)}(hhh](j)}(hLint simple_fsync (struct file *file, loff_t start, loff_t end, int datasync)h]j)}(hKint simple_fsync(struct file *file, loff_t start, loff_t end, int datasync)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM*ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM*ubjC)}(h simple_fsynch]jI)}(h simple_fsynch]h simple_fsync}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM*ubj=)}(h;(struct file *file, loff_t start, loff_t end, int datasync)h](jC)}(hstruct file *fileh](j )}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj-ubj2)}(h h]h }(hj>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj-ubh)}(hhh]jI)}(hfileh]hfile}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNjj )}j ]j)}jjsbc.simple_fsyncasbuh1hhj-ubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj-ubj)}(hjh]h*}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-ubjI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj-ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj)ubjC)}(h loff_t starth](h)}(hhh]jI)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jkc.simple_fsyncasbuh1hhjubj2)}(h h]h }(hjĽhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hstarth]hstart}(hjҽhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj)ubjC)}(h loff_t endh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jkc.simple_fsyncasbuh1hhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hendh]hend}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj)ubjC)}(h int datasynch](jf)}(hinth]hint}(hj3hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj/ubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/ubjI)}(hdatasynch]hdatasync}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj)ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM*ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM*ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM*hjhhubjw)}(hhh]h)}(h6fsync implementation for simple filesystems with flushh]h6fsync implementation for simple filesystems with flush}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM*hjvhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM*ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hXi**Parameters** ``struct file *file`` file to synchronize ``loff_t start`` start offset in bytes ``loff_t end`` end offset in bytes (inclusive) ``int datasync`` only synchronize essential metadata if true **Description** This function is an fsync handler for simple filesystems. It writes out dirty data, inode (if dirty), and issues a cache flush.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM.hjubj)}(hhh](j)}(h*``struct file *file`` file to synchronize h](j)}(h``struct file *file``h]j)}(hjh]hstruct file *file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM+hjubj)}(hhh]h)}(hfile to synchronizeh]hfile to synchronize}(hjӾhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjϾhM+hjоubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjϾhM+hjubj)}(h'``loff_t start`` start offset in bytes h](j)}(h``loff_t start``h]j)}(hjh]h loff_t start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM,hjubj)}(hhh]h)}(hstart offset in bytesh]hstart offset in bytes}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM,hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjubj)}(h/``loff_t end`` end offset in bytes (inclusive) h](j)}(h``loff_t end``h]j)}(hj,h]h loff_t end}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM-hj&ubj)}(hhh]h)}(hend offset in bytes (inclusive)h]hend offset in bytes (inclusive)}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhM-hjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhM-hjubj)}(h=``int datasync`` only synchronize essential metadata if true h](j)}(h``int datasync``h]j)}(hjeh]h int datasync}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM.hj_ubj)}(hhh]h)}(h+only synchronize essential metadata if trueh]h+only synchronize essential metadata if true}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhM.hj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhM.hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM0hjubh)}(hThis function is an fsync handler for simple filesystems. It writes out dirty data, inode (if dirty), and issues a cache flush.h]hThis function is an fsync handler for simple filesystems. It writes out dirty data, inode (if dirty), and issues a cache flush.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM/hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j &generic_check_addressable (C function)c.generic_check_addressablehNtauh1hhjHhhhNhNubj)}(hhh](j)}(hGint generic_check_addressable (unsigned blocksize_bits, u64 num_blocks)h]j)}(hFint generic_check_addressable(unsigned blocksize_bits, u64 num_blocks)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM@ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM@ubjC)}(hgeneric_check_addressableh]jI)}(hgeneric_check_addressableh]hgeneric_check_addressable}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM@ubj=)}(h)(unsigned blocksize_bits, u64 num_blocks)h](jC)}(hunsigned blocksize_bitsh](jf)}(hunsignedh]hunsigned}(hj"hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hj0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hblocksize_bitsh]hblocksize_bits}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hu64 num_blocksh](h)}(hhh]jI)}(hu64h]hu64}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj )}j ]j)}jjsbc.generic_check_addressableasbuh1hhjSubj2)}(h h]h }(hjzhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjSubjI)}(h num_blocksh]h num_blocks}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM@ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjݿhhhjhM@ubah}(h]jؿah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM@hjڿhhubjw)}(hhh]h)}(h#Check addressability of file systemh]h#Check addressability of file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM@hjhhubah}(h]h ]h"]h$]h&]uh1jvhjڿhhhjhM@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX]**Parameters** ``unsigned blocksize_bits`` log of file system block size ``u64 num_blocks`` number of blocks in file system **Description** Determine whether a file system with **num_blocks** blocks (and a block size of 2****blocksize_bits**) is addressable by the sector_t and page cache of the system. Return 0 if so and -EFBIG otherwise.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMDhjubj)}(hhh](j)}(h:``unsigned blocksize_bits`` log of file system block size h](j)}(h``unsigned blocksize_bits``h]j)}(hjh]hunsigned blocksize_bits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMAhjubj)}(hhh]h)}(hlog of file system block sizeh]hlog of file system block size}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMAhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjubj)}(h3``u64 num_blocks`` number of blocks in file system h](j)}(h``u64 num_blocks``h]j)}(hj,h]hu64 num_blocks}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMBhj&ubj)}(hhh]h)}(hnumber of blocks in file systemh]hnumber of blocks in file system}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhMBhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMBhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjgh]h Description}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMDhjubh)}(hDetermine whether a file system with **num_blocks** blocks (and a block size of 2****blocksize_bits**) is addressable by the sector_t and page cache of the system. Return 0 if so and -EFBIG otherwise.h](h%Determine whether a file system with }(hj}hhhNhNubj)}(h**num_blocks**h]h num_blocks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubh blocks (and a block size of 2****blocksize_bits**) is addressable by the sector_t and page cache of the system. Return 0 if so and -EFBIG otherwise.}(hj}hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMChjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j simple_get_link (C function)c.simple_get_linkhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hdconst char * simple_get_link (struct dentry *dentry, struct inode *inode, struct delayed_call *done)h]j)}(hbconst char *simple_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *done)h](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhjhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(hsimple_get_linkh]jI)}(hsimple_get_linkh]hsimple_get_link}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hG(struct dentry *dentry, struct inode *inode, struct delayed_call *done)h](jC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj )}j ]j)}jj sbc.simple_get_linkasbuh1hhjubj2)}(h h]h }(hjahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdentryh]hdentry}(hj|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j]c.simple_get_linkasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct delayed_call *doneh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h delayed_callh]h delayed_call}(hj#hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNjj )}j ]j]c.simple_get_linkasbuh1hhjubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdoneh]hdone}(hj\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h3generic helper to get the target of "fast" symlinksh]h7generic helper to get the target of “fast” symlinks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX+**Parameters** ``struct dentry *dentry`` not used here ``struct inode *inode`` the symlink inode ``struct delayed_call *done`` not used here **Description** Generic helper for filesystems to use for symlink inodes where a pointer to the symlink target is stored in ->i_link. NOTE: this isn't normally called, since as an optimization the path lookup code uses any non-NULL ->i_link directly, without calling ->get_link(). But ->get_link() still must be set, to mark the inode_operations as being for a symlink. **Return** the symlink targeth](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh](j)}(h(``struct dentry *dentry`` not used here h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(h not used hereh]h not used here}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``struct inode *inode`` the symlink inode h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(hthe symlink inodeh]hthe symlink inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h,``struct delayed_call *done`` not used here h](j)}(h``struct delayed_call *done``h]j)}(hj9h]hstruct delayed_call *done}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj3ubj)}(hhh]h)}(h not used hereh]h not used here}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjth]h Description}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubh)}(hXcGeneric helper for filesystems to use for symlink inodes where a pointer to the symlink target is stored in ->i_link. NOTE: this isn't normally called, since as an optimization the path lookup code uses any non-NULL ->i_link directly, without calling ->get_link(). But ->get_link() still must be set, to mark the inode_operations as being for a symlink.h]hXeGeneric helper for filesystems to use for symlink inodes where a pointer to the symlink target is stored in ->i_link. NOTE: this isn’t normally called, since as an optimization the path lookup code uses any non-NULL ->i_link directly, without calling ->get_link(). But ->get_link() still must be set, to mark the inode_operations as being for a symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubh)}(hthe symlink targeth]hthe symlink target}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !generic_ci_d_compare (C function)c.generic_ci_d_comparehNtauh1hhjHhhhNhNubj)}(hhh](j)}(hrint generic_ci_d_compare (const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name)h]j)}(hqint generic_ci_d_compare(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hgeneric_ci_d_compareh]jI)}(hgeneric_ci_d_compareh]hgeneric_ci_d_compare}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hY(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name)h](jC)}(hconst struct dentry *dentryh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj*hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNjj )}j ]j)}jjsbc.generic_ci_d_compareasbuh1hhjubj2)}(h h]h }(hjvhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hunsigned int lenh](jf)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst char *strh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hj$hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hstrh]hstr}(hj?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst struct qstr *nameh](j )}(hjh]hconst}(hjXhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjTubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjTubj )}(hjh]hstruct}(hjshhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjTubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjTubh)}(hhh]jI)}(hqstrh]hqstr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jrc.generic_ci_d_compareasbuh1hhjTubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjTubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjTubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hah"]h$]h&]uh1j1hj\hhhjnhM4ubjC)}(hgeneric_ci_d_hashh]jI)}(hgeneric_ci_d_hashh]hgeneric_ci_d_hash}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj\hhhjnhM4ubj=)}(h/(const struct dentry *dentry, struct qstr *str)h](jC)}(hconst struct dentry *dentryh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.generic_ci_d_hashasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct qstr *strh](j )}(hjh]hstruct}(hj*hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj&ubj2)}(h h]h }(hj7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&ubh)}(hhh]jI)}(hqstrh]hqstr}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj )}j ]jc.generic_ci_d_hashasbuh1hhj&ubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&ubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubjI)}(hstrh]hstr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hj\hhhjnhM4ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjXhhhjnhM4ubah}(h]jSah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjnhM4hjUhhubjw)}(hhh]h)}(h9generic d_hash implementation for casefolding filesystemsh]h9generic d_hash implementation for casefolding filesystems}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM4hjhhubah}(h]h ]h"]h$]h&]uh1jvhjUhhhjnhM4ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(h**Parameters** ``const struct dentry *dentry`` dentry of the parent directory ``struct qstr *str`` qstr of name whose hash we should fill in **Return** 0 if hash was successful or unchanged, and -EINVAL on errorh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM8hjubj)}(hhh](j)}(h?``const struct dentry *dentry`` dentry of the parent directory h](j)}(h``const struct dentry *dentry``h]j)}(hjh]hconst struct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM5hjubj)}(hhh]h)}(hdentry of the parent directoryh]hdentry of the parent directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM5hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5hjubj)}(h?``struct qstr *str`` qstr of name whose hash we should fill in h](j)}(h``struct qstr *str``h]j)}(hj%h]hstruct qstr *str}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM6hjubj)}(hhh]h)}(h)qstr of name whose hash we should fill inh]h)qstr of name whose hash we should fill in}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hM6hj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hM6hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h **Return**h]j)}(hj`h]hReturn}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM8hjubh)}(h;0 if hash was successful or unchanged, and -EINVAL on errorh]h;0 if hash was successful or unchanged, and -EINVAL on error}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM8hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j generic_ci_match (C function)c.generic_ci_matchhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hint generic_ci_match (const struct inode *parent, const struct qstr *name, const struct qstr *folded_name, const u8 *de_name, u32 de_name_len)h]j)}(hint generic_ci_match(const struct inode *parent, const struct qstr *name, const struct qstr *folded_name, const u8 *de_name, u32 de_name_len)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMTubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMTubjC)}(hgeneric_ci_matchh]jI)}(hgeneric_ci_matchh]hgeneric_ci_match}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMTubj=)}(hy(const struct inode *parent, const struct qstr *name, const struct qstr *folded_name, const u8 *de_name, u32 de_name_len)h](jC)}(hconst struct inode *parenth](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.generic_ci_matchasbuh1hhjubj2)}(h h]h }(hj;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hjVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst struct qstr *nameh](j )}(hjh]hconst}(hjohhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjkubj2)}(h h]h }(hj|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjkubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkubh)}(hhh]jI)}(hqstrh]hqstr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j7c.generic_ci_matchasbuh1hhjkubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjkubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst struct qstr *folded_nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hqstrh]hqstr}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNjj )}j ]j7c.generic_ci_matchasbuh1hhjubj2)}(h h]h }(hjQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(h folded_nameh]h folded_name}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst u8 *de_nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j7c.generic_ci_matchasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hde_nameh]hde_name}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hu32 de_name_lenh](h)}(hhh]jI)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j7c.generic_ci_matchasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(h de_name_lenh]h de_name_len}(hj$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMTubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMTubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMThjhhubjw)}(hhh]h)}(hMatch a name (case-insensitively) with a dirent. This is a filesystem helper for comparison with directory entries. generic_ci_d_compare should be used in VFS' ->d_compare instead.h]hMatch a name (case-insensitively) with a dirent. This is a filesystem helper for comparison with directory entries. generic_ci_d_compare should be used in VFS’ ->d_compare instead.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMThjKhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMTubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1jhhhjHhNhNubj)}(hXQ**Parameters** ``const struct inode *parent`` Inode of the parent of the dirent under comparison ``const struct qstr *name`` name under lookup. ``const struct qstr *folded_name`` Optional pre-folded name under lookup ``const u8 *de_name`` Dirent name. ``u32 de_name_len`` dirent name length. **Description** Test whether a case-insensitive directory entry matches the filename being searched. If **folded_name** is provided, it is used instead of recalculating the casefold of **name**. **Return** > 0 if the directory entry matches, 0 if it doesn't match, or < 0 on error.h](h)}(h**Parameters**h]j)}(hjph]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMXhjjubj)}(hhh](j)}(hR``const struct inode *parent`` Inode of the parent of the dirent under comparison h](j)}(h``const struct inode *parent``h]j)}(hjh]hconst struct inode *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMXhjubj)}(hhh]h)}(h2Inode of the parent of the dirent under comparisonh]h2Inode of the parent of the dirent under comparison}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(h/``const struct qstr *name`` name under lookup. h](j)}(h``const struct qstr *name``h]j)}(hjh]hconst struct qstr *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMYhjubj)}(hhh]h)}(hname under lookup.h]hname under lookup.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubj)}(hI``const struct qstr *folded_name`` Optional pre-folded name under lookup h](j)}(h"``const struct qstr *folded_name``h]j)}(hjh]hconst struct qstr *folded_name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMZhjubj)}(hhh]h)}(h%Optional pre-folded name under lookuph]h%Optional pre-folded name under lookup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjubj)}(h#``const u8 *de_name`` Dirent name. h](j)}(h``const u8 *de_name``h]j)}(hj:h]hconst u8 *de_name}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM[hj4ubj)}(hhh]h)}(h Dirent name.h]h Dirent name.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhM[hjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhM[hjubj)}(h(``u32 de_name_len`` dirent name length. h](j)}(h``u32 de_name_len``h]j)}(hjsh]hu32 de_name_len}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM\hjmubj)}(hhh]h)}(hdirent name length.h]hdirent name length.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjubeh}(h]h ]h"]h$]h&]uh1jhjjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM^hjjubh)}(hTest whether a case-insensitive directory entry matches the filename being searched. If **folded_name** is provided, it is used instead of recalculating the casefold of **name**.h](hYTest whether a case-insensitive directory entry matches the filename being searched. If }(hjhhhNhNubj)}(h**folded_name**h]h folded_name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB is provided, it is used instead of recalculating the casefold of }(hjhhhNhNubj)}(h**name**h]hname}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM]hjjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMahjjubh)}(hK> 0 if the directory entry matches, 0 if it doesn't match, or < 0 on error.h]hM> 0 if the directory entry matches, 0 if it doesn’t match, or < 0 on error.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMbhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !generic_set_sb_d_ops (C function)c.generic_set_sb_d_opshNtauh1hhjHhhhNhNubj)}(hhh](j)}(h2void generic_set_sb_d_ops (struct super_block *sb)h]j)}(h1void generic_set_sb_d_ops(struct super_block *sb)h](jf)}(hvoidh]hvoid}(hj>hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj:hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj:hhhjLhMubjC)}(hgeneric_set_sb_d_opsh]jI)}(hgeneric_set_sb_d_opsh]hgeneric_set_sb_d_ops}(hj_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj:hhhjLhMubj=)}(h(struct super_block *sb)h]jC)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubh)}(hhh]jI)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjasbc.generic_set_sb_d_opsasbuh1hhjwubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubjI)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjsubah}(h]h ]h"]h$]h&]j`jauh1j<hj:hhhjLhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj6hhhjLhMubah}(h]j1ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjLhMhj3hhubjw)}(hhh]h)}(hYhelper for choosing the set of filesystem-wide dentry operations for the enabled featuresh]hYhelper for choosing the set of filesystem-wide dentry operations for the enabled features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhj3hhhjLhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct super_block *sb`` superblock to be configured **Description** Filesystems supporting casefolding and/or fscrypt can call this helper at mount-time to configure default dentry_operations to the best set of dentry operations required for the enabled features. The helper must be called after these have been configured, but before the root dentry is created.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]j)}(h7``struct super_block *sb`` superblock to be configured h](j)}(h``struct super_block *sb``h]j)}(hj?h]hstruct super_block *sb}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj9ubj)}(hhh]h)}(hsuperblock to be configuredh]hsuperblock to be configured}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjzh]h Description}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubh)}(hX&Filesystems supporting casefolding and/or fscrypt can call this helper at mount-time to configure default dentry_operations to the best set of dentry operations required for the enabled features. The helper must be called after these have been configured, but before the root dentry is created.h]hX&Filesystems supporting casefolding and/or fscrypt can call this helper at mount-time to configure default dentry_operations to the best set of dentry operations required for the enabled features. The helper must be called after these have been configured, but before the root dentry is created.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j %inode_maybe_inc_iversion (C function)c.inode_maybe_inc_iversionhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h?bool inode_maybe_inc_iversion (struct inode *inode, bool force)h]j)}(h>bool inode_maybe_inc_iversion(struct inode *inode, bool force)h](jf)}(hjih]hbool}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hinode_maybe_inc_iversionh]jI)}(hinode_maybe_inc_iversionh]hinode_maybe_inc_iversion}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h!(struct inode *inode, bool force)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.inode_maybe_inc_iversionasbuh1hhjubj2)}(h h]h }(hj9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h bool forceh](jf)}(hjih]hbool}(hjmhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjiubj2)}(h h]h }(hjzhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjiubjI)}(hforceh]hforce}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hincrements i_versionh]hincrements i_version}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hXT**Parameters** ``struct inode *inode`` inode with the i_version that should be updated ``bool force`` increment the counter even if it's not necessary? **Description** Every time the inode is modified, the i_version field must be seen to have changed by any observer. If "force" is set or the QUERIED flag is set, then ensure that we increment the value, and clear the queried flag. In the common case where neither is set, then we can return "false" without updating i_version. If this function returns false, and no other metadata has changed, then we can avoid logging the metadata.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh](j)}(hH``struct inode *inode`` inode with the i_version that should be updated h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(h/inode with the i_version that should be updatedh]h/inode with the i_version that should be updated}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hA``bool force`` increment the counter even if it's not necessary? h](j)}(h``bool force``h]j)}(hj,h]h bool force}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj&ubj)}(hhh]h)}(h1increment the counter even if it's not necessary?h]h3increment the counter even if it’s not necessary?}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjgh]h Description}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubh)}(hcEvery time the inode is modified, the i_version field must be seen to have changed by any observer.h]hcEvery time the inode is modified, the i_version field must be seen to have changed by any observer.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubh)}(hrIf "force" is set or the QUERIED flag is set, then ensure that we increment the value, and clear the queried flag.h]hvIf “force” is set or the QUERIED flag is set, then ensure that we increment the value, and clear the queried flag.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubh)}(h_In the common case where neither is set, then we can return "false" without updating i_version.h]hcIn the common case where neither is set, then we can return “false” without updating i_version.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubh)}(hjIf this function returns false, and no other metadata has changed, then we can avoid logging the metadata.h]hjIf this function returns false, and no other metadata has changed, then we can avoid logging the metadata.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !inode_query_iversion (C function)c.inode_query_iversionhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h.u64 inode_query_iversion (struct inode *inode)h]j)}(h-u64 inode_query_iversion(struct inode *inode)h](h)}(hhh]jI)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jinode_query_iversionsbc.inode_query_iversionasbuh1hhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hinode_query_iversionh]jI)}(hjh]hinode_query_iversion}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj'ubj2)}(h h]h }(hj8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'ubh)}(hhh]jI)}(hinodeh]hinode}(hjIhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNjj )}j ]jc.inode_query_iversionasbuh1hhj'ubj2)}(h h]h }(hjghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'ubj)}(hjh]h*}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj#ubah}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hread i_version for later useh]hread i_version for later use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX:**Parameters** ``struct inode *inode`` inode from which i_version should be read **Description** Read the inode i_version counter. This should be used by callers that wish to store the returned i_version for later comparison. This will guarantee that a later query of the i_version will result in a different value if anything has changed. In this implementation, we fetch the current value, set the QUERIED flag and then try to swap it into place with a cmpxchg, if it wasn't already set. If that fails, we try again with the newly fetched value from the cmpxchg.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]j)}(hB``struct inode *inode`` inode from which i_version should be read h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(h)inode from which i_version should be readh]h)inode from which i_version should be read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj(h]h Description}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubh)}(hRead the inode i_version counter. This should be used by callers that wish to store the returned i_version for later comparison. This will guarantee that a later query of the i_version will result in a different value if anything has changed.h]hRead the inode i_version counter. This should be used by callers that wish to store the returned i_version for later comparison. This will guarantee that a later query of the i_version will result in a different value if anything has changed.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubh)}(hIn this implementation, we fetch the current value, set the QUERIED flag and then try to swap it into place with a cmpxchg, if it wasn't already set. If that fails, we try again with the newly fetched value from the cmpxchg.h]hIn this implementation, we fetch the current value, set the QUERIED flag and then try to swap it into place with a cmpxchg, if it wasn’t already set. If that fails, we try again with the newly fetched value from the cmpxchg.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !simple_inode_init_ts (C function)c.simple_inode_init_tshNtauh1hhjHhhhNhNubj)}(hhh](j)}(hah"]h$]h&]uh1j1hjxhhhjhMDubh)}(hhh]jI)}(h timespec64h]h timespec64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jsimple_inode_init_tssbc.simple_inode_init_tsasbuh1hhjxhhhjhMDubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjxhhhjhMDubjC)}(hsimple_inode_init_tsh]jI)}(hjh]hsimple_inode_init_ts}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjxhhhjhMDubj=)}(h(struct inode *inode)h]jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]jc.simple_inode_init_tsasbuh1hhjubj2)}(h h]h }(hj%hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hj@hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjxhhhjhMDubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjthhhjhMDubah}(h]joah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMDhjqhhubjw)}(hhh]h)}(h)initialize the timestamps for a new inodeh]h)initialize the timestamps for a new inode}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMDhjghhubah}(h]h ]h"]h$]h&]uh1jvhjqhhhjhMDubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(h**Parameters** ``struct inode *inode`` inode to be initialized **Description** When a new inode is created, most filesystems set the timestamps to the current time. Add a helper to do this.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMHhjubj)}(hhh]j)}(h0``struct inode *inode`` inode to be initialized h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMEhjubj)}(hhh]h)}(hinode to be initializedh]hinode to be initialized}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMGhjubh)}(hnWhen a new inode is created, most filesystems set the timestamps to the current time. Add a helper to do this.h]hnWhen a new inode is created, most filesystems set the timestamps to the current time. Add a helper to do this.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMFhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "simple_start_creating (C function)c.simple_start_creatinghNtauh1hhjHhhhNhNubj)}(hhh](j)}(hOstruct dentry * simple_start_creating (struct dentry *parent, const char *name)h]j)}(hMstruct dentry *simple_start_creating(struct dentry *parent, const char *name)h](j )}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj'hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj2)}(h h]h }(hj9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'hhhj8hMubh)}(hhh]jI)}(hdentryh]hdentry}(hjJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNjj )}j ]j)}jsimple_start_creatingsbc.simple_start_creatingasbuh1hhj'hhhj8hMubj2)}(h h]h }(hjkhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'hhhj8hMubj)}(hjh]h*}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'hhhj8hMubjC)}(hsimple_start_creatingh]jI)}(hjhh]hsimple_start_creating}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj'hhhj8hMubj=)}(h)(struct dentry *parent, const char *name)h](jC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jfc.simple_start_creatingasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hj0hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hj>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hj'hhhj8hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj#hhhj8hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj8hMhj hhubjw)}(hhh]h)}(hprepare to create a given nameh]hprepare to create a given name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhj hhhj8hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct dentry *parent`` directory in which to prepare to create the name ``const char *name`` the name to be created **Description** Required lock is taken and a lookup in performed prior to creating an object in a directory. No permission checking is performed. **Return** a negative dentry on which vfs_create() or similar may be attempted, or an error.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh](j)}(hK``struct dentry *parent`` directory in which to prepare to create the name h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(h0directory in which to prepare to create the nameh]h0directory in which to prepare to create the name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h,``const char *name`` the name to be created h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(hthe name to be createdh]hthe name to be created}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj8h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubh)}(hRequired lock is taken and a lookup in performed prior to creating an object in a directory. No permission checking is performed.h]hRequired lock is taken and a lookup in performed prior to creating an object in a directory. No permission checking is performed.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubh)}(h **Return**h]j)}(hj_h]hReturn}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubh)}(hQa negative dentry on which vfs_create() or similar may be attempted, or an error.h]hQa negative dentry on which vfs_create() or similar may be attempted, or an error.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j posix_acl_chmod (C function)c.posix_acl_chmodhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hSint posix_acl_chmod (struct mnt_idmap *idmap, struct dentry *dentry, umode_t mode)h]j)}(hQint posix_acl_chmod(struct mnt_idmap *idmap, struct dentry *dentry, umode_t mode)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMOubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMOubjC)}(hposix_acl_chmodh]jI)}(hposix_acl_chmodh]hposix_acl_chmod}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMOubj=)}(h>(struct mnt_idmap *idmap, struct dentry *dentry, umode_t mode)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.posix_acl_chmodasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hj:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjShhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjOubj2)}(h h]h }(hj`hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjOubh)}(hhh]jI)}(hdentryh]hdentry}(hjqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNjj )}j ]jc.posix_acl_chmodasbuh1hhjOubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjOubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubjI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjOubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.posix_acl_chmodasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMOubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMOubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMOhjhhubjw)}(hhh]h)}(hchmod a posix aclh]hchmod a posix acl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMOhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1jhhhjHhNhNubj)}(hX#**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from ``struct dentry *dentry`` dentry to check permissions on ``umode_t mode`` the new mode of **inode** **Description** If the dentry has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMShj8ubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj]h]hstruct mnt_idmap *idmap}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMQhjWubj)}(hhh]h)}(h+idmap of the mount **inode** was found fromh](hidmap of the mount }(hjvhhhNhNubj)}(h **inode**h]hinode}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh was found from}(hjvhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjrhMQhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMQhjTubj)}(h9``struct dentry *dentry`` dentry to check permissions on h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMRhjubj)}(hhh]h)}(hdentry to check permissions onh]hdentry to check permissions on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjTubj)}(h+``umode_t mode`` the new mode of **inode** h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMShjubj)}(hhh]h)}(hthe new mode of **inode**h](hthe new mode of }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShjTubeh}(h]h ]h"]h$]h&]uh1jhj8ubh)}(h**Description**h]j)}(hj*h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMUhj8ubh)}(hXMIf the dentry has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hhIf the dentry has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hj@hhhNhNubj)}(h **idmap**h]hidmap}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubhB. This function will then take care to map the inode according to }(hj@hhhNhNubj)}(h **idmap**h]hidmap}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hj@hhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMThj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "posix_acl_update_mode (C function)c.posix_acl_update_modehNtauh1hhjHhhhNhNubj)}(hhh](j)}(hqint posix_acl_update_mode (struct mnt_idmap *idmap, struct inode *inode, umode_t *mode_p, struct posix_acl **acl)h]j)}(hpint posix_acl_update_mode(struct mnt_idmap *idmap, struct inode *inode, umode_t *mode_p, struct posix_acl **acl)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hposix_acl_update_modeh]jI)}(hposix_acl_update_modeh]hposix_acl_update_mode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hW(struct mnt_idmap *idmap, struct inode *inode, umode_t *mode_p, struct posix_acl **acl)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.posix_acl_update_modeasbuh1hhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hj;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjThhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjPubj2)}(h h]h }(hjahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPubh)}(hhh]jI)}(hinodeh]hinode}(hjrhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj )}j ]jc.posix_acl_update_modeasbuh1hhjPubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(humode_t *mode_ph](h)}(hhh]jI)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.posix_acl_update_modeasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hmode_ph]hmode_p}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct posix_acl **aclh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj&hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h posix_aclh]h posix_acl}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj )}j ]jc.posix_acl_update_modeasbuh1hhjubj2)}(h h]h }(hjUhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(haclh]hacl}(hj}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hupdate mode in set_aclh]hupdate mode in set_acl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from ``struct inode *inode`` target inode ``umode_t *mode_p`` mode (pointer) for update ``struct posix_acl **acl`` acl pointer **Description** Update the file mode when setting an ACL: compute the new file permission bits based on the ACL. In addition, if the ACL is equivalent to the new file mode, set ***acl** to NULL to indicate that no ACL should be set. As with chmod, clear the setgid bit if the caller is not in the owning group or capable of CAP_FSETID (see inode_change_ok). If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**. Called from set_acl inode operations.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubj)}(hhh]h)}(h+idmap of the mount **inode** was found fromh](hidmap of the mount }(hjhhhNhNubj)}(h **inode**h]hinode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh was found from}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h%``struct inode *inode`` target inode h](j)}(h``struct inode *inode``h]j)}(hj3h]hstruct inode *inode}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhj-ubj)}(hhh]h)}(h target inodeh]h target inode}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjubj)}(h.``umode_t *mode_p`` mode (pointer) for update h](j)}(h``umode_t *mode_p``h]j)}(hjlh]humode_t *mode_p}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjfubj)}(hhh]h)}(hmode (pointer) for updateh]hmode (pointer) for update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``struct posix_acl **acl`` acl pointer h](j)}(h``struct posix_acl **acl``h]j)}(hjh]hstruct posix_acl **acl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubj)}(hhh]h)}(h acl pointerh]h acl pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubh)}(hUpdate the file mode when setting an ACL: compute the new file permission bits based on the ACL. In addition, if the ACL is equivalent to the new file mode, set ***acl** to NULL to indicate that no ACL should be set.h](hUpdate the file mode when setting an ACL: compute the new file permission bits based on the ACL. In addition, if the ACL is equivalent to the new file mode, set }(hjhhhNhNubj)}(h***acl**h]h*acl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ to NULL to indicate that no ACL should be set.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubh)}(h|As with chmod, clear the setgid bit if the caller is not in the owning group or capable of CAP_FSETID (see inode_change_ok).h]h|As with chmod, clear the setgid bit if the caller is not in the owning group or capable of CAP_FSETID (see inode_change_ok).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hj&hhhNhNubj)}(h **idmap**h]hidmap}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubhB. This function will then take care to map the inode according to }(hj&hhhNhNubj)}(h **idmap**h]hidmap}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hj&hhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh.}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubh)}(h%Called from set_acl inode operations.h]h%Called from set_acl inode operations.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !posix_acl_from_xattr (C function)c.posix_acl_from_xattrhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hgstruct posix_acl * posix_acl_from_xattr (struct user_namespace *userns, const void *value, size_t size)h]j)}(hestruct posix_acl *posix_acl_from_xattr(struct user_namespace *userns, const void *value, size_t size)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubh)}(hhh]jI)}(h posix_aclh]h posix_acl}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jposix_acl_from_xattrsbc.posix_acl_from_xattrasbuh1hhjhhhjhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(hposix_acl_from_xattrh]jI)}(hjh]hposix_acl_from_xattr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h?(struct user_namespace *userns, const void *value, size_t size)h](jC)}(hstruct user_namespace *usernsh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj!hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(huser_namespaceh]huser_namespace}(hj2hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj )}j ]jc.posix_acl_from_xattrasbuh1hhjubj2)}(h h]h }(hjPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(husernsh]huserns}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj ubjC)}(hconst void *valueh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj ubjC)}(h size_t sizeh](h)}(hhh]jI)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.posix_acl_from_xattrasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h3convert POSIX ACLs from backing store to VFS formath]h3convert POSIX ACLs from backing store to VFS format}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct user_namespace *userns`` the filesystem's idmapping ``const void *value`` the uapi representation of POSIX ACLs ``size_t size`` the size of **void** **Description** Filesystems that store POSIX ACLs in the unaltered uapi format should use posix_acl_from_xattr() when reading them from the backing store and converting them into the struct posix_acl VFS format. The helper is specifically intended to be called from the acl inode operation. The posix_acl_from_xattr() function will map the raw {g,u}id values stored in ACL_{GROUP,USER} entries into idmapping in **userns**. Note that posix_acl_from_xattr() does not take idmapped mounts into account. If it did it calling it from the get acl inode operation would return POSIX ACLs mapped according to an idmapped mount which would mean that the value couldn't be cached for the filesystem. Idmapped mounts are taken into account on the fly during permission checking or right at the VFS - userspace boundary before reporting them to the user. **Return** Allocated struct posix_acl on success, NULL for a valid header but without actual POSIX ACL entries, or ERR_PTR() encoded error code.h](h)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjVubj)}(hhh](j)}(h=``struct user_namespace *userns`` the filesystem's idmapping h](j)}(h!``struct user_namespace *userns``h]j)}(hj{h]hstruct user_namespace *userns}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjuubj)}(hhh]h)}(hthe filesystem's idmappingh]hthe filesystem’s idmapping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubj)}(h<``const void *value`` the uapi representation of POSIX ACLs h](j)}(h``const void *value``h]j)}(hjh]hconst void *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubj)}(hhh]h)}(h%the uapi representation of POSIX ACLsh]h%the uapi representation of POSIX ACLs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubj)}(h%``size_t size`` the size of **void** h](j)}(h``size_t size``h]j)}(hjh]h size_t size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubj)}(hhh]h)}(hthe size of **void**h](h the size of }(hjhhhNhNubj)}(h**void**h]hvoid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubeh}(h]h ]h"]h$]h&]uh1jhjVubh)}(h**Description**h]j)}(hj6h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjVubh)}(hXFilesystems that store POSIX ACLs in the unaltered uapi format should use posix_acl_from_xattr() when reading them from the backing store and converting them into the struct posix_acl VFS format. The helper is specifically intended to be called from the acl inode operation.h]hXFilesystems that store POSIX ACLs in the unaltered uapi format should use posix_acl_from_xattr() when reading them from the backing store and converting them into the struct posix_acl VFS format. The helper is specifically intended to be called from the acl inode operation.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjVubh)}(hThe posix_acl_from_xattr() function will map the raw {g,u}id values stored in ACL_{GROUP,USER} entries into idmapping in **userns**.h](hyThe posix_acl_from_xattr() function will map the raw {g,u}id values stored in ACL_{GROUP,USER} entries into idmapping in }(hj[hhhNhNubj)}(h **userns**h]huserns}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubh.}(hj[hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjVubh)}(hXNote that posix_acl_from_xattr() does not take idmapped mounts into account. If it did it calling it from the get acl inode operation would return POSIX ACLs mapped according to an idmapped mount which would mean that the value couldn't be cached for the filesystem. Idmapped mounts are taken into account on the fly during permission checking or right at the VFS - userspace boundary before reporting them to the user.h]hXNote that posix_acl_from_xattr() does not take idmapped mounts into account. If it did it calling it from the get acl inode operation would return POSIX ACLs mapped according to an idmapped mount which would mean that the value couldn’t be cached for the filesystem. Idmapped mounts are taken into account on the fly during permission checking or right at the VFS - userspace boundary before reporting them to the user.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjVubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjVubh)}(hAllocated struct posix_acl on success, NULL for a valid header but without actual POSIX ACL entries, or ERR_PTR() encoded error code.h]hAllocated struct posix_acl on success, NULL for a valid header but without actual POSIX ACL entries, or ERR_PTR() encoded error code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_set_acl (C function) c.vfs_set_aclhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hnint vfs_set_acl (struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name, struct posix_acl *kacl)h]j)}(hmint vfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name, struct posix_acl *kacl)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chM6ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM6ubjC)}(h vfs_set_aclh]jI)}(h vfs_set_aclh]h vfs_set_acl}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM6ubj=)}(h^(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name, struct posix_acl *kacl)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNjj )}j ]j)}jjsb c.vfs_set_aclasbuh1hhj ubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(hidmaph]hidmap}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj}ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}ubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jI c.vfs_set_aclasbuh1hhj}ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubjI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst char *acl_nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hj hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hacl_nameh]hacl_name}(hj5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct posix_acl *kaclh](j )}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjJubj2)}(h h]h }(hj[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJubh)}(hhh]jI)}(h posix_aclh]h posix_acl}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj )}j ]jI c.vfs_set_aclasbuh1hhjJubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubjI)}(hkaclh]hkacl}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM6ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM6ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM6hjhhubjw)}(hhh]h)}(hset posix aclsh]hset posix acls}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chM6hjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM6ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount ``struct dentry *dentry`` the dentry based on which to set the posix acls ``const char *acl_name`` the name of the posix acl ``struct posix_acl *kacl`` the posix acls in the appropriate VFS format **Description** This function sets **kacl**. The caller must all posix_acl_release() on **kacl** afterwards. **Return** On success 0, on error negative errno.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chM:hjubj)}(hhh](j)}(h/``struct mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chM7hj ubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hM7hj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hM7hjubj)}(hJ``struct dentry *dentry`` the dentry based on which to set the posix acls h](j)}(h``struct dentry *dentry``h]j)}(hjIh]hstruct dentry *dentry}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chM8hjCubj)}(hhh]h)}(h/the dentry based on which to set the posix aclsh]h/the dentry based on which to set the posix acls}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hM8hj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hM8hjubj)}(h3``const char *acl_name`` the name of the posix acl h](j)}(h``const char *acl_name``h]j)}(hjh]hconst char *acl_name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chM9hj|ubj)}(hhh]h)}(hthe name of the posix aclh]hthe name of the posix acl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjubj)}(hH``struct posix_acl *kacl`` the posix acls in the appropriate VFS format h](j)}(h``struct posix_acl *kacl``h]j)}(hjh]hstruct posix_acl *kacl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chM:hjubj)}(hhh]h)}(h,the posix acls in the appropriate VFS formath]h,the posix acls in the appropriate VFS format}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM:hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chM<hjubh)}(h\This function sets **kacl**. The caller must all posix_acl_release() on **kacl** afterwards.h](hThis function sets }(hj hhhNhNubj)}(h**kacl**h]hkacl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh-. The caller must all posix_acl_release() on }(hj hhhNhNubj)}(h**kacl**h]hkacl}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh afterwards.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chM;hjubh)}(h **Return**h]j)}(hjAh]hReturn}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chM>hjubh)}(h&On success 0, on error negative errno.h]h&On success 0, on error negative errno.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chM?hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_get_acl (C function) c.vfs_get_aclhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hestruct posix_acl * vfs_get_acl (struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h]j)}(hcstruct posix_acl *vfs_get_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubh)}(hhh]jI)}(h posix_aclh]h posix_acl}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}j vfs_get_aclsb c.vfs_get_aclasbuh1hhjhhhjhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(h vfs_get_aclh]jI)}(hjh]h vfs_get_acl}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hF(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]j c.vfs_get_aclasbuh1hhjubj2)}(h h]h }(hj<hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjphhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjlubj2)}(h h]h }(hj}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjlubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j c.vfs_get_aclasbuh1hhjlubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjlubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubjI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst char *acl_nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hacl_nameh]hacl_name}(hj$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj~hhhjhMubah}(h]jyah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhj{hhubjw)}(hhh]h)}(hget posix aclsh]hget posix acls}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjKhhubah}(h]h ]h"]h$]h&]uh1jvhj{hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount ``struct dentry *dentry`` the dentry based on which to retrieve the posix acls ``const char *acl_name`` the name of the posix acl **Description** This function retrieves **kacl** from the filesystem. The caller must all posix_acl_release() on **kacl**. **Return** On success POSIX ACLs in VFS format, on error negative errno.h](h)}(h**Parameters**h]j)}(hjph]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjjubj)}(hhh](j)}(h/``struct mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hO``struct dentry *dentry`` the dentry based on which to retrieve the posix acls h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubj)}(hhh]h)}(h4the dentry based on which to retrieve the posix aclsh]h4the dentry based on which to retrieve the posix acls}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``const char *acl_name`` the name of the posix acl h](j)}(h``const char *acl_name``h]j)}(hjh]hconst char *acl_name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubj)}(hhh]h)}(hthe name of the posix aclh]hthe name of the posix acl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjjubh)}(h**Description**h]j)}(hj<h]h Description}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjjubh)}(hjThis function retrieves **kacl** from the filesystem. The caller must all posix_acl_release() on **kacl**.h](hThis function retrieves }(hjRhhhNhNubj)}(h**kacl**h]hkacl}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubhA from the filesystem. The caller must all posix_acl_release() on }(hjRhhhNhNubj)}(h**kacl**h]hkacl}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh.}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjjubh)}(h=On success POSIX ACLs in VFS format, on error negative errno.h]h=On success POSIX ACLs in VFS format, on error negative errno.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_remove_acl (C function)c.vfs_remove_aclhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hYint vfs_remove_acl (struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h]j)}(hXint vfs_remove_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hvfs_remove_aclh]jI)}(hvfs_remove_aclh]hvfs_remove_acl}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hF(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hj'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNjj )}j ]j)}jjsbc.vfs_remove_aclasbuh1hhjubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jCc.vfs_remove_aclasbuh1hhjwubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubjI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst char *acl_nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hacl_nameh]hacl_name}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hremove posix aclsh]hremove posix acls}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjVhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1jhhhjHhNhNubj)}(hX0**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount ``struct dentry *dentry`` the dentry based on which to retrieve the posix acls ``const char *acl_name`` the name of the posix acl **Description** This function removes posix acls. **Return** On success 0, on error negative errno.h](h)}(h**Parameters**h]j)}(hj{h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjuubj)}(hhh](j)}(h/``struct mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hO``struct dentry *dentry`` the dentry based on which to retrieve the posix acls h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubj)}(hhh]h)}(h4the dentry based on which to retrieve the posix aclsh]h4the dentry based on which to retrieve the posix acls}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``const char *acl_name`` the name of the posix acl h](j)}(h``const char *acl_name``h]j)}(hj h]hconst char *acl_name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubj)}(hhh]h)}(hthe name of the posix aclh]hthe name of the posix acl}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhjubeh}(h]h ]h"]h$]h&]uh1jhjuubh)}(h**Description**h]j)}(hjGh]h Description}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjuubh)}(h!This function removes posix acls.h]h!This function removes posix acls.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjuubh)}(h **Return**h]j)}(hjnh]hReturn}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjuubh)}(h&On success 0, on error negative errno.h]h&On success 0, on error negative errno.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j fill_mg_cmtime (C function)c.fill_mg_cmtimehNtauh1hhjHhhhNhNubj)}(hhh](j)}(hOvoid fill_mg_cmtime (struct kstat *stat, u32 request_mask, struct inode *inode)h]j)}(hNvoid fill_mg_cmtime(struct kstat *stat, u32 request_mask, struct inode *inode)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chK ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhK ubjC)}(hfill_mg_cmtimeh]jI)}(hfill_mg_cmtimeh]hfill_mg_cmtime}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhK ubj=)}(h;(struct kstat *stat, u32 request_mask, struct inode *inode)h](jC)}(hstruct kstat *stath](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hkstath]hkstat}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.fill_mg_cmtimeasbuh1hhjubj2)}(h h]h }(hj.hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hstath]hstat}(hjIhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hu32 request_maskh](h)}(hhh]jI)}(hu32h]hu32}(hjehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNjj )}j ]j*c.fill_mg_cmtimeasbuh1hhj^ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj^ubjI)}(h request_maskh]h request_mask}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj^ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j*c.fill_mg_cmtimeasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhK ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhK ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhK hjhhubjw)}(hhh]h)}(h5Fill in the mtime and ctime and flag ctime as QUERIEDh]h5Fill in the mtime and ctime and flag ctime as QUERIED}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chK hj(hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhK ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCjjCjjjuh1jhhhjHhNhNubj)}(hX<**Parameters** ``struct kstat *stat`` where to store the resulting values ``u32 request_mask`` STATX_* values requested ``struct inode *inode`` inode from which to grab the c/mtime **Description** Given **inode**, grab the ctime and mtime out if it and store the result in **stat**. When fetching the value, flag it as QUERIED (if not already) so the next write will record a distinct timestamp. NB: The QUERIED flag is tracked in the ctime, but we set it there even if only the mtime was requested, as that ensures that the next mtime change will be distinct.h](h)}(h**Parameters**h]j)}(hjMh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chK$hjGubj)}(hhh](j)}(h;``struct kstat *stat`` where to store the resulting values h](j)}(h``struct kstat *stat``h]j)}(hjlh]hstruct kstat *stat}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chK!hjfubj)}(hhh]h)}(h#where to store the resulting valuesh]h#where to store the resulting values}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK!hjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhK!hjcubj)}(h.``u32 request_mask`` STATX_* values requested h](j)}(h``u32 request_mask``h]j)}(hjh]hu32 request_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chK"hjubj)}(hhh]h)}(hSTATX_* values requestedh]hSTATX_* values requested}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK"hjcubj)}(h=``struct inode *inode`` inode from which to grab the c/mtime h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chK#hjubj)}(hhh]h)}(h$inode from which to grab the c/mtimeh]h$inode from which to grab the c/mtime}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK#hjcubeh}(h]h ]h"]h$]h&]uh1jhjGubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chK%hjGubh)}(hGiven **inode**, grab the ctime and mtime out if it and store the result in **stat**. When fetching the value, flag it as QUERIED (if not already) so the next write will record a distinct timestamp.h](hGiven }(hj/hhhNhNubj)}(h **inode**h]hinode}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubh=, grab the ctime and mtime out if it and store the result in }(hj/hhhNhNubj)}(h**stat**h]hstat}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubhr. When fetching the value, flag it as QUERIED (if not already) so the next write will record a distinct timestamp.}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chK$hjGubh)}(hNB: The QUERIED flag is tracked in the ctime, but we set it there even if only the mtime was requested, as that ensures that the next mtime change will be distinct.h]hNB: The QUERIED flag is tracked in the ctime, but we set it there even if only the mtime was requested, as that ensures that the next mtime change will be distinct.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chK(hjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j generic_fillattr (C function)c.generic_fillattrhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hjvoid generic_fillattr (struct mnt_idmap *idmap, u32 request_mask, struct inode *inode, struct kstat *stat)h]j)}(hivoid generic_fillattr(struct mnt_idmap *idmap, u32 request_mask, struct inode *inode, struct kstat *stat)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKBubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhKBubjC)}(hgeneric_fillattrh]jI)}(hgeneric_fillattrh]hgeneric_fillattr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhKBubj=)}(hT(struct mnt_idmap *idmap, u32 request_mask, struct inode *inode, struct kstat *stat)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.generic_fillattrasbuh1hhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hj'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hu32 request_maskh](h)}(hhh]jI)}(hu32h]hu32}(hjChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj )}j ]jc.generic_fillattrasbuh1hhj<ubj2)}(h h]h }(hjahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj<ubjI)}(h request_maskh]h request_mask}(hjohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj<ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.generic_fillattrasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct kstat *stath](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hkstath]hkstat}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.generic_fillattrasbuh1hhjubj2)}(h h]h }(hj4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hstath]hstat}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhKBubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhKBubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhKBhjhhubjw)}(hhh]h)}(h2Fill in the basic attributes from the inode structh]h2Fill in the basic attributes from the inode struct}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKBhjvhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhKBubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX **Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``u32 request_mask`` statx request_mask ``struct inode *inode`` Inode to use as the source ``struct kstat *stat`` Where to fill in the attributes **Description** Fill in the basic attributes in the kstat structure from data that's to be found on the VFS inode structure. This is the default if no getattr inode operation is supplied. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before filling in the uid and gid filds. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKFhjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKChjubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKChjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKChjubj)}(h(``u32 request_mask`` statx request_mask h](j)}(h``u32 request_mask``h]j)}(hjh]hu32 request_mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKDhjubj)}(hhh]h)}(hstatx request_maskh]hstatx request_mask}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKDhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKDhjubj)}(h3``struct inode *inode`` Inode to use as the source h](j)}(h``struct inode *inode``h]j)}(hj,h]hstruct inode *inode}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKEhj&ubj)}(hhh]h)}(hInode to use as the sourceh]hInode to use as the source}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhKEhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhKEhjubj)}(h7``struct kstat *stat`` Where to fill in the attributes h](j)}(h``struct kstat *stat``h]j)}(hjeh]hstruct kstat *stat}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKFhj_ubj)}(hhh]h)}(hWhere to fill in the attributesh]hWhere to fill in the attributes}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhKFhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhKFhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKHhjubh)}(hFill in the basic attributes in the kstat structure from data that's to be found on the VFS inode structure. This is the default if no getattr inode operation is supplied.h]hFill in the basic attributes in the kstat structure from data that’s to be found on the VFS inode structure. This is the default if no getattr inode operation is supplied.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKGhjubh)}(hXXIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before filling in the uid and gid filds. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB. This function will then take care to map the inode according to }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh before filling in the uid and gid filds. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $generic_fill_statx_attr (C function)c.generic_fill_statx_attrhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hFvoid generic_fill_statx_attr (struct inode *inode, struct kstat *stat)h]j)}(hEvoid generic_fill_statx_attr(struct inode *inode, struct kstat *stat)h](jf)}(hvoidh]hvoid}(hj*hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj&hhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKuubj2)}(h h]h }(hj9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&hhhj8hKuubjC)}(hgeneric_fill_statx_attrh]jI)}(hgeneric_fill_statx_attrh]hgeneric_fill_statx_attr}(hjKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj&hhhj8hKuubj=)}(h)(struct inode *inode, struct kstat *stat)h](jC)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjghhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjcubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjMsbc.generic_fill_statx_attrasbuh1hhjcubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjcubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj_ubjC)}(hstruct kstat *stath](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hkstath]hkstat}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.generic_fill_statx_attrasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hstath]hstat}(hj0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj_ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj&hhhj8hKuubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj"hhhj8hKuubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj8hKuhjhhubjw)}(hhh]h)}(h1Fill in the statx attributes from the inode flagsh]h1Fill in the statx attributes from the inode flags}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKuhjWhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj8hKuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct inode *inode`` Inode to use as the source ``struct kstat *stat`` Where to fill in the attribute flags **Description** Fill in the STATX_ATTR_* flags in the kstat structure for properties of the inode that are published on i_flags and enforced by the VFS.h](h)}(h**Parameters**h]j)}(hj|h]h Parameters}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKyhjvubj)}(hhh](j)}(h3``struct inode *inode`` Inode to use as the source h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKvhjubj)}(hhh]h)}(hInode to use as the sourceh]hInode to use as the source}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKvhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKvhjubj)}(h<``struct kstat *stat`` Where to fill in the attribute flags h](j)}(h``struct kstat *stat``h]j)}(hjh]hstruct kstat *stat}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKwhjubj)}(hhh]h)}(h$Where to fill in the attribute flagsh]h$Where to fill in the attribute flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKwhjubeh}(h]h ]h"]h$]h&]uh1jhjvubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKyhjvubh)}(hFill in the STATX_ATTR_* flags in the kstat structure for properties of the inode that are published on i_flags and enforced by the VFS.h]hFill in the STATX_ATTR_* flags in the kstat structure for properties of the inode that are published on i_flags and enforced by the VFS.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKxhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j -generic_fill_statx_atomic_writes (C function)"c.generic_fill_statx_atomic_writeshNtauh1hhjHhhhNhNubj)}(hhh](j)}(hvoid generic_fill_statx_atomic_writes (struct kstat *stat, unsigned int unit_min, unsigned int unit_max, unsigned int unit_max_opt)h]j)}(hvoid generic_fill_statx_atomic_writes(struct kstat *stat, unsigned int unit_min, unsigned int unit_max, unsigned int unit_max_opt)h](jf)}(hvoidh]hvoid}(hjThhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjPhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKubj2)}(h h]h }(hjchhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPhhhjbhKubjC)}(h generic_fill_statx_atomic_writesh]jI)}(h generic_fill_statx_atomic_writesh]h generic_fill_statx_atomic_writes}(hjuhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjPhhhjbhKubj=)}(h](struct kstat *stat, unsigned int unit_min, unsigned int unit_max, unsigned int unit_max_opt)h](jC)}(hstruct kstat *stath](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hkstath]hkstat}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjwsb"c.generic_fill_statx_atomic_writesasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hstath]hstat}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hunsigned int unit_minh](jf)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hj-hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hunit_minh]hunit_min}(hj;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hunsigned int unit_maxh](jf)}(hunsignedh]hunsigned}(hjThhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjPubj2)}(h h]h }(hjbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPubjf)}(hinth]hint}(hjphhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjPubj2)}(h h]h }(hj~hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPubjI)}(hunit_maxh]hunit_max}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hunsigned int unit_max_opth](jf)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(h unit_max_opth]h unit_max_opt}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjPhhhjbhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjLhhhjbhKubah}(h]jGah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjbhKhjIhhubjw)}(hhh]h)}(h&Fill in atomic writes statx attributesh]h&Fill in atomic writes statx attributes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhjhhubah}(h]h ]h"]h$]h&]uh1jvhjIhhhjbhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct kstat *stat`` Where to fill in the attribute flags ``unsigned int unit_min`` Minimum supported atomic write length in bytes ``unsigned int unit_max`` Maximum supported atomic write length in bytes ``unsigned int unit_max_opt`` Optimised maximum supported atomic write length in bytes **Description** Fill in the STATX{_ATTR}_WRITE_ATOMIC flags in the kstat structure from atomic write unit_min and unit_max values.h](h)}(h**Parameters**h]j)}(hj)h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhj#ubj)}(hhh](j)}(h<``struct kstat *stat`` Where to fill in the attribute flags h](j)}(h``struct kstat *stat``h]j)}(hjHh]hstruct kstat *stat}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhjBubj)}(hhh]h)}(h$Where to fill in the attribute flagsh]h$Where to fill in the attribute flags}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hKhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hKhj?ubj)}(hI``unsigned int unit_min`` Minimum supported atomic write length in bytes h](j)}(h``unsigned int unit_min``h]j)}(hjh]hunsigned int unit_min}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhj{ubj)}(hhh]h)}(h.Minimum supported atomic write length in bytesh]h.Minimum supported atomic write length in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhKhj?ubj)}(hI``unsigned int unit_max`` Maximum supported atomic write length in bytes h](j)}(h``unsigned int unit_max``h]j)}(hjh]hunsigned int unit_max}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhjubj)}(hhh]h)}(h.Maximum supported atomic write length in bytesh]h.Maximum supported atomic write length in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj?ubj)}(hW``unsigned int unit_max_opt`` Optimised maximum supported atomic write length in bytes h](j)}(h``unsigned int unit_max_opt``h]j)}(hjh]hunsigned int unit_max_opt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhjubj)}(hhh]h)}(h8Optimised maximum supported atomic write length in bytesh]h8Optimised maximum supported atomic write length in bytes}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj?ubeh}(h]h ]h"]h$]h&]uh1jhj#ubh)}(h**Description**h]j)}(hj.h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhj#ubh)}(hrFill in the STATX{_ATTR}_WRITE_ATOMIC flags in the kstat structure from atomic write unit_min and unit_max values.h]hrFill in the STATX{_ATTR}_WRITE_ATOMIC flags in the kstat structure from atomic write unit_min and unit_max values.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_getattr_nosec (C function)c.vfs_getattr_nosechNtauh1hhjHhhhNhNubj)}(hhh](j)}(hoint vfs_getattr_nosec (const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags)h]j)}(hnint vfs_getattr_nosec(const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags)h](jf)}(hinth]hint}(hjshhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjohhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjohhhjhKubjC)}(hvfs_getattr_nosech]jI)}(hvfs_getattr_nosech]hvfs_getattr_nosec}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjohhhjhKubj=)}(hY(const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags)h](jC)}(hconst struct path *pathh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.vfs_getattr_nosecasbuh1hhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hpathh]hpath}(hj$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct kstat *stath](j )}(hjh]hstruct}(hj=hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj9ubj2)}(h h]h }(hjJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9ubh)}(hhh]jI)}(hkstath]hkstat}(hj[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNjj )}j ]jc.vfs_getattr_nosecasbuh1hhj9ubj2)}(h h]h }(hjyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubjI)}(hstath]hstat}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj9ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hu32 request_maskh](h)}(hhh]jI)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.vfs_getattr_nosecasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(h request_maskh]h request_mask}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hunsigned int query_flagsh](jf)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(h query_flagsh]h query_flags}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjohhhjhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjkhhhjhKubah}(h]jfah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhKhjhhhubjw)}(hhh]h)}(hgetattr without security checksh]hgetattr without security checks}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhjThhubah}(h]h ]h"]h$]h&]uh1jvhjhhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjojjojjjuh1jhhhjHhNhNubj)}(hX(**Parameters** ``const struct path *path`` file to get attributes from ``struct kstat *stat`` structure to return attributes in ``u32 request_mask`` STATX_xxx flags indicating what the caller wants ``unsigned int query_flags`` Query mode (AT_STATX_SYNC_TYPE) **Description** Get attributes without calling security_inode_getattr. Currently the only caller other than vfs_getattr is internal to the filehandle lookup code, which uses only the inode number and returns no attributes to any user. Any other code probably wants vfs_getattr.h](h)}(h**Parameters**h]j)}(hjyh]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhjsubj)}(hhh](j)}(h8``const struct path *path`` file to get attributes from h](j)}(h``const struct path *path``h]j)}(hjh]hconst struct path *path}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhjubj)}(hhh]h)}(hfile to get attributes fromh]hfile to get attributes from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h9``struct kstat *stat`` structure to return attributes in h](j)}(h``struct kstat *stat``h]j)}(hjh]hstruct kstat *stat}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhjubj)}(hhh]h)}(h!structure to return attributes inh]h!structure to return attributes in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hF``u32 request_mask`` STATX_xxx flags indicating what the caller wants h](j)}(h``u32 request_mask``h]j)}(hj h]hu32 request_mask}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhjubj)}(hhh]h)}(h0STATX_xxx flags indicating what the caller wantsh]h0STATX_xxx flags indicating what the caller wants}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h=``unsigned int query_flags`` Query mode (AT_STATX_SYNC_TYPE) h](j)}(h``unsigned int query_flags``h]j)}(hjCh]hunsigned int query_flags}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhj=ubj)}(hhh]h)}(hQuery mode (AT_STATX_SYNC_TYPE)h]hQuery mode (AT_STATX_SYNC_TYPE)}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhKhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhKhjubeh}(h]h ]h"]h$]h&]uh1jhjsubh)}(h**Description**h]j)}(hj~h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhjsubh)}(h6Get attributes without calling security_inode_getattr.h]h6Get attributes without calling security_inode_getattr.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhjsubh)}(hCurrently the only caller other than vfs_getattr is internal to the filehandle lookup code, which uses only the inode number and returns no attributes to any user. Any other code probably wants vfs_getattr.h]hCurrently the only caller other than vfs_getattr is internal to the filehandle lookup code, which uses only the inode number and returns no attributes to any user. Any other code probably wants vfs_getattr.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhjsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_fsync_range (C function)c.vfs_fsync_rangehNtauh1hhjHhhhNhNubj)}(hhh](j)}(hOint vfs_fsync_range (struct file *file, loff_t start, loff_t end, int datasync)h]j)}(hNint vfs_fsync_range(struct file *file, loff_t start, loff_t end, int datasync)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhKubjC)}(hvfs_fsync_rangeh]jI)}(hvfs_fsync_rangeh]hvfs_fsync_range}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhKubj=)}(h;(struct file *file, loff_t start, loff_t end, int datasync)h](jC)}(hstruct file *fileh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubh)}(hhh]jI)}(hfileh]hfile}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNjj )}j ]j)}jjsbc.vfs_fsync_rangeasbuh1hhj ubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(hfileh]hfile}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h loff_t starth](h)}(hhh]jI)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jIc.vfs_fsync_rangeasbuh1hhj}ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}ubjI)}(hstarth]hstart}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h loff_t endh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jIc.vfs_fsync_rangeasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hendh]hend}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h int datasynch](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubjI)}(hdatasynch]hdatasync}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhKubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhKhjhhubjw)}(hhh]h)}(h1helper to sync a range of data & metadata to diskh]h1helper to sync a range of data & metadata to disk}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhjThhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjojjojjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct file *file`` file to sync ``loff_t start`` offset in bytes of the beginning of data range to sync ``loff_t end`` offset in bytes of the end of data range (inclusive) ``int datasync`` perform only datasync **Description** Write back data in range **start**..**end** and metadata for **file** to disk. If **datasync** is set only metadata needed to access modified file data is written.h](h)}(h**Parameters**h]j)}(hjyh]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhjsubj)}(hhh](j)}(h#``struct file *file`` file to sync h](j)}(h``struct file *file``h]j)}(hjh]hstruct file *file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhjubj)}(hhh]h)}(h file to synch]h file to sync}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hH``loff_t start`` offset in bytes of the beginning of data range to sync h](j)}(h``loff_t start``h]j)}(hjh]h loff_t start}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhjubj)}(hhh]h)}(h6offset in bytes of the beginning of data range to synch]h6offset in bytes of the beginning of data range to sync}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hD``loff_t end`` offset in bytes of the end of data range (inclusive) h](j)}(h``loff_t end``h]j)}(hj h]h loff_t end}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhjubj)}(hhh]h)}(h4offset in bytes of the end of data range (inclusive)h]h4offset in bytes of the end of data range (inclusive)}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h'``int datasync`` perform only datasync h](j)}(h``int datasync``h]j)}(hjCh]h int datasync}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhj=ubj)}(hhh]h)}(hperform only datasynch]hperform only datasync}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhKhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhKhjubeh}(h]h ]h"]h$]h&]uh1jhjsubh)}(h**Description**h]j)}(hj~h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhjsubh)}(hWrite back data in range **start**..**end** and metadata for **file** to disk. If **datasync** is set only metadata needed to access modified file data is written.h](hWrite back data in range }(hjhhhNhNubj)}(h **start**h]hstart}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh..**end** and metadata for }(hjhhhNhNubj)}(h**file**h]hfile}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to disk. If }(hjhhhNhNubj)}(h **datasync**h]hdatasync}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhE is set only metadata needed to access modified file data is written.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhjsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_fsync (C function) c.vfs_fsynchNtauh1hhjHhhhNhNubj)}(hhh](j)}(h/int vfs_fsync (struct file *file, int datasync)h]j)}(h.int vfs_fsync(struct file *file, int datasync)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhKubjC)}(h vfs_fsynch]jI)}(h vfs_fsynch]h vfs_fsync}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhKubj=)}(h!(struct file *file, int datasync)h](jC)}(hstruct file *fileh](j )}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj2ubj2)}(h h]h }(hjChhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubh)}(hhh]jI)}(hfileh]hfile}(hjThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNjj )}j ]j)}jjsb c.vfs_fsyncasbuh1hhj2ubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubjI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj.ubjC)}(h int datasynch](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hdatasynch]hdatasync}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj.ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhKubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhKhjhhubjw)}(hhh]h)}(h&perform a fsync or fdatasync on a fileh]h&perform a fsync or fdatasync on a file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct file *file`` file to sync ``int datasync`` only perform a fdatasync operation **Description** Write back data and metadata for **file** to disk. If **datasync** is set only metadata needed to access modified file data is written.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhj ubj)}(hhh](j)}(h#``struct file *file`` file to sync h](j)}(h``struct file *file``h]j)}(hj/h]hstruct file *file}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhj)ubj)}(hhh]h)}(h file to synch]h file to sync}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhKhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhKhj&ubj)}(h4``int datasync`` only perform a fdatasync operation h](j)}(h``int datasync``h]j)}(hjhh]h int datasync}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhjbubj)}(hhh]h)}(h"only perform a fdatasync operationh]h"only perform a fdatasync operation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hKhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hKhj&ubeh}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhj ubh)}(hWrite back data and metadata for **file** to disk. If **datasync** is set only metadata needed to access modified file data is written.h](h!Write back data and metadata for }(hjhhhNhNubj)}(h**file**h]hfile}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to disk. If }(hjhhhNhNubj)}(h **datasync**h]hdatasync}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhE is set only metadata needed to access modified file data is written.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "__vfs_setxattr_locked (C function)c.__vfs_setxattr_lockedhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hint __vfs_setxattr_locked (struct mnt_idmap *idmap, struct dentry *dentry, const char *name, const void *value, size_t size, int flags, struct delegated_inode *delegated_inode)h]j)}(hint __vfs_setxattr_locked(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, const void *value, size_t size, int flags, struct delegated_inode *delegated_inode)h](jf)}(hinth]hint}(hj hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(h__vfs_setxattr_lockedh]jI)}(h__vfs_setxattr_lockedh]h__vfs_setxattr_locked}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, const void *value, size_t size, int flags, struct delegated_inode *delegated_inode)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjEubj2)}(h h]h }(hjVhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjEubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjghhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNjj )}j ]j)}jj/sbc.__vfs_setxattr_lockedasbuh1hhjEubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjEubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubjI)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjAubjC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.__vfs_setxattr_lockedasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjAubjC)}(hconst char *nameh](j )}(hjh]hconst}(hj+hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj'ubj2)}(h h]h }(hj8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'ubjf)}(hcharh]hchar}(hjFhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj'ubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'ubj)}(hjh]h*}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubjI)}(hnameh]hname}(hjohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjAubjC)}(hconst void *valueh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjAubjC)}(h size_t sizeh](h)}(hhh]jI)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.__vfs_setxattr_lockedasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjAubjC)}(h int flagsh](jf)}(hinth]hint}(hj-hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj)ubj2)}(h h]h }(hj;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj)ubjI)}(hflagsh]hflags}(hjIhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjAubjC)}(h'struct delegated_inode *delegated_inodeh](j )}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj^ubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj^ubh)}(hhh]jI)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.__vfs_setxattr_lockedasbuh1hhj^ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj^ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubjI)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj^ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjAubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h6set an extended attribute while holding the inode lockh]h6set an extended attribute while holding the inode lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount of the target inode ``struct dentry *dentry`` object to perform setxattr on ``const char *name`` xattr name to set ``const void *value`` value to set **name** to ``size_t size`` size of **value** ``int flags`` flags to pass into filesystem operations ``struct delegated_inode *delegated_inode`` on return, will contain an inode pointer that a delegation was broken on, NULL if none.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM!hjubj)}(hhh](j)}(hC``struct mnt_idmap *idmap`` idmap of the mount of the target inode h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj$h]hstruct mnt_idmap *idmap}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM hjubj)}(hhh]h)}(h&idmap of the mount of the target inodeh]h&idmap of the mount of the target inode}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hM hj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hM hjubj)}(h8``struct dentry *dentry`` object to perform setxattr on h](j)}(h``struct dentry *dentry``h]j)}(hj]h]hstruct dentry *dentry}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM!hjWubj)}(hhh]h)}(hobject to perform setxattr onh]hobject to perform setxattr on}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhM!hjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhM!hjubj)}(h'``const char *name`` xattr name to set h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM"hjubj)}(hhh]h)}(hxattr name to seth]hxattr name to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjubj)}(h/``const void *value`` value to set **name** to h](j)}(h``const void *value``h]j)}(hjh]hconst void *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM#hjubj)}(hhh]h)}(hvalue to set **name** toh](h value to set }(hjhhhNhNubj)}(h**name**h]hname}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhM#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjubj)}(h"``size_t size`` size of **value** h](j)}(h``size_t size``h]j)}(hjh]h size_t size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM$hjubj)}(hhh]h)}(hsize of **value**h](hsize of }(hj3hhhNhNubj)}(h **value**h]hvalue}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1hhj/hM$hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hM$hjubj)}(h7``int flags`` flags to pass into filesystem operations h](j)}(h ``int flags``h]j)}(hjah]h int flags}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM%hj[ubj)}(hhh]h)}(h(flags to pass into filesystem operationsh]h(flags to pass into filesystem operations}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhM%hjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhM%hjubj)}(h``struct delegated_inode *delegated_inode`` on return, will contain an inode pointer that a delegation was broken on, NULL if none.h](j)}(h+``struct delegated_inode *delegated_inode``h]j)}(hjh]h'struct delegated_inode *delegated_inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM&hjubj)}(hhh]h)}(hWon return, will contain an inode pointer that a delegation was broken on, NULL if none.h]hWon return, will contain an inode pointer that a delegation was broken on, NULL if none.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_listxattr (C function)c.vfs_listxattrhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hFssize_t vfs_listxattr (struct dentry *dentry, char *list, size_t size)h]j)}(hEssize_t vfs_listxattr(struct dentry *dentry, char *list, size_t size)h](h)}(hhh]jI)}(hssize_th]hssize_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}j vfs_listxattrsbc.vfs_listxattrasbuh1hhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(h vfs_listxattrh]jI)}(hjh]h vfs_listxattr}(hj*hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h0(struct dentry *dentry, char *list, size_t size)h](jC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjAubj2)}(h h]h }(hjRhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAubh)}(hhh]jI)}(hdentryh]hdentry}(hjchhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj )}j ]jc.vfs_listxattrasbuh1hhjAubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubjI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj=ubjC)}(h char *listh](jf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj=ubjC)}(h size_t sizeh](h)}(hhh]jI)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.vfs_listxattrasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hsizeh]hsize}(hj&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj=ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h)retrieve \0 separated list of xattr namesh]h)retrieve 0 separated list of xattr names}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjMhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1jhhhjHhNhNubj)}(hX0**Parameters** ``struct dentry *dentry`` the dentry from whose inode the xattr names are retrieved ``char *list`` buffer to store xattr names into ``size_t size`` size of the buffer **Description** This function returns the names of all xattrs associated with the inode of **dentry**. Note, for legacy reasons the vfs_listxattr() function lists POSIX ACLs as well. Since POSIX ACLs are decoupled from IOP_XATTR the vfs_listxattr() function doesn't check for this flag since a filesystem could implement POSIX ACLs without implementing any other xattrs. However, since all codepaths that remove IOP_XATTR also assign of inode operations that either don't implement or implement a stub ->listxattr() operation. **Return** On success, the size of the buffer that was used. On error a negative error code.h](h)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjlubj)}(hhh](j)}(hT``struct dentry *dentry`` the dentry from whose inode the xattr names are retrieved h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjubj)}(hhh]h)}(h9the dentry from whose inode the xattr names are retrievedh]h9the dentry from whose inode the xattr names are retrieved}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``char *list`` buffer to store xattr names into h](j)}(h``char *list``h]j)}(hjh]h char *list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjubj)}(hhh]h)}(h buffer to store xattr names intoh]h buffer to store xattr names into}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h#``size_t size`` size of the buffer h](j)}(h``size_t size``h]j)}(hjh]h size_t size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjubj)}(hhh]h)}(hsize of the bufferh]hsize of the buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjlubh)}(h**Description**h]j)}(hj>h]h Description}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjlubh)}(hVThis function returns the names of all xattrs associated with the inode of **dentry**.h](hKThis function returns the names of all xattrs associated with the inode of }(hjThhhNhNubj)}(h **dentry**h]hdentry}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh.}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjlubh)}(hX Note, for legacy reasons the vfs_listxattr() function lists POSIX ACLs as well. Since POSIX ACLs are decoupled from IOP_XATTR the vfs_listxattr() function doesn't check for this flag since a filesystem could implement POSIX ACLs without implementing any other xattrs.h]hX Note, for legacy reasons the vfs_listxattr() function lists POSIX ACLs as well. Since POSIX ACLs are decoupled from IOP_XATTR the vfs_listxattr() function doesn’t check for this flag since a filesystem could implement POSIX ACLs without implementing any other xattrs.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjlubh)}(hHowever, since all codepaths that remove IOP_XATTR also assign of inode operations that either don't implement or implement a stub ->listxattr() operation.h]hHowever, since all codepaths that remove IOP_XATTR also assign of inode operations that either don’t implement or implement a stub ->listxattr() operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjlubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjlubh)}(hQOn success, the size of the buffer that was used. On error a negative error code.h]hQOn success, the size of the buffer that was used. On error a negative error code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j %__vfs_removexattr_locked (C function)c.__vfs_removexattr_lockedhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hint __vfs_removexattr_locked (struct mnt_idmap *idmap, struct dentry *dentry, const char *name, struct delegated_inode *delegated_inode)h]j)}(hint __vfs_removexattr_locked(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, struct delegated_inode *delegated_inode)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM&ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM&ubjC)}(h__vfs_removexattr_lockedh]jI)}(h__vfs_removexattr_lockedh]h__vfs_removexattr_locked}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM&ubj=)}(hk(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, struct delegated_inode *delegated_inode)h](jC)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj ubj2)}(h h]h }(hj$ hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hj5 hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2 ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7 modnameN classnameNjj )}j ]j)}jjsbc.__vfs_removexattr_lockedasbuh1hhj ubj2)}(h h]h }(hjU hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hjc hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(hidmaph]hidmap}(hjp hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj ubjC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubh)}(hhh]jI)}(hdentryh]hdentry}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]jQ c.__vfs_removexattr_lockedasbuh1hhj ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(hdentryh]hdentry}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj ubjC)}(hconst char *nameh](j )}(hjh]hconst}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubjf)}(hcharh]hchar}(hj hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj ubj2)}(h h]h }(hj" hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hj0 hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(hnameh]hname}(hj= hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj ubjC)}(h'struct delegated_inode *delegated_inodeh](j )}(hjh]hstruct}(hjV hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjR ubj2)}(h h]h }(hjc hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjR ubh)}(hhh]jI)}(hdelegated_inodeh]hdelegated_inode}(hjt hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjq ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjv modnameN classnameNjj )}j ]jQ c.__vfs_removexattr_lockedasbuh1hhjR ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjR ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjR ubjI)}(hdelegated_inodeh]hdelegated_inode}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjR ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM&ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM&ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM&hjhhubjw)}(hhh]h)}(h6set an extended attribute while holding the inode lockh]h6set an extended attribute while holding the inode lock}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM&hj hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1jhhhjHhNhNubj)}(hXH**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount of the target inode ``struct dentry *dentry`` object to perform setxattr on ``const char *name`` name of xattr to remove ``struct delegated_inode *delegated_inode`` on return, will contain an inode pointer that a delegation was broken on, NULL if none.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM*hj ubj)}(hhh](j)}(hC``struct mnt_idmap *idmap`` idmap of the mount of the target inode h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj h]hstruct mnt_idmap *idmap}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM)hj ubj)}(hhh]h)}(h&idmap of the mount of the target inodeh]h&idmap of the mount of the target inode}(hj1 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj- hM)hj. ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj- hM)hj ubj)}(h8``struct dentry *dentry`` object to perform setxattr on h](j)}(h``struct dentry *dentry``h]j)}(hjQ h]hstruct dentry *dentry}(hjS hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM*hjK ubj)}(hhh]h)}(hobject to perform setxattr onh]hobject to perform setxattr on}(hjj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjf hM*hjg ubah}(h]h ]h"]h$]h&]uh1jhjK ubeh}(h]h ]h"]h$]h&]uh1jhjf hM*hj ubj)}(h-``const char *name`` name of xattr to remove h](j)}(h``const char *name``h]j)}(hj h]hconst char *name}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM+hj ubj)}(hhh]h)}(hname of xattr to removeh]hname of xattr to remove}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM+hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM+hj ubj)}(h``struct delegated_inode *delegated_inode`` on return, will contain an inode pointer that a delegation was broken on, NULL if none.h](j)}(h+``struct delegated_inode *delegated_inode``h]j)}(hj h]h'struct delegated_inode *delegated_inode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM,hj ubj)}(hhh]h)}(hWon return, will contain an inode pointer that a delegation was broken on, NULL if none.h]hWon return, will contain an inode pointer that a delegation was broken on, NULL if none.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM,hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM,hj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j generic_listxattr (C function)c.generic_listxattrhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hSssize_t generic_listxattr (struct dentry *dentry, char *buffer, size_t buffer_size)h]j)}(hRssize_t generic_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size)h](h)}(hhh]jI)}(hssize_th]hssize_t}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj! modnameN classnameNjj )}j ]j)}jgeneric_listxattrsbc.generic_listxattrasbuh1hhj hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMsubj2)}(h h]h }(hjA hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj hhhj@ hMsubjC)}(hgeneric_listxattrh]jI)}(hj= h]hgeneric_listxattr}(hjS hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjO ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj hhhj@ hMsubj=)}(h9(struct dentry *dentry, char *buffer, size_t buffer_size)h](jC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjn hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjj ubj2)}(h h]h }(hj{ hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjj ubh)}(hhh]jI)}(hdentryh]hdentry}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]j; c.generic_listxattrasbuh1hhjj ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjj ubjI)}(hdentryh]hdentry}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjf ubjC)}(h char *bufferh](jf)}(hcharh]hchar}(hj hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(hbufferh]hbuffer}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjf ubjC)}(hsize_t buffer_sizeh](h)}(hhh]jI)}(hsize_th]hsize_t}(hj# hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj% modnameN classnameNjj )}j ]j; c.generic_listxattrasbuh1hhj ubj2)}(h h]h }(hjA hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubjI)}(h buffer_sizeh]h buffer_size}(hjO hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjf ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj hhhj@ hMsubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj hhhj@ hMsubah}(h]j ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj@ hMshj hhubjw)}(hhh]h)}(h.run through a dentry's xattr list() operationsh]h0run through a dentry’s xattr list() operations}(hjy hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMshjv hhubah}(h]h ]h"]h$]h&]uh1jvhj hhhj@ hMsubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1jhhhjHhNhNubj)}(hXD**Parameters** ``struct dentry *dentry`` dentry to list the xattrs ``char *buffer`` result buffer ``size_t buffer_size`` size of **buffer** **Description** Combine the results of the list() operation from every xattr_handler in the xattr_handler stack. Note that this will not include the entries for POSIX ACLs.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMwhj ubj)}(hhh](j)}(h4``struct dentry *dentry`` dentry to list the xattrs h](j)}(h``struct dentry *dentry``h]j)}(hj h]hstruct dentry *dentry}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMthj ubj)}(hhh]h)}(hdentry to list the xattrsh]hdentry to list the xattrs}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMthj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMthj ubj)}(h``char *buffer`` result buffer h](j)}(h``char *buffer``h]j)}(hj h]h char *buffer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMuhj ubj)}(hhh]h)}(h result bufferh]h result buffer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMuhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjhMuhj ubj)}(h*``size_t buffer_size`` size of **buffer** h](j)}(h``size_t buffer_size``h]j)}(hj,h]hsize_t buffer_size}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMvhj&ubj)}(hhh]h)}(hsize of **buffer**h](hsize of }(hjEhhhNhNubj)}(h **buffer**h]hbuffer}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1hhjAhMvhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMvhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hjuh]h Description}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMxhj ubh)}(h`Combine the results of the list() operation from every xattr_handler in the xattr_handler stack.h]h`Combine the results of the list() operation from every xattr_handler in the xattr_handler stack.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMwhj ubh)}(h;Note that this will not include the entries for POSIX ACLs.h]h;Note that this will not include the entries for POSIX ACLs.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMzhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j xattr_full_name (C function)c.xattr_full_namehNtauh1hhjHhhhNhNubj)}(hhh](j)}(hTconst char * xattr_full_name (const struct xattr_handler *handler, const char *name)h]j)}(hRconst char *xattr_full_name(const struct xattr_handler *handler, const char *name)h](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhjhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(hxattr_full_nameh]jI)}(hxattr_full_nameh]hxattr_full_name}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h7(const struct xattr_handler *handler, const char *name)h](jC)}(h#const struct xattr_handler *handlerh](j )}(hjh]hconst}(hj.hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj*ubj2)}(h h]h }(hj;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*ubj )}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj*ubj2)}(h h]h }(hjVhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*ubh)}(hhh]jI)}(h xattr_handlerh]h xattr_handler}(hjghhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNjj )}j ]j)}jjsbc.xattr_full_nameasbuh1hhj*ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubjI)}(hhandlerh]hhandler}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj&ubjC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj&ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h'Compute full attribute name from suffixh]h'Compute full attribute name from suffix}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhj&hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``const struct xattr_handler *handler`` handler of the xattr_handler operation ``const char *name`` name passed to the xattr_handler operation **Description** The get and set xattr handler operations are called with the remainder of the attribute name after skipping the handler's prefix: for example, "foo" is passed to the get operation of a handler with prefix "user." to get attribute "user.foo". The full name is still "there" in the name though. **Note** the list xattr handler operation when called from the vfs is passed a NULL name; some file systems use this operation internally, with varying semantics.h](h)}(h**Parameters**h]j)}(hjKh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjEubj)}(hhh](j)}(hO``const struct xattr_handler *handler`` handler of the xattr_handler operation h](j)}(h'``const struct xattr_handler *handler``h]j)}(hjjh]h#const struct xattr_handler *handler}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjdubj)}(hhh]h)}(h&handler of the xattr_handler operationh]h&handler of the xattr_handler operation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhMhjaubj)}(h@``const char *name`` name passed to the xattr_handler operation h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjubj)}(hhh]h)}(h*name passed to the xattr_handler operationh]h*name passed to the xattr_handler operation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjaubeh}(h]h ]h"]h$]h&]uh1jhjEubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjEubh)}(hX%The get and set xattr handler operations are called with the remainder of the attribute name after skipping the handler's prefix: for example, "foo" is passed to the get operation of a handler with prefix "user." to get attribute "user.foo". The full name is still "there" in the name though.h]hX7The get and set xattr handler operations are called with the remainder of the attribute name after skipping the handler’s prefix: for example, “foo” is passed to the get operation of a handler with prefix “user.” to get attribute “user.foo”. The full name is still “there” in the name though.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjEubh)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjEubh)}(hthe list xattr handler operation when called from the vfs is passed a NULL name; some file systems use this operation internally, with varying semantics.h]hthe list xattr handler operation when called from the vfs is passed a NULL name; some file systems use this operation internally, with varying semantics.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !mnt_get_write_access (C function)c.mnt_get_write_accesshNtauh1hhjHhhhNhNubj)}(hhh](j)}(h-int mnt_get_write_access (struct vfsmount *m)h]j)}(h,int mnt_get_write_access(struct vfsmount *m)h](jf)}(hinth]hint}(hjJhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjFhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMubj2)}(h h]h }(hjYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFhhhjXhMubjC)}(hmnt_get_write_accessh]jI)}(hmnt_get_write_accessh]hmnt_get_write_access}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjgubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjFhhhjXhMubj=)}(h(struct vfsmount *m)h]jC)}(hstruct vfsmount *mh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjmsbc.mnt_get_write_accessasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hj(h]hm}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjFhhhjXhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjBhhhjXhMubah}(h]j=ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjXhMhj?hhubjw)}(hhh]h)}(h5get write access to a mount without freeze protectionh]h5get write access to a mount without freeze protection}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhj?hhhjXhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct vfsmount *m`` the mount on which to take a write **Description** This tells the low-level filesystem that a write is about to be performed to it, and makes sure that writes are allowed (mnt it read-write) before returning success. This operation does not protect against filesystem being frozen. When the write operation is finished, mnt_put_write_access() must be called. This is effectively a refcount.h](h)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhj%ubj)}(hhh]j)}(h:``struct vfsmount *m`` the mount on which to take a write h](j)}(h``struct vfsmount *m``h]j)}(hjJh]hstruct vfsmount *m}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjDubj)}(hhh]h)}(h"the mount on which to take a writeh]h"the mount on which to take a write}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhj%ubh)}(hXSThis tells the low-level filesystem that a write is about to be performed to it, and makes sure that writes are allowed (mnt it read-write) before returning success. This operation does not protect against filesystem being frozen. When the write operation is finished, mnt_put_write_access() must be called. This is effectively a refcount.h]hXSThis tells the low-level filesystem that a write is about to be performed to it, and makes sure that writes are allowed (mnt it read-write) before returning success. This operation does not protect against filesystem being frozen. When the write operation is finished, mnt_put_write_access() must be called. This is effectively a refcount.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j mnt_want_write (C function)c.mnt_want_writehNtauh1hhjHhhhNhNubj)}(hhh](j)}(h'int mnt_want_write (struct vfsmount *m)h]j)}(h&int mnt_want_write(struct vfsmount *m)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hmnt_want_writeh]jI)}(hmnt_want_writeh]hmnt_want_write}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h(struct vfsmount *m)h]jC)}(hstruct vfsmount *mh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hvfsmounth]hvfsmount}(hj%hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNjj )}j ]j)}jjsbc.mnt_want_writeasbuh1hhjubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hj(h]hm}(hj`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hget write access to a mounth]hget write access to a mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct vfsmount *m`` the mount on which to take a write **Description** This tells the low-level filesystem that a write is about to be performed to it, and makes sure that writes are allowed (mount is read-write, filesystem is not frozen) before returning success. When the write operation is finished, mnt_drop_write() must be called. This is effectively a refcount.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjubj)}(hhh]j)}(h:``struct vfsmount *m`` the mount on which to take a write h](j)}(h``struct vfsmount *m``h]j)}(hjh]hstruct vfsmount *m}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjubj)}(hhh]h)}(h"the mount on which to take a writeh]h"the mount on which to take a write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjubh)}(hX*This tells the low-level filesystem that a write is about to be performed to it, and makes sure that writes are allowed (mount is read-write, filesystem is not frozen) before returning success. When the write operation is finished, mnt_drop_write() must be called. This is effectively a refcount.h]hX*This tells the low-level filesystem that a write is about to be performed to it, and makes sure that writes are allowed (mount is read-write, filesystem is not frozen) before returning success. When the write operation is finished, mnt_drop_write() must be called. This is effectively a refcount.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  mnt_want_write_file (C function)c.mnt_want_write_filehNtauh1hhjHhhhNhNubj)}(hhh](j)}(h+int mnt_want_write_file (struct file *file)h]j)}(h*int mnt_want_write_file(struct file *file)h](jf)}(hinth]hint}(hjJhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjFhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMubj2)}(h h]h }(hjYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFhhhjXhMubjC)}(hmnt_want_write_fileh]jI)}(hmnt_want_write_fileh]hmnt_want_write_file}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjgubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjFhhhjXhMubj=)}(h(struct file *file)h]jC)}(hstruct file *fileh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjmsbc.mnt_want_write_fileasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjFhhhjXhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjBhhhjXhMubah}(h]j=ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjXhMhj?hhubjw)}(hhh]h)}(h"get write access to a file's mounth]h$get write access to a file’s mount}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhj?hhhjXhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct file *file`` the file who's mount on which to take a write **Description** This is like mnt_want_write, but if the file is already open for writing it skips incrementing mnt_writers (since the open file already has a reference) and instead only does the freeze protection and the check for emergency r/o remounts. This must be paired with mnt_drop_write_file.h](h)}(h**Parameters**h]j)}(hj,h]h Parameters}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhj&ubj)}(hhh]j)}(hD``struct file *file`` the file who's mount on which to take a write h](j)}(h``struct file *file``h]j)}(hjKh]hstruct file *file}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjEubj)}(hhh]h)}(h-the file who's mount on which to take a writeh]h/the file who’s mount on which to take a write}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhj&ubh)}(hXThis is like mnt_want_write, but if the file is already open for writing it skips incrementing mnt_writers (since the open file already has a reference) and instead only does the freeze protection and the check for emergency r/o remounts. This must be paired with mnt_drop_write_file.h]hXThis is like mnt_want_write, but if the file is already open for writing it skips incrementing mnt_writers (since the open file already has a reference) and instead only does the freeze protection and the check for emergency r/o remounts. This must be paired with mnt_drop_write_file.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !mnt_put_write_access (C function)c.mnt_put_write_accesshNtauh1hhjHhhhNhNubj)}(hhh](j)}(h0void mnt_put_write_access (struct vfsmount *mnt)h]j)}(h/void mnt_put_write_access(struct vfsmount *mnt)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM#ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM#ubjC)}(hmnt_put_write_accessh]jI)}(hmnt_put_write_accessh]hmnt_put_write_access}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM#ubj=)}(h(struct vfsmount *mnt)h]jC)}(hstruct vfsmount *mnth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hvfsmounth]hvfsmount}(hj&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNjj )}j ]j)}jjsbc.mnt_put_write_accessasbuh1hhjubj2)}(h h]h }(hjFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hmnth]hmnt}(hjahhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM#ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM#ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM#hjhhubjw)}(hhh]h)}(hgive up write access to a mounth]hgive up write access to a mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM#hjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(h**Parameters** ``struct vfsmount *mnt`` the mount on which to give up write access **Description** Tells the low-level filesystem that we are done performing writes to it. Must be matched with mnt_get_write_access() call above.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM'hjubj)}(hhh]j)}(hD``struct vfsmount *mnt`` the mount on which to give up write access h](j)}(h``struct vfsmount *mnt``h]j)}(hjh]hstruct vfsmount *mnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM$hjubj)}(hhh]h)}(h*the mount on which to give up write accessh]h*the mount on which to give up write access}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM&hjubh)}(hTells the low-level filesystem that we are done performing writes to it. Must be matched with mnt_get_write_access() call above.h]hTells the low-level filesystem that we are done performing writes to it. Must be matched with mnt_get_write_access() call above.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM%hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j mnt_drop_write (C function)c.mnt_drop_writehNtauh1hhjHhhhNhNubj)}(hhh](j)}(h*void mnt_drop_write (struct vfsmount *mnt)h]j)}(h)void mnt_drop_write(struct vfsmount *mnt)h](jf)}(hvoidh]hvoid}(hjLhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjHhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM3ubj2)}(h h]h }(hj[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjHhhhjZhM3ubjC)}(hmnt_drop_writeh]jI)}(hmnt_drop_writeh]hmnt_drop_write}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjHhhhjZhM3ubj=)}(h(struct vfsmount *mnt)h]jC)}(hstruct vfsmount *mnth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjosbc.mnt_drop_writeasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hmnth]hmnt}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjHhhhjZhM3ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjDhhhjZhM3ubah}(h]j?ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjZhM3hjAhhubjw)}(hhh]h)}(hgive up write access to a mounth]hgive up write access to a mount}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM3hj hhubah}(h]h ]h"]h$]h&]uh1jvhjAhhhjZhM3ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jj$jjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct vfsmount *mnt`` the mount on which to give up write access **Description** Tells the low-level filesystem that we are done performing writes to it and also allows filesystem to be frozen again. Must be matched with mnt_want_write() call above.h](h)}(h**Parameters**h]j)}(hj.h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM7hj(ubj)}(hhh]j)}(hD``struct vfsmount *mnt`` the mount on which to give up write access h](j)}(h``struct vfsmount *mnt``h]j)}(hjMh]hstruct vfsmount *mnt}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM4hjGubj)}(hhh]h)}(h*the mount on which to give up write accessh]h*the mount on which to give up write access}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhM4hjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhM4hjDubah}(h]h ]h"]h$]h&]uh1jhj(ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM6hj(ubh)}(hTells the low-level filesystem that we are done performing writes to it and also allows filesystem to be frozen again. Must be matched with mnt_want_write() call above.h]hTells the low-level filesystem that we are done performing writes to it and also allows filesystem to be frozen again. Must be matched with mnt_want_write() call above.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM5hj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_create_mount (C function)c.vfs_create_mounthNtauh1hhjHhhhNhNubj)}(hhh](j)}(h:struct vfsmount * vfs_create_mount (struct fs_context *fc)h]j)}(h8struct vfsmount *vfs_create_mount(struct fs_context *fc)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubh)}(hhh]jI)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jvfs_create_mountsbc.vfs_create_mountasbuh1hhjhhhjhMubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(hvfs_create_mounth]jI)}(hj h]hvfs_create_mount}(hj,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj(ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h(struct fs_context *fc)h]jC)}(hstruct fs_context *fch](j )}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjCubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCubh)}(hhh]jI)}(h fs_contexth]h fs_context}(hjehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNjj )}j ]jc.vfs_create_mountasbuh1hhjCubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubjI)}(hfch]hfc}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjCubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj?ubah}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h*Create a mount for a configured superblockh]h*Create a mount for a configured superblock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX+**Parameters** ``struct fs_context *fc`` The configuration context with the superblock attached **Description** Create a mount to an already configured superblock. If necessary, the caller should invoke vfs_get_tree() before calling this. Note that this does not attach the mount to anything.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjubj)}(hhh]j)}(hQ``struct fs_context *fc`` The configuration context with the superblock attached h](j)}(h``struct fs_context *fc``h]j)}(hj h]hstruct fs_context *fc}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjubj)}(hhh]h)}(h6The configuration context with the superblock attachedh]h6The configuration context with the superblock attached}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjDh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjubh)}(hCreate a mount to an already configured superblock. If necessary, the caller should invoke vfs_get_tree() before calling this.h]hCreate a mount to an already configured superblock. If necessary, the caller should invoke vfs_get_tree() before calling this.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjubh)}(h5Note that this does not attach the mount to anything.h]h5Note that this does not attach the mount to anything.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j path_is_mountpoint (C function)c.path_is_mountpointhNtauh1hhjHhhhNhNubj)}(hhh](j)}(h1bool path_is_mountpoint (const struct path *path)h]j)}(h0bool path_is_mountpoint(const struct path *path)h](jf)}(hjih]hbool}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hpath_is_mountpointh]jI)}(hpath_is_mountpointh]hpath_is_mountpoint}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h(const struct path *path)h]jC)}(hconst struct path *pathh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hpathh]hpath}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.path_is_mountpointasbuh1hhjubj2)}(h h]h }(hj-hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hpathh]hpath}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h2Check if path is a mount in the current namespace.h]h2Check if path is a mount in the current namespace.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjohhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``const struct path *path`` path to check **Description** d_mountpoint() can only be used reliably to establish if a dentry is not mounted in any namespace and that common case is handled inline. d_mountpoint() isn't aware of the possibility there may be multiple mounts using a given dentry in a different namespace. This function checks if the passed in path is a mountpoint rather than the dentry alone.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjubj)}(hhh]j)}(h*``const struct path *path`` path to check h](j)}(h``const struct path *path``h]j)}(hjh]hconst struct path *path}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjubj)}(hhh]h)}(h path to checkh]h path to check}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjubj)}(hX\d_mountpoint() can only be used reliably to establish if a dentry is not mounted in any namespace and that common case is handled inline. d_mountpoint() isn't aware of the possibility there may be multiple mounts using a given dentry in a different namespace. This function checks if the passed in path is a mountpoint rather than the dentry alone.h]h)}(hX\d_mountpoint() can only be used reliably to establish if a dentry is not mounted in any namespace and that common case is handled inline. d_mountpoint() isn't aware of the possibility there may be multiple mounts using a given dentry in a different namespace. This function checks if the passed in path is a mountpoint rather than the dentry alone.h]hX^d_mountpoint() can only be used reliably to establish if a dentry is not mounted in any namespace and that common case is handled inline. d_mountpoint() isn’t aware of the possibility there may be multiple mounts using a given dentry in a different namespace. This function checks if the passed in path is a mountpoint rather than the dentry alone.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j may_umount_tree (C function)c.may_umount_treehNtauh1hhjHhhhNhNubj)}(hhh](j)}(h(int may_umount_tree (struct vfsmount *m)h]j)}(h'int may_umount_tree(struct vfsmount *m)h](jf)}(hinth]hint}(hj=hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj9hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM6ubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9hhhjKhM6ubjC)}(hmay_umount_treeh]jI)}(hmay_umount_treeh]hmay_umount_tree}(hj^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjZubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj9hhhjKhM6ubj=)}(h(struct vfsmount *m)h]jC)}(hstruct vfsmount *mh](j )}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjvubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjvubh)}(hhh]jI)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jj`sbc.may_umount_treeasbuh1hhjvubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjvubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubjI)}(hj(h]hm}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjvubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjrubah}(h]h ]h"]h$]h&]j`jauh1j<hj9hhhjKhM6ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj5hhhjKhM6ubah}(h]j0ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjKhM6hj2hhubjw)}(hhh]h)}(hcheck if a mount tree is busyh]hcheck if a mount tree is busy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM6hjhhubah}(h]h ]h"]h$]h&]uh1jvhj2hhhjKhM6ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(h**Parameters** ``struct vfsmount *m`` root of mount tree **Description** This is called to check if a tree of mounts has any open files, pwds, chroots or sub mounts that are busy.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM:hjubj)}(hhh]j)}(h*``struct vfsmount *m`` root of mount tree h](j)}(h``struct vfsmount *m``h]j)}(hj=h]hstruct vfsmount *m}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM7hj7ubj)}(hhh]h)}(hroot of mount treeh]hroot of mount tree}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhM7hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM7hj4ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjxh]h Description}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM9hjubh)}(hjThis is called to check if a tree of mounts has any open files, pwds, chroots or sub mounts that are busy.h]hjThis is called to check if a tree of mounts has any open files, pwds, chroots or sub mounts that are busy.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM8hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j may_umount (C function) c.may_umounthNtauh1hhjHhhhNhNubj)}(hhh](j)}(h%int may_umount (struct vfsmount *mnt)h]j)}(h$int may_umount(struct vfsmount *mnt)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMRubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMRubjC)}(h may_umounth]jI)}(h may_umounth]h may_umount}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMRubj=)}(h(struct vfsmount *mnt)h]jC)}(hstruct vfsmount *mnth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsb c.may_umountasbuh1hhjubj2)}(h h]h }(hj8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hmnth]hmnt}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMRubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMRubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMRhjhhubjw)}(hhh]h)}(hcheck if a mount point is busyh]hcheck if a mount point is busy}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMRhjzhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``struct vfsmount *mnt`` root of mount **Description** This is called to check if a mount point has any open files, pwds, chroots or sub mounts. If the mount has sub mounts this will return busy regardless of whether the sub mounts are busy. Doesn't take quota and stuff into account. IOW, in some cases it will give false negatives. The main reason why it's here is that we need a non-destructive way to look for easily umountable filesystems.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMVhjubj)}(hhh]j)}(h'``struct vfsmount *mnt`` root of mount h](j)}(h``struct vfsmount *mnt``h]j)}(hjh]hstruct vfsmount *mnt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMShjubj)}(hhh]h)}(h root of mounth]h root of mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMUhjubh)}(hThis is called to check if a mount point has any open files, pwds, chroots or sub mounts. If the mount has sub mounts this will return busy regardless of whether the sub mounts are busy.h]hThis is called to check if a mount point has any open files, pwds, chroots or sub mounts. If the mount has sub mounts this will return busy regardless of whether the sub mounts are busy.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMThjubh)}(hDoesn't take quota and stuff into account. IOW, in some cases it will give false negatives. The main reason why it's here is that we need a non-destructive way to look for easily umountable filesystems.h]hDoesn’t take quota and stuff into account. IOW, in some cases it will give false negatives. The main reason why it’s here is that we need a non-destructive way to look for easily umountable filesystems.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMYhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  clone_private_mount (C function)c.clone_private_mounthNtauh1hhjHhhhNhNubj)}(hhh](j)}(h?struct vfsmount * clone_private_mount (const struct path *path)h]j)}(h=struct vfsmount *clone_private_mount(const struct path *path)h](j )}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjIhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM= ubj2)}(h h]h }(hj[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjIhhhjZhM= ubh)}(hhh]jI)}(hvfsmounth]hvfsmount}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj )}j ]j)}jclone_private_mountsbc.clone_private_mountasbuh1hhjIhhhjZhM= ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjIhhhjZhM= ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIhhhjZhM= ubjC)}(hclone_private_mounth]jI)}(hjh]hclone_private_mount}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjIhhhjZhM= ubj=)}(h(const struct path *path)h]jC)}(hconst struct path *pathh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hpathh]hpath}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]jc.clone_private_mountasbuh1hhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj, hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hpathh]hpath}(hj9 hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjIhhhjZhM= ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjEhhhjZhM= ubah}(h]j@ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjZhM= hjBhhubjw)}(hhh]h)}(h create a private clone of a pathh]h create a private clone of a path}(hjc hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM= hj` hhubah}(h]h ]h"]h$]h&]uh1jvhjBhhhjZhM= ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{ jj{ jjjuh1jhhhjHhNhNubj)}(hX**Parameters** ``const struct path *path`` path to clone **Description** This creates a new vfsmount, which will be the clone of **path**. The new mount will not be attached anywhere in the namespace and will be private (i.e. changes to the originating mount won't be propagated into this). This assumes caller has called or done the equivalent of may_mount(). Release with mntput().h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMA hj ubj)}(hhh]j)}(h*``const struct path *path`` path to clone h](j)}(h``const struct path *path``h]j)}(hj h]hconst struct path *path}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM> hj ubj)}(hhh]h)}(h path to cloneh]h path to clone}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM> hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM> hj ubah}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM@ hj ubh)}(hThis creates a new vfsmount, which will be the clone of **path**. The new mount will not be attached anywhere in the namespace and will be private (i.e. changes to the originating mount won't be propagated into this).h](h8This creates a new vfsmount, which will be the clone of }(hj hhhNhNubj)}(h**path**h]hpath}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh. The new mount will not be attached anywhere in the namespace and will be private (i.e. changes to the originating mount won’t be propagated into this).}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM? hj ubh)}(hEThis assumes caller has called or done the equivalent of may_mount().h]hEThis assumes caller has called or done the equivalent of may_mount().}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMC hj ubh)}(hRelease with mntput().h]hRelease with mntput().}(hj%!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chME hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j mnt_set_expiry (C function)c.mnt_set_expiryhNtauh1hhjHhhhNhNubj)}(hhh](j)}(hIvoid mnt_set_expiry (struct vfsmount *mnt, struct list_head *expiry_list)h]j)}(hHvoid mnt_set_expiry(struct vfsmount *mnt, struct list_head *expiry_list)h](jf)}(hvoidh]hvoid}(hjT!hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjP!hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMHubj2)}(h h]h }(hjc!hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjP!hhhjb!hMHubjC)}(hmnt_set_expiryh]jI)}(hmnt_set_expiryh]hmnt_set_expiry}(hju!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjq!ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjP!hhhjb!hMHubj=)}(h5(struct vfsmount *mnt, struct list_head *expiry_list)h](jC)}(hstruct vfsmount *mnth](j )}(hjh]hstruct}(hj!hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj!ubj2)}(h h]h }(hj!hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!ubh)}(hhh]jI)}(hvfsmounth]hvfsmount}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNjj )}j ]j)}jjw!sbc.mnt_set_expiryasbuh1hhj!ubj2)}(h h]h }(hj!hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!ubj)}(hjh]h*}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubjI)}(hmnth]hmnt}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj!ubjC)}(hstruct list_head *expiry_listh](j )}(hjh]hstruct}(hj"hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj!ubj2)}(h h]h }(hj"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!ubh)}(hhh]jI)}(h list_headh]h list_head}(hj!"hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#"modnameN classnameNjj )}j ]j!c.mnt_set_expiryasbuh1hhj!ubj2)}(h h]h }(hj?"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!ubj)}(hjh]h*}(hjM"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubjI)}(h expiry_listh]h expiry_list}(hjZ"hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj!ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjP!hhhjb!hMHubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjL!hhhjb!hMHubah}(h]jG!ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjb!hMHhjI!hhubjw)}(hhh]h)}(h!Put a mount on an expiration listh]h!Put a mount on an expiration list}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMHhj"hhubah}(h]h ]h"]h$]h&]uh1jvhjI!hhhjb!hMHubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1jhhhjHhNhNubj)}(h**Parameters** ``struct vfsmount *mnt`` The mount to list. ``struct list_head *expiry_list`` The list to add the mount to.h](h)}(h**Parameters**h]j)}(hj"h]h Parameters}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMLhj"ubj)}(hhh](j)}(h,``struct vfsmount *mnt`` The mount to list. h](j)}(h``struct vfsmount *mnt``h]j)}(hj"h]hstruct vfsmount *mnt}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMIhj"ubj)}(hhh]h)}(hThe mount to list.h]hThe mount to list.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"hMIhj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMIhj"ubj)}(h?``struct list_head *expiry_list`` The list to add the mount to.h](j)}(h!``struct list_head *expiry_list``h]j)}(hj"h]hstruct list_head *expiry_list}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMKhj"ubj)}(hhh]h)}(hThe list to add the mount to.h]hThe list to add the mount to.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMJhj#ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj#hMKhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjHhhhNhNubeh}(h]other-functionsah ]h"]other functionsah$]h&]uh1hhhhhhhhK3ubeh}(h] the-linux-vfsah ]h"] the linux vfsah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(hThe proc filesystemh]hThe proc filesystem}(hjR#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjO#hhhhhKiubh)}(hhh](h)}(hsysctl interfaceh]hsysctl interface}(hjc#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`#hhhhhKlubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j proc_dostring (C function)c.proc_dostringhNtauh1hhj`#hhhNhNubj)}(hhh](j)}(hdint proc_dostring (const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hcint proc_dostring(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](jf)}(hinth]hint}(hj#hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj#hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chKubj2)}(h h]h }(hj#hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#hhhj#hKubjC)}(h proc_dostringh]jI)}(h proc_dostringh]h proc_dostring}(hj#hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj#hhhj#hKubj=)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](jC)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hj#hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj#ubj2)}(h h]h }(hj#hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#ubj )}(hjh]hstruct}(hj#hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj#ubj2)}(h h]h }(hj#hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#ubh)}(hhh]jI)}(h ctl_tableh]h ctl_table}(hj$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNjj )}j ]j)}jj#sbc.proc_dostringasbuh1hhj#ubj2)}(h h]h }(hj $hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#ubj)}(hjh]h*}(hj.$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubjI)}(htableh]htable}(hj;$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj#ubjC)}(hint dirh](jf)}(hinth]hint}(hjT$hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjP$ubj2)}(h h]h }(hjb$hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjP$ubjI)}(hdirh]hdir}(hjp$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjP$ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj#ubjC)}(h void *bufferh](jf)}(hvoidh]hvoid}(hj$hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj$ubj2)}(h h]h }(hj$hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj$ubj)}(hjh]h*}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubjI)}(hbufferh]hbuffer}(hj$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj#ubjC)}(h size_t *lenph](h)}(hhh]jI)}(hsize_th]hsize_t}(hj$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNjj )}j ]j$c.proc_dostringasbuh1hhj$ubj2)}(h h]h }(hj$hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj$ubj)}(hjh]h*}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubjI)}(hlenph]hlenp}(hj%hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj#ubjC)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hj#%hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj %ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%%modnameN classnameNjj )}j ]j$c.proc_dostringasbuh1hhj%ubj2)}(h h]h }(hjA%hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%ubj)}(hjh]h*}(hjO%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubjI)}(hpposh]hppos}(hj\%hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj#ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj#hhhj#hKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj#hhhj#hKubah}(h]j}#ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj#hKhj#hhubjw)}(hhh]h)}(hread a string sysctlh]hread a string sysctl}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chKhj%hhubah}(h]h ]h"]h$]h&]uh1jvhj#hhhj#hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%jj%jjjuh1jhhhj`#hNhNubj)}(hXg**Parameters** ``const struct ctl_table *table`` the sysctl table ``int dir`` ``TRUE`` if this is a write to the sysctl file ``void *buffer`` the user buffer ``size_t *lenp`` the size of the user buffer ``loff_t *ppos`` file position **Description** Reads/writes a string from/to the user buffer. If the kernel buffer provided is not large enough to hold the string, the string is truncated. The copied string is ``NULL-terminated``. If the string is being read by the user process, it is copied and a newline '\n' is added. It is truncated if the buffer is not large enough. Returns 0 on success.h](h)}(h**Parameters**h]j)}(hj%h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chKhj%ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hj%h]hconst struct ctl_table *table}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chKhj%ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hKhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hKhj%ubj)}(h;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hj&h]hint dir}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chKhj%ubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh& if this is a write to the sysctl file}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj&hKhj&ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj&hKhj%ubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hjG&h]h void *buffer}(hjI&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE&ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chKhjA&ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hj`&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\&hKhj]&ubah}(h]h ]h"]h$]h&]uh1jhjA&ubeh}(h]h ]h"]h$]h&]uh1jhj\&hKhj%ubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hj&h]h size_t *lenp}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~&ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chKhjz&ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hKhj&ubah}(h]h ]h"]h$]h&]uh1jhjz&ubeh}(h]h ]h"]h$]h&]uh1jhj&hKhj%ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hj&h]h loff_t *ppos}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chKhj&ubj)}(hhh]h)}(h file positionh]h file position}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hKhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hKhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%ubh)}(h**Description**h]j)}(hj&h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chKhj%ubh)}(hXEReads/writes a string from/to the user buffer. If the kernel buffer provided is not large enough to hold the string, the string is truncated. The copied string is ``NULL-terminated``. If the string is being read by the user process, it is copied and a newline '\n' is added. It is truncated if the buffer is not large enough.h](hReads/writes a string from/to the user buffer. If the kernel buffer provided is not large enough to hold the string, the string is truncated. The copied string is }(hj 'hhhNhNubj)}(h``NULL-terminated``h]hNULL-terminated}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 'ubh. If the string is being read by the user process, it is copied and a newline ‘n’ is added. It is truncated if the buffer is not large enough.}(hj 'hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chKhj%ubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hj+'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chKhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j proc_dobool (C function) c.proc_doboolhNtauh1hhj`#hhhNhNubj)}(hhh](j)}(hbint proc_dobool (const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(haint proc_dobool(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](jf)}(hinth]hint}(hjZ'hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjV'hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMubj2)}(h h]h }(hji'hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjV'hhhjh'hMubjC)}(h proc_doboolh]jI)}(h proc_doboolh]h proc_dobool}(hj{'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjw'ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjV'hhhjh'hMubj=)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](jC)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hj'hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj'ubj2)}(h h]h }(hj'hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'ubj )}(hjh]hstruct}(hj'hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj'ubj2)}(h h]h }(hj'hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'ubh)}(hhh]jI)}(h ctl_tableh]h ctl_table}(hj'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNjj )}j ]j)}jj}'sb c.proc_doboolasbuh1hhj'ubj2)}(h h]h }(hj'hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'ubj)}(hjh]h*}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubjI)}(htableh]htable}(hj (hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj'ubjC)}(hint dirh](jf)}(hinth]hint}(hj$(hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj (ubj2)}(h h]h }(hj2(hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj (ubjI)}(hdirh]hdir}(hj@(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj (ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj'ubjC)}(h void *bufferh](jf)}(hvoidh]hvoid}(hjY(hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjU(ubj2)}(h h]h }(hjg(hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjU(ubj)}(hjh]h*}(hju(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjU(ubjI)}(hbufferh]hbuffer}(hj(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjU(ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj'ubjC)}(h size_t *lenph](h)}(hhh]jI)}(hsize_th]hsize_t}(hj(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNjj )}j ]j' c.proc_doboolasbuh1hhj(ubj2)}(h h]h }(hj(hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj(ubj)}(hjh]h*}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubjI)}(hlenph]hlenp}(hj(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj(ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj'ubjC)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hj(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNjj )}j ]j' c.proc_doboolasbuh1hhj(ubj2)}(h h]h }(hj)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj(ubj)}(hjh]h*}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubjI)}(hpposh]hppos}(hj,)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj(ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj'ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjV'hhhjh'hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjR'hhhjh'hMubah}(h]jM'ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjh'hMhjO'hhubjw)}(hhh]h)}(hread/write a boolh]hread/write a bool}(hjV)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjS)hhubah}(h]h ]h"]h$]h&]uh1jvhjO'hhhjh'hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjn)jjn)jjjuh1jhhhj`#hNhNubj)}(hX**Parameters** ``const struct ctl_table *table`` the sysctl table ``int dir`` ``TRUE`` if this is a write to the sysctl file ``void *buffer`` the user buffer ``size_t *lenp`` the size of the user buffer ``loff_t *ppos`` file position **Description** Reads/writes one integer value from/to the user buffer, treated as an ASCII string. table->data must point to a bool variable and table->maxlen must be sizeof(bool). Returns 0 on success.h](h)}(h**Parameters**h]j)}(hjx)h]h Parameters}(hjz)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv)ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjr)ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hj)h]hconst struct ctl_table *table}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj)ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj)ubj)}(h;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hj)h]hint dir}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj)ubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubh& if this is a write to the sysctl file}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhj)ubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hj*h]h void *buffer}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj*ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hj0*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,*hMhj-*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj,*hMhj)ubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hjP*h]h size_t *lenp}(hjR*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN*ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjJ*ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hji*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhje*hMhjf*ubah}(h]h ]h"]h$]h&]uh1jhjJ*ubeh}(h]h ]h"]h$]h&]uh1jhje*hMhj)ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hj*h]h loff_t *ppos}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj*ubj)}(hhh]h)}(h file positionh]h file position}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMhj*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj)ubeh}(h]h ]h"]h$]h&]uh1jhjr)ubh)}(h**Description**h]j)}(hj*h]h Description}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjr)ubh)}(hSReads/writes one integer value from/to the user buffer, treated as an ASCII string.h]hSReads/writes one integer value from/to the user buffer, treated as an ASCII string.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjr)ubh)}(hQtable->data must point to a bool variable and table->maxlen must be sizeof(bool).h]hQtable->data must point to a bool variable and table->maxlen must be sizeof(bool).}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjr)ubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM hjr)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j proc_dointvec (C function)c.proc_dointvechNtauh1hhj`#hhhNhNubj)}(hhh](j)}(hdint proc_dointvec (const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hcint proc_dointvec(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](jf)}(hinth]hint}(hj'+hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj#+hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM<ubj2)}(h h]h }(hj6+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#+hhhj5+hM<ubjC)}(h proc_dointvech]jI)}(h proc_dointvech]h proc_dointvec}(hjH+hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjD+ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj#+hhhj5+hM<ubj=)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](jC)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hjd+hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj`+ubj2)}(h h]h }(hjq+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj`+ubj )}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj`+ubj2)}(h h]h }(hj+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj`+ubh)}(hhh]jI)}(h ctl_tableh]h ctl_table}(hj+hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+modnameN classnameNjj )}j ]j)}jjJ+sbc.proc_dointvecasbuh1hhj`+ubj2)}(h h]h }(hj+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj`+ubj)}(hjh]h*}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`+ubjI)}(htableh]htable}(hj+hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`+ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj\+ubjC)}(hint dirh](jf)}(hinth]hint}(hj+hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj+ubj2)}(h h]h }(hj+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj+ubjI)}(hdirh]hdir}(hj ,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj+ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj\+ubjC)}(h void *bufferh](jf)}(hvoidh]hvoid}(hj&,hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj",ubj2)}(h h]h }(hj4,hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj",ubj)}(hjh]h*}(hjB,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj",ubjI)}(hbufferh]hbuffer}(hjO,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj",ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj\+ubjC)}(h size_t *lenph](h)}(hhh]jI)}(hsize_th]hsize_t}(hjk,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjh,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjm,modnameN classnameNjj )}j ]j+c.proc_dointvecasbuh1hhjd,ubj2)}(h h]h }(hj,hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjd,ubj)}(hjh]h*}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjd,ubjI)}(hlenph]hlenp}(hj,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjd,ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj\+ubjC)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hj,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNjj )}j ]j+c.proc_dointvecasbuh1hhj,ubj2)}(h h]h }(hj,hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj,ubj)}(hjh]h*}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubjI)}(hpposh]hppos}(hj,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj,ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj\+ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj#+hhhj5+hM<ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj+hhhj5+hM<ubah}(h]j+ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj5+hM<hj+hhubjw)}(hhh]h)}(hread a vector of integersh]hread a vector of integers}(hj#-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM<hj -hhubah}(h]h ]h"]h$]h&]uh1jvhj+hhhj5+hM<ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;-jj;-jjjuh1jhhhj`#hNhNubj)}(hX**Parameters** ``const struct ctl_table *table`` the sysctl table ``int dir`` ``TRUE`` if this is a write to the sysctl file ``void *buffer`` the user buffer ``size_t *lenp`` the size of the user buffer ``loff_t *ppos`` file position **Description** Reads/writes up to table->maxlen/sizeof(unsigned int) integer values from/to the user buffer, treated as an ASCII string. Returns 0 on success.h](h)}(h**Parameters**h]j)}(hjE-h]h Parameters}(hjG-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC-ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM@hj?-ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjd-h]hconst struct ctl_table *table}(hjf-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb-ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM=hj^-ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj}-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjy-hM=hjz-ubah}(h]h ]h"]h$]h&]uh1jhj^-ubeh}(h]h ]h"]h$]h&]uh1jhjy-hM=hj[-ubj)}(h;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hj-h]hint dir}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM>hj-ubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh& if this is a write to the sysctl file}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj-hM>hj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hM>hj[-ubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hj-h]h void *buffer}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM?hj-ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hM?hj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hM?hj[-ubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hj.h]h size_t *lenp}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM@hj.ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj6.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2.hM@hj3.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj2.hM@hj[-ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjV.h]h loff_t *ppos}(hjX.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT.ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMAhjP.ubj)}(hhh]h)}(h file positionh]h file position}(hjo.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjk.hMAhjl.ubah}(h]h ]h"]h$]h&]uh1jhjP.ubeh}(h]h ]h"]h$]h&]uh1jhjk.hMAhj[-ubeh}(h]h ]h"]h$]h&]uh1jhj?-ubh)}(h**Description**h]j)}(hj.h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMChj?-ubh)}(hyReads/writes up to table->maxlen/sizeof(unsigned int) integer values from/to the user buffer, treated as an ASCII string.h]hyReads/writes up to table->maxlen/sizeof(unsigned int) integer values from/to the user buffer, treated as an ASCII string.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMBhj?-ubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMEhj?-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j proc_douintvec (C function)c.proc_douintvechNtauh1hhj`#hhhNhNubj)}(hhh](j)}(heint proc_douintvec (const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hdint proc_douintvec(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](jf)}(hinth]hint}(hj.hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj.hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMOubj2)}(h h]h }(hj.hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.hhhj.hMOubjC)}(hproc_douintvech]jI)}(hproc_douintvech]hproc_douintvec}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj.hhhj.hMOubj=)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](jC)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hj"/hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj/ubj2)}(h h]h }(hj//hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/ubj )}(hjh]hstruct}(hj=/hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj/ubj2)}(h h]h }(hjJ/hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/ubh)}(hhh]jI)}(h ctl_tableh]h ctl_table}(hj[/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjX/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]/modnameN classnameNjj )}j ]j)}jj/sbc.proc_douintvecasbuh1hhj/ubj2)}(h h]h }(hj{/hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/ubj)}(hjh]h*}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubjI)}(htableh]htable}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj/ubjC)}(hint dirh](jf)}(hinth]hint}(hj/hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj/ubj2)}(h h]h }(hj/hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/ubjI)}(hdirh]hdir}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj/ubjC)}(h void *bufferh](jf)}(hvoidh]hvoid}(hj/hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj/ubj2)}(h h]h }(hj/hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/ubj)}(hjh]h*}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubjI)}(hbufferh]hbuffer}(hj 0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj/ubjC)}(h size_t *lenph](h)}(hhh]jI)}(hsize_th]hsize_t}(hj)0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+0modnameN classnameNjj )}j ]jw/c.proc_douintvecasbuh1hhj"0ubj2)}(h h]h }(hjG0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj"0ubj)}(hjh]h*}(hjU0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"0ubjI)}(hlenph]hlenp}(hjb0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj"0ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj/ubjC)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hj~0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj{0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNjj )}j ]jw/c.proc_douintvecasbuh1hhjw0ubj2)}(h h]h }(hj0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjw0ubj)}(hjh]h*}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjw0ubjI)}(hpposh]hppos}(hj0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjw0ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj/ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj.hhhj.hMOubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj.hhhj.hMOubah}(h]j.ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj.hMOhj.hhubjw)}(hhh]h)}(h"read a vector of unsigned integersh]h"read a vector of unsigned integers}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMOhj0hhubah}(h]h ]h"]h$]h&]uh1jvhj.hhhj.hMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1jhhhj`#hNhNubj)}(hX**Parameters** ``const struct ctl_table *table`` the sysctl table ``int dir`` ``TRUE`` if this is a write to the sysctl file ``void *buffer`` the user buffer ``size_t *lenp`` the size of the user buffer ``loff_t *ppos`` file position **Description** Reads/writes up to table->maxlen/sizeof(unsigned int) unsigned integer values from/to the user buffer, treated as an ASCII string. Returns 0 on success.h](h)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMShj0ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hj"1h]hconst struct ctl_table *table}(hj$1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 1ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMPhj1ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj;1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj71hMPhj81ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj71hMPhj1ubj)}(h;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hj[1h]hint dir}(hj]1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY1ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMQhjU1ubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hjx1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt1ubh& if this is a write to the sysctl file}(hjt1hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjp1hMQhjq1ubah}(h]h ]h"]h$]h&]uh1jhjU1ubeh}(h]h ]h"]h$]h&]uh1jhjp1hMQhj1ubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hj1h]h void *buffer}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMRhj1ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMRhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMRhj1ubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hj1h]h size_t *lenp}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMShj1ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMShj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMShj1ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hj2h]h loff_t *ppos}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMThj2ubj)}(hhh]h)}(h file positionh]h file position}(hj-2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)2hMThj*2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj)2hMThj1ubeh}(h]h ]h"]h$]h&]uh1jhj0ubh)}(h**Description**h]j)}(hjO2h]h Description}(hjQ2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM2ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMVhj0ubh)}(hReads/writes up to table->maxlen/sizeof(unsigned int) unsigned integer values from/to the user buffer, treated as an ASCII string.h]hReads/writes up to table->maxlen/sizeof(unsigned int) unsigned integer values from/to the user buffer, treated as an ASCII string.}(hje2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMUhj0ubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hjt2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMXhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !proc_dointvec_minmax (C function)c.proc_dointvec_minmaxhNtauh1hhj`#hhhNhNubj)}(hhh](j)}(hkint proc_dointvec_minmax (const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hjint proc_dointvec_minmax(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](jf)}(hinth]hint}(hj2hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj2hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMcubj2)}(h h]h }(hj2hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2hhhj2hMcubjC)}(hproc_dointvec_minmaxh]jI)}(hproc_dointvec_minmaxh]hproc_dointvec_minmax}(hj2hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj2hhhj2hMcubj=)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](jC)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hj2hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj2ubj2)}(h h]h }(hj2hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubj )}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj2ubj2)}(h h]h }(hj3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubh)}(hhh]jI)}(h ctl_tableh]h ctl_table}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj )}j ]j)}jj2sbc.proc_dointvec_minmaxasbuh1hhj2ubj2)}(h h]h }(hj93hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubj)}(hjh]h*}(hjG3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubjI)}(htableh]htable}(hjT3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj2ubjC)}(hint dirh](jf)}(hinth]hint}(hjm3hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehji3ubj2)}(h h]h }(hj{3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hji3ubjI)}(hdirh]hdir}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhji3ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj2ubjC)}(h void *bufferh](jf)}(hvoidh]hvoid}(hj3hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj3ubj2)}(h h]h }(hj3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj3ubj)}(hjh]h*}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubjI)}(hbufferh]hbuffer}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj2ubjC)}(h size_t *lenph](h)}(hhh]jI)}(hsize_th]hsize_t}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj )}j ]j53c.proc_dointvec_minmaxasbuh1hhj3ubj2)}(h h]h }(hj4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj3ubj)}(hjh]h*}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubjI)}(hlenph]hlenp}(hj 4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj2ubjC)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hj<4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj94ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>4modnameN classnameNjj )}j ]j53c.proc_dointvec_minmaxasbuh1hhj54ubj2)}(h h]h }(hjZ4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj54ubj)}(hjh]h*}(hjh4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj54ubjI)}(hpposh]hppos}(hju4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj54ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj2ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj2hhhj2hMcubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj2hhhj2hMcubah}(h]j2ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj2hMchj2hhubjw)}(hhh]h)}(h-read a vector of integers with min/max valuesh]h-read a vector of integers with min/max values}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMchj4hhubah}(h]h ]h"]h$]h&]uh1jvhj2hhhj2hMcubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1jhhhj`#hNhNubj)}(hXY**Parameters** ``const struct ctl_table *table`` the sysctl table ``int dir`` ``TRUE`` if this is a write to the sysctl file ``void *buffer`` the user buffer ``size_t *lenp`` the size of the user buffer ``loff_t *ppos`` file position **Description** Reads/writes up to table->maxlen/sizeof(unsigned int) integer values from/to the user buffer, treated as an ASCII string. This routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max). Returns 0 on success or -EINVAL when the range check fails and SYSCTL_USER_TO_KERN(dir) == trueh](h)}(h**Parameters**h]j)}(hj4h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMghj4ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hj4h]hconst struct ctl_table *table}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMdhj4ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hMdhj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMdhj4ubj)}(h;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hj5h]hint dir}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMehj5ubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hj65hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj25ubh& if this is a write to the sysctl file}(hj25hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj.5hMehj/5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj.5hMehj4ubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hj`5h]h void *buffer}(hjb5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^5ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMfhjZ5ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjy5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhju5hMfhjv5ubah}(h]h ]h"]h$]h&]uh1jhjZ5ubeh}(h]h ]h"]h$]h&]uh1jhju5hMfhj4ubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hj5h]h size_t *lenp}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMghj5ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hMghj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMghj4ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hj5h]h loff_t *ppos}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhhj5ubj)}(hhh]h)}(h file positionh]h file position}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hMhhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4ubh)}(h**Description**h]j)}(hj 6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 6ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMjhj4ubh)}(hyReads/writes up to table->maxlen/sizeof(unsigned int) integer values from/to the user buffer, treated as an ASCII string.h]hyReads/writes up to table->maxlen/sizeof(unsigned int) integer values from/to the user buffer, treated as an ASCII string.}(hj#6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMihj4ubh)}(hrThis routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max).h]hrThis routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max).}(hj26hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMlhj4ubh)}(h_Returns 0 on success or -EINVAL when the range check fails and SYSCTL_USER_TO_KERN(dir) == trueh]h_Returns 0 on success or -EINVAL when the range check fails and SYSCTL_USER_TO_KERN(dir) == true}(hjA6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMohj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "proc_douintvec_minmax (C function)c.proc_douintvec_minmaxhNtauh1hhj`#hhhNhNubj)}(hhh](j)}(hlint proc_douintvec_minmax (const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hkint proc_douintvec_minmax(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](jf)}(hinth]hint}(hjp6hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjl6hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM{ubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjl6hhhj~6hM{ubjC)}(hproc_douintvec_minmaxh]jI)}(hproc_douintvec_minmaxh]hproc_douintvec_minmax}(hj6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjl6hhhj~6hM{ubj=)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](jC)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hj6hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj6ubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6ubj )}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj6ubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6ubh)}(hhh]jI)}(h ctl_tableh]h ctl_table}(hj6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj )}j ]j)}jj6sbc.proc_douintvec_minmaxasbuh1hhj6ubj2)}(h h]h }(hj7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6ubj)}(hjh]h*}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubjI)}(htableh]htable}(hj!7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj6ubjC)}(hint dirh](jf)}(hinth]hint}(hj:7hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj67ubj2)}(h h]h }(hjH7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj67ubjI)}(hdirh]hdir}(hjV7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj67ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj6ubjC)}(h void *bufferh](jf)}(hvoidh]hvoid}(hjo7hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjk7ubj2)}(h h]h }(hj}7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjk7ubj)}(hjh]h*}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjk7ubjI)}(hbufferh]hbuffer}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjk7ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj6ubjC)}(h size_t *lenph](h)}(hhh]jI)}(hsize_th]hsize_t}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNjj )}j ]j7c.proc_douintvec_minmaxasbuh1hhj7ubj2)}(h h]h }(hj7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7ubj)}(hjh]h*}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubjI)}(hlenph]hlenp}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj6ubjC)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hj 8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj 8modnameN classnameNjj )}j ]j7c.proc_douintvec_minmaxasbuh1hhj8ubj2)}(h h]h }(hj'8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8ubj)}(hjh]h*}(hj58hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubjI)}(hpposh]hppos}(hjB8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj6ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjl6hhhj~6hM{ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjh6hhhj~6hM{ubah}(h]jc6ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj~6hM{hje6hhubjw)}(hhh]h)}(h2read a vector of unsigned ints with min/max valuesh]h2read a vector of unsigned ints with min/max values}(hjl8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM{hji8hhubah}(h]h ]h"]h$]h&]uh1jvhje6hhhj~6hM{ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1jhhhj`#hNhNubj)}(hX**Parameters** ``const struct ctl_table *table`` the sysctl table ``int dir`` ``TRUE`` if this is a write to the sysctl file ``void *buffer`` the user buffer ``size_t *lenp`` the size of the user buffer ``loff_t *ppos`` file position **Description** Reads/writes up to table->maxlen/sizeof(unsigned int) unsigned integer values from/to the user buffer, treated as an ASCII string. Negative strings are not allowed. When changing the kernel variable, this routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max). And Check that the values are less than UINT_MAX to avoid having to support wrap around uses from userspace. Returns 0 on success or -ERANGE when range check failes and SYSCTL_USER_TO_KERN(dir) == trueh](h)}(h**Parameters**h]j)}(hj8h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj8ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hj8h]hconst struct ctl_table *table}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM|hj8ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hM|hj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hM|hj8ubj)}(h;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hj8h]hint dir}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM}hj8ubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubh& if this is a write to the sysctl file}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj8hM}hj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hM}hj8ubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hj-9h]h void *buffer}(hj/9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+9ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM~hj'9ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjF9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjB9hM~hjC9ubah}(h]h ]h"]h$]h&]uh1jhj'9ubeh}(h]h ]h"]h$]h&]uh1jhjB9hM~hj8ubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hjf9h]h size_t *lenp}(hjh9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd9ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj`9ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{9hMhj|9ubah}(h]h ]h"]h$]h&]uh1jhj`9ubeh}(h]h ]h"]h$]h&]uh1jhj{9hMhj8ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hj9h]h loff_t *ppos}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj9ubj)}(hhh]h)}(h file positionh]h file position}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8ubh)}(h**Description**h]j)}(hj9h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj8ubh)}(hReads/writes up to table->maxlen/sizeof(unsigned int) unsigned integer values from/to the user buffer, treated as an ASCII string. Negative strings are not allowed.h]hReads/writes up to table->maxlen/sizeof(unsigned int) unsigned integer values from/to the user buffer, treated as an ASCII string. Negative strings are not allowed.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj8ubh)}(hXWhen changing the kernel variable, this routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max). And Check that the values are less than UINT_MAX to avoid having to support wrap around uses from userspace.h]hXWhen changing the kernel variable, this routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max). And Check that the values are less than UINT_MAX to avoid having to support wrap around uses from userspace.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj8ubh)}(h\Returns 0 on success or -ERANGE when range check failes and SYSCTL_USER_TO_KERN(dir) == trueh]h\Returns 0 on success or -ERANGE when range check failes and SYSCTL_USER_TO_KERN(dir) == true}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  proc_dou8vec_minmax (C function)c.proc_dou8vec_minmaxhNtauh1hhj`#hhhNhNubj)}(hhh](j)}(hjint proc_dou8vec_minmax (const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hiint proc_dou8vec_minmax(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](jf)}(hinth]hint}(hj=:hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj9:hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMubj2)}(h h]h }(hjL:hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9:hhhjK:hMubjC)}(hproc_dou8vec_minmaxh]jI)}(hproc_dou8vec_minmaxh]hproc_dou8vec_minmax}(hj^:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjZ:ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj9:hhhjK:hMubj=)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](jC)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hjz:hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjv:ubj2)}(h h]h }(hj:hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjv:ubj )}(hjh]hstruct}(hj:hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjv:ubj2)}(h h]h }(hj:hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjv:ubh)}(hhh]jI)}(h ctl_tableh]h ctl_table}(hj:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNjj )}j ]j)}jj`:sbc.proc_dou8vec_minmaxasbuh1hhjv:ubj2)}(h h]h }(hj:hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjv:ubj)}(hjh]h*}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjv:ubjI)}(htableh]htable}(hj:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjv:ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjr:ubjC)}(hint dirh](jf)}(hinth]hint}(hj;hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj;ubj2)}(h h]h }(hj;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj;ubjI)}(hdirh]hdir}(hj#;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj;ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjr:ubjC)}(h void *bufferh](jf)}(hvoidh]hvoid}(hj<;hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj8;ubj2)}(h h]h }(hjJ;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8;ubj)}(hjh]h*}(hjX;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8;ubjI)}(hbufferh]hbuffer}(hje;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8;ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjr:ubjC)}(h size_t *lenph](h)}(hhh]jI)}(hsize_th]hsize_t}(hj;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj~;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNjj )}j ]j:c.proc_dou8vec_minmaxasbuh1hhjz;ubj2)}(h h]h }(hj;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjz;ubj)}(hjh]h*}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjz;ubjI)}(hlenph]hlenp}(hj;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjz;ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjr:ubjC)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hj;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNjj )}j ]j:c.proc_dou8vec_minmaxasbuh1hhj;ubj2)}(h h]h }(hj;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj;ubj)}(hjh]h*}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubjI)}(hpposh]hppos}(hj<hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj;ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjr:ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj9:hhhjK:hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj5:hhhjK:hMubah}(h]j0:ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjK:hMhj2:hhubjw)}(hhh]h)}(h3read a vector of unsigned chars with min/max valuesh]h3read a vector of unsigned chars with min/max values}(hj9<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj6<hhubah}(h]h ]h"]h$]h&]uh1jvhj2:hhhjK:hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQ<jjQ<jjjuh1jhhhj`#hNhNubj)}(hXx**Parameters** ``const struct ctl_table *table`` the sysctl table ``int dir`` ``TRUE`` if this is a write to the sysctl file ``void *buffer`` the user buffer ``size_t *lenp`` the size of the user buffer ``loff_t *ppos`` file position **Description** Reads/writes up to table->maxlen/sizeof(u8) unsigned chars values from/to the user buffer, treated as an ASCII string. Negative strings are not allowed. This routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max). Returns 0 on success or an error on SYSCTL_USER_TO_KERN(dir) == true and the range check fails.h](h)}(h**Parameters**h]j)}(hj[<h]h Parameters}(hj]<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY<ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjU<ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjz<h]hconst struct ctl_table *table}(hj|<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx<ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjt<ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<hMhj<ubah}(h]h ]h"]h$]h&]uh1jhjt<ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjq<ubj)}(h;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hj<h]hint dir}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj<ubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh& if this is a write to the sysctl file}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj<hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjq<ubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hj<h]h void *buffer}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj<ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjq<ubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hj3=h]h size_t *lenp}(hj5=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1=ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj-=ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjL=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjH=hMhjI=ubah}(h]h ]h"]h$]h&]uh1jhj-=ubeh}(h]h ]h"]h$]h&]uh1jhjH=hMhjq<ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjl=h]h loff_t *ppos}(hjn=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj=ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjf=ubj)}(hhh]h)}(h file positionh]h file position}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMhj=ubah}(h]h ]h"]h$]h&]uh1jhjf=ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjq<ubeh}(h]h ]h"]h$]h&]uh1jhjU<ubh)}(h**Description**h]j)}(hj=h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjU<ubh)}(hReads/writes up to table->maxlen/sizeof(u8) unsigned chars values from/to the user buffer, treated as an ASCII string. Negative strings are not allowed.h]hReads/writes up to table->maxlen/sizeof(u8) unsigned chars values from/to the user buffer, treated as an ASCII string. Negative strings are not allowed.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjU<ubh)}(hrThis routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max).h]hrThis routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max).}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjU<ubh)}(h_Returns 0 on success or an error on SYSCTL_USER_TO_KERN(dir) == true and the range check fails.h]h_Returns 0 on success or an error on SYSCTL_USER_TO_KERN(dir) == true and the range check fails.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjU<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j #proc_doulongvec_minmax (C function)c.proc_doulongvec_minmaxhNtauh1hhj`#hhhNhNubj)}(hhh](j)}(hmint proc_doulongvec_minmax (const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hlint proc_doulongvec_minmax(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](jf)}(hinth]hint}(hj >hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj>hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMubj2)}(h h]h }(hj>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj>hhhj>hMubjC)}(hproc_doulongvec_minmaxh]jI)}(hproc_doulongvec_minmaxh]hproc_doulongvec_minmax}(hj+>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'>ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj>hhhj>hMubj=)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](jC)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hjG>hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjC>ubj2)}(h h]h }(hjT>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjC>ubj )}(hjh]hstruct}(hjb>hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjC>ubj2)}(h h]h }(hjo>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjC>ubh)}(hhh]jI)}(h ctl_tableh]h ctl_table}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNjj )}j ]j)}jj->sbc.proc_doulongvec_minmaxasbuh1hhjC>ubj2)}(h h]h }(hj>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjC>ubj)}(hjh]h*}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjC>ubjI)}(htableh]htable}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjC>ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj?>ubjC)}(hint dirh](jf)}(hinth]hint}(hj>hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj>ubj2)}(h h]h }(hj>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj>ubjI)}(hdirh]hdir}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj>ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj?>ubjC)}(h void *bufferh](jf)}(hvoidh]hvoid}(hj ?hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj?ubj2)}(h h]h }(hj?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj?ubj)}(hjh]h*}(hj%?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubjI)}(hbufferh]hbuffer}(hj2?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj?ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj?>ubjC)}(h size_t *lenph](h)}(hhh]jI)}(hsize_th]hsize_t}(hjN?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjK?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjP?modnameN classnameNjj )}j ]j>c.proc_doulongvec_minmaxasbuh1hhjG?ubj2)}(h h]h }(hjl?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjG?ubj)}(hjh]h*}(hjz?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjG?ubjI)}(hlenph]hlenp}(hj?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjG?ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj?>ubjC)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hj?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNjj )}j ]j>c.proc_doulongvec_minmaxasbuh1hhj?ubj2)}(h h]h }(hj?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj?ubj)}(hjh]h*}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubjI)}(hpposh]hppos}(hj?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj?ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj?>ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj>hhhj>hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj>hhhj>hMubah}(h]j=ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj>hMhj=hhubjw)}(hhh]h)}(h2read a vector of long integers with min/max valuesh]h2read a vector of long integers with min/max values}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj@hhubah}(h]h ]h"]h$]h&]uh1jvhj=hhhj>hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@jj@jjjuh1jhhhj`#hNhNubj)}(hX**Parameters** ``const struct ctl_table *table`` the sysctl table ``int dir`` ``TRUE`` if this is a write to the sysctl file ``void *buffer`` the user buffer ``size_t *lenp`` the size of the user buffer ``loff_t *ppos`` file position **Description** Reads/writes up to table->maxlen/sizeof(unsigned long) unsigned long values from/to the user buffer, treated as an ASCII string. This routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max). Returns 0 on success.h](h)}(h**Parameters**h]j)}(hj(@h]h Parameters}(hj*@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&@ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj"@ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjG@h]hconst struct ctl_table *table}(hjI@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE@ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjA@ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj`@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\@hMhj]@ubah}(h]h ]h"]h$]h&]uh1jhjA@ubeh}(h]h ]h"]h$]h&]uh1jhj\@hMhj>@ubj)}(h;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hj@h]hint dir}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~@ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjz@ubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh& if this is a write to the sysctl file}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj@hMhj@ubah}(h]h ]h"]h$]h&]uh1jhjz@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj>@ubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hj@h]h void *buffer}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj@ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj>@ubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hjAh]h size_t *lenp}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj@ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhMhjAubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj>@ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hj9Ah]h loff_t *ppos}(hj;AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7Aubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM hj3Aubj)}(hhh]h)}(h file positionh]h file position}(hjRAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNAhM hjOAubah}(h]h ]h"]h$]h&]uh1jhj3Aubeh}(h]h ]h"]h$]h&]uh1jhjNAhM hj>@ubeh}(h]h ]h"]h$]h&]uh1jhj"@ubh)}(h**Description**h]j)}(hjtAh]h Description}(hjvAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrAubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM"hj"@ubh)}(hReads/writes up to table->maxlen/sizeof(unsigned long) unsigned long values from/to the user buffer, treated as an ASCII string.h]hReads/writes up to table->maxlen/sizeof(unsigned long) unsigned long values from/to the user buffer, treated as an ASCII string.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM!hj"@ubh)}(hrThis routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max).h]hrThis routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max).}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM$hj"@ubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM'hj"@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !proc_do_large_bitmap (C function)c.proc_do_large_bitmaphNtauh1hhj`#hhhNhNubj)}(hhh](j)}(hkint proc_do_large_bitmap (const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h]j)}(hjint proc_do_large_bitmap(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](jf)}(hinth]hint}(hjAhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjAhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMIubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAhhhjAhMIubjC)}(hproc_do_large_bitmaph]jI)}(hproc_do_large_bitmaph]hproc_do_large_bitmap}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjAhhhjAhMIubj=)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](jC)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hjBhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjBubj2)}(h h]h }(hj!BhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBubj )}(hjh]hstruct}(hj/BhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjBubj2)}(h h]h }(hjah"]h$]h&]uh1j1hjBubh)}(hhh]jI)}(h ctl_tableh]h ctl_table}(hjMBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOBmodnameN classnameNjj )}j ]j)}jjAsbc.proc_do_large_bitmapasbuh1hhjBubj2)}(h h]h }(hjmBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBubj)}(hjh]h*}(hj{BhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubjI)}(htableh]htable}(hjBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj BubjC)}(hint dirh](jf)}(hinth]hint}(hjBhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjBubj2)}(h h]h }(hjBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBubjI)}(hdirh]hdir}(hjBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj BubjC)}(h void *bufferh](jf)}(hvoidh]hvoid}(hjBhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjBubj2)}(h h]h }(hjBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBubj)}(hjh]h*}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubjI)}(hbufferh]hbuffer}(hjBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj BubjC)}(h size_t *lenph](h)}(hhh]jI)}(hsize_th]hsize_t}(hjChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj )}j ]jiBc.proc_do_large_bitmapasbuh1hhjCubj2)}(h h]h }(hj9ChhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCubj)}(hjh]h*}(hjGChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubjI)}(hlenph]hlenp}(hjTChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjCubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj BubjC)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjpChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjmCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrCmodnameN classnameNjj )}j ]jiBc.proc_do_large_bitmapasbuh1hhjiCubj2)}(h h]h }(hjChhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjiCubj)}(hjh]h*}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiCubjI)}(hpposh]hppos}(hjChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiCubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj Bubeh}(h]h ]h"]h$]h&]j`jauh1j<hjAhhhjAhMIubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjAhhhjAhMIubah}(h]jAah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjAhMIhjAhhubjw)}(hhh]h)}(h!read/write from/to a large bitmaph]h!read/write from/to a large bitmap}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMIhjChhubah}(h]h ]h"]h$]h&]uh1jvhjAhhhjAhMIubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCjjCjjjuh1jhhhj`#hNhNubj)}(hX@**Parameters** ``const struct ctl_table *table`` the sysctl table ``int dir`` ``TRUE`` if this is a write to the sysctl file ``void *buffer`` the user buffer ``size_t *lenp`` the size of the user buffer ``loff_t *ppos`` file position **Description** The bitmap is stored at table->data and the bitmap length (in bits) in table->maxlen. We use a range comma separated format (e.g. 1,3-4,10-10) so that large bitmaps may be represented in a compact manner. Writing into the file will clear the bitmap then update it with the given input. Returns 0 on success.h](h)}(h**Parameters**h]j)}(hjCh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMMhjCubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjDh]hconst struct ctl_table *table}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMJhjDubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj-DhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)DhMJhj*Dubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj)DhMJhj Dubj)}(h;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hjMDh]hint dir}(hjODhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKDubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMKhjGDubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hjjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfDubh& if this is a write to the sysctl file}(hjfDhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjbDhMKhjcDubah}(h]h ]h"]h$]h&]uh1jhjGDubeh}(h]h ]h"]h$]h&]uh1jhjbDhMKhj Dubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hjDh]h void *buffer}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMLhjDubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMLhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhMLhj Dubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hjDh]h size_t *lenp}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMMhjDubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMMhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhMMhj Dubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjEh]h loff_t *ppos}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMNhjEubj)}(hhh]h)}(h file positionh]h file position}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhMNhjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhMNhj Dubeh}(h]h ]h"]h$]h&]uh1jhjCubh)}(h**Description**h]j)}(hjAEh]h Description}(hjCEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?Eubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMPhjCubh)}(hUThe bitmap is stored at table->data and the bitmap length (in bits) in table->maxlen.h]hUThe bitmap is stored at table->data and the bitmap length (in bits) in table->maxlen.}(hjWEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMOhjCubh)}(hWe use a range comma separated format (e.g. 1,3-4,10-10) so that large bitmaps may be represented in a compact manner. Writing into the file will clear the bitmap then update it with the given input.h]hWe use a range comma separated format (e.g. 1,3-4,10-10) so that large bitmaps may be represented in a compact manner. Writing into the file will clear the bitmap then update it with the given input.}(hjfEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMRhjCubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hjuEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMVhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj`#hhhNhNubeh}(h]sysctl-interfaceah ]h"]sysctl interfaceah$]h&]uh1hhjO#hhhhhKlubh)}(hhh](h)}(hproc filesystem interfaceh]hproc filesystem interface}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhhhhhKrubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j proc_flush_pid (C function)c.proc_flush_pidhNtauh1hhjEhhhNhNubj)}(hhh](j)}(h%void proc_flush_pid (struct pid *pid)h]j)}(h$void proc_flush_pid(struct pid *pid)h](jf)}(hvoidh]hvoid}(hjEhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjEhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chMg ubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjEhhhjEhMg ubjC)}(hproc_flush_pidh]jI)}(hproc_flush_pidh]hproc_flush_pid}(hjEhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjEhhhjEhMg ubj=)}(h(struct pid *pid)h]jC)}(hstruct pid *pidh](j )}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjEubj2)}(h h]h }(hjFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjEubh)}(hhh]jI)}(hpidh]hpid}(hjFhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNjj )}j ]j)}jjEsbc.proc_flush_pidasbuh1hhjEubj2)}(h h]h }(hj8FhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjEubj)}(hjh]h*}(hjFFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubjI)}(hpidh]hpid}(hjSFhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjEubah}(h]h ]h"]h$]h&]j`jauh1j<hjEhhhjEhMg ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjEhhhjEhMg ubah}(h]jEah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjEhMg hjEhhubjw)}(hhh]h)}(h8Remove dcache entries for **pid** from the /proc dcache.h](hRemove dcache entries for }(hj}FhhhNhNubj)}(h**pid**h]hpid}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Fubh from the /proc dcache.}(hj}FhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chMg hjzFhhubah}(h]h ]h"]h$]h&]uh1jvhjEhhhjEhMg ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1jhhhjEhNhNubj)}(hX**Parameters** ``struct pid *pid`` pid that should be flushed. **Description** This function walks a list of inodes (that belong to any proc filesystem) that are attached to the pid and flushes them from the dentry cache. It is safe and reasonable to cache /proc entries for a task until that task exits. After that they just clog up the dcache with useless entries, possibly causing useful dcache entries to be flushed instead. This routine is provided to flush those useless dcache entries when a process is reaped. **NOTE** This routine is just an optimization so it does not guarantee that no dcache entries will exist after a process is reaped it just makes it very unlikely that any will persist.h](h)}(h**Parameters**h]j)}(hjFh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chMk hjFubj)}(hhh]j)}(h0``struct pid *pid`` pid that should be flushed. h](j)}(h``struct pid *pid``h]j)}(hjFh]hstruct pid *pid}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chMh hjFubj)}(hhh]h)}(hpid that should be flushed.h]hpid that should be flushed.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhMh hjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMh hjFubah}(h]h ]h"]h$]h&]uh1jhjFubh)}(h**Description**h]j)}(hj Gh]h Description}(hj GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Gubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chMj hjFubh)}(hThis function walks a list of inodes (that belong to any proc filesystem) that are attached to the pid and flushes them from the dentry cache.h]hThis function walks a list of inodes (that belong to any proc filesystem) that are attached to the pid and flushes them from the dentry cache.}(hj!GhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chMi hjFubh)}(hX)It is safe and reasonable to cache /proc entries for a task until that task exits. After that they just clog up the dcache with useless entries, possibly causing useful dcache entries to be flushed instead. This routine is provided to flush those useless dcache entries when a process is reaped.h]hX)It is safe and reasonable to cache /proc entries for a task until that task exits. After that they just clog up the dcache with useless entries, possibly causing useful dcache entries to be flushed instead. This routine is provided to flush those useless dcache entries when a process is reaped.}(hj0GhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chMm hjFubh)}(h**NOTE**h]j)}(hjAGh]hNOTE}(hjCGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?Gubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chMs hjFubj)}(hhh]j)}(hThis routine is just an optimization so it does not guarantee that no dcache entries will exist after a process is reaped it just makes it very unlikely that any will persist.h](j)}(h=This routine is just an optimization so it does not guaranteeh]h=This routine is just an optimization so it does not guarantee}(hj^GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chMu hjZGubj)}(hhh]h)}(hqthat no dcache entries will exist after a process is reaped it just makes it very unlikely that any will persist.h]hqthat no dcache entries will exist after a process is reaped it just makes it very unlikely that any will persist.}(hjpGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlGhMu hjmGubah}(h]h ]h"]h$]h&]uh1jhjZGubeh}(h]h ]h"]h$]h&]uh1jhjlGhMu hjWGubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjEhhhNhNubeh}(h]proc-filesystem-interfaceah ]h"]proc filesystem interfaceah$]h&]uh1hhjO#hhhhhKrubeh}(h]the-proc-filesystemah ]h"]the proc filesystemah$]h&]uh1hhhhhhhhKiubh)}(hhh](h)}(h Events based on file descriptorsh]h Events based on file descriptors}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhhhhhKxubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  eventfd_signal_mask (C function)c.eventfd_signal_maskhNtauh1hhjGhhhNhNubj)}(hhh](j)}(hAvoid eventfd_signal_mask (struct eventfd_ctx *ctx, __poll_t mask)h]j)}(h@void eventfd_signal_mask(struct eventfd_ctx *ctx, __poll_t mask)h](jf)}(hvoidh]hvoid}(hjGhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjGhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chK/ubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGhhhjGhK/ubjC)}(heventfd_signal_maskh]jI)}(heventfd_signal_maskh]heventfd_signal_mask}(hjGhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjGhhhjGhK/ubj=)}(h((struct eventfd_ctx *ctx, __poll_t mask)h](jC)}(hstruct eventfd_ctx *ctxh](j )}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj Hubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj Hubh)}(hhh]jI)}(h eventfd_ctxh]h eventfd_ctx}(hj,HhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)Hubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.HmodnameN classnameNjj )}j ]j)}jjGsbc.eventfd_signal_maskasbuh1hhj Hubj2)}(h h]h }(hjLHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj Hubj)}(hjh]h*}(hjZHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj HubjI)}(hctxh]hctx}(hjgHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj Hubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjHubjC)}(h __poll_t maskh](h)}(hhh]jI)}(h__poll_th]h__poll_t}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNjj )}j ]jHHc.eventfd_signal_maskasbuh1hhj|Hubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|HubjI)}(hmaskh]hmask}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|Hubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjHubeh}(h]h ]h"]h$]h&]j`jauh1j<hjGhhhjGhK/ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjGhhhjGhK/ubah}(h]jGah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjGhK/hjGhhubjw)}(hhh]h)}(hIncrement the event counterh]hIncrement the event counter}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chK/hjHhhubah}(h]h ]h"]h$]h&]uh1jvhjGhhhjGhK/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHjjHjjjuh1jhhhjGhNhNubj)}(hXt**Parameters** ``struct eventfd_ctx *ctx`` [in] Pointer to the eventfd context. ``__poll_t mask`` [in] poll mask **Description** This function is supposed to be called by the kernel in paths that do not allow sleeping. In this function we allow the counter to reach the ULLONG_MAX value, and we signal this as overflow condition by returning a EPOLLERR to poll(2).h](h)}( h**Parameters**h]j)}(hjHh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chK3hjHubj)}(hhh](j)}(hA``struct eventfd_ctx *ctx`` [in] Pointer to the eventfd context. h](j)}(h``struct eventfd_ctx *ctx``h]j)}(hjIh]hstruct eventfd_ctx *ctx}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chK0hjIubj)}(hhh]h)}(h$[in] Pointer to the eventfd context.h]h$[in] Pointer to the eventfd context.}(hj3IhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/IhK0hj0Iubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhj/IhK0hjIubj)}(h!``__poll_t mask`` [in] poll mask h](j)}(h``__poll_t mask``h]j)}(hjSIh]h __poll_t mask}(hjUIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQIubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chK1hjMIubj)}(hhh]h)}(h[in] poll maskh]h[in] poll mask}(hjlIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhIhK1hjiIubah}(h]h ]h"]h$]h&]uh1jhjMIubeh}(h]h ]h"]h$]h&]uh1jhjhIhK1hjIubeh}(h]h ]h"]h$]h&]uh1jhjHubh)}(h**Description**h]j)}(hjIh]h Description}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chK3hjHubh)}(hThis function is supposed to be called by the kernel in paths that do not allow sleeping. In this function we allow the counter to reach the ULLONG_MAX value, and we signal this as overflow condition by returning a EPOLLERR to poll(2).h]hThis function is supposed to be called by the kernel in paths that do not allow sleeping. In this function we allow the counter to reach the ULLONG_MAX value, and we signal this as overflow condition by returning a EPOLLERR to poll(2).}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chK2hjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjGhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j eventfd_ctx_put (C function)c.eventfd_ctx_puthNtauh1hhjGhhhNhNubj)}(hhh](j)}(h.void eventfd_ctx_put (struct eventfd_ctx *ctx)h]j)}(h-void eventfd_ctx_put(struct eventfd_ctx *ctx)h](jf)}(hvoidh]hvoid}(hjIhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjIhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKaubj2)}(h h]h }(hjIhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjIhhhjIhKaubjC)}(heventfd_ctx_puth]jI)}(heventfd_ctx_puth]heventfd_ctx_put}(hjIhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjIubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjIhhhjIhKaubj=)}(h(struct eventfd_ctx *ctx)h]jC)}(hstruct eventfd_ctx *ctxh](j )}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj Jubj2)}(h h]h }(hjJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj Jubh)}(hhh]jI)}(h eventfd_ctxh]h eventfd_ctx}(hj.JhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj+Jubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0JmodnameN classnameNjj )}j ]j)}jjIsbc.eventfd_ctx_putasbuh1hhj Jubj2)}(h h]h }(hjNJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj Jubj)}(hjh]h*}(hj\JhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj JubjI)}(hctxh]hctx}(hjiJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj Jubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjJubah}(h]h ]h"]h$]h&]j`jauh1j<hjIhhhjIhKaubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjIhhhjIhKaubah}(h]jIah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjIhKahjIhhubjw)}(hhh]h)}(h5Releases a reference to the internal eventfd context.h]h5Releases a reference to the internal eventfd context.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKahjJhhubah}(h]h ]h"]h$]h&]uh1jvhjIhhhjIhKaubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1jhhhjGhNhNubj)}(h**Parameters** ``struct eventfd_ctx *ctx`` [in] Pointer to eventfd context. **Description** The eventfd context reference must have been previously acquired either with eventfd_ctx_fdget() or eventfd_ctx_fileget().h](h)}(h**Parameters**h]j)}(hjJh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKehjJubj)}(hhh]j)}(h=``struct eventfd_ctx *ctx`` [in] Pointer to eventfd context. h](j)}(h``struct eventfd_ctx *ctx``h]j)}(hjJh]hstruct eventfd_ctx *ctx}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKbhjJubj)}(hhh]h)}(h [in] Pointer to eventfd context.h]h [in] Pointer to eventfd context.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhKbhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhKbhjJubah}(h]h ]h"]h$]h&]uh1jhjJubh)}(h**Description**h]j)}(hjKh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Kubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKdhjJubh)}(hzThe eventfd context reference must have been previously acquired either with eventfd_ctx_fdget() or eventfd_ctx_fileget().h]hzThe eventfd context reference must have been previously acquired either with eventfd_ctx_fdget() or eventfd_ctx_fileget().}(hj%KhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKchjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjGhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j *eventfd_ctx_remove_wait_queue (C function)c.eventfd_ctx_remove_wait_queuehNtauh1hhjGhhhNhNubj)}(hhh](j)}(haint eventfd_ctx_remove_wait_queue (struct eventfd_ctx *ctx, wait_queue_entry_t *wait, __u64 *cnt)h]j)}(h`int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_entry_t *wait, __u64 *cnt)h](jf)}(hinth]hint}(hjTKhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjPKhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKubj2)}(h h]h }(hjcKhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPKhhhjbKhKubjC)}(heventfd_ctx_remove_wait_queueh]jI)}(heventfd_ctx_remove_wait_queueh]heventfd_ctx_remove_wait_queue}(hjuKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqKubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjPKhhhjbKhKubj=)}(h?(struct eventfd_ctx *ctx, wait_queue_entry_t *wait, __u64 *cnt)h](jC)}(hstruct eventfd_ctx *ctxh](j )}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjKubj2)}(h h]h }(hjKhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjKubh)}(hhh]jI)}(h eventfd_ctxh]h eventfd_ctx}(hjKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNjj )}j ]j)}jjwKsbc.eventfd_ctx_remove_wait_queueasbuh1hhjKubj2)}(h h]h }(hjKhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjKubj)}(hjh]h*}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubjI)}(hctxh]hctx}(hjKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjKubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjKubjC)}(hwait_queue_entry_t *waith](h)}(hhh]jI)}(hwait_queue_entry_th]hwait_queue_entry_t}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNjj )}j ]jKc.eventfd_ctx_remove_wait_queueasbuh1hhjKubj2)}(h h]h }(hj$LhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjKubj)}(hjh]h*}(hj2LhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubjI)}(hwaith]hwait}(hj?LhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjKubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjKubjC)}(h __u64 *cnth](h)}(hhh]jI)}(h__u64h]h__u64}(hj[LhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]LmodnameN classnameNjj )}j ]jKc.eventfd_ctx_remove_wait_queueasbuh1hhjTLubj2)}(h h]h }(hjyLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjTLubj)}(hjh]h*}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTLubjI)}(hcnth]hcnt}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjTLubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjKubeh}(h]h ]h"]h$]h&]j`jauh1j<hjPKhhhjbKhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjLKhhhjbKhKubah}(h]jGKah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjbKhKhjIKhhubjw)}(hhh]h)}(h0Read the current counter and removes wait queue.h]h0Read the current counter and removes wait queue.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKhjLhhubah}(h]h ]h"]h$]h&]uh1jvhjIKhhhjbKhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1jhhhjGhNhNubj)}(hX**Parameters** ``struct eventfd_ctx *ctx`` [in] Pointer to eventfd context. ``wait_queue_entry_t *wait`` [in] Wait queue to be removed. ``__u64 *cnt`` [out] Pointer to the 64-bit counter value. **Description** Returns ``0`` if successful, or the following error codes: -EAGAIN : The operation would have blocked. This is used to atomically remove a wait queue entry from the eventfd wait queue head, and read/reset the counter value.h](h)}(h**Parameters**h]j)}(hjLh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKhjLubj)}(hhh](j)}(h=``struct eventfd_ctx *ctx`` [in] Pointer to eventfd context. h](j)}(h``struct eventfd_ctx *ctx``h]j)}(hjLh]hstruct eventfd_ctx *ctx}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKhjLubj)}(hhh]h)}(h [in] Pointer to eventfd context.h]h [in] Pointer to eventfd context.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhKhjMubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjMhKhjLubj)}(h<``wait_queue_entry_t *wait`` [in] Wait queue to be removed. h](j)}(h``wait_queue_entry_t *wait``h]j)}(hj8Mh]hwait_queue_entry_t *wait}(hj:MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6Mubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKhj2Mubj)}(hhh]h)}(h[in] Wait queue to be removed.h]h[in] Wait queue to be removed.}(hjQMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMMhKhjNMubah}(h]h ]h"]h$]h&]uh1jhj2Mubeh}(h]h ]h"]h$]h&]uh1jhjMMhKhjLubj)}(h:``__u64 *cnt`` [out] Pointer to the 64-bit counter value. h](j)}(h``__u64 *cnt``h]j)}(hjqMh]h __u64 *cnt}(hjsMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoMubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKhjkMubj)}(hhh]h)}(h*[out] Pointer to the 64-bit counter value.h]h*[out] Pointer to the 64-bit counter value.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhKhjMubah}(h]h ]h"]h$]h&]uh1jhjkMubeh}(h]h ]h"]h$]h&]uh1jhjMhKhjLubeh}(h]h ]h"]h$]h&]uh1jhjLubh)}(h**Description**h]j)}(hjMh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKhjLubh)}(h:Returns ``0`` if successful, or the following error codes:h](hReturns }(hjMhhhNhNubj)}(h``0``h]h0}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubh- if successful, or the following error codes:}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKhjLubh option_list)}(hhh]hoption_list_item)}(hhh](h option_group)}(hhh]hoption)}(h-EAGAINh](h option_string)}(h-Eh]h-E}hjMsbah}(h]h ]h"]h$]h&]uh1jMhjMubhoption_argument)}(hAGAINh]hAGAIN}(hj NhhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1jNhjMubeh}(h]h ]h"]h$]h&]uh1jMhjMubah}(h]h ]h"]h$]h&]uh1jMhjMubh description)}(h$: The operation would have blocked. h]h)}(h#: The operation would have blocked.h]h#: The operation would have blocked.}(hj+NhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKhj'Nubah}(h]h ]h"]h$]h&]uh1j%NhjMubeh}(h]h ]h"]h$]h&]uh1jMhjMubah}(h]h ]h"]h$]h&]uh1jMhj9NhKhjLubh)}(hxThis is used to atomically remove a wait queue entry from the eventfd wait queue head, and read/reset the counter value.h]hxThis is used to atomically remove a wait queue entry from the eventfd wait queue head, and read/reset the counter value.}(hjLNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjGhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j eventfd_fget (C function)c.eventfd_fgethNtauh1hhjGhhhNhNubj)}(hhh](j)}(h#struct file * eventfd_fget (int fd)h]j)}(h!struct file *eventfd_fget(int fd)h](j )}(hjh]hstruct}(hj{NhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwNhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chM:ubj2)}(h h]h }(hjNhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwNhhhjNhM:ubh)}(hhh]jI)}(hfileh]hfile}(hjNhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNjj )}j ]j)}j eventfd_fgetsbc.eventfd_fgetasbuh1hhjwNhhhjNhM:ubj2)}(h h]h }(hjNhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwNhhhjNhM:ubj)}(hjh]h*}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwNhhhjNhM:ubjC)}(h eventfd_fgeth]jI)}(hjNh]h eventfd_fget}(hjNhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjwNhhhjNhM:ubj=)}(h(int fd)h]jC)}(hint fdh](jf)}(hinth]hint}(hjNhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjNubj2)}(h h]h }(hjOhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjNubjI)}(hfdh]hfd}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjNubah}(h]h ]h"]h$]h&]j`jauh1j<hjwNhhhjNhM:ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjsNhhhjNhM:ubah}(h]jnNah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjNhM:hjpNhhubjw)}(hhh]h)}(h2Acquire a reference of an eventfd file descriptor.h]h2Acquire a reference of an eventfd file descriptor.}(hj;OhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chM:hj8Ohhubah}(h]h ]h"]h$]h&]uh1jvhjpNhhhjNhM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSOjjSOjjjuh1jhhhjGhNhNubj)}(hX**Parameters** ``int fd`` [in] Eventfd file descriptor. **Description** Returns a pointer to the eventfd file structure in case of success, or the following error pointer: -EBADF : Invalid **fd** file descriptor. -EINVAL : The **fd** file descriptor is not an eventfd file.h](h)}(h**Parameters**h]j)}(hj]Oh]h Parameters}(hj_OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[Oubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chM>hjWOubj)}(hhh]j)}(h)``int fd`` [in] Eventfd file descriptor. h](j)}(h ``int fd``h]j)}(hj|Oh]hint fd}(hj~OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzOubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chM;hjvOubj)}(hhh]h)}(h[in] Eventfd file descriptor.h]h[in] Eventfd file descriptor.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhM;hjOubah}(h]h ]h"]h$]h&]uh1jhjvOubeh}(h]h ]h"]h$]h&]uh1jhjOhM;hjsOubah}(h]h ]h"]h$]h&]uh1jhjWOubh)}(h**Description**h]j)}(hjOh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chM=hjWOubh)}(hcReturns a pointer to the eventfd file structure in case of success, or the following error pointer:h]hcReturns a pointer to the eventfd file structure in case of success, or the following error pointer:}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chM<hjWOubjM)}(hhh](jM)}(hhh](jM)}(hhh]jM)}(h-EBADFh](jM)}(h-Eh]h-E}hjOsbah}(h]h ]h"]h$]h&]uh1jMhjOubj N)}(hBADFh]hBADF}(hjOhhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1jNhjOubeh}(h]h ]h"]h$]h&]uh1jMhjOubah}(h]h ]h"]h$]h&]uh1jMhjOubj&N)}(h!: Invalid **fd** file descriptor.h]h)}(hjPh](h : Invalid }(hjPhhhNhNubj)}(h**fd**h]hfd}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh file descriptor.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chM?hjPubah}(h]h ]h"]h$]h&]uh1j%NhjOubeh}(h]h ]h"]h$]h&]uh1jMhjOubjM)}(hhh](jM)}(hhh]jM)}(h-EINVALh](jM)}(h-Eh]h-E}hjLPsbah}(h]h ]h"]h$]h&]uh1jMhjHPubj N)}(hINVALh]hINVAL}(hjZPhhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1jNhjHPubeh}(h]h ]h"]h$]h&]uh1jMhjEPubah}(h]h ]h"]h$]h&]uh1jMhjBPubj&N)}(h4: The **fd** file descriptor is not an eventfd file.h]h)}(hjwPh](h: The }(hjyPhhhNhNubj)}(h**fd**h]hfd}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyPubh( file descriptor is not an eventfd file.}(hjyPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chM@hjuPubah}(h]h ]h"]h$]h&]uh1j%NhjBPubeh}(h]h ]h"]h$]h&]uh1jMhjOubeh}(h]h ]h"]h$]h&]uh1jMhj5PhM?hjWOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjGhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j eventfd_ctx_fdget (C function)c.eventfd_ctx_fdgethNtauh1hhjGhhhNhNubj)}(hhh](j)}(h/struct eventfd_ctx * eventfd_ctx_fdget (int fd)h]j)}(h-struct eventfd_ctx *eventfd_ctx_fdget(int fd)h](j )}(hjh]hstruct}(hjPhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjPhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chMTubj2)}(h h]h }(hjPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPhhhjPhMTubh)}(hhh]jI)}(h eventfd_ctxh]h eventfd_ctx}(hjPhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj )}j ]j)}jeventfd_ctx_fdgetsbc.eventfd_ctx_fdgetasbuh1hhjPhhhjPhMTubj2)}(h h]h }(hj QhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPhhhjPhMTubj)}(hjh]h*}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPhhhjPhMTubjC)}(heventfd_ctx_fdgeth]jI)}(hjQh]heventfd_ctx_fdget}(hj*QhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&Qubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjPhhhjPhMTubj=)}(h(int fd)h]jC)}(hint fdh](jf)}(hinth]hint}(hjEQhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjAQubj2)}(h h]h }(hjSQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAQubjI)}(hfdh]hfd}(hjaQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAQubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj=Qubah}(h]h ]h"]h$]h&]j`jauh1j<hjPhhhjPhMTubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjPhhhjPhMTubah}(h]jPah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjPhMThjPhhubjw)}(hhh]h)}(h5Acquires a reference to the internal eventfd context.h]h5Acquires a reference to the internal eventfd context.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chMThjQhhubah}(h]h ]h"]h$]h&]uh1jvhjPhhhjPhMTubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQjjjuh1jhhhjGhNhNubj)}(h**Parameters** ``int fd`` [in] Eventfd file descriptor. **Description** Returns a pointer to the internal eventfd context, otherwise the error pointers returned by the following functions: eventfd_fgeth](h)}(h**Parameters**h]j)}(hjQh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chMXhjQubj)}(hhh]j)}(h)``int fd`` [in] Eventfd file descriptor. h](j)}(h ``int fd``h]j)}(hjQh]hint fd}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chMUhjQubj)}(hhh]h)}(h[in] Eventfd file descriptor.h]h[in] Eventfd file descriptor.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhMUhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMUhjQubah}(h]h ]h"]h$]h&]uh1jhjQubh)}(h**Description**h]j)}(hjRh]h Description}(hj RhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chMWhjQubh)}(htReturns a pointer to the internal eventfd context, otherwise the error pointers returned by the following functions:h]htReturns a pointer to the internal eventfd context, otherwise the error pointers returned by the following functions:}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chMVhjQubh)}(h eventfd_fgeth]h eventfd_fget}(hj,RhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chMYhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjGhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  eventfd_ctx_fileget (C function)c.eventfd_ctx_filegethNtauh1hhjGhhhNhNubj)}(hhh](j)}(hah"]h$]h&]uh1j1hjWRhhhjhRhMfubh)}(hhh]jI)}(h eventfd_ctxh]h eventfd_ctx}(hjzRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|RmodnameN classnameNjj )}j ]j)}jeventfd_ctx_filegetsbc.eventfd_ctx_filegetasbuh1hhjWRhhhjhRhMfubj2)}(h h]h }(hjRhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjWRhhhjhRhMfubj)}(hjh]h*}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWRhhhjhRhMfubjC)}(heventfd_ctx_filegeth]jI)}(hjRh]heventfd_ctx_fileget}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjWRhhhjhRhMfubj=)}(h(struct file *file)h]jC)}(hstruct file *fileh](j )}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjRubj2)}(h h]h }(hjRhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRubh)}(hhh]jI)}(hfileh]hfile}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNjj )}j ]jRc.eventfd_ctx_filegetasbuh1hhjRubj2)}(h h]h }(hjShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRubj)}(hjh]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubjI)}(hfileh]hfile}(hj,ShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjRubah}(h]h ]h"]h$]h&]j`jauh1j<hjWRhhhjhRhMfubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjSRhhhjhRhMfubah}(h]jNRah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhRhMfhjPRhhubjw)}(hhh]h)}(h5Acquires a reference to the internal eventfd context.h]h5Acquires a reference to the internal eventfd context.}(hjVShhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chMfhjSShhubah}(h]h ]h"]h$]h&]uh1jvhjPRhhhjhRhMfubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnSjjnSjjjuh1jhhhjGhNhNubj)}(h**Parameters** ``struct file *file`` [in] Eventfd file pointer. **Description** Returns a pointer to the internal eventfd context, otherwise the error pointer: -EINVAL : The **fd** file descriptor is not an eventfd file.h](h)}(h**Parameters**h]j)}(hjxSh]h Parameters}(hjzShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvSubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chMjhjrSubj)}(hhh]j)}(h1``struct file *file`` [in] Eventfd file pointer. h](j)}(h``struct file *file``h]j)}(hjSh]hstruct file *file}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chMghjSubj)}(hhh]h)}(h[in] Eventfd file pointer.h]h[in] Eventfd file pointer.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMghjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShMghjSubah}(h]h ]h"]h$]h&]uh1jhjrSubh)}(h**Description**h]j)}(hjSh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chMihjrSubh)}(hOReturns a pointer to the internal eventfd context, otherwise the error pointer:h]hOReturns a pointer to the internal eventfd context, otherwise the error pointer:}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chMhhjrSubjM)}(hhh]jM)}(hhh](jM)}(hhh]jM)}(h-EINVALh](jM)}(h-Eh]h-E}hjTsbah}(h]h ]h"]h$]h&]uh1jMhjTubj N)}(hINVALh]hINVAL}(hjThhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1jNhjTubeh}(h]h ]h"]h$]h&]uh1jMhjSubah}(h]h ]h"]h$]h&]uh1jMhjSubj&N)}(h4: The **fd** file descriptor is not an eventfd file.h]h)}(hj/Th](h: The }(hj1ThhhNhNubj)}(h**fd**h]hfd}(hj8ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1Tubh( file descriptor is not an eventfd file.}(hj1ThhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chMkhj-Tubah}(h]h ]h"]h$]h&]uh1j%NhjSubeh}(h]h ]h"]h$]h&]uh1jMhjSubah}(h]h ]h"]h$]h&]uh1jMhjPThMkhjrSubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjGhhhNhNubeh}(h] events-based-on-file-descriptorsah ]h"] events based on file descriptorsah$]h&]uh1hhhhhhhhKxubh)}(hhh](h)}(heventpoll (epoll) interfacesh]heventpoll (epoll) interfaces}(hjuThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrThhhhhK~ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !busy_loop_ep_timeout (C function)c.busy_loop_ep_timeouthNtauh1hhjrThhhNhNubj)}(hhh](j)}(hJbool busy_loop_ep_timeout (unsigned long start_time, struct eventpoll *ep)h]j)}(hIbool busy_loop_ep_timeout(unsigned long start_time, struct eventpoll *ep)h](jf)}(hjih]hbool}(hjThhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjThhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMaubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjThhhjThMaubjC)}(hbusy_loop_ep_timeouth]jI)}(hbusy_loop_ep_timeouth]hbusy_loop_ep_timeout}(hjThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjTubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjThhhjThMaubj=)}(h0(unsigned long start_time, struct eventpoll *ep)h](jC)}(hunsigned long start_timeh](jf)}(hunsignedh]hunsigned}(hjThhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjTubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjTubjf)}(hlongh]hlong}(hjThhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjTubj2)}(h h]h }(hjUhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjTubjI)}(h start_timeh]h start_time}(hjUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjTubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjTubjC)}(hstruct eventpoll *eph](j )}(hjh]hstruct}(hj)UhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj%Uubj2)}(h h]h }(hj6UhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%Uubh)}(hhh]jI)}(h eventpollh]h eventpoll}(hjGUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjDUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjIUmodnameN classnameNjj )}j ]j)}jjTsbc.busy_loop_ep_timeoutasbuh1hhj%Uubj2)}(h h]h }(hjgUhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%Uubj)}(hjh]h*}(hjuUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%UubjI)}(heph]hep}(hjUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%Uubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjTubeh}(h]h ]h"]h$]h&]j`jauh1j<hjThhhjThMaubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjThhhjThMaubah}(h]jTah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjThMahjThhubjw)}(hhh]h)}(hcheck if busy poll has timed out. The timeout value from the epoll instance ep is preferred, but if it is not set fallback to the system-wide global via busy_loop_timeout.h]hcheck if busy poll has timed out. The timeout value from the epoll instance ep is preferred, but if it is not set fallback to the system-wide global via busy_loop_timeout.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMahjUhhubah}(h]h ]h"]h$]h&]uh1jvhjThhhjThMaubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1jhhhjrThNhNubj)}(h**Parameters** ``unsigned long start_time`` The start time used to compute the remaining time until timeout. ``struct eventpoll *ep`` Pointer to the eventpoll context. **Return** true if the timeout has expired, false otherwise.h](h)}(h**Parameters**h]j)}(hjUh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMehjUubj)}(hhh](j)}(h^``unsigned long start_time`` The start time used to compute the remaining time until timeout. h](j)}(h``unsigned long start_time``h]j)}(hjUh]hunsigned long start_time}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMehjUubj)}(hhh]h)}(h@The start time used to compute the remaining time until timeout.h]h@The start time used to compute the remaining time until timeout.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMehjVubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjVhMehjUubj)}(h;``struct eventpoll *ep`` Pointer to the eventpoll context. h](j)}(h``struct eventpoll *ep``h]j)}(hj&Vh]hstruct eventpoll *ep}(hj(VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Vubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMfhj Vubj)}(hhh]h)}(h!Pointer to the eventpoll context.h]h!Pointer to the eventpoll context.}(hj?VhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;VhMfhjah"]h$]h&]uh1j1hjVhhhjVhMubjC)}(hreverse_path_checkh]jI)}(hreverse_path_checkh]hreverse_path_check}(hjVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjVhhhjVhMubj=)}(h(struct ep_ctl_ctx *ctx)h]jC)}(hstruct ep_ctl_ctx *ctxh](j )}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjVubj2)}(h h]h }(hjVhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVubh)}(hhh]jI)}(h ep_ctl_ctxh]h ep_ctl_ctx}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNjj )}j ]j)}jjVsbc.reverse_path_checkasbuh1hhjVubj2)}(h h]h }(hj!WhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVubj)}(hjh]h*}(hj/WhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubjI)}(hctxh]hctx}(hjtfile_check_list is a list of epitems_head anchoring files with newly proposed links; make sure those links don't push any path-length bucket over its limit in path_limits[].h]hctx->tfile_check_list is a list of epitems_head anchoring files with newly proposed links; make sure those links don’t push any path-length bucket over its limit in path_limits[].}(hjfWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhjcWhhubah}(h]h ]h"]h$]h&]uh1jvhjVhhhjVhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj~Wjj~Wjjjuh1jhhhjrThNhNubj)}(h**Parameters** ``struct ep_ctl_ctx *ctx`` Per-do_epoll_ctl() scratch for the loop / path checks. **Return** ``zero`` if the proposed links don't create too many paths, ``-1`` otherwise.h](h)}(h**Parameters**h]j)}(hjWh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhjWubj)}(hhh]j)}(hR``struct ep_ctl_ctx *ctx`` Per-do_epoll_ctl() scratch for the loop / path checks. h](j)}(h``struct ep_ctl_ctx *ctx``h]j)}(hjWh]hstruct ep_ctl_ctx *ctx}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhjWubj)}(hhh]h)}(h6Per-do_epoll_ctl() scratch for the loop / path checks.h]h6Per-do_epoll_ctl() scratch for the loop / path checks.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhMhjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjWubah}(h]h ]h"]h$]h&]uh1jhjWubh)}(h **Return**h]j)}(hjWh]hReturn}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhjWubh)}(hM``zero`` if the proposed links don't create too many paths, ``-1`` otherwise.h](j)}(h``zero``h]hzero}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh6 if the proposed links don’t create too many paths, }(hjWhhhNhNubj)}(h``-1``h]h-1}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh otherwise.}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhjWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjrThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j ep_poll (C function) c.ep_pollhNtauh1hhjrThhhNhNubj)}(hhh](j)}(hpint ep_poll (struct eventpoll *ep, struct epoll_event __user *events, int maxevents, struct timespec64 *timeout)h]j)}(hoint ep_poll(struct eventpoll *ep, struct epoll_event __user *events, int maxevents, struct timespec64 *timeout)h](jf)}(hinth]hint}(hjGXhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjCXhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMubj2)}(h h]h }(hjVXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCXhhhjUXhMubjC)}(hep_pollh]jI)}(hep_pollh]hep_poll}(hjhXhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdXubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjCXhhhjUXhMubj=)}(hd(struct eventpoll *ep, struct epoll_event __user *events, int maxevents, struct timespec64 *timeout)h](jC)}(hstruct eventpoll *eph](j )}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjXubj2)}(h h]h }(hjXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXubh)}(hhh]jI)}(h eventpollh]h eventpoll}(hjXhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNjj )}j ]j)}jjjXsb c.ep_pollasbuh1hhjXubj2)}(h h]h }(hjXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXubj)}(hjh]h*}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubjI)}(heph]hep}(hjXhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj|XubjC)}(h!struct epoll_event __user *eventsh](j )}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjXubj2)}(h h]h }(hjYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXubh)}(hhh]jI)}(h epoll_eventh]h epoll_event}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj )}j ]jX c.ep_pollasbuh1hhjXubj2)}(h h]h }(hj2YhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXubh__user}(hjXhhhNhNubj2)}(h h]h }(hjDYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXubj)}(hjh]h*}(hjRYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubjI)}(heventsh]hevents}(hj_YhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj|XubjC)}(h int maxeventsh](jf)}(hinth]hint}(hjxYhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjtYubj2)}(h h]h }(hjYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtYubjI)}(h maxeventsh]h maxevents}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtYubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj|XubjC)}(hstruct timespec64 *timeouth](j )}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjYubj2)}(h h]h }(hjYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubh)}(hhh]jI)}(h timespec64h]h timespec64}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj )}j ]jX c.ep_pollasbuh1hhjYubj2)}(h h]h }(hjYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubj)}(hjh]h*}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubjI)}(htimeouth]htimeout}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj|Xubeh}(h]h ]h"]h$]h&]j`jauh1j<hjCXhhhjUXhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj?XhhhjUXhMubah}(h]j:Xah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjUXhMhjah"]h$]h&]uh1j1hj[hhhj[hM9 ubjC)}(hep_loop_check_proch]jI)}(hep_loop_check_proch]hep_loop_check_proc}(hj[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj[hhhj[hM9 ubj=)}(h9(struct ep_ctl_ctx *ctx, struct eventpoll *ep, int depth)h](jC)}(hstruct ep_ctl_ctx *ctxh](j )}(hjh]hstruct}(hj[hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj[ubj2)}(h h]h }(hj[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj[ubh)}(hhh]jI)}(h ep_ctl_ctxh]h ep_ctl_ctx}(hj \hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj \modnameN classnameNjj )}j ]j)}jj[sbc.ep_loop_check_procasbuh1hhj[ubj2)}(h h]h }(hj)\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj[ubj)}(hjh]h*}(hj7\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubjI)}(hctxh]hctx}(hjD\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj[ubjC)}(hstruct eventpoll *eph](j )}(hjh]hstruct}(hj]\hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjY\ubj2)}(h h]h }(hjj\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjY\ubh)}(hhh]jI)}(h eventpollh]h eventpoll}(hj{\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjx\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}\modnameN classnameNjj )}j ]j%\c.ep_loop_check_procasbuh1hhjY\ubj2)}(h h]h }(hj\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjY\ubj)}(hjh]h*}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjY\ubjI)}(heph]hep}(hj\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjY\ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj[ubjC)}(h int depthh](jf)}(hinth]hint}(hj\hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj\ubj2)}(h h]h }(hj\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\ubjI)}(hdepthh]hdepth}(hj\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj[ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj[hhhj[hM9 ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj[hhhj[hM9 ubah}(h]j[ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj[hM9 hj[hhubjw)}(hhh]h)}(hverify that adding an epoll file **ep** inside another epoll file does not create closed loops, and determine the depth of the subtree starting at **ep**h](h!verify that adding an epoll file }(hj]hhhNhNubj)}(h**ep**h]hep}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubhl inside another epoll file does not create closed loops, and determine the depth of the subtree starting at }(hj]hhhNhNubj)}(h**ep**h]hep}(hj-]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chM9 hj]hhubah}(h]h ]h"]h$]h&]uh1jvhj[hhhj[hM9 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjK]jjK]jjjuh1jhhhjrThNhNubj)}(hXi**Parameters** ``struct ep_ctl_ctx *ctx`` Per-do_epoll_ctl() scratch for the loop / path checks. ``struct eventpoll *ep`` the :c:type:`struct eventpoll ` to be currently checked. ``int depth`` Current depth of the path being checked. **Return** depth of the subtree, or a value bigger than EP_MAX_NESTS if we found a loop or went too deep.h](h)}(h**Parameters**h]j)}(hjU]h]h Parameters}(hjW]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS]ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chM= hjO]ubj)}(hhh](j)}(hR``struct ep_ctl_ctx *ctx`` Per-do_epoll_ctl() scratch for the loop / path checks. h](j)}(h``struct ep_ctl_ctx *ctx``h]j)}(hjt]h]hstruct ep_ctl_ctx *ctx}(hjv]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr]ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chM= hjn]ubj)}(hhh]h)}(h6Per-do_epoll_ctl() scratch for the loop / path checks.h]h6Per-do_epoll_ctl() scratch for the loop / path checks.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hM= hj]ubah}(h]h ]h"]h$]h&]uh1jhjn]ubeh}(h]h ]h"]h$]h&]uh1jhj]hM= hjk]ubj)}(h]``struct eventpoll *ep`` the :c:type:`struct eventpoll ` to be currently checked. h](j)}(h``struct eventpoll *ep``h]j)}(hj]h]hstruct eventpoll *ep}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chM> hj]ubj)}(hhh]h)}(hCthe :c:type:`struct eventpoll ` to be currently checked.h](hthe }(hj]hhhNhNubh)}(h&:c:type:`struct eventpoll `h]j)}(hj]h]hstruct eventpoll}(hj]hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjj j eventpolluh1hhj]hM> hj]ubh to be currently checked.}(hj]hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj]hM> hj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hM> hjk]ubj)}(h7``int depth`` Current depth of the path being checked. h](j)}(h ``int depth``h]j)}(hj ^h]h int depth}(hj ^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chM? hj^ubj)}(hhh]h)}(h(Current depth of the path being checked.h]h(Current depth of the path being checked.}(hj"^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hM? hj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hM? hjk]ubeh}(h]h ]h"]h$]h&]uh1jhjO]ubh)}(h **Return**h]j)}(hjD^h]hReturn}(hjF^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB^ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMA hjO]ubh)}(h^depth of the subtree, or a value bigger than EP_MAX_NESTS if we found a loop or went too deep.h]h^depth of the subtree, or a value bigger than EP_MAX_NESTS if we found a loop or went too deep.}(hjZ^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMA hjO]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjrThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j ep_loop_check (C function)c.ep_loop_checkhNtauh1hhjrThhhNhNubj)}(hhh](j)}(hVint ep_loop_check (struct ep_ctl_ctx *ctx, struct eventpoll *ep, struct eventpoll *to)h]j)}(hUint ep_loop_check(struct ep_ctl_ctx *ctx, struct eventpoll *ep, struct eventpoll *to)h](jf)}(hinth]hint}(hj^hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj^hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chM~ ubj2)}(h h]h }(hj^hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj^hhhj^hM~ ubjC)}(h ep_loop_checkh]jI)}(h ep_loop_checkh]h ep_loop_check}(hj^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj^ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj^hhhj^hM~ ubj=)}(hD(struct ep_ctl_ctx *ctx, struct eventpoll *ep, struct eventpoll *to)h](jC)}(hstruct ep_ctl_ctx *ctxh](j )}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj^ubj2)}(h h]h }(hj^hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj^ubh)}(hhh]jI)}(h ep_ctl_ctxh]h ep_ctl_ctx}(hj^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNjj )}j ]j)}jj^sbc.ep_loop_checkasbuh1hhj^ubj2)}(h h]h }(hj_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj^ubj)}(hjh]h*}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubjI)}(hctxh]hctx}(hj_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj^ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj^ubjC)}(hstruct eventpoll *eph](j )}(hjh]hstruct}(hj8_hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj4_ubj2)}(h h]h }(hjE_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4_ubh)}(hhh]jI)}(h eventpollh]h eventpoll}(hjV_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjS_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjX_modnameN classnameNjj )}j ]j_c.ep_loop_checkasbuh1hhj4_ubj2)}(h h]h }(hjt_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4_ubj)}(hjh]h*}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4_ubjI)}(heph]hep}(hj_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4_ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj^ubjC)}(hstruct eventpoll *toh](j )}(hjh]hstruct}(hj_hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj_ubj2)}(h h]h }(hj_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_ubh)}(hhh]jI)}(h eventpollh]h eventpoll}(hj_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNjj )}j ]j_c.ep_loop_checkasbuh1hhj_ubj2)}(h h]h }(hj_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_ubj)}(hjh]h*}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubjI)}(htoh]hto}(hj_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj^ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj^hhhj^hM~ ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj^hhhj^hM~ ubah}(h]j|^ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj^hM~ hj~^hhubjw)}(hhh]h)}(hPerforms a check to verify that adding an epoll file (**to**) into another epoll file (represented by **ep**) does not create closed loops or too deep chains.h](h6Performs a check to verify that adding an epoll file (}(hj)`hhhNhNubj)}(h**to**h]hto}(hj1`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)`ubh*) into another epoll file (represented by }(hj)`hhhNhNubj)}(h**ep**h]hep}(hjC`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)`ubh2) does not create closed loops or too deep chains.}(hj)`hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chM~ hj&`hhubah}(h]h ]h"]h$]h&]uh1jvhj~^hhhj^hM~ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjje`jje`jjjuh1jhhhjrThNhNubj)}(hXT**Parameters** ``struct ep_ctl_ctx *ctx`` Per-CTL_ADD scratch context. ``struct eventpoll *ep`` Pointer to the epoll we are inserting into. ``struct eventpoll *to`` Pointer to the epoll to be inserted. **Return** ``zero`` if adding the epoll **to** inside the epoll **from** does not violate the constraints, or ``-1`` otherwise.h](h)}(h**Parameters**h]j)}(hjo`h]h Parameters}(hjq`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm`ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chM hji`ubj)}(hhh](j)}(h8``struct ep_ctl_ctx *ctx`` Per-CTL_ADD scratch context. h](j)}(h``struct ep_ctl_ctx *ctx``h]j)}(hj`h]hstruct ep_ctl_ctx *ctx}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chM hj`ubj)}(hhh]h)}(hPer-CTL_ADD scratch context.h]hPer-CTL_ADD scratch context.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hM hj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hM hj`ubj)}(hE``struct eventpoll *ep`` Pointer to the epoll we are inserting into. h](j)}(h``struct eventpoll *ep``h]j)}(hj`h]hstruct eventpoll *ep}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chM hj`ubj)}(hhh]h)}(h+Pointer to the epoll we are inserting into.h]h+Pointer to the epoll we are inserting into.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hM hj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hM hj`ubj)}(h>``struct eventpoll *to`` Pointer to the epoll to be inserted. h](j)}(h``struct eventpoll *to``h]j)}(hjah]hstruct eventpoll *to}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chM hj`ubj)}(hhh]h)}(h$Pointer to the epoll to be inserted.h]h$Pointer to the epoll to be inserted.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahM hjaubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhjahM hj`ubeh}(h]h ]h"]h$]h&]uh1jhji`ubh)}(h **Return**h]j)}(hj;ah]hReturn}(hj=ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9aubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chM hji`ubh)}(ht``zero`` if adding the epoll **to** inside the epoll **from** does not violate the constraints, or ``-1`` otherwise.h](j)}(h``zero``h]hzero}(hjUahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQaubh if adding the epoll }(hjQahhhNhNubj)}(h**to**h]hto}(hjgahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQaubh inside the epoll }(hjQahhhNhNubj)}(h**from**h]hfrom}(hjyahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQaubh& does not violate the constraints, or }(hjQahhhNhNubj)}(h``-1``h]h-1}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQaubh otherwise.}(hjQahhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chM hji`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjrThhhNhNubeh}(h]eventpoll-epoll-interfacesah ]h"]eventpoll (epoll) interfacesah$]h&]uh1hhhhhhhhK~ubh)}(hhh](h)}(h+The Filesystem for Exporting Kernel Objectsh]h+The Filesystem for Exporting Kernel Objects}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !sysfs_create_file_ns (C function)c.sysfs_create_file_nshNtauh1hhjahhhNhNubj)}(hhh](j)}(hiint sysfs_create_file_ns (struct kobject *kobj, const struct attribute *attr, const struct ns_common *ns)h]j)}(hhint sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr, const struct ns_common *ns)h](jf)}(hinth]hint}(hjahhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjahhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMjubj2)}(h h]h }(hjahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjahhhjahMjubjC)}(hsysfs_create_file_nsh]jI)}(hsysfs_create_file_nsh]hsysfs_create_file_ns}(hjahhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjaubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjahhhjahMjubj=)}(hP(struct kobject *kobj, const struct attribute *attr, const struct ns_common *ns)h](jC)}(hstruct kobject *kobjh](j )}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjbubj2)}(h h]h }(hj'bhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbubh)}(hhh]jI)}(hkobjecth]hkobject}(hj8bhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj5bubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:bmodnameN classnameNjj )}j ]j)}jjbsbc.sysfs_create_file_nsasbuh1hhjbubj2)}(h h]h }(hjXbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbubj)}(hjh]h*}(hjfbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubjI)}(hkobjh]hkobj}(hjsbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjbubjC)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hjbhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjbubj2)}(h h]h }(hjbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbubj )}(hjh]hstruct}(hjbhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjbubj2)}(h h]h }(hjbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbubh)}(hhh]jI)}(h attributeh]h attribute}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNjj )}j ]jTbc.sysfs_create_file_nsasbuh1hhjbubj2)}(h h]h }(hjbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbubj)}(hjh]h*}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubjI)}(hattrh]hattr}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjbubjC)}(hconst struct ns_common *nsh](j )}(hjh]hconst}(hjchhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjcubj2)}(h h]h }(hj$chhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubj )}(hjh]hstruct}(hj2chhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjcubj2)}(h h]h }(hj?chhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubh)}(hhh]jI)}(h ns_commonh]h ns_common}(hjPchhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRcmodnameN classnameNjj )}j ]jTbc.sysfs_create_file_nsasbuh1hhjcubj2)}(h h]h }(hjnchhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubj)}(hjh]h*}(hj|chhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubjI)}(hnsh]hns}(hjchhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjcubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjbubeh}(h]h ]h"]h$]h&]j`jauh1j<hjahhhjahMjubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjahhhjahMjubah}(h]jaah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjahMjhjahhubjw)}(hhh]h)}(h5create an attribute file for an object with custom nsh]h5create an attribute file for an object with custom ns}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMjhjchhubah}(h]h ]h"]h$]h&]uh1jvhjahhhjahMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1jhhhjahNhNubj)}(h**Parameters** ``struct kobject *kobj`` object we're creating for ``const struct attribute *attr`` attribute descriptor ``const struct ns_common *ns`` namespace the new file should belong toh](h)}(h**Parameters**h]j)}(hjch]h Parameters}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMnhjcubj)}(hhh](j)}(h3``struct kobject *kobj`` object we're creating for h](j)}(h``struct kobject *kobj``h]j)}(hjch]hstruct kobject *kobj}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMkhjcubj)}(hhh]h)}(hobject we're creating forh]hobject we’re creating for}(hj dhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj dhMkhj dubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj dhMkhjcubj)}(h6``const struct attribute *attr`` attribute descriptor h](j)}(h ``const struct attribute *attr``h]j)}(hj-dh]hconst struct attribute *attr}(hj/dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+dubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMlhj'dubj)}(hhh]h)}(hattribute descriptorh]hattribute descriptor}(hjFdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBdhMlhjCdubah}(h]h ]h"]h$]h&]uh1jhj'dubeh}(h]h ]h"]h$]h&]uh1jhjBdhMlhjcubj)}(hF``const struct ns_common *ns`` namespace the new file should belong toh](j)}(h``const struct ns_common *ns``h]j)}(hjfdh]hconst struct ns_common *ns}(hjhdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjddubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMnhj`dubj)}(hhh]h)}(h'namespace the new file should belong toh]h'namespace the new file should belong to}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMmhj|dubah}(h]h ]h"]h$]h&]uh1jhj`dubeh}(h]h ]h"]h$]h&]uh1jhj{dhMnhjcubeh}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjahhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $sysfs_add_file_to_group (C function)c.sysfs_add_file_to_grouphNtauh1hhjahhhNhNubj)}(hhh](j)}(hcint sysfs_add_file_to_group (struct kobject *kobj, const struct attribute *attr, const char *group)h]j)}(hbint sysfs_add_file_to_group(struct kobject *kobj, const struct attribute *attr, const char *group)h](jf)}(hinth]hint}(hjdhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjdhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMubj2)}(h h]h }(hjdhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdhhhjdhMubjC)}(hsysfs_add_file_to_grouph]jI)}(hsysfs_add_file_to_grouph]hsysfs_add_file_to_group}(hjdhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjdhhhjdhMubj=)}(hG(struct kobject *kobj, const struct attribute *attr, const char *group)h](jC)}(hstruct kobject *kobjh](j )}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjdubj2)}(h h]h }(hj ehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdubh)}(hhh]jI)}(hkobjecth]hkobject}(hjehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj )}j ]j)}jjdsbc.sysfs_add_file_to_groupasbuh1hhjdubj2)}(h h]h }(hj;ehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdubj)}(hjh]h*}(hjIehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubjI)}(hkobjh]hkobj}(hjVehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjdubjC)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hjoehhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjkeubj2)}(h h]h }(hj|ehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkeubj )}(hjh]hstruct}(hjehhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjkeubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkeubh)}(hhh]jI)}(h attributeh]h attribute}(hjehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj )}j ]j7ec.sysfs_add_file_to_groupasbuh1hhjkeubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkeubj)}(hjh]h*}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkeubjI)}(hattrh]hattr}(hjehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjkeubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjdubjC)}(hconst char *grouph](j )}(hjh]hconst}(hjehhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjeubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjeubjf)}(hcharh]hchar}(hjfhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjeubj2)}(h h]h }(hj#fhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjeubj)}(hjh]h*}(hj1fhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubjI)}(hgrouph]hgroup}(hj>fhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjdubeh}(h]h ]h"]h$]h&]j`jauh1j<hjdhhhjdhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjdhhhjdhMubah}(h]jdah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjdhMhjdhhubjw)}(hhh]h)}(h.add an attribute file to a pre-existing group.h]h.add an attribute file to a pre-existing group.}(hjhfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjefhhubah}(h]h ]h"]h$]h&]uh1jvhjdhhhjdhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1jhhhjahNhNubj)}(h**Parameters** ``struct kobject *kobj`` object we're acting for. ``const struct attribute *attr`` attribute descriptor. ``const char *group`` group name.h](h)}(h**Parameters**h]j)}(hjfh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjfubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hjfh]hstruct kobject *kobj}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjfubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhMhjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjfubj)}(h7``const struct attribute *attr`` attribute descriptor. h](j)}(h ``const struct attribute *attr``h]j)}(hjfh]hconst struct attribute *attr}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjfubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhMhjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjfubj)}(h!``const char *group`` group name.h](j)}(h``const char *group``h]j)}(hjgh]hconst char *group}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjgubj)}(hhh]h)}(h group name.h]h group name.}(hj4ghhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj1gubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhj0ghMhjfubeh}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjahhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j sysfs_chmod_file (C function)c.sysfs_chmod_filehNtauh1hhjahhhNhNubj)}(hhh](j)}(hWint sysfs_chmod_file (struct kobject *kobj, const struct attribute *attr, umode_t mode)h]j)}(hVint sysfs_chmod_file(struct kobject *kobj, const struct attribute *attr, umode_t mode)h](jf)}(hinth]hint}(hjughhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjqghhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMubj2)}(h h]h }(hjghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqghhhjghMubjC)}(hsysfs_chmod_fileh]jI)}(hsysfs_chmod_fileh]hsysfs_chmod_file}(hjghhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjgubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjqghhhjghMubj=)}(hB(struct kobject *kobj, const struct attribute *attr, umode_t mode)h](jC)}(hstruct kobject *kobjh](j )}(hjh]hstruct}(hjghhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjgubj2)}(h h]h }(hjghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjgubh)}(hhh]jI)}(hkobjecth]hkobject}(hjghhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNjj )}j ]j)}jjgsbc.sysfs_chmod_fileasbuh1hhjgubj2)}(h h]h }(hjghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjgubj)}(hjh]h*}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubjI)}(hkobjh]hkobj}(hj hhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjgubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjgubjC)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hj$hhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj hubj2)}(h h]h }(hj1hhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj hubj )}(hjh]hstruct}(hj?hhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj hubj2)}(h h]h }(hjLhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj hubh)}(hhh]jI)}(h attributeh]h attribute}(hj]hhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjZhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_hmodnameN classnameNjj )}j ]jgc.sysfs_chmod_fileasbuh1hhj hubj2)}(h h]h }(hj{hhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj hubj)}(hjh]h*}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hubjI)}(hattrh]hattr}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj hubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjgubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj )}j ]jgc.sysfs_chmod_fileasbuh1hhjhubj2)}(h h]h }(hjhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubjI)}(hmodeh]hmode}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjgubeh}(h]h ]h"]h$]h&]j`jauh1j<hjqghhhjghMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjmghhhjghMubah}(h]jhgah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjghMhjjghhubjw)}(hhh]h)}(h6update the modified mode value on an object attribute.h]h6update the modified mode value on an object attribute.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjihhubah}(h]h ]h"]h$]h&]uh1jvhjjghhhjghMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj ijj ijjjuh1jhhhjahNhNubj)}(h**Parameters** ``struct kobject *kobj`` object we're acting for. ``const struct attribute *attr`` attribute descriptor. ``umode_t mode`` file permissions.h](h)}(h**Parameters**h]j)}(hj*ih]h Parameters}(hj,ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(iubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj$iubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hjIih]hstruct kobject *kobj}(hjKihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGiubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjCiubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hjbihhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^ihMhj_iubah}(h]h ]h"]h$]h&]uh1jhjCiubeh}(h]h ]h"]h$]h&]uh1jhj^ihMhj@iubj)}(h7``const struct attribute *attr`` attribute descriptor. h](j)}(h ``const struct attribute *attr``h]j)}(hjih]hconst struct attribute *attr}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj|iubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihMhjiubah}(h]h ]h"]h$]h&]uh1jhj|iubeh}(h]h ]h"]h$]h&]uh1jhjihMhj@iubj)}(h"``umode_t mode`` file permissions.h](j)}(h``umode_t mode``h]j)}(hjih]h umode_t mode}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjiubj)}(hhh]h)}(hfile permissions.h]hfile permissions.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMhj@iubeh}(h]h ]h"]h$]h&]uh1jhj$iubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjahhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j *sysfs_break_active_protection (C function)c.sysfs_break_active_protectionhNtauh1hhjahhhNhNubj)}(hhh](j)}(hgstruct kernfs_node * sysfs_break_active_protection (struct kobject *kobj, const struct attribute *attr)h]j)}(hestruct kernfs_node *sysfs_break_active_protection(struct kobject *kobj, const struct attribute *attr)h](j )}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjjhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMubj2)}(h h]h }(hj#jhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjjhhhj"jhMubh)}(hhh]jI)}(h kernfs_nodeh]h kernfs_node}(hj4jhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1jubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6jmodnameN classnameNjj )}j ]j)}jsysfs_break_active_protectionsbc.sysfs_break_active_protectionasbuh1hhjjhhhj"jhMubj2)}(h h]h }(hjUjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjjhhhj"jhMubj)}(hjh]h*}(hjcjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjhhhj"jhMubjC)}(hsysfs_break_active_protectionh]jI)}(hjRjh]hsysfs_break_active_protection}(hjtjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjjhhhj"jhMubj=)}(h4(struct kobject *kobj, const struct attribute *attr)h](jC)}(hstruct kobject *kobjh](j )}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjjubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjjubh)}(hhh]jI)}(hkobjecth]hkobject}(hjjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNjj )}j ]jPjc.sysfs_break_active_protectionasbuh1hhjjubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjjubj)}(hjh]h*}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubjI)}(hkobjh]hkobj}(hjjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjjubjC)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hjjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjjubj2)}(h h]h }(hj khhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjjubj )}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjjubj2)}(h h]h }(hj'khhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjjubh)}(hhh]jI)}(h attributeh]h attribute}(hj8khhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj5kubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:kmodnameN classnameNjj )}j ]jPjc.sysfs_break_active_protectionasbuh1hhjjubj2)}(h h]h }(hjVkhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjjubj)}(hjh]h*}(hjdkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubjI)}(hattrh]hattr}(hjqkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjjhhhj"jhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj jhhhj"jhMubah}(h]jjah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj"jhMhj jhhubjw)}(hhh]h)}(hbreak "active" protectionh]hbreak “active” protection}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjkhhubah}(h]h ]h"]h$]h&]uh1jvhj jhhhj"jhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1jhhhjahNhNubj)}(hX**Parameters** ``struct kobject *kobj`` The kernel object **attr** is associated with. ``const struct attribute *attr`` The attribute to break the "active" protection for. **Description** With sysfs, just like kernfs, deletion of an attribute is postponed until all active .show() and .store() callbacks have finished unless this function is called. Hence this function is useful in methods that implement self deletion.h](h)}(h**Parameters**h]j)}(hjkh]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjkubj)}(hhh](j)}(hH``struct kobject *kobj`` The kernel object **attr** is associated with. h](j)}(h``struct kobject *kobj``h]j)}(hjkh]hstruct kobject *kobj}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjkubj)}(hhh]h)}(h.The kernel object **attr** is associated with.h](hThe kernel object }(hjkhhhNhNubj)}(h**attr**h]hattr}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh is associated with.}(hjkhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjkhMhjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjkubj)}(hU``const struct attribute *attr`` The attribute to break the "active" protection for. h](j)}(h ``const struct attribute *attr``h]j)}(hj'lh]hconst struct attribute *attr}(hj)lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%lubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj!lubj)}(hhh]h)}(h3The attribute to break the "active" protection for.h]h7The attribute to break the “active” protection for.}(hj@lhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjah"]h$]h&]uh1j1hjlhhhjlhMubjC)}(hsysfs_unbreak_active_protectionh]jI)}(hsysfs_unbreak_active_protectionh]hsysfs_unbreak_active_protection}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjlhhhjlhMubj=)}(h(struct kernfs_node *kn)h]jC)}(hstruct kernfs_node *knh](j )}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjlubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjlubh)}(hhh]jI)}(h kernfs_nodeh]h kernfs_node}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNjj )}j ]j)}jjlsb!c.sysfs_unbreak_active_protectionasbuh1hhjlubj2)}(h h]h }(hj"mhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjlubj)}(hjh]h*}(hj0mhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubjI)}(hknh]hkn}(hj=mhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjlubah}(h]h ]h"]h$]h&]j`jauh1j<hjlhhhjlhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjlhhhjlhMubah}(h]jlah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjlhMhjlhhubjw)}(hhh]h)}(hrestore "active" protectionh]hrestore “active” protection}(hjgmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjdmhhubah}(h]h ]h"]h$]h&]uh1jvhjlhhhjlhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1jhhhjahNhNubj)}(hX**Parameters** ``struct kernfs_node *kn`` Pointer returned by sysfs_break_active_protection(). **Description** Undo the effects of sysfs_break_active_protection(). Since this function calls kernfs_put() on the kernfs node that corresponds to the 'attr' argument passed to sysfs_break_active_protection() that attribute may have been removed between the sysfs_break_active_protection() and sysfs_unbreak_active_protection() calls, it is not safe to access **kn** after this function has returned.h](h)}(h**Parameters**h]j)}(hjmh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjmubj)}(hhh]j)}(hP``struct kernfs_node *kn`` Pointer returned by sysfs_break_active_protection(). h](j)}(h``struct kernfs_node *kn``h]j)}(hjmh]hstruct kernfs_node *kn}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjmubj)}(hhh]h)}(h4Pointer returned by sysfs_break_active_protection().h]h4Pointer returned by sysfs_break_active_protection().}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMhjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjmubah}(h]h ]h"]h$]h&]uh1jhjmubh)}(h**Description**h]j)}(hjmh]h Description}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjmubh)}(hXUndo the effects of sysfs_break_active_protection(). Since this function calls kernfs_put() on the kernfs node that corresponds to the 'attr' argument passed to sysfs_break_active_protection() that attribute may have been removed between the sysfs_break_active_protection() and sysfs_unbreak_active_protection() calls, it is not safe to access **kn** after this function has returned.h](hX\Undo the effects of sysfs_break_active_protection(). Since this function calls kernfs_put() on the kernfs node that corresponds to the ‘attr’ argument passed to sysfs_break_active_protection() that attribute may have been removed between the sysfs_break_active_protection() and sysfs_unbreak_active_protection() calls, it is not safe to access }(hjmhhhNhNubj)}(h**kn**h]hkn}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubh" after this function has returned.}(hjmhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjahhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !sysfs_remove_file_ns (C function)c.sysfs_remove_file_nshNtauh1hhjahhhNhNubj)}(hhh](j)}(hjvoid sysfs_remove_file_ns (struct kobject *kobj, const struct attribute *attr, const struct ns_common *ns)h]j)}(hivoid sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr, const struct ns_common *ns)h](jf)}(hvoidh]hvoid}(hj:nhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj6nhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMubj2)}(h h]h }(hjInhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6nhhhjHnhMubjC)}(hsysfs_remove_file_nsh]jI)}(hsysfs_remove_file_nsh]hsysfs_remove_file_ns}(hj[nhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWnubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj6nhhhjHnhMubj=)}(hP(struct kobject *kobj, const struct attribute *attr, const struct ns_common *ns)h](jC)}(hstruct kobject *kobjh](j )}(hjh]hstruct}(hjwnhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjsnubj2)}(h h]h }(hjnhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjsnubh)}(hhh]jI)}(hkobjecth]hkobject}(hjnhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj )}j ]j)}jj]nsbc.sysfs_remove_file_nsasbuh1hhjsnubj2)}(h h]h }(hjnhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjsnubj)}(hjh]h*}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsnubjI)}(hkobjh]hkobj}(hjnhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjsnubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjonubjC)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hjnhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjnubj2)}(h h]h }(hjnhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjnubj )}(hjh]hstruct}(hjohhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjnubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjnubh)}(hhh]jI)}(h attributeh]h attribute}(hj"ohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$omodnameN classnameNjj )}j ]jnc.sysfs_remove_file_nsasbuh1hhjnubj2)}(h h]h }(hj@ohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjnubj)}(hjh]h*}(hjNohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubjI)}(hattrh]hattr}(hj[ohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjnubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjonubjC)}(hconst struct ns_common *nsh](j )}(hjh]hconst}(hjtohhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjpoubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpoubj )}(hjh]hstruct}(hjohhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjpoubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpoubh)}(hhh]jI)}(h ns_commonh]h ns_common}(hjohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNjj )}j ]jnc.sysfs_remove_file_nsasbuh1hhjpoubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpoubj)}(hjh]h*}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpoubjI)}(hnsh]hns}(hjohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpoubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjonubeh}(h]h ]h"]h$]h&]j`jauh1j<hj6nhhhjHnhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj2nhhhjHnhMubah}(h]j-nah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjHnhMhj/nhhubjw)}(hhh]h)}(h/remove an object attribute with a custom ns tagh]h/remove an object attribute with a custom ns tag}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj phhubah}(h]h ]h"]h$]h&]uh1jvhj/nhhhjHnhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(pjj(pjjjuh1jhhhjahNhNubj)}(hX**Parameters** ``struct kobject *kobj`` object we're acting for ``const struct attribute *attr`` attribute descriptor ``const struct ns_common *ns`` namespace tag of the file to remove **Description** Hash the attribute name and namespace tag and kill the victim.h](h)}(h**Parameters**h]j)}(hj2ph]h Parameters}(hj4phhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0pubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj,pubj)}(hhh](j)}(h1``struct kobject *kobj`` object we're acting for h](j)}(h``struct kobject *kobj``h]j)}(hjQph]hstruct kobject *kobj}(hjSphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOpubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjKpubj)}(hhh]h)}(hobject we're acting forh]hobject we’re acting for}(hjjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfphMhjgpubah}(h]h ]h"]h$]h&]uh1jhjKpubeh}(h]h ]h"]h$]h&]uh1jhjfphMhjHpubj)}(h6``const struct attribute *attr`` attribute descriptor h](j)}(h ``const struct attribute *attr``h]j)}(hjph]hconst struct attribute *attr}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjpubj)}(hhh]h)}(hattribute descriptorh]hattribute descriptor}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMhjHpubj)}(hC``const struct ns_common *ns`` namespace tag of the file to remove h](j)}(h``const struct ns_common *ns``h]j)}(hjph]hconst struct ns_common *ns}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjpubj)}(hhh]h)}(h#namespace tag of the file to removeh]h#namespace tag of the file to remove}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMhjHpubeh}(h]h ]h"]h$]h&]uh1jhj,pubh)}(h**Description**h]j)}(hjph]h Description}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj,pubh)}(h>Hash the attribute name and namespace tag and kill the victim.h]h>Hash the attribute name and namespace tag and kill the victim.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj,pubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjahhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j #sysfs_remove_file_self (C function)c.sysfs_remove_file_selfhNtauh1hhjahhhNhNubj)}(hhh](j)}(hPbool sysfs_remove_file_self (struct kobject *kobj, const struct attribute *attr)h]j)}(hObool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr)h](jf)}(hjih]hbool}(hjCqhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj?qhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMubj2)}(h h]h }(hjQqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj?qhhhjPqhMubjC)}(hsysfs_remove_file_selfh]jI)}(hsysfs_remove_file_selfh]hsysfs_remove_file_self}(hjcqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_qubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj?qhhhjPqhMubj=)}(h4(struct kobject *kobj, const struct attribute *attr)h](jC)}(hstruct kobject *kobjh](j )}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj{qubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj{qubh)}(hhh]jI)}(hkobjecth]hkobject}(hjqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj )}j ]j)}jjeqsbc.sysfs_remove_file_selfasbuh1hhj{qubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj{qubj)}(hjh]h*}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{qubjI)}(hkobjh]hkobj}(hjqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj{qubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjwqubjC)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hjqhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjqubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubj )}(hjh]hstruct}(hj rhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjqubj2)}(h h]h }(hjrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubh)}(hhh]jI)}(h attributeh]h attribute}(hj*rhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'rubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,rmodnameN classnameNjj )}j ]jqc.sysfs_remove_file_selfasbuh1hhjqubj2)}(h h]h }(hjHrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubj)}(hjh]h*}(hjVrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubjI)}(hattrh]hattr}(hjcrhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjwqubeh}(h]h ]h"]h$]h&]j`jauh1j<hj?qhhhjPqhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj;qhhhjPqhMubah}(h]j6qah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjPqhMhj8qhhubjw)}(hhh]h)}(h.remove an object attribute from its own methodh]h.remove an object attribute from its own method}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjrhhubah}(h]h ]h"]h$]h&]uh1jvhj8qhhhjPqhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1jhhhjahNhNubj)}(h**Parameters** ``struct kobject *kobj`` object we're acting for ``const struct attribute *attr`` attribute descriptor **Description** See kernfs_remove_self() for details.h](h)}(h**Parameters**h]j)}(hjrh]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM hjrubj)}(hhh](j)}(h1``struct kobject *kobj`` object we're acting for h](j)}(h``struct kobject *kobj``h]j)}(hjrh]hstruct kobject *kobj}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM hjrubj)}(hhh]h)}(hobject we're acting forh]hobject we’re acting for}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhM hjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhM hjrubj)}(h6``const struct attribute *attr`` attribute descriptor h](j)}(h ``const struct attribute *attr``h]j)}(hjsh]hconst struct attribute *attr}(hj shhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM hjsubj)}(hhh]h)}(hattribute descriptorh]hattribute descriptor}(hj shhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshM hjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshM hjrubeh}(h]h ]h"]h$]h&]uh1jhjrubh)}(h**Description**h]j)}(hjBsh]h Description}(hjDshhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@subah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM hjrubh)}(h%See kernfs_remove_self() for details.h]h%See kernfs_remove_self() for details.}(hjXshhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM hjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjahhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j )sysfs_remove_file_from_group (C function)c.sysfs_remove_file_from_grouphNtauh1hhjahhhNhNubj)}(hhh](j)}(hivoid sysfs_remove_file_from_group (struct kobject *kobj, const struct attribute *attr, const char *group)h]j)}(hhvoid sysfs_remove_file_from_group(struct kobject *kobj, const struct attribute *attr, const char *group)h](jf)}(hvoidh]hvoid}(hjshhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjshhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM)ubj2)}(h h]h }(hjshhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjshhhjshM)ubjC)}(hsysfs_remove_file_from_grouph]jI)}(hsysfs_remove_file_from_grouph]hsysfs_remove_file_from_group}(hjshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjsubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjshhhjshM)ubj=)}(hG(struct kobject *kobj, const struct attribute *attr, const char *group)h](jC)}(hstruct kobject *kobjh](j )}(hjh]hstruct}(hjshhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjsubj2)}(h h]h }(hjshhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjsubh)}(hhh]jI)}(hkobjecth]hkobject}(hjshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNjj )}j ]j)}jjssbc.sysfs_remove_file_from_groupasbuh1hhjsubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjsubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubjI)}(hkobjh]hkobj}(hjthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjsubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjsubjC)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hj6thhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj2tubj2)}(h h]h }(hjCthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2tubj )}(hjh]hstruct}(hjQthhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj2tubj2)}(h h]h }(hj^thhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2tubh)}(hhh]jI)}(h attributeh]h attribute}(hjothhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjltubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqtmodnameN classnameNjj )}j ]jsc.sysfs_remove_file_from_groupasbuh1hhj2tubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2tubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2tubjI)}(hattrh]hattr}(hjthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2tubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjsubjC)}(hconst char *grouph](j )}(hjh]hconst}(hjthhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjtubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubjf)}(hcharh]hchar}(hjthhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjtubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubjI)}(hgrouph]hgroup}(hjuhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjsubeh}(h]h ]h"]h$]h&]j`jauh1j<hjshhhjshM)ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjshhhjshM)ubah}(h]jzsah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjshM)hj|shhubjw)}(hhh]h)}(h&remove an attribute file from a group.h]h&remove an attribute file from a group.}(hj/uhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM)hj,uhhubah}(h]h ]h"]h$]h&]uh1jvhj|shhhjshM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGujjGujjjuh1jhhhjahNhNubj)}(h**Parameters** ``struct kobject *kobj`` object we're acting for. ``const struct attribute *attr`` attribute descriptor. ``const char *group`` group name.h](h)}(h**Parameters**h]j)}(hjQuh]h Parameters}(hjSuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOuubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM-hjKuubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hjpuh]hstruct kobject *kobj}(hjruhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnuubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM*hjjuubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhM*hjuubah}(h]h ]h"]h$]h&]uh1jhjjuubeh}(h]h ]h"]h$]h&]uh1jhjuhM*hjguubj)}(h7``const struct attribute *attr`` attribute descriptor. h](j)}(h ``const struct attribute *attr``h]j)}(hjuh]hconst struct attribute *attr}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM+hjuubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhM+hjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhM+hjguubj)}(h!``const char *group`` group name.h](j)}(h``const char *group``h]j)}(hjuh]hconst char *group}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM-hjuubj)}(hhh]h)}(h group name.h]h group name.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM,hjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhM-hjguubeh}(h]h ]h"]h$]h&]uh1jhjKuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjahhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "sysfs_create_bin_file (C function)c.sysfs_create_bin_filehNtauh1hhjahhhNhNubj)}(hhh](j)}(hRint sysfs_create_bin_file (struct kobject *kobj, const struct bin_attribute *attr)h]j)}(hQint sysfs_create_bin_file(struct kobject *kobj, const struct bin_attribute *attr)h](jf)}(hinth]hint}(hjah"]h$]h&]uh1j1hj8vhhhjJvhMBubjC)}(hsysfs_create_bin_fileh]jI)}(hsysfs_create_bin_fileh]hsysfs_create_bin_file}(hj]vhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYvubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj8vhhhjJvhMBubj=)}(h8(struct kobject *kobj, const struct bin_attribute *attr)h](jC)}(hstruct kobject *kobjh](j )}(hjh]hstruct}(hjyvhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjuvubj2)}(h h]h }(hjvhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjuvubh)}(hhh]jI)}(hkobjecth]hkobject}(hjvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNjj )}j ]j)}jj_vsbc.sysfs_create_bin_fileasbuh1hhjuvubj2)}(h h]h }(hjvhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjuvubj)}(hjh]h*}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuvubjI)}(hkobjh]hkobj}(hjvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjuvubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjqvubjC)}(h const struct bin_attribute *attrh](j )}(hjh]hconst}(hjvhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjvubj2)}(h h]h }(hjvhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjvubj )}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjvubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjvubh)}(hhh]jI)}(h bin_attributeh]h bin_attribute}(hj$whhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!wubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&wmodnameN classnameNjj )}j ]jvc.sysfs_create_bin_fileasbuh1hhjvubj2)}(h h]h }(hjBwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjvubj)}(hjh]h*}(hjPwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubjI)}(hattrh]hattr}(hj]whhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjvubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjqvubeh}(h]h ]h"]h$]h&]j`jauh1j<hj8vhhhjJvhMBubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj4vhhhjJvhMBubah}(h]j/vah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjJvhMBhj1vhhubjw)}(hhh]h)}(hcreate binary file for object.h]hcreate binary file for object.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMBhjwhhubah}(h]h ]h"]h$]h&]uh1jvhj1vhhhjJvhMBubeh}(h]h ](jfunctioneh"]h$]h&]jjjjwjjwjjjuh1jhhhjahNhNubj)}(hp**Parameters** ``struct kobject *kobj`` object. ``const struct bin_attribute *attr`` attribute descriptor.h](h)}(h**Parameters**h]j)}(hjwh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMFhjwubj)}(hhh](j)}(h!``struct kobject *kobj`` object. h](j)}(h``struct kobject *kobj``h]j)}(hjwh]hstruct kobject *kobj}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMChjwubj)}(hhh]h)}(hobject.h]hobject.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhMChjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMChjwubj)}(h:``const struct bin_attribute *attr`` attribute descriptor.h](j)}(h$``const struct bin_attribute *attr``h]j)}(hjxh]h const struct bin_attribute *attr}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMEhjwubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMDhjxubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjxhMEhjwubeh}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjahhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "sysfs_remove_bin_file (C function)c.sysfs_remove_bin_filehNtauh1hhjahhhNhNubj)}(hhh](j)}(hSvoid sysfs_remove_bin_file (struct kobject *kobj, const struct bin_attribute *attr)h]j)}(hRvoid sysfs_remove_bin_file(struct kobject *kobj, const struct bin_attribute *attr)h](jf)}(hvoidh]hvoid}(hj[xhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjWxhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMVubj2)}(h h]h }(hjjxhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjWxhhhjixhMVubjC)}(hsysfs_remove_bin_fileh]jI)}(hsysfs_remove_bin_fileh]hsysfs_remove_bin_file}(hj|xhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxxubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjWxhhhjixhMVubj=)}(h8(struct kobject *kobj, const struct bin_attribute *attr)h](jC)}(hstruct kobject *kobjh](j )}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjxubj2)}(h h]h }(hjxhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjxubh)}(hhh]jI)}(hkobjecth]hkobject}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj )}j ]j)}jj~xsbc.sysfs_remove_bin_fileasbuh1hhjxubj2)}(h h]h }(hjxhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjxubj)}(hjh]h*}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubjI)}(hkobjh]hkobj}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjxubjC)}(h const struct bin_attribute *attrh](j )}(hjh]hconst}(hj yhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjyubj2)}(h h]h }(hjyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjyubj )}(hjh]hstruct}(hj%yhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjyubj2)}(h h]h }(hj2yhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjyubh)}(hhh]jI)}(h bin_attributeh]h bin_attribute}(hjCyhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj@yubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEymodnameN classnameNjj )}j ]jxc.sysfs_remove_bin_fileasbuh1hhjyubj2)}(h h]h }(hjayhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjyubj)}(hjh]h*}(hjoyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubjI)}(hattrh]hattr}(hj|yhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjyubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjxubeh}(h]h ]h"]h$]h&]j`jauh1j<hjWxhhhjixhMVubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjSxhhhjixhMVubah}(h]jNxah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjixhMVhjPxhhubjw)}(hhh]h)}(hremove binary file for object.h]hremove binary file for object.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMVhjyhhubah}(h]h ]h"]h$]h&]uh1jvhjPxhhhjixhMVubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1jhhhjahNhNubj)}(hp**Parameters** ``struct kobject *kobj`` object. ``const struct bin_attribute *attr`` attribute descriptor.h](h)}(h**Parameters**h]j)}(hjyh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMZhjyubj)}(hhh](j)}(h!``struct kobject *kobj`` object. h](j)}(h``struct kobject *kobj``h]j)}(hjyh]hstruct kobject *kobj}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMWhjyubj)}(hhh]h)}(hobject.h]hobject.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhMWhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMWhjyubj)}(h:``const struct bin_attribute *attr`` attribute descriptor.h](j)}(h$``const struct bin_attribute *attr``h]j)}(hj zh]h const struct bin_attribute *attr}(hj"zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMYhjzubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hj9zhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMXhj6zubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhj5zhMYhjyubeh}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjahhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j sysfs_emit (C function) c.sysfs_emithNtauh1hhjahhhNhNubj)}(hhh](j)}(h0int sysfs_emit (char *buf, const char *fmt, ...)h]j)}(h/int sysfs_emit(char *buf, const char *fmt, ...)h](jf)}(hinth]hint}(hjzzhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjvzhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMubj2)}(h h]h }(hjzhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjvzhhhjzhMubjC)}(h sysfs_emith]jI)}(h sysfs_emith]h sysfs_emit}(hjzhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjvzhhhjzhMubj=)}(h!(char *buf, const char *fmt, ...)h](jC)}(h char *bufh](jf)}(hcharh]hchar}(hjzhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjzubj2)}(h h]h }(hjzhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjzubj)}(hjh]h*}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubjI)}(hbufh]hbuf}(hjzhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjzubjC)}(hconst char *fmth](j )}(hjh]hconst}(hjzhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjzubj2)}(h h]h }(hj{hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjzubjf)}(hcharh]hchar}(hj{hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjzubj2)}(h h]h }(hj"{hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjzubj)}(hjh]h*}(hj0{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubjI)}(hfmth]hfmt}(hj={hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjzubjC)}(h...h]j)}(h...h]h...}(hjV{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjR{ubah}(h]h ]h"]h$]h&]noemphj`jauh1jBhjzubeh}(h]h ]h"]h$]h&]j`jauh1j<hjvzhhhjzhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjrzhhhjzhMubah}(h]jmzah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjzhMhjozhhubjw)}(hhh]h)}(h0scnprintf equivalent, aware of PAGE_SIZE buffer.h]h0scnprintf equivalent, aware of PAGE_SIZE buffer.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj}{hhubah}(h]h ]h"]h$]h&]uh1jvhjozhhhjzhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{jj{jjjuh1jhhhjahNhNubj)}(h**Parameters** ``char *buf`` start of PAGE_SIZE buffer. ``const char *fmt`` format ``...`` optional arguments to **format** **Description** Returns number of characters written to **buf**.h](h)}(h**Parameters**h]j)}(hj{h]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj{ubj)}(hhh](j)}(h)``char *buf`` start of PAGE_SIZE buffer. h](j)}(h ``char *buf``h]j)}(hj{h]h char *buf}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj{ubj)}(hhh]h)}(hstart of PAGE_SIZE buffer.h]hstart of PAGE_SIZE buffer.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hMhj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhj{ubj)}(h``const char *fmt`` format h](j)}(h``const char *fmt``h]j)}(hj{h]hconst char *fmt}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj{ubj)}(hhh]h)}(hformath]hformat}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hMhj|ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj{ubj)}(h)``...`` optional arguments to **format** h](j)}(h``...``h]j)}(hj3|h]h...}(hj5|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1|ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj-|ubj)}(hhh]h)}(h optional arguments to **format**h](hoptional arguments to }(hjL|hhhNhNubj)}(h **format**h]hformat}(hjT|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL|ubeh}(h]h ]h"]h$]h&]uh1hhjH|hMhjI|ubah}(h]h ]h"]h$]h&]uh1jhj-|ubeh}(h]h ]h"]h$]h&]uh1jhjH|hMhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{ubh)}(h**Description**h]j)}(hj||h]h Description}(hj~|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz|ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj{ubh)}(h0Returns number of characters written to **buf**.h](h(Returns number of characters written to }(hj|hhhNhNubj)}(h**buf**h]hbuf}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubh.}(hj|hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjahhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j sysfs_emit_at (C function)c.sysfs_emit_athNtauh1hhjahhhNhNubj)}(hhh](j)}(h;int sysfs_emit_at (char *buf, int at, const char *fmt, ...)h]j)}(h:int sysfs_emit_at(char *buf, int at, const char *fmt, ...)h](jf)}(hinth]hint}(hj|hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj|hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMubj2)}(h h]h }(hj|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|hhhj|hMubjC)}(h sysfs_emit_ath]jI)}(h sysfs_emit_ath]h sysfs_emit_at}(hj|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj|hhhj|hMubj=)}(h)(char *buf, int at, const char *fmt, ...)h](jC)}(h char *bufh](jf)}(hcharh]hchar}(hj}hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj }ubj2)}(h h]h }(hj}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj }ubj)}(hjh]h*}(hj,}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj }ubjI)}(hbufh]hbuf}(hj9}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj }ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj}ubjC)}(hint ath](jf)}(hinth]hint}(hjR}hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjN}ubj2)}(h h]h }(hj`}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjN}ubjI)}(hath]hat}(hjn}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjN}ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj}ubjC)}(hconst char *fmth](j )}(hjh]hconst}(hj}hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj}ubj2)}(h h]h }(hj}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}ubjf)}(hcharh]hchar}(hj}hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj}ubj2)}(h h]h }(hj}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}ubj)}(hjh]h*}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubjI)}(hfmth]hfmt}(hj}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj}ubjC)}(h...h]j)}(hjX{h]h...}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]noemphj`jauh1jBhj}ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj|hhhj|hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj|hhhj|hMubah}(h]j|ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj|hMhj|hhubjw)}(hhh]h)}(h0scnprintf equivalent, aware of PAGE_SIZE buffer.h]h0scnprintf equivalent, aware of PAGE_SIZE buffer.}(hj ~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj ~hhubah}(h]h ]h"]h$]h&]uh1jvhj|hhhj|hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%~jj%~jjjuh1jhhhjahNhNubj)}(hX3**Parameters** ``char *buf`` start of PAGE_SIZE buffer. ``int at`` offset in **buf** to start write in bytes **at** must be >= 0 && < PAGE_SIZE ``const char *fmt`` format ``...`` optional arguments to **fmt** **Description** Returns number of characters written starting at &**buf**[**at**].h](h)}(h**Parameters**h]j)}(hj/~h]h Parameters}(hj1~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-~ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj)~ubj)}(hhh](j)}(h)``char *buf`` start of PAGE_SIZE buffer. h](j)}(h ``char *buf``h]j)}(hjN~h]h char *buf}(hjP~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL~ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjH~ubj)}(hhh]h)}(hstart of PAGE_SIZE buffer.h]hstart of PAGE_SIZE buffer.}(hjg~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjc~hMhjd~ubah}(h]h ]h"]h$]h&]uh1jhjH~ubeh}(h]h ]h"]h$]h&]uh1jhjc~hMhjE~ubj)}(hX``int at`` offset in **buf** to start write in bytes **at** must be >= 0 && < PAGE_SIZE h](j)}(h ``int at``h]j)}(hj~h]hint at}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj~ubj)}(hhh]h)}(hLoffset in **buf** to start write in bytes **at** must be >= 0 && < PAGE_SIZEh](h offset in }(hj~hhhNhNubj)}(h**buf**h]hbuf}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh to start write in bytes }(hj~hhhNhNubj)}(h**at**h]hat}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh must be >= 0 && < PAGE_SIZE}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMhjE~ubj)}(h``const char *fmt`` format h](j)}(h``const char *fmt``h]j)}(hj~h]hconst char *fmt}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj~ubj)}(hhh]h)}(hformath]hformat}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hMhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMhjE~ubj)}(h&``...`` optional arguments to **fmt** h](j)}(h``...``h]j)}(hjh]h...}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjubj)}(hhh]h)}(hoptional arguments to **fmt**h](hoptional arguments to }(hj7hhhNhNubj)}(h**fmt**h]hfmt}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1hhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjE~ubeh}(h]h ]h"]h$]h&]uh1jhj)~ubh)}(h**Description**h]j)}(hjgh]h Description}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj)~ubh)}(hBReturns number of characters written starting at &**buf**[**at**].h](h:Returns number of characters written starting at &**buf**[}(hj}hhhNhNubj)}(h**at**h]hat}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubh].}(hj}hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj)~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjahhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j 'sysfs_bin_attr_simple_read (C function)c.sysfs_bin_attr_simple_readhNtauh1hhjahhhNhNubj)}(hhh](j)}(hssize_t sysfs_bin_attr_simple_read (struct file *file, struct kobject *kobj, const struct bin_attribute *attr, char *buf, loff_t off, size_t count)h]j)}(hssize_t sysfs_bin_attr_simple_read(struct file *file, struct kobject *kobj, const struct bin_attribute *attr, char *buf, loff_t off, size_t count)h](h)}(hhh]jI)}(hssize_th]hssize_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jsysfs_bin_attr_simple_readsbc.sysfs_bin_attr_simple_readasbuh1hhjhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hsysfs_bin_attr_simple_readh]jI)}(hjh]hsysfs_bin_attr_simple_read}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hp(struct file *file, struct kobject *kobj, const struct bin_attribute *attr, char *buf, loff_t off, size_t count)h](jC)}(hstruct file *fileh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubh)}(hhh]jI)}(hfileh]hfile}(hj.hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNjj )}j ]jc.sysfs_bin_attr_simple_readasbuh1hhj ubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(hfileh]hfile}(hjghhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct kobject *kobjh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj|ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|ubh)}(hhh]jI)}(hkobjecth]hkobject}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.sysfs_bin_attr_simple_readasbuh1hhj|ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|ubj)}(hjh]h*}(hjʀhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|ubjI)}(hkobjh]hkobj}(hj׀hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h const struct bin_attribute *attrh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h bin_attributeh]h bin_attribute}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+modnameN classnameNjj )}j ]jc.sysfs_bin_attr_simple_readasbuh1hhjubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hattrh]hattr}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h char *bufh](jf)}(hcharh]hchar}(hj{hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjwubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubjI)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h loff_t offh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.sysfs_bin_attr_simple_readasbuh1hhjubj2)}(h h]h }(hjށhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hoffh]hoff}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h size_t counth](h)}(hhh]jI)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]jc.sysfs_bin_attr_simple_readasbuh1hhjubj2)}(h h]h }(hj&hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hcounth]hcount}(hj4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h)read callback to simply copy from memory.h]h)read callback to simply copy from memory.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj[hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1jhhhjahNhNubj)}(hX**Parameters** ``struct file *file`` attribute file which is being read. ``struct kobject *kobj`` object to which the attribute belongs. ``const struct bin_attribute *attr`` attribute descriptor. ``char *buf`` destination buffer. ``loff_t off`` offset in bytes from which to read. ``size_t count`` maximum number of bytes to read. **Description** Simple ->read() callback for bin_attributes backed by a buffer in memory. The **private** and **size** members in struct bin_attribute must be set to the buffer's location and size before the bin_attribute is created in sysfs. Bounds check for **off** and **count** is done in sysfs_kf_bin_read(). Negative value check for **off** is done in vfs_setpos() and default_llseek(). Returns number of bytes written to **buf**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM!hjzubj)}(hhh](j)}(h:``struct file *file`` attribute file which is being read. h](j)}(h``struct file *file``h]j)}(hjh]hstruct file *file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjubj)}(hhh]h)}(h#attribute file which is being read.h]h#attribute file which is being read.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h@``struct kobject *kobj`` object to which the attribute belongs. h](j)}(h``struct kobject *kobj``h]j)}(hj؂h]hstruct kobject *kobj}(hjڂhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjւubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj҂ubj)}(hhh]h)}(h&object to which the attribute belongs.h]h&object to which the attribute belongs.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj҂ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h;``const struct bin_attribute *attr`` attribute descriptor. h](j)}(h$``const struct bin_attribute *attr``h]j)}(hjh]h const struct bin_attribute *attr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM hj ubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hM hj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hM hjubj)}(h"``char *buf`` destination buffer. h](j)}(h ``char *buf``h]j)}(hjJh]h char *buf}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM!hjDubj)}(hhh]h)}(hdestination buffer.h]hdestination buffer.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hM!hj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hM!hjubj)}(h3``loff_t off`` offset in bytes from which to read. h](j)}(h``loff_t off``h]j)}(hjh]h loff_t off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM"hj}ubj)}(hhh]h)}(h#offset in bytes from which to read.h]h#offset in bytes from which to read.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjubj)}(h2``size_t count`` maximum number of bytes to read. h](j)}(h``size_t count``h]j)}(hjh]h size_t count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM#hjubj)}(hhh]h)}(h maximum number of bytes to read.h]h maximum number of bytes to read.}(hjՃhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjуhM#hj҃ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjуhM#hjubeh}(h]h ]h"]h$]h&]uh1jhjzubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM%hjzubh)}(hSimple ->read() callback for bin_attributes backed by a buffer in memory. The **private** and **size** members in struct bin_attribute must be set to the buffer's location and size before the bin_attribute is created in sysfs.h](hNSimple ->read() callback for bin_attributes backed by a buffer in memory. The }(hj hhhNhNubj)}(h **private**h]hprivate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh and }(hj hhhNhNubj)}(h**size**h]hsize}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh~ members in struct bin_attribute must be set to the buffer’s location and size before the bin_attribute is created in sysfs.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM$hjzubh)}(hBounds check for **off** and **count** is done in sysfs_kf_bin_read(). Negative value check for **off** is done in vfs_setpos() and default_llseek().h](hBounds check for }(hj@hhhNhNubj)}(h**off**h]hoff}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh and }(hj@hhhNhNubj)}(h **count**h]hcount}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh: is done in sysfs_kf_bin_read(). Negative value check for }(hj@hhhNhNubj)}(h**off**h]hoff}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh. is done in vfs_setpos() and default_llseek().}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM(hjzubh)}(h+Returns number of bytes written to **buf**.h](h#Returns number of bytes written to }(hjhhhNhNubj)}(h**buf**h]hbuf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM+hjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjahhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j sysfs_create_link (C function)c.sysfs_create_linkhNtauh1hhjahhhNhNubj)}(hhh](j)}(hVint sysfs_create_link (struct kobject *kobj, struct kobject *target, const char *name)h]j)}(hUint sysfs_create_link(struct kobject *kobj, struct kobject *target, const char *name)h](jf)}(hinth]hint}(hjƄhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj„hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKTubj2)}(h h]h }(hjՄhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj„hhhjԄhKTubjC)}(hsysfs_create_linkh]jI)}(hsysfs_create_linkh]hsysfs_create_link}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj„hhhjԄhKTubj=)}(h@(struct kobject *kobj, struct kobject *target, const char *name)h](jC)}(hstruct kobject *kobjh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hkobjecth]hkobject}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNjj )}j ]j)}jjsbc.sysfs_create_linkasbuh1hhjubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hkobjh]hkobj}(hj\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct kobject *targeth](j )}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjqubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubh)}(hhh]jI)}(hkobjecth]hkobject}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j=c.sysfs_create_linkasbuh1hhjqubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubjI)}(htargeth]htarget}(hj̅hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hj„hhhjԄhKTubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjԄhKTubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjԄhKThjhhubjw)}(hhh]h)}(h#create symlink between two objects.h]h#create symlink between two objects.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKThjPhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjԄhKTubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1jhhhjahNhNubj)}(h**Parameters** ``struct kobject *kobj`` object whose directory we're creating the link in. ``struct kobject *target`` object we're pointing to. ``const char *name`` name of the symlink.h](h)}(h**Parameters**h]j)}(hjuh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKXhjoubj)}(hhh](j)}(hL``struct kobject *kobj`` object whose directory we're creating the link in. h](j)}(h``struct kobject *kobj``h]j)}(hjh]hstruct kobject *kobj}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKUhjubj)}(hhh]h)}(h2object whose directory we're creating the link in.h]h4object whose directory we’re creating the link in.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKUhjubj)}(h5``struct kobject *target`` object we're pointing to. h](j)}(h``struct kobject *target``h]j)}(hj͆h]hstruct kobject *target}(hjφhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjˆubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKVhjdžubj)}(hhh]h)}(hobject we're pointing to.h]hobject we’re pointing to.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKVhjubah}(h]h ]h"]h$]h&]uh1jhjdžubeh}(h]h ]h"]h$]h&]uh1jhjhKVhjubj)}(h)``const char *name`` name of the symlink.h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKXhjubj)}(hhh]h)}(hname of the symlink.h]hname of the symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKXhjubeh}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjahhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j %sysfs_create_link_nowarn (C function)c.sysfs_create_link_nowarnhNtauh1hhjahhhNhNubj)}(hhh](j)}(h]int sysfs_create_link_nowarn (struct kobject *kobj, struct kobject *target, const char *name)h]j)}(h\int sysfs_create_link_nowarn(struct kobject *kobj, struct kobject *target, const char *name)h](jf)}(hinth]hint}(hj`hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj\hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKaubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\hhhjnhKaubjC)}(hsysfs_create_link_nowarnh]jI)}(hsysfs_create_link_nowarnh]hsysfs_create_link_nowarn}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj\hhhjnhKaubj=)}(h@(struct kobject *kobj, struct kobject *target, const char *name)h](jC)}(hstruct kobject *kobjh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hkobjecth]hkobject}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.sysfs_create_link_nowarnasbuh1hhjubj2)}(h h]h }(hjۇhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hkobjh]hkobj}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct kobject *targeth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubh)}(hhh]jI)}(hkobjecth]hkobject}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNjj )}j ]jׇc.sysfs_create_link_nowarnasbuh1hhj ubj2)}(h h]h }(hjKhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(htargeth]htarget}(hjfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj{ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj{ubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj{ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj{ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{ubjI)}(hnameh]hname}(hjÈhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj{ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hj\hhhjnhKaubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjXhhhjnhKaubah}(h]jSah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjnhKahjUhhubjw)}(hhh]h)}(h#create symlink between two objects.h]h#create symlink between two objects.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKahjhhubah}(h]h ]h"]h$]h&]uh1jvhjUhhhjnhKaubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjahNhNubj)}(hXB**Parameters** ``struct kobject *kobj`` object whose directory we're creating the link in. ``struct kobject *target`` object we're pointing to. ``const char *name`` name of the symlink. **Description** This function does the same as sysfs_create_link(), but it doesn't warn if the link already exists.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKehj ubj)}(hhh](j)}(hL``struct kobject *kobj`` object whose directory we're creating the link in. h](j)}(h``struct kobject *kobj``h]j)}(hj.h]hstruct kobject *kobj}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKbhj(ubj)}(hhh]h)}(h2object whose directory we're creating the link in.h]h4object whose directory we’re creating the link in.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChKbhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChKbhj%ubj)}(h5``struct kobject *target`` object we're pointing to. h](j)}(h``struct kobject *target``h]j)}(hjgh]hstruct kobject *target}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKchjaubj)}(hhh]h)}(hobject we're pointing to.h]hobject we’re pointing to.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hKchj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hKchj%ubj)}(h*``const char *name`` name of the symlink. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKdhjubj)}(hhh]h)}(hname of the symlink.h]hname of the symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKdhj%ubeh}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hjۉh]h Description}(hj݉hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjىubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKfhj ubj)}(hcThis function does the same as sysfs_create_link(), but it doesn't warn if the link already exists.h]h)}(hcThis function does the same as sysfs_create_link(), but it doesn't warn if the link already exists.h]heThis function does the same as sysfs_create_link(), but it doesn’t warn if the link already exists.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKehjubah}(h]h ]h"]h$]h&]uh1jhjhKehj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjahhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j sysfs_remove_link (C function)c.sysfs_remove_linkhNtauh1hhjahhhNhNubj)}(hhh](j)}(h?void sysfs_remove_link (struct kobject *kobj, const char *name)h]j)}(h>void sysfs_remove_link(struct kobject *kobj, const char *name)h](jf)}(hvoidh]hvoid}(hj*hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj&hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKubj2)}(h h]h }(hj9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&hhhj8hKubjC)}(hsysfs_remove_linkh]jI)}(hsysfs_remove_linkh]hsysfs_remove_link}(hjKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj&hhhj8hKubj=)}(h((struct kobject *kobj, const char *name)h](jC)}(hstruct kobject *kobjh](j )}(hjh]hstruct}(hjghhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjcubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubh)}(hhh]jI)}(hkobjecth]hkobject}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjMsbc.sysfs_remove_linkasbuh1hhjcubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubjI)}(hkobjh]hkobj}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjcubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj_ubjC)}(hconst char *nameh](j )}(hjh]hconst}(hjيhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjՊubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjՊubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjՊubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjՊubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjՊubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjՊubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj_ubeh}(h]h ]h"]h$]h&]j`jauh1j<hj&hhhj8hKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj"hhhj8hKubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj8hKhjhhubjw)}(hhh]h)}(h%remove symlink in object's directory.h]h'remove symlink in object’s directory.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhjDhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj8hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_jj_jjjuh1jhhhjahNhNubj)}(hz**Parameters** ``struct kobject *kobj`` object we're acting for. ``const char *name`` name of the symlink to remove.h](h)}(h**Parameters**h]j)}(hjih]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhjcubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hjh]hstruct kobject *kobj}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhjubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h3``const char *name`` name of the symlink to remove.h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjËhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhjubj)}(hhh]h)}(hname of the symlink to remove.h]hname of the symlink to remove.}(hjڋhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhj׋ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj֋hKhjubeh}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjahhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !sysfs_rename_link_ns (C function)c.sysfs_rename_link_nshNtauh1hhjahhhNhNubj)}(hhh](j)}(hint sysfs_rename_link_ns (struct kobject *kobj, struct kobject *targ, const char *old, const char *new, const struct ns_common *new_ns)h]j)}(hint sysfs_rename_link_ns(struct kobject *kobj, struct kobject *targ, const char *old, const char *new, const struct ns_common *new_ns)h](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKubj2)}(h h]h }(hj*hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj)hKubjC)}(hsysfs_rename_link_nsh]jI)}(hsysfs_rename_link_nsh]hsysfs_rename_link_ns}(hj<hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj)hKubj=)}(hn(struct kobject *kobj, struct kobject *targ, const char *old, const char *new, const struct ns_common *new_ns)h](jC)}(hstruct kobject *kobjh](j )}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjTubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjTubh)}(hhh]jI)}(hkobjecth]hkobject}(hjvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj )}j ]j)}jj>sbc.sysfs_rename_link_nsasbuh1hhjTubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjTubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubjI)}(hkobjh]hkobj}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjTubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjPubjC)}(hstruct kobject *targh](j )}(hjh]hstruct}(hjʌhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjƌubj2)}(h h]h }(hj׌hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjƌubh)}(hhh]jI)}(hkobjecth]hkobject}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.sysfs_rename_link_nsasbuh1hhjƌubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjƌubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjƌubjI)}(htargh]htarg}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjƌubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjPubjC)}(hconst char *oldh](j )}(hjh]hconst}(hj:hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj6ubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6ubjf)}(hcharh]hchar}(hjUhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj6ubj2)}(h h]h }(hjchhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6ubj)}(hjh]h*}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubjI)}(holdh]hold}(hj~hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjPubjC)}(hconst char *newh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj΍hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnewh]hnew}(hjۍhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjPubjC)}(hconst struct ns_common *new_nsh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h ns_commonh]h ns_common}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNjj )}j ]jc.sysfs_rename_link_nsasbuh1hhjubj2)}(h h]h }(hjKhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnew_nsh]hnew_ns}(hjfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjPubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhj)hKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj)hKubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj)hKhjhhubjw)}(hhh]h)}(h%rename symlink in object's directory.h]h'rename symlink in object’s directory.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj)hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjahNhNubj)}(hXp**Parameters** ``struct kobject *kobj`` object we're acting for. ``struct kobject *targ`` object we're pointing to. ``const char *old`` previous name of the symlink. ``const char *new`` new name of the symlink. ``const struct ns_common *new_ns`` new namespace of the symlink. **Description** A helper function for the common rename symlink idiom.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhjubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hjюh]hstruct kobject *kobj}(hjӎhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjώubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhjˎubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjˎubeh}(h]h ]h"]h$]h&]uh1jhjhKhjȎubj)}(h3``struct kobject *targ`` object we're pointing to. h](j)}(h``struct kobject *targ``h]j)}(hj h]hstruct kobject *targ}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhjubj)}(hhh]h)}(hobject we're pointing to.h]hobject we’re pointing to.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjȎubj)}(h2``const char *old`` previous name of the symlink. h](j)}(h``const char *old``h]j)}(hjCh]hconst char *old}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhj=ubj)}(hhh]h)}(hprevious name of the symlink.h]hprevious name of the symlink.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhKhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhKhjȎubj)}(h-``const char *new`` new name of the symlink. h](j)}(h``const char *new``h]j)}(hj|h]hconst char *new}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhjvubj)}(hhh]h)}(hnew name of the symlink.h]hnew name of the symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhKhjȎubj)}(hA``const struct ns_common *new_ns`` new namespace of the symlink. h](j)}(h"``const struct ns_common *new_ns``h]j)}(hjh]hconst struct ns_common *new_ns}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhjubj)}(hhh]h)}(hnew namespace of the symlink.h]hnew namespace of the symlink.}(hjΏhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjʏhKhjˏubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjʏhKhjȎubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhjubj)}(h6A helper function for the common rename symlink idiom.h]h)}(hjh]h6A helper function for the common rename symlink idiom.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhjubah}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjahhhNhNubeh}(h]+the-filesystem-for-exporting-kernel-objectsah ]h"]+the filesystem for exporting kernel objectsah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hThe debugfs filesystemh]hThe debugfs filesystem}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hhhhhKubh)}(hhh](h)}(hdebugfs interfaceh]hdebugfs interface}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_lookup (C function)c.debugfs_lookuphNtauh1hhj>hhhNhNubj)}(hhh](j)}(hHstruct dentry * debugfs_lookup (const char *name, struct dentry *parent)h]j)}(hFstruct dentry *debugfs_lookup(const char *name, struct dentry *parent)h](j )}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjdhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMNubj2)}(h h]h }(hjvhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdhhhjuhMNubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jdebugfs_lookupsbc.debugfs_lookupasbuh1hhjdhhhjuhMNubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdhhhjuhMNubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdhhhjuhMNubjC)}(hdebugfs_lookuph]jI)}(hjh]hdebugfs_lookup}(hjǐhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjÐubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjdhhhjuhMNubj=)}(h)(const char *name, struct dentry *parent)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjސubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjސubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjސubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjސubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjސubjI)}(hnameh]hname}(hj&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjސubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjڐubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj;ubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj;ubh)}(hhh]jI)}(hdentryh]hdentry}(hj]hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNjj )}j ]jc.debugfs_lookupasbuh1hhj;ubj2)}(h h]h }(hj{hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj;ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj;ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjڐubeh}(h]h ]h"]h$]h&]j`jauh1j<hjdhhhjuhMNubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj`hhhjuhMNubah}(h]j[ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjuhMNhj]hhubjw)}(hhh]h)}(h look up an existing debugfs fileh]h look up an existing debugfs file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMNhjhhubah}(h]h ]h"]h$]h&]uh1jvhj]hhhjuhMNubeh}(h]h ](jfunctioneh"]h$]h&]jjjjؑjjؑjjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to look up. ``struct dentry *parent`` a pointer to the parent dentry of the file. **Description** This function will return a pointer to a dentry if it succeeds. If the file doesn't exist or an error occurs, ``NULL`` will be returned. The returned dentry must be passed to dput() when it is no longer needed. If debugfs is not enabled in the kernel, the value -``ENODEV`` will be returned.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMRhjܑubj)}(hhh](j)}(hW``const char *name`` a pointer to a string containing the name of the file to look up. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMOhjubj)}(hhh]h)}(hAa pointer to a string containing the name of the file to look up.h]hAa pointer to a string containing the name of the file to look up.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubj)}(hF``struct dentry *parent`` a pointer to the parent dentry of the file. h](j)}(h``struct dentry *parent``h]j)}(hj:h]hstruct dentry *parent}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMPhj4ubj)}(hhh]h)}(h+a pointer to the parent dentry of the file.h]h+a pointer to the parent dentry of the file.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMPhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMPhjubeh}(h]h ]h"]h$]h&]uh1jhjܑubh)}(h**Description**h]j)}(hjuh]h Description}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMRhjܑubh)}(hThis function will return a pointer to a dentry if it succeeds. If the file doesn't exist or an error occurs, ``NULL`` will be returned. The returned dentry must be passed to dput() when it is no longer needed.h](hqThis function will return a pointer to a dentry if it succeeds. If the file doesn’t exist or an error occurs, }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh] will be returned. The returned dentry must be passed to dput() when it is no longer needed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMQhjܑubh)}(hPIf debugfs is not enabled in the kernel, the value -``ENODEV`` will be returned.h](h4If debugfs is not enabled in the kernel, the value -}(hjhhhNhNubj)}(h ``ENODEV``h]hENODEV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh will be returned.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMUhjܑubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j 'debugfs_create_file_unsafe (C function)c.debugfs_create_file_unsafehNtauh1hhj>hhhNhNubj)}(hhh](j)}(hstruct dentry * debugfs_create_file_unsafe (const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops)h]j)}(hstruct dentry *debugfs_create_file_unsafe(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubh)}(hhh]jI)}(hdentryh]hdentry}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jdebugfs_create_file_unsafesbc.debugfs_create_file_unsafeasbuh1hhjhhhjhMubj2)}(h h]h }(hj-hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(hdebugfs_create_file_unsafeh]jI)}(hj*h]hdebugfs_create_file_unsafe}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjHubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hg(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjghhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjcubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjcubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjcubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj_ubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjǓhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjēubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjɓmodnameN classnameNjj )}j ]j(c.debugfs_create_file_unsafeasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj_ubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hj*hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNjj )}j ]j(c.debugfs_create_file_unsafeasbuh1hhjubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hjchhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj_ubjC)}(h void *datah](jf)}(hvoidh]hvoid}(hj|hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjxubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjxubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubjI)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj_ubjC)}(h"const struct file_operations *fopsh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj˔hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjٔhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hfile_operationsh]hfile_operations}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j(c.debugfs_create_file_unsafeasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfopsh]hfops}(hj0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj_ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h'create a file in the debugfs filesystemh]h'create a file in the debugfs filesystem}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjWhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have. ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem. ``void *data`` a pointer to something that the caller will want to get to later on. The inode.i_private pointer will point to this value on the open() call. ``const struct file_operations *fops`` a pointer to a struct file_operations that should be used for this file. **Description** debugfs_create_file_unsafe() is completely analogous to debugfs_create_file(), the only difference being that the fops handed it will not get protected against file removals by the debugfs core. It is your responsibility to protect your struct file_operation methods against file removals by means of debugfs_file_get() and debugfs_file_put(). ->open() is still protected by debugfs though. Any struct file_operations defined by means of DEFINE_DEBUGFS_ATTRIBUTE() is protected against file removals and thus, may be used here.h](h)}(h**Parameters**h]j)}(hj|h]h Parameters}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjvubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h;``umode_t mode`` the permission that the file should have. h](j)}(h``umode_t mode``h]j)}(hjԕh]h umode_t mode}(hj֕hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҕubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjΕubj)}(hhh]h)}(h)the permission that the file should have.h]h)the permission that the file should have.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjΕubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hj h]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem.h]ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMhjubj)}(h``void *data`` a pointer to something that the caller will want to get to later on. The inode.i_private pointer will point to this value on the open() call. h](j)}(h``void *data``h]j)}(hjGh]h void *data}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjAubj)}(hhh]h)}(ha pointer to something that the caller will want to get to later on. The inode.i_private pointer will point to this value on the open() call.h]ha pointer to something that the caller will want to get to later on. The inode.i_private pointer will point to this value on the open() call.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjubj)}(hp``const struct file_operations *fops`` a pointer to a struct file_operations that should be used for this file. h](j)}(h&``const struct file_operations *fops``h]j)}(hjh]h"const struct file_operations *fops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhj{ubj)}(hhh]h)}(hHa pointer to a struct file_operations that should be used for this file.h]hHa pointer to a struct file_operations that should be used for this file.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjvubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjvubh)}(hdebugfs_create_file_unsafe() is completely analogous to debugfs_create_file(), the only difference being that the fops handed it will not get protected against file removals by the debugfs core.h]hdebugfs_create_file_unsafe() is completely analogous to debugfs_create_file(), the only difference being that the fops handed it will not get protected against file removals by the debugfs core.}(hjӖhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjvubh)}(hIt is your responsibility to protect your struct file_operation methods against file removals by means of debugfs_file_get() and debugfs_file_put(). ->open() is still protected by debugfs though.h]hIt is your responsibility to protect your struct file_operation methods against file removals by means of debugfs_file_get() and debugfs_file_put(). ->open() is still protected by debugfs though.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjvubh)}(hAny struct file_operations defined by means of DEFINE_DEBUGFS_ATTRIBUTE() is protected against file removals and thus, may be used here.h]hAny struct file_operations defined by means of DEFINE_DEBUGFS_ATTRIBUTE() is protected against file removals and thus, may be used here.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j %debugfs_create_file_size (C function)c.debugfs_create_file_sizehNtauh1hhj>hhhNhNubj)}(hhh](j)}(hvoid debugfs_create_file_size (const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops, loff_t file_size)h]j)}(hvoid debugfs_create_file_size(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops, loff_t file_size)h](jf)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMubj2)}(h h]h }(hj/hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj.hMubjC)}(hdebugfs_create_file_sizeh]jI)}(hdebugfs_create_file_sizeh]hdebugfs_create_file_size}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj=ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj.hMubj=)}(hy(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops, loff_t file_size)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hj]hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjYubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubjf)}(hcharh]hchar}(hjxhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjYubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjUubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjCsbc.debugfs_create_file_sizeasbuh1hhjubj2)}(h h]h }(hjݗhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjUubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hj"hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNjj )}j ]jٗc.debugfs_create_file_sizeasbuh1hhjubj2)}(h h]h }(hj@hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hj[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjUubjC)}(h void *datah](jf)}(hvoidh]hvoid}(hjthhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjpubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubjI)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjUubjC)}(h"const struct file_operations *fopsh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjØhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj )}(hjh]hstruct}(hjјhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjޘhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hfile_operationsh]hfile_operations}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jٗc.debugfs_create_file_sizeasbuh1hhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfopsh]hfops}(hj(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjUubjC)}(hloff_t file_sizeh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNjj )}j ]jٗc.debugfs_create_file_sizeasbuh1hhj=ubj2)}(h h]h }(hjbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=ubjI)}(h file_sizeh]h file_size}(hjphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj=ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjUubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhj.hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj.hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj.hMhjhhubjw)}(hhh]h)}(h'create a file in the debugfs filesystemh]h'create a file in the debugfs filesystem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj.hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have. ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem. ``void *data`` a pointer to something that the caller will want to get to later on. The inode.i_private pointer will point to this value on the open() call. ``const struct file_operations *fops`` a pointer to a struct file_operations that should be used for this file. ``loff_t file_size`` initial file size **Description** This is the basic "create a file" function for debugfs. It allows for a wide range of flexibility in creating a file, or a directory (if you want to create a directory, the debugfs_create_dir() function is recommended to be used instead.)h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjۙh]hconst char *name}(hjݙhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjٙubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjՙubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjՙubeh}(h]h ]h"]h$]h&]uh1jhjhMhjҙubj)}(h;``umode_t mode`` the permission that the file should have. h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubj)}(hhh]h)}(h)the permission that the file should have.h]h)the permission that the file should have.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)hMhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhjҙubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjMh]hstruct dentry *parent}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM hjGubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem.h]ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhM hjҙubj)}(h``void *data`` a pointer to something that the caller will want to get to later on. The inode.i_private pointer will point to this value on the open() call. h](j)}(h``void *data``h]j)}(hjh]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM hjubj)}(hhh]h)}(ha pointer to something that the caller will want to get to later on. The inode.i_private pointer will point to this value on the open() call.h]ha pointer to something that the caller will want to get to later on. The inode.i_private pointer will point to this value on the open() call.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjҙubj)}(hp``const struct file_operations *fops`` a pointer to a struct file_operations that should be used for this file. h](j)}(h&``const struct file_operations *fops``h]j)}(hjh]h"const struct file_operations *fops}(hjÚhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubj)}(hhh]h)}(hHa pointer to a struct file_operations that should be used for this file.h]hHa pointer to a struct file_operations that should be used for this file.}(hjښhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM hjךubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj֚hMhjҙubj)}(h'``loff_t file_size`` initial file size h](j)}(h``loff_t file_size``h]j)}(hjh]hloff_t file_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubj)}(hhh]h)}(hinitial file sizeh]hinitial file size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjҙubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj6h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubh)}(hThis is the basic "create a file" function for debugfs. It allows for a wide range of flexibility in creating a file, or a directory (if you want to create a directory, the debugfs_create_dir() function is recommended to be used instead.)h]hThis is the basic “create a file” function for debugfs. It allows for a wide range of flexibility in creating a file, or a directory (if you want to create a directory, the debugfs_create_dir() function is recommended to be used instead.)}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_create_dir (C function)c.debugfs_create_dirhNtauh1hhj>hhhNhNubj)}(hhh](j)}(hLstruct dentry * debugfs_create_dir (const char *name, struct dentry *parent)h]j)}(hJstruct dentry *debugfs_create_dir(const char *name, struct dentry *parent)h](j )}(hjh]hstruct}(hj{hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM#ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwhhhjhM#ubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jdebugfs_create_dirsbc.debugfs_create_dirasbuh1hhjwhhhjhM#ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwhhhjhM#ubj)}(hjh]h*}(hjɛhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwhhhjhM#ubjC)}(hdebugfs_create_dirh]jI)}(hjh]hdebugfs_create_dir}(hjڛhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj֛ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjwhhhjhM#ubj=)}(h)(const char *name, struct dentry *parent)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hj9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjNubj2)}(h h]h }(hj_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjNubh)}(hhh]jI)}(hdentryh]hdentry}(hjphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNjj )}j ]jc.debugfs_create_dirasbuh1hhjNubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjNubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjwhhhjhM#ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjshhhjhM#ubah}(h]jnah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM#hjphhubjw)}(hhh]h)}(h,create a directory in the debugfs filesystemh]h,create a directory in the debugfs filesystem}(hjӜhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM#hjМhhubah}(h]h ]h"]h$]h&]uh1jvhjphhhjhM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj>hNhNubj)}(hXF**Parameters** ``const char *name`` a pointer to a string containing the name of the directory to create. ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the directory will be created in the root of the debugfs filesystem. **Description** This function creates a directory in debugfs with the given name. This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the file is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned. If debugfs is not enabled in the kernel, the value -``ENODEV`` will be returned. **NOTE** it's expected that most callers should _ignore_ the errors returned by this function. Other debugfs functions handle the fact that the "dentry" passed to them could be an error and they don't crash in that case. Drivers should generally work fine even if debugfs fails to init anyway.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM'hjubj)}(hhh](j)}(h[``const char *name`` a pointer to a string containing the name of the directory to create. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM%hjubj)}(hhh]h)}(hEa pointer to a string containing the name of the directory to create.h]hEa pointer to a string containing the name of the directory to create.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM$hj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hM%hj ubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the directory will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjNh]hstruct dentry *parent}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM(hjHubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the directory will be created in the root of the debugfs filesystem.h]ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the directory will be created in the root of the debugfs filesystem.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM&hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM(hj ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM*hjubh)}(hAThis function creates a directory in debugfs with the given name.h]hAThis function creates a directory in debugfs with the given name.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM)hjubh)}(hX(This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the file is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned.h]hX(This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the file is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM+hjubh)}(hPIf debugfs is not enabled in the kernel, the value -``ENODEV`` will be returned.h](h4If debugfs is not enabled in the kernel, the value -}(hjhhhNhNubj)}(h ``ENODEV``h]hENODEV}(hjƝhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh will be returned.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM1hjubh)}(h**NOTE**h]j)}(hjh]hNOTE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjߝubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM4hjubh)}(hXit's expected that most callers should _ignore_ the errors returned by this function. Other debugfs functions handle the fact that the "dentry" passed to them could be an error and they don't crash in that case. Drivers should generally work fine even if debugfs fails to init anyway.h]hX$it’s expected that most callers should _ignore_ the errors returned by this function. Other debugfs functions handle the fact that the “dentry” passed to them could be an error and they don’t crash in that case. Drivers should generally work fine even if debugfs fails to init anyway.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM5hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j %debugfs_create_automount (C function)c.debugfs_create_automounthNtauh1hhj>hhhNhNubj)}(hhh](j)}(hustruct dentry * debugfs_create_automount (const char *name, struct dentry *parent, debugfs_automount_t f, void *data)h]j)}(hsstruct dentry *debugfs_create_automount(const char *name, struct dentry *parent, debugfs_automount_t f, void *data)h](j )}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj"hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMWubj2)}(h h]h }(hj4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj"hhhj3hMWubh)}(hhh]jI)}(hdentryh]hdentry}(hjEhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNjj )}j ]j)}jdebugfs_create_automountsbc.debugfs_create_automountasbuh1hhj"hhhj3hMWubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj"hhhj3hMWubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"hhhj3hMWubjC)}(hdebugfs_create_automounth]jI)}(hjch]hdebugfs_create_automount}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj"hhhj3hMWubj=)}(hL(const char *name, struct dentry *parent, debugfs_automount_t f, void *data)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjɞhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjמhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jac.debugfs_create_automountasbuh1hhjubj2)}(h h]h }(hj9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hjThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hdebugfs_automount_t fh](h)}(hhh]jI)}(hdebugfs_automount_th]hdebugfs_automount_t}(hjphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNjj )}j ]jac.debugfs_create_automountasbuh1hhjiubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjiubjI)}(hjfh]hf}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h void *datah](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjŸhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjПhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdatah]hdata}(hjݟhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hj"hhhj3hMWubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj3hMWubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj3hMWhjhhubjw)}(hhh]h)}(h0create automount point in the debugfs filesystemh]h0create automount point in the debugfs filesystem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMWhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj3hMWubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem. ``debugfs_automount_t f`` function to be called when pathname resolution steps on that one. ``void *data`` opaque argument to pass to f(). **Description** **f** should return what ->d_automount() would.h](h)}(h**Parameters**h]j)}(hj)h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM[hj#ubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjHh]hconst char *name}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMXhjBubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hMXhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMXhj?ubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM[hj{ubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem.h]ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMYhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhM[hj?ubj)}(h\``debugfs_automount_t f`` function to be called when pathname resolution steps on that one. h](j)}(h``debugfs_automount_t f``h]j)}(hjh]hdebugfs_automount_t f}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM\hjubj)}(hhh]h)}(hAfunction to be called when pathname resolution steps on that one.h]hAfunction to be called when pathname resolution steps on that one.}(hjԠhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjРhM\hjѠubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjРhM\hj?ubj)}(h/``void *data`` opaque argument to pass to f(). h](j)}(h``void *data``h]j)}(hjh]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM]hjubj)}(hhh]h)}(hopaque argument to pass to f().h]hopaque argument to pass to f().}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM]hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM]hj?ubeh}(h]h ]h"]h$]h&]uh1jhj#ubh)}(h**Description**h]j)}(hj/h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM_hj#ubh)}(h/**f** should return what ->d_automount() would.h](j)}(h**f**h]hf}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh* should return what ->d_automount() would.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM^hj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j #debugfs_create_symlink (C function)c.debugfs_create_symlinkhNtauh1hhj>hhhNhNubj)}(hhh](j)}(hdstruct dentry * debugfs_create_symlink (const char *name, struct dentry *parent, const char *target)h]j)}(hbstruct dentry *debugfs_create_symlink(const char *name, struct dentry *parent, const char *target)h](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj~hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj~hhhjhMubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jdebugfs_create_symlinksbc.debugfs_create_symlinkasbuh1hhj~hhhjhMubj2)}(h h]h }(hj¡hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj~hhhjhMubj)}(hjh]h*}(hjСhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~hhhjhMubjC)}(hdebugfs_create_symlinkh]jI)}(hjh]hdebugfs_create_symlink}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjݡubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj~hhhjhMubj=)}(h=(const char *name, struct dentry *parent, const char *target)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hj%hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hj@hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjYhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjUubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjUubh)}(hhh]jI)}(hdentryh]hdentry}(hjwhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj )}j ]jc.debugfs_create_symlinkasbuh1hhjUubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjUubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjUubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst char *targeth](j )}(hjh]hconst}(hjɢhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjŢubj2)}(h h]h }(hj֢hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjŢubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjŢubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjŢubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjŢubjI)}(htargeth]htarget}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjŢubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hj~hhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjzhhhjhMubah}(h]juah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjwhhubjw)}(hhh]h)}(h0create a symbolic link in the debugfs filesystemh]h0create a symbolic link in the debugfs filesystem}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhj4hhubah}(h]h ]h"]h$]h&]uh1jvhjwhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the symbolic link to create. ``struct dentry *parent`` a pointer to the parent dentry for this symbolic link. This should be a directory dentry if set. If this parameter is NULL, then the symbolic link will be created in the root of the debugfs filesystem. ``const char *target`` a pointer to a string containing the path to the target of the symbolic link. **Description** This function creates a symbolic link with the given name in debugfs that links to the given target path. This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the symbolic link is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned. If debugfs is not enabled in the kernel, the value -``ENODEV`` will be returned.h](h)}(h**Parameters**h]j)}(hjYh]h Parameters}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjSubj)}(hhh](j)}(h_``const char *name`` a pointer to a string containing the name of the symbolic link to create. h](j)}(h``const char *name``h]j)}(hjxh]hconst char *name}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjrubj)}(hhh]h)}(hIa pointer to a string containing the name of the symbolic link to create.h]hIa pointer to a string containing the name of the symbolic link to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjoubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this symbolic link. This should be a directory dentry if set. If this parameter is NULL, then the symbolic link will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubj)}(hhh]h)}(ha pointer to the parent dentry for this symbolic link. This should be a directory dentry if set. If this parameter is NULL, then the symbolic link will be created in the root of the debugfs filesystem.h]ha pointer to the parent dentry for this symbolic link. This should be a directory dentry if set. If this parameter is NULL, then the symbolic link will be created in the root of the debugfs filesystem.}(hjˣhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjȣubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjǣhMhjoubj)}(he``const char *target`` a pointer to a string containing the path to the target of the symbolic link. h](j)}(h``const char *target``h]j)}(hjh]hconst char *target}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubj)}(hhh]h)}(hMa pointer to a string containing the path to the target of the symbolic link.h]hMa pointer to a string containing the path to the target of the symbolic link.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjoubeh}(h]h ]h"]h$]h&]uh1jhjSubh)}(h**Description**h]j)}(hj(h]h Description}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjSubh)}(hiThis function creates a symbolic link with the given name in debugfs that links to the given target path.h]hiThis function creates a symbolic link with the given name in debugfs that links to the given target path.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjSubh)}(hX1This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the symbolic link is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned.h]hX1This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the symbolic link is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjSubh)}(hPIf debugfs is not enabled in the kernel, the value -``ENODEV`` will be returned.h](h4If debugfs is not enabled in the kernel, the value -}(hj\hhhNhNubj)}(h ``ENODEV``h]hENODEV}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh will be returned.}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_remove (C function)c.debugfs_removehNtauh1hhj>hhhNhNubj)}(hhh](j)}(h+void debugfs_remove (struct dentry *dentry)h]j)}(h*void debugfs_remove(struct dentry *dentry)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hdebugfs_removeh]jI)}(hdebugfs_removeh]hdebugfs_remove}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(h(struct dentry *dentry)h]jC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjڤhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj֤ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj֤ubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.debugfs_removeasbuh1hhj֤ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj֤ubj)}(hjh]h*}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj֤ubjI)}(hdentryh]hdentry}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj֤ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjҤubah}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hrecursively removes a directoryh]hrecursively removes a directory}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjZhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjujjujjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``struct dentry *dentry`` a pointer to a the dentry of the directory to be removed. If this parameter is NULL or an error value, nothing will be done. **Description** This function recursively removes a directory tree in debugfs that was previously created with a call to another debugfs function (like debugfs_create_file() or variants thereof.) This function is required to be called in order for the file to be removed, no automatic cleanup of files will happen when a module is removed, you are responsible here.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjyubj)}(hhh]j)}(h``struct dentry *dentry`` a pointer to a the dentry of the directory to be removed. If this parameter is NULL or an error value, nothing will be done. h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubj)}(hhh]h)}(h}a pointer to a the dentry of the directory to be removed. If this parameter is NULL or an error value, nothing will be done.h]h}a pointer to a the dentry of the directory to be removed. If this parameter is NULL or an error value, nothing will be done.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubh)}(h**Description**h]j)}(hjڥh]h Description}(hjܥhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjإubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjyubh)}(hThis function recursively removes a directory tree in debugfs that was previously created with a call to another debugfs function (like debugfs_create_file() or variants thereof.)h]hThis function recursively removes a directory tree in debugfs that was previously created with a call to another debugfs function (like debugfs_create_file() or variants thereof.)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjyubh)}(hThis function is required to be called in order for the file to be removed, no automatic cleanup of files will happen when a module is removed, you are responsible here.h]hThis function is required to be called in order for the file to be removed, no automatic cleanup of files will happen when a module is removed, you are responsible here.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j &debugfs_lookup_and_remove (C function)c.debugfs_lookup_and_removehNtauh1hhj>hhhNhNubj)}(hhh](j)}(hHvoid debugfs_lookup_and_remove (const char *name, struct dentry *parent)h]j)}(hGvoid debugfs_lookup_and_remove(const char *name, struct dentry *parent)h](jf)}(hvoidh]hvoid}(hj.hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj*hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMubj2)}(h h]h }(hj=hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*hhhj<hMubjC)}(hdebugfs_lookup_and_removeh]jI)}(hdebugfs_lookup_and_removeh]hdebugfs_lookup_and_remove}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjKubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj*hhhj<hMubj=)}(h)(const char *name, struct dentry *parent)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjkhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjgubj2)}(h h]h }(hjxhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjgubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjgubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjgubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjgubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjcubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjȦhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjĦubj2)}(h h]h }(hjզhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjĦubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjQsbc.debugfs_lookup_and_removeasbuh1hhjĦubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjĦubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjĦubjI)}(hparenth]hparent}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjĦubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjcubeh}(h]h ]h"]h$]h&]j`jauh1j<hj*hhhj<hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj&hhhj<hMubah}(h]j!ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj<hMhj#hhubjw)}(hhh]h)}(h4lookup a directory or file and recursively remove ith]h4lookup a directory or file and recursively remove it}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjHhhubah}(h]h ]h"]h$]h&]uh1jvhj#hhhj<hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1jhhhj>hNhNubj)}(hXf**Parameters** ``const char *name`` a pointer to a string containing the name of the item to look up. ``struct dentry *parent`` a pointer to the parent dentry of the item. **Description** This is the equlivant of doing something like debugfs_remove(debugfs_lookup(..)) but with the proper reference counting handled for the directory being looked up.h](h)}(h**Parameters**h]j)}(hjmh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjgubj)}(hhh](j)}(hW``const char *name`` a pointer to a string containing the name of the item to look up. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubj)}(hhh]h)}(hAa pointer to a string containing the name of the item to look up.h]hAa pointer to a string containing the name of the item to look up.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hF``struct dentry *parent`` a pointer to the parent dentry of the item. h](j)}(h``struct dentry *parent``h]j)}(hjŧh]hstruct dentry *parent}(hjǧhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjçubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubj)}(hhh]h)}(h+a pointer to the parent dentry of the item.h]h+a pointer to the parent dentry of the item.}(hjާhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjڧhMhjۧubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjڧhMhjubeh}(h]h ]h"]h$]h&]uh1jhjgubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjgubh)}(hThis is the equlivant of doing something like debugfs_remove(debugfs_lookup(..)) but with the proper reference counting handled for the directory being looked up.h]hThis is the equlivant of doing something like debugfs_remove(debugfs_lookup(..)) but with the proper reference counting handled for the directory being looked up.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  debugfs_change_name (C function)c.debugfs_change_namehNtauh1hhj>hhhNhNubj)}(hhh](j)}(hFint debugfs_change_name (struct dentry *dentry, const char *fmt, ...)h]j)}(hDint debugfs_change_name(struct dentry *dentry, const char *fmt, ...)h](jf)}(hinth]hint}(hjEhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjAhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM)ubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAhhhjShM)ubjC)}(hdebugfs_change_nameh]jI)}(hdebugfs_change_nameh]hdebugfs_change_name}(hjfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjAhhhjShM)ubj=)}(h-(struct dentry *dentry, const char *fmt, ...)h](jC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj~ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj~ubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjhsbc.debugfs_change_nameasbuh1hhj~ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj~ubj)}(hjh]h*}(hjΨhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~ubjI)}(hdentryh]hdentry}(hjۨhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj~ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjzubjC)}(hconst char *fmth](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfmth]hfmt}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjzubjC)}(h...h]j)}(hjX{h]h...}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]noemphj`jauh1jBhjzubeh}(h]h ]h"]h$]h&]j`jauh1j<hjAhhhjShM)ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj=hhhjShM)ubah}(h]j8ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjShM)hj:hhubjw)}(hhh]h)}(h1rename a file/directory in the debugfs filesystemh]h1rename a file/directory in the debugfs filesystem}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM)hjwhhubah}(h]h ]h"]h$]h&]uh1jvhj:hhhjShM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``struct dentry *dentry`` dentry of an object to be renamed. ``const char *fmt`` format for new name ``...`` variable arguments **Description** This function renames a file/directory in debugfs. The target must not exist for rename to succeed. This function will return 0 on success and -E... on failure. If debugfs is not enabled in the kernel, the value -``ENODEV`` will be returned.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM-hjubj)}(hhh](j)}(h=``struct dentry *dentry`` dentry of an object to be renamed. h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM*hjubj)}(hhh]h)}(h"dentry of an object to be renamed.h]h"dentry of an object to be renamed.}(hjԩhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjЩhM*hjѩubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjЩhM*hjubj)}(h(``const char *fmt`` format for new name h](j)}(h``const char *fmt``h]j)}(hjh]hconst char *fmt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM+hjubj)}(hhh]h)}(hformat for new nameh]hformat for new name}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM+hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM+hjubj)}(h``...`` variable arguments h](j)}(h``...``h]j)}(hj-h]h...}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chKhj'ubj)}(hhh]h)}(hvariable argumentsh]hvariable arguments}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhKhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjhh]h Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chKhjubh)}(hdThis function renames a file/directory in debugfs. The target must not exist for rename to succeed.h]hdThis function renames a file/directory in debugfs. The target must not exist for rename to succeed.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM,hjubh)}(hhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  debugfs_initialized (C function)c.debugfs_initializedhNtauh1hhj>hhhNhNubj)}(hhh](j)}(hbool debugfs_initialized (void)h]j)}(hbool debugfs_initialized(void)h](jf)}(hjih]hbool}(hjݪhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj٪hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj٪hhhjhMjubjC)}(hdebugfs_initializedh]jI)}(hdebugfs_initializedh]hdebugfs_initialized}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj٪hhhjhMjubj=)}(h(void)h]jC)}(hvoidh]jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubah}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hj٪hhhjhMjubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjժhhhjhMjubah}(h]jЪah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMjhjҪhhubjw)}(hhh]h)}(h)Tells whether debugfs has been registeredh]h)Tells whether debugfs has been registered}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMjhj@hhubah}(h]h ]h"]h$]h&]uh1jvhjҪhhhjhMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1jhhhj>hNhNubj)}(h'**Parameters** ``void`` no argumentsh](h)}(h**Parameters**h]j)}(hjeh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMnhj_ubj)}(hhh]j)}(h``void`` no argumentsh](j)}(h``void``h]j)}(hjh]hvoid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMphj~ubj)}(hhh]h)}(h no argumentsh]h no arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chKhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMphj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_file_get (C function)c.debugfs_file_gethNtauh1hhj>hhhNhNubj)}(hhh](j)}(h,int debugfs_file_get (struct dentry *dentry)h]j)}(h+int debugfs_file_get(struct dentry *dentry)h](jf)}(hinth]hint}(hjޫhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjګhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjګhhhjhKubjC)}(hdebugfs_file_geth]jI)}(hdebugfs_file_geth]hdebugfs_file_get}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjګhhhjhKubj=)}(h(struct dentry *dentry)h]jC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj(hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hj9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNjj )}j ]j)}jjsbc.debugfs_file_getasbuh1hhjubj2)}(h h]h }(hjYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdentryh]hdentry}(hjthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hjګhhhjhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj֫hhhjhKubah}(h]jѫah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhKhjӫhhubjw)}(hhh]h)}(h&mark the beginning of file data accessh]h&mark the beginning of file data access}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjhhubah}(h]h ]h"]h$]h&]uh1jvhjӫhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``struct dentry *dentry`` the dentry object whose data is being accessed. **Description** Up to a matching call to debugfs_file_put(), any successive call into the file removing functions debugfs_remove() and debugfs_remove_recursive() will block. Since associated private file data may only get freed after a successful return of any of the removal functions, you may safely access it after a successful call to debugfs_file_get() without worrying about lifetime issues. If -``EIO`` is returned, the file has already been removed and thus, it is not safe to access any of its data. If, on the other hand, it is allowed to access the file data, zero is returned.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hj¬hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjubj)}(hhh]j)}(hJ``struct dentry *dentry`` the dentry object whose data is being accessed. h](j)}(h``struct dentry *dentry``h]j)}(hj߬h]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݬubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhj٬ubj)}(hhh]h)}(h/the dentry object whose data is being accessed.h]h/the dentry object whose data is being accessed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj٬ubeh}(h]h ]h"]h$]h&]uh1jhjhKhj֬ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjubh)}(hX}Up to a matching call to debugfs_file_put(), any successive call into the file removing functions debugfs_remove() and debugfs_remove_recursive() will block. Since associated private file data may only get freed after a successful return of any of the removal functions, you may safely access it after a successful call to debugfs_file_get() without worrying about lifetime issues.h]hX}Up to a matching call to debugfs_file_put(), any successive call into the file removing functions debugfs_remove() and debugfs_remove_recursive() will block. Since associated private file data may only get freed after a successful return of any of the removal functions, you may safely access it after a successful call to debugfs_file_get() without worrying about lifetime issues.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjubh)}(hIf -``EIO`` is returned, the file has already been removed and thus, it is not safe to access any of its data. If, on the other hand, it is allowed to access the file data, zero is returned.h](hIf -}(hj?hhhNhNubj)}(h``EIO``h]hEIO}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh is returned, the file has already been removed and thus, it is not safe to access any of its data. If, on the other hand, it is allowed to access the file data, zero is returned.}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_file_put (C function)c.debugfs_file_puthNtauh1hhj>hhhNhNubj)}(hhh](j)}(h-void debugfs_file_put (struct dentry *dentry)h]j)}(h,void debugfs_file_put(struct dentry *dentry)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj|hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|hhhjhKubjC)}(hdebugfs_file_puth]jI)}(hdebugfs_file_puth]hdebugfs_file_put}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj|hhhjhKubj=)}(h(struct dentry *dentry)h]jC)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjʭhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjۭhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjحubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjݭmodnameN classnameNjj )}j ]j)}jjsbc.debugfs_file_putasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubah}(h]h ]h"]h$]h&]j`jauh1j<hj|hhhjhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjxhhhjhKubah}(h]jsah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhKhjuhhubjw)}(hhh]h)}(h mark the end of file data accessh]h mark the end of file data access}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhj=hhubah}(h]h ]h"]h$]h&]uh1jvhjuhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXjjXjjjuh1jhhhj>hNhNubj)}(hX"**Parameters** ``struct dentry *dentry`` the dentry object formerly passed to debugfs_file_get(). **Description** Allow any ongoing concurrent call into debugfs_remove() or debugfs_remove_recursive() blocked by a former call to debugfs_file_get() to proceed and return to its caller.h](h)}(h**Parameters**h]j)}(hjbh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhj\ubj)}(hhh]j)}(hS``struct dentry *dentry`` the dentry object formerly passed to debugfs_file_get(). h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhj{ubj)}(hhh]h)}(h8the dentry object formerly passed to debugfs_file_get().h]h8the dentry object formerly passed to debugfs_file_get().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhj\ubh)}(hAllow any ongoing concurrent call into debugfs_remove() or debugfs_remove_recursive() blocked by a former call to debugfs_file_get() to proceed and return to its caller.h]hAllow any ongoing concurrent call into debugfs_remove() or debugfs_remove_recursive() blocked by a former call to debugfs_file_get() to proceed and return to its caller.}(hjӮhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j 'debugfs_enter_cancellation (C function)c.debugfs_enter_cancellationhNtauh1hhj>hhhNhNubj)}(hhh](j)}(h^void debugfs_enter_cancellation (struct file *file, struct debugfs_cancellation *cancellation)h]j)}(h]void debugfs_enter_cancellation(struct file *file, struct debugfs_cancellation *cancellation)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhKubjC)}(hdebugfs_enter_cancellationh]jI)}(hdebugfs_enter_cancellationh]hdebugfs_enter_cancellation}(hj#hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhKubj=)}(h>(struct file *file, struct debugfs_cancellation *cancellation)h](jC)}(hstruct file *fileh](j )}(hjh]hstruct}(hj?hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj;ubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj;ubh)}(hhh]jI)}(hfileh]hfile}(hj]hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNjj )}j ]j)}jj%sbc.debugfs_enter_cancellationasbuh1hhj;ubj2)}(h h]h }(hj}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj;ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubjI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj;ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj7ubjC)}(h)struct debugfs_cancellation *cancellationh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdebugfs_cancellationh]hdebugfs_cancellation}(hjϯhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj̯ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjѯmodnameN classnameNjj )}j ]jyc.debugfs_enter_cancellationasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(h cancellationh]h cancellation}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj7ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhKubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhKhjhhubjw)}(hhh]h)}(henter a debugfs cancellationh]henter a debugfs cancellation}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhj/hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``struct file *file`` the file being accessed ``struct debugfs_cancellation *cancellation`` the cancellation object, the cancel callback inside of it must be initialized **Description** When a debugfs file is removed it needs to wait for all active operations to complete. However, the operation itself may need to wait for hardware or completion of some asynchronous process or similar. As such, it may need to be cancelled to avoid long waits or even deadlocks. This function can be used inside a debugfs handler that may need to be cancelled. As soon as this function is called, the cancellation's 'cancel' callback may be called, at which point the caller should proceed to call debugfs_leave_cancellation() and leave the debugfs handler function as soon as possible. Note that the 'cancel' callback is only ever called in the context of some kind of debugfs_remove(). This function must be paired with debugfs_leave_cancellation().h](h)}(h**Parameters**h]j)}(hjTh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjNubj)}(hhh](j)}(h.``struct file *file`` the file being accessed h](j)}(h``struct file *file``h]j)}(hjsh]hstruct file *file}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjmubj)}(hhh]h)}(hthe file being accessedh]hthe file being accessed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhKhjjubj)}(h|``struct debugfs_cancellation *cancellation`` the cancellation object, the cancel callback inside of it must be initialized h](j)}(h-``struct debugfs_cancellation *cancellation``h]j)}(hjh]h)struct debugfs_cancellation *cancellation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjubj)}(hhh]h)}(hMthe cancellation object, the cancel callback inside of it must be initializedh]hMthe cancellation object, the cancel callback inside of it must be initialized}(hjŰhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhj°ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjjubeh}(h]h ]h"]h$]h&]uh1jhjNubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjNubh)}(hXWhen a debugfs file is removed it needs to wait for all active operations to complete. However, the operation itself may need to wait for hardware or completion of some asynchronous process or similar. As such, it may need to be cancelled to avoid long waits or even deadlocks.h]hXWhen a debugfs file is removed it needs to wait for all active operations to complete. However, the operation itself may need to wait for hardware or completion of some asynchronous process or similar. As such, it may need to be cancelled to avoid long waits or even deadlocks.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjNubh)}(hXThis function can be used inside a debugfs handler that may need to be cancelled. As soon as this function is called, the cancellation's 'cancel' callback may be called, at which point the caller should proceed to call debugfs_leave_cancellation() and leave the debugfs handler function as soon as possible. Note that the 'cancel' callback is only ever called in the context of some kind of debugfs_remove().h]hXThis function can be used inside a debugfs handler that may need to be cancelled. As soon as this function is called, the cancellation’s ‘cancel’ callback may be called, at which point the caller should proceed to call debugfs_leave_cancellation() and leave the debugfs handler function as soon as possible. Note that the ‘cancel’ callback is only ever called in the context of some kind of debugfs_remove().}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjNubh)}(h?This function must be paired with debugfs_leave_cancellation().h]h?This function must be paired with debugfs_leave_cancellation().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j 'debugfs_leave_cancellation (C function)c.debugfs_leave_cancellationhNtauh1hhj>hhhNhNubj)}(hhh](j)}(h^void debugfs_leave_cancellation (struct file *file, struct debugfs_cancellation *cancellation)h]j)}(h]void debugfs_leave_cancellation(struct file *file, struct debugfs_cancellation *cancellation)h](jf)}(hvoidh]hvoid}(hjKhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjGhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGhhhjYhKubjC)}(hdebugfs_leave_cancellationh]jI)}(hdebugfs_leave_cancellationh]hdebugfs_leave_cancellation}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjGhhhjYhKubj=)}(h>(struct file *file, struct debugfs_cancellation *cancellation)h](jC)}(hstruct file *fileh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjnsbc.debugfs_leave_cancellationasbuh1hhjubj2)}(h h]h }(hjƱhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjԱhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h)struct debugfs_cancellation *cancellationh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdebugfs_cancellationh]hdebugfs_cancellation}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j±c.debugfs_leave_cancellationasbuh1hhjubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(h cancellationh]h cancellation}(hjQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjGhhhjYhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjChhhjYhKubah}(h]j>ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjYhKhj@hhubjw)}(hhh]h)}(hleave cancellation sectionh]hleave cancellation section}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjxhhubah}(h]h ]h"]h$]h&]uh1jvhj@hhhjYhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``struct file *file`` the file being accessed ``struct debugfs_cancellation *cancellation`` the cancellation previously registered with debugfs_enter_cancellation() **Description** See the documentation of debugfs_enter_cancellation().h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjubj)}(hhh](j)}(h.``struct file *file`` the file being accessed h](j)}(h``struct file *file``h]j)}(hjh]hstruct file *file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjubj)}(hhh]h)}(hthe file being accessedh]hthe file being accessed}(hjղhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjѲhKhjҲubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjѲhKhjubj)}(hw``struct debugfs_cancellation *cancellation`` the cancellation previously registered with debugfs_enter_cancellation() h](j)}(h-``struct debugfs_cancellation *cancellation``h]j)}(hjh]h)struct debugfs_cancellation *cancellation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjubj)}(hhh]h)}(hHthe cancellation previously registered with debugfs_enter_cancellation()h]hHthe cancellation previously registered with debugfs_enter_cancellation()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hKhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj1h]h Description}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjubh)}(h6See the documentation of debugfs_enter_cancellation().h]h6See the documentation of debugfs_enter_cancellation().}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_create_u8 (C function)c.debugfs_create_u8hNtauh1hhj>hhhNhNubj)}(hhh](j)}(hYvoid debugfs_create_u8 (const char *name, umode_t mode, struct dentry *parent, u8 *value)h]j)}(hXvoid debugfs_create_u8(const char *name, umode_t mode, struct dentry *parent, u8 *value)h](jf)}(hvoidh]hvoid}(hjvhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjrhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMQubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjrhhhjhMQubjC)}(hdebugfs_create_u8h]jI)}(hdebugfs_create_u8h]hdebugfs_create_u8}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjrhhhjhMQubj=)}(hB(const char *name, umode_t mode, struct dentry *parent, u8 *value)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hjγhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjܳhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.debugfs_create_u8asbuh1hhj ubj2)}(h h]h }(hj3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubjI)}(hmodeh]hmode}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjVubj2)}(h h]h }(hjghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVubh)}(hhh]jI)}(hdentryh]hdentry}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNjj )}j ]j/c.debugfs_create_u8asbuh1hhjVubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h u8 *valueh](h)}(hhh]jI)}(hu8h]hu8}(hjʹhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjʴubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjϴmodnameN classnameNjj )}j ]j/c.debugfs_create_u8asbuh1hhjƴubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjƴubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjƴubjI)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjƴubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjrhhhjhMQubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjnhhhjhMQubah}(h]jiah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMQhjkhhubjw)}(hhh]h)}(hLcreate a debugfs file that is used to read and write an unsigned 8-bit valueh]hLcreate a debugfs file that is used to read and write an unsigned 8-bit value}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMQhj-hhubah}(h]h ]h"]h$]h&]uh1jvhjkhhhjhMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHjjHjjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``u8 *value`` a pointer to the variable that the file should read to and write from. **Description** This function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](h)}(h**Parameters**h]j)}(hjRh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMUhjLubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjqh]hconst char *name}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMRhjkubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjhubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMShjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjõhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShjhubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMVhjݵubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF, then the file will be created in the root of the debugfs filesystem.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMThjubah}(h]h ]h"]h$]h&]uh1jhjݵubeh}(h]h ]h"]h$]h&]uh1jhjhMVhjhubj)}(hU``u8 *value`` a pointer to the variable that the file should read to and write from. h](j)}(h ``u8 *value``h]j)}(hj/h]h u8 *value}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMXhj)ubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMWhjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMXhjhubeh}(h]h ]h"]h$]h&]uh1jhjLubh)}(h**Description**h]j)}(hjkh]h Description}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMZhjLubh)}(hThis function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](hdThis function creates a file in debugfs with the given name that contains the value of the variable }(hjhhhNhNubj)}(h **value**h]hvalue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh . If the }(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh9 variable is so set, it can be read from, and written to.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMYhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_create_u16 (C function)c.debugfs_create_u16hNtauh1hhj>hhhNhNubj)}(hhh](j)}(h[void debugfs_create_u16 (const char *name, umode_t mode, struct dentry *parent, u16 *value)h]j)}(hZvoid debugfs_create_u16(const char *name, umode_t mode, struct dentry *parent, u16 *value)h](jf)}(hvoidh]hvoid}(hjԶhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjжhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMuubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjжhhhjhMuubjC)}(hdebugfs_create_u16h]jI)}(hdebugfs_create_u16h]hdebugfs_create_u16}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjжhhhjhMuubj=)}(hC(const char *name, umode_t mode, struct dentry *parent, u16 *value)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubjf)}(hcharh]hchar}(hj,hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj ubj2)}(h h]h }(hj:hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(hnameh]hname}(hjUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj ubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNjj )}j ]j)}jjsbc.debugfs_create_u16asbuh1hhjjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjjubjI)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj ubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjŷhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjַhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjӷubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjطmodnameN classnameNjj )}j ]jc.debugfs_create_u16asbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj ubjC)}(h u16 *valueh](h)}(hhh]jI)}(hu16h]hu16}(hj+hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNjj )}j ]jc.debugfs_create_u16asbuh1hhj$ubj2)}(h h]h }(hjIhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj$ubj)}(hjh]h*}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubjI)}(hvalueh]hvalue}(hjdhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjжhhhjhMuubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj̶hhhjhMuubah}(h]jǶah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMuhjɶhhubjw)}(hhh]h)}(hMcreate a debugfs file that is used to read and write an unsigned 16-bit valueh]hMcreate a debugfs file that is used to read and write an unsigned 16-bit value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMuhjhhubah}(h]h ]h"]h$]h&]uh1jvhjɶhhhjhMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``u16 *value`` a pointer to the variable that the file should read to and write from. **Description** This function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMyhjubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjϸh]hconst char *name}(hjѸhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj͸ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMvhjɸubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMvhjubah}(h]h ]h"]h$]h&]uh1jhjɸubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjƸubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMwhjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjƸubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjAh]hstruct dentry *parent}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMzhj;ubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjZhhhNhNubj)}(h``NULL``h]hNULL}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubhF, then the file will be created in the root of the debugfs filesystem.}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMxhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMzhjƸubj)}(hV``u16 *value`` a pointer to the variable that the file should read to and write from. h](j)}(h``u16 *value``h]j)}(hjh]h u16 *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM|hjubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM{hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM|hjƸubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjɹh]h Description}(hj˹hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǹubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM~hjubh)}(hThis function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](hdThis function creates a file in debugfs with the given name that contains the value of the variable }(hj߹hhhNhNubj)}(h **value**h]hvalue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߹ubh . If the }(hj߹hhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj߹ubh9 variable is so set, it can be read from, and written to.}(hj߹hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM}hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_create_u32 (C function)c.debugfs_create_u32hNtauh1hhj>hhhNhNubj)}(hhh](j)}(h[void debugfs_create_u32 (const char *name, umode_t mode, struct dentry *parent, u32 *value)h]j)}(hZvoid debugfs_create_u32(const char *name, umode_t mode, struct dentry *parent, u32 *value)h](jf)}(hvoidh]hvoid}(hj2hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj.hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.hhhj@hMubjC)}(hdebugfs_create_u32h]jI)}(hdebugfs_create_u32h]hdebugfs_create_u32}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjOubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj.hhhj@hMubj=)}(hC(const char *name, umode_t mode, struct dentry *parent, u32 *value)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjohhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjkubj2)}(h h]h }(hj|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjkubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjkubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjgubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjϺhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj̺ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjѺmodnameN classnameNjj )}j ]j)}jjUsbc.debugfs_create_u32asbuh1hhjȺubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjȺubjI)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjȺubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjgubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj#hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hj4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj )}j ]jc.debugfs_create_u32asbuh1hhjubj2)}(h h]h }(hjRhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjgubjC)}(h u32 *valueh](h)}(hhh]jI)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.debugfs_create_u32asbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hvalueh]hvalue}(hj»hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjgubeh}(h]h ]h"]h$]h&]j`jauh1j<hj.hhhj@hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj*hhhj@hMubah}(h]j%ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj@hMhj'hhubjw)}(hhh]h)}(hMcreate a debugfs file that is used to read and write an unsigned 32-bit valueh]hMcreate a debugfs file that is used to read and write an unsigned 32-bit value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhj'hhhj@hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``u32 *value`` a pointer to the variable that the file should read to and write from. **Description** This function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hj-h]hconst char *name}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj'ubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhj$ubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjfh]h umode_t mode}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj`ubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hMhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhj$ubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF, then the file will be created in the root of the debugfs filesystem.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj$ubj)}(hV``u32 *value`` a pointer to the variable that the file should read to and write from. h](j)}(h``u32 *value``h]j)}(hjh]h u32 *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj$ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj'h]h Description}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubh)}(hThis function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](hdThis function creates a file in debugfs with the given name that contains the value of the variable }(hj=hhhNhNubj)}(h **value**h]hvalue}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh . If the }(hj=hhhNhNubj)}(h**mode**h]hmode}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh9 variable is so set, it can be read from, and written to.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_create_u64 (C function)c.debugfs_create_u64hNtauh1hhj>hhhNhNubj)}(hhh](j)}(h[void debugfs_create_u64 (const char *name, umode_t mode, struct dentry *parent, u64 *value)h]j)}(hZvoid debugfs_create_u64(const char *name, umode_t mode, struct dentry *parent, u64 *value)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hdebugfs_create_u64h]jI)}(hdebugfs_create_u64h]hdebugfs_create_u64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hC(const char *name, umode_t mode, struct dentry *parent, u64 *value)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjͽhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjɽubj2)}(h h]h }(hjڽhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjɽubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjɽubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjɽubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjɽubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjɽubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjŽubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNjj )}j ]j)}jjsbc.debugfs_create_u64asbuh1hhj&ubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&ubjI)}(hmodeh]hmode}(hj[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjŽubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjthhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjpubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jIc.debugfs_create_u64asbuh1hhjpubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubjI)}(hparenth]hparent}(hj˾hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjŽubjC)}(h u64 *valueh](h)}(hhh]jI)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jIc.debugfs_create_u64asbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hvalueh]hvalue}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjŽubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hMcreate a debugfs file that is used to read and write an unsigned 64-bit valueh]hMcreate a debugfs file that is used to read and write an unsigned 64-bit value}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjGhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``u64 *value`` a pointer to the variable that the file should read to and write from. **Description** This function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](h)}(h**Parameters**h]j)}(hjlh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjfubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjĿh]h umode_t mode}(hjƿhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj¿ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjݿhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjٿhMhjڿubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjٿhMhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF, then the file will be created in the root of the debugfs filesystem.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hV``u64 *value`` a pointer to the variable that the file should read to and write from. h](j)}(h``u64 *value``h]j)}(hjIh]h u64 *value}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjCubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhjubeh}(h]h ]h"]h$]h&]uh1jhjfubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjfubh)}(hThis function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](hdThis function creates a file in debugfs with the given name that contains the value of the variable }(hjhhhNhNubj)}(h **value**h]hvalue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh . If the }(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh9 variable is so set, it can be read from, and written to.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !debugfs_create_ulong (C function)c.debugfs_create_ulonghNtauh1hhj>hhhNhNubj)}(hhh](j)}(hgvoid debugfs_create_ulong (const char *name, umode_t mode, struct dentry *parent, unsigned long *value)h]j)}(hfvoid debugfs_create_ulong(const char *name, umode_t mode, struct dentry *parent, unsigned long *value)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hdebugfs_create_ulongh]jI)}(hdebugfs_create_ulongh]hdebugfs_create_ulong}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hM(const char *name, umode_t mode, struct dentry *parent, unsigned long *value)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hj+hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj'ubj2)}(h h]h }(hj8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'ubjf)}(hcharh]hchar}(hjFhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj'ubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'ubj)}(hjh]h*}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubjI)}(hnameh]hname}(hjohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj#ubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.debugfs_create_ulongasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj#ubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.debugfs_create_ulongasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj#ubjC)}(hunsigned long *valueh](jf)}(hunsignedh]hunsigned}(hjBhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj>ubj2)}(h h]h }(hjPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj>ubjf)}(hlongh]hlong}(hj^hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj>ubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj>ubj)}(hjh]h*}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubjI)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj>ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj#ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hLcreate a debugfs file that is used to read and write an unsigned long value.h]hLcreate a debugfs file that is used to read and write an unsigned long value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``unsigned long *value`` a pointer to the variable that the file should read to and write from. **Description** This function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hj+h]h umode_t mode}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj%ubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjdh]hstruct dentry *parent}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj^ubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hj}hhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubhF, then the file will be created in the root of the debugfs filesystem.}(hj}hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjubj)}(h```unsigned long *value`` a pointer to the variable that the file should read to and write from. h](j)}(h``unsigned long *value``h]j)}(hjh]hunsigned long *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubh)}(hThis function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](hdThis function creates a file in debugfs with the given name that contains the value of the variable }(hjhhhNhNubj)}(h **value**h]hvalue}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh . If the }(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh9 variable is so set, it can be read from, and written to.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_create_x8 (C function)c.debugfs_create_x8hNtauh1hhj>hhhNhNubj)}(hhh](j)}(hYvoid debugfs_create_x8 (const char *name, umode_t mode, struct dentry *parent, u8 *value)h]j)}(hXvoid debugfs_create_x8(const char *name, umode_t mode, struct dentry *parent, u8 *value)h](jf)}(hvoidh]hvoid}(hjUhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjQhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMubj2)}(h h]h }(hjdhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjQhhhjchMubjC)}(hdebugfs_create_x8h]jI)}(hdebugfs_create_x8h]hdebugfs_create_x8}(hjvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjrubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjQhhhjchMubj=)}(hB(const char *name, umode_t mode, struct dentry *parent, u8 *value)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjxsbc.debugfs_create_x8asbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj5ubj2)}(h h]h }(hjFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj5ubh)}(hhh]jI)}(hdentryh]hdentry}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj )}j ]jc.debugfs_create_x8asbuh1hhj5ubj2)}(h h]h }(hjuhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj5ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj5ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h u8 *valueh](h)}(hhh]jI)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.debugfs_create_x8asbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjQhhhjchMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjMhhhjchMubah}(h]jHah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjchMhjJhhubjw)}(hhh]h)}(hLcreate a debugfs file that is used to read and write an unsigned 8-bit valueh]hLcreate a debugfs file that is used to read and write an unsigned 8-bit value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj hhubah}(h]h ]h"]h$]h&]uh1jvhjJhhhjchMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``u8 *value`` a pointer to the variable that the file should read to and write from.h](h)}(h**Parameters**h]j)}(hj1h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj+ubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjPh]hconst char *name}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjJubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjGubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjGubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF, then the file will be created in the root of the debugfs filesystem.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjGubj)}(hT``u8 *value`` a pointer to the variable that the file should read to and write from.h](j)}(h ``u8 *value``h]j)}(hjh]h u8 *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjGubeh}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_create_x16 (C function)c.debugfs_create_x16hNtauh1hhj>hhhNhNubj)}(hhh](j)}(h[void debugfs_create_x16 (const char *name, umode_t mode, struct dentry *parent, u16 *value)h]j)}(hZvoid debugfs_create_x16(const char *name, umode_t mode, struct dentry *parent, u16 *value)h](jf)}(hvoidh]hvoid}(hjghhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjchhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM(ubj2)}(h h]h }(hjvhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjchhhjuhM(ubjC)}(hdebugfs_create_x16h]jI)}(hdebugfs_create_x16h]hdebugfs_create_x16}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjchhhjuhM(ubj=)}(hC(const char *name, umode_t mode, struct dentry *parent, u16 *value)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.debugfs_create_x16asbuh1hhjubj2)}(h h]h }(hj$hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hj2hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjKhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjGubj2)}(h h]h }(hjXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGubh)}(hhh]jI)}(hdentryh]hdentry}(hjihhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNjj )}j ]j c.debugfs_create_x16asbuh1hhjGubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h u16 *valueh](h)}(hhh]jI)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j c.debugfs_create_x16asbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjchhhjuhM(ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj_hhhjuhM(ubah}(h]jZah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjuhM(hj\hhubjw)}(hhh]h)}(hMcreate a debugfs file that is used to read and write an unsigned 16-bit valueh]hMcreate a debugfs file that is used to read and write an unsigned 16-bit value}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM(hjhhubah}(h]h ]h"]h$]h&]uh1jvhj\hhhjuhM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``u16 *value`` a pointer to the variable that the file should read to and write from.h](h)}(h**Parameters**h]j)}(hjCh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM,hj=ubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjbh]hconst char *name}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM)hj\ubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhM)hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhM)hjYubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM*hjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM*hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM*hjYubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM-hjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF, then the file will be created in the root of the debugfs filesystem.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM+hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjYubj)}(hU``u16 *value`` a pointer to the variable that the file should read to and write from.h](j)}(h``u16 *value``h]j)}(hj h]h u16 *value}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM.hjubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hM.hj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hM.hjYubeh}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_create_x32 (C function)c.debugfs_create_x32hNtauh1hhj>hhhNhNubj)}(hhh](j)}(h[void debugfs_create_x32 (const char *name, umode_t mode, struct dentry *parent, u32 *value)h]j)}(hZvoid debugfs_create_x32(const char *name, umode_t mode, struct dentry *parent, u32 *value)h](jf)}(hvoidh]hvoid}(hjyhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjuhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM:ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjuhhhjhM:ubjC)}(hdebugfs_create_x32h]jI)}(hdebugfs_create_x32h]hdebugfs_create_x32}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjuhhhjhM:ubj=)}(hC(const char *name, umode_t mode, struct dentry *parent, u32 *value)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.debugfs_create_x32asbuh1hhjubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hjDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjYubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubh)}(hhh]jI)}(hdentryh]hdentry}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj )}j ]j2c.debugfs_create_x32asbuh1hhjYubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h u32 *valueh](h)}(hhh]jI)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j2c.debugfs_create_x32asbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hvalueh]hvalue}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjuhhhjhM:ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjqhhhjhM:ubah}(h]jlah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM:hjnhhubjw)}(hhh]h)}(hMcreate a debugfs file that is used to read and write an unsigned 32-bit valueh]hMcreate a debugfs file that is used to read and write an unsigned 32-bit value}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM:hj0hhubah}(h]h ]h"]h$]h&]uh1jvhjnhhhjhM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjKjjKjjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``u32 *value`` a pointer to the variable that the file should read to and write from.h](h)}(h**Parameters**h]j)}(hjUh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM>hjOubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjth]hconst char *name}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM;hjnubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjkubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM<hjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM<hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjkubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM?hjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF, then the file will be created in the root of the debugfs filesystem.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjkubj)}(hU``u32 *value`` a pointer to the variable that the file should read to and write from.h](j)}(h``u32 *value``h]j)}(hj2h]h u32 *value}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM@hj,ubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhM@hjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhM@hjkubeh}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_create_x64 (C function)c.debugfs_create_x64hNtauh1hhj>hhhNhNubj)}(hhh](j)}(h[void debugfs_create_x64 (const char *name, umode_t mode, struct dentry *parent, u64 *value)h]j)}(hZvoid debugfs_create_x64(const char *name, umode_t mode, struct dentry *parent, u64 *value)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMLubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMLubjC)}(hdebugfs_create_x64h]jI)}(hdebugfs_create_x64h]hdebugfs_create_x64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMLubj=)}(hC(const char *name, umode_t mode, struct dentry *parent, u64 *value)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hj(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNjj )}j ]j)}jjsbc.debugfs_create_x64asbuh1hhj!ubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!ubjI)}(hmodeh]hmode}(hjVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjohhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjkubj2)}(h h]h }(hj|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jDc.debugfs_create_x64asbuh1hhjkubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjkubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h u64 *valueh](h)}(hhh]jI)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jDc.debugfs_create_x64asbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMLubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMLubah}(h]j~ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMLhjhhubjw)}(hhh]h)}(hMcreate a debugfs file that is used to read and write an unsigned 64-bit valueh]hMcreate a debugfs file that is used to read and write an unsigned 64-bit value}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMLhjBhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``u64 *value`` a pointer to the variable that the file should read to and write from.h](h)}(h**Parameters**h]j)}(hjgh]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMPhjaubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMMhjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhj}ubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMNhjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhj}ubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMQhjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF, then the file will be created in the root of the debugfs filesystem.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMQhj}ubj)}(hU``u64 *value`` a pointer to the variable that the file should read to and write from.h](j)}(h``u64 *value``h]j)}(hjDh]h u64 *value}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMRhj>ubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhMRhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMRhj}ubeh}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "debugfs_create_size_t (C function)c.debugfs_create_size_thNtauh1hhj>hhhNhNubj)}(hhh](j)}(havoid debugfs_create_size_t (const char *name, umode_t mode, struct dentry *parent, size_t *value)h]j)}(h`void debugfs_create_size_t(const char *name, umode_t mode, struct dentry *parent, size_t *value)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMnubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMnubjC)}(hdebugfs_create_size_th]jI)}(hdebugfs_create_size_th]hdebugfs_create_size_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMnubj=)}(hF(const char *name, umode_t mode, struct dentry *parent, size_t *value)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hj:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNjj )}j ]j)}jjsbc.debugfs_create_size_tasbuh1hhj3ubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj3ubjI)}(hmodeh]hmode}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj}ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}ubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jVc.debugfs_create_size_tasbuh1hhj}ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h size_t *valueh](h)}(hhh]jI)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jVc.debugfs_create_size_tasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hvalueh]hvalue}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMnubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMnubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMnhjhhubjw)}(hhh]h)}(hDcreate a debugfs file that is used to read and write an size_t valueh]hDcreate a debugfs file that is used to read and write an size_t value}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMnhjThhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMnubeh}(h]h ](jfunctioneh"]h$]h&]jjjjojjojjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``size_t *value`` a pointer to the variable that the file should read to and write from.h](h)}(h**Parameters**h]j)}(hjyh]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMrhjsubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMohjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMohjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMphjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMphjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMphjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hj h]hstruct dentry *parent}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMshjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hj#hhhNhNubj)}(h``NULL``h]hNULL}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubhF, then the file will be created in the root of the debugfs filesystem.}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMqhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjubj)}(hX``size_t *value`` a pointer to the variable that the file should read to and write from.h](j)}(h``size_t *value``h]j)}(hjVh]h size_t *value}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMthjPubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMthjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMthjubeh}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $debugfs_create_atomic_t (C function)c.debugfs_create_atomic_thNtauh1hhj>hhhNhNubj)}(hhh](j)}(hevoid debugfs_create_atomic_t (const char *name, umode_t mode, struct dentry *parent, atomic_t *value)h]j)}(hdvoid debugfs_create_atomic_t(const char *name, umode_t mode, struct dentry *parent, atomic_t *value)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hdebugfs_create_atomic_th]jI)}(hdebugfs_create_atomic_th]hdebugfs_create_atomic_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hH(const char *name, umode_t mode, struct dentry *parent, atomic_t *value)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hj0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNjj )}j ]j)}jjsbc.debugfs_create_atomic_tasbuh1hhjEubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjEubjI)}(hmodeh]hmode}(hjzhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jhc.debugfs_create_atomic_tasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hatomic_t *valueh](h)}(hhh]jI)}(hatomic_th]hatomic_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jhc.debugfs_create_atomic_tasbuh1hhjubj2)}(h h]h }(hj$hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hvalueh]hvalue}(hj?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hFcreate a debugfs file that is used to read and write an atomic_t valueh]hFcreate a debugfs file that is used to read and write an atomic_t value}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjfhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``atomic_t *value`` a pointer to the variable that the file should read to and write from.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hj5hhhNhNubj)}(h``NULL``h]hNULL}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubhF, then the file will be created in the root of the debugfs filesystem.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubj)}(hZ``atomic_t *value`` a pointer to the variable that the file should read to and write from.h](j)}(h``atomic_t *value``h]j)}(hjhh]hatomic_t *value}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjbubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  debugfs_create_bool (C function)c.debugfs_create_boolhNtauh1hhj>hhhNhNubj)}(hhh](j)}(h]void debugfs_create_bool (const char *name, umode_t mode, struct dentry *parent, bool *value)h]j)}(h\void debugfs_create_bool(const char *name, umode_t mode, struct dentry *parent, bool *value)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hdebugfs_create_boolh]jI)}(hdebugfs_create_boolh]hdebugfs_create_bool}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hD(const char *name, umode_t mode, struct dentry *parent, bool *value)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hj'hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hjBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hj^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNjj )}j ]j)}jjsbc.debugfs_create_boolasbuh1hhjWubj2)}(h h]h }(hj~hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjWubjI)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jzc.debugfs_create_boolasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h bool *valueh](jf)}(hjih]hbool}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hj"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hvalueh]hvalue}(hj=hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hDcreate a debugfs file that is used to read and write a boolean valueh]hDcreate a debugfs file that is used to read and write a boolean value}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjdhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``bool *value`` a pointer to the variable that the file should read to and write from. **Description** This function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hj3hhhNhNubj)}(h``NULL``h]hNULL}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubhF, then the file will be created in the root of the debugfs filesystem.}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjubj)}(hW``bool *value`` a pointer to the variable that the file should read to and write from. h](j)}(h``bool *value``h]j)}(hjfh]h bool *value}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj`ubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubh)}(hThis function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](hdThis function creates a file in debugfs with the given name that contains the value of the variable }(hjhhhNhNubj)}(h **value**h]hvalue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh . If the }(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh9 variable is so set, it can be read from, and written to.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_create_str (C function)c.debugfs_create_strhNtauh1hhj>hhhNhNubj)}(hhh](j)}(h]void debugfs_create_str (const char *name, umode_t mode, struct dentry *parent, char **value)h]j)}(h\void debugfs_create_str(const char *name, umode_t mode, struct dentry *parent, char **value)h](jf)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMbubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMbubjC)}(hdebugfs_create_strh]jI)}(hdebugfs_create_strh]hdebugfs_create_str}(hj,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj(ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMbubj=)}(hE(const char *name, umode_t mode, struct dentry *parent, char **value)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjHhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjDubj2)}(h h]h }(hjUhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjDubjf)}(hcharh]hchar}(hjchhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjDubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjDubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjDubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj@ubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jj.sbc.debugfs_create_strasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj@ubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.debugfs_create_strasbuh1hhjubj2)}(h h]h }(hj+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hjFhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj@ubjC)}(h char **valueh](jf)}(hcharh]hchar}(hj_hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj[ubj2)}(h h]h }(hjmhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj[ubj)}(hjh]h*}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubjI)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj@ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMbubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMbubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMbhjhhubjw)}(hhh]h)}(hCcreate a debugfs file that is used to read and write a string valueh]hCcreate a debugfs file that is used to read and write a string value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMbhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``char **value`` a pointer to the variable that the file should read to and write from. This pointer and the string it points to must not be ``NULL``. **Description** This function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMfhjubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMchjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hj9h]h umode_t mode}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMdhj3ubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhMdhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMdhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjrh]hstruct dentry *parent}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMghjlubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF, then the file will be created in the root of the debugfs filesystem.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMehjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMghjubj)}(h``char **value`` a pointer to the variable that the file should read to and write from. This pointer and the string it points to must not be ``NULL``. h](j)}(h``char **value``h]j)}(hjh]h char **value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMihjubj)}(hhh]h)}(ha pointer to the variable that the file should read to and write from. This pointer and the string it points to must not be ``NULL``.h](h|a pointer to the variable that the file should read to and write from. This pointer and the string it points to must not be }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMihjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMkhjubh)}(hThis function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](hdThis function creates a file in debugfs with the given name that contains the value of the variable }(hj"hhhNhNubj)}(h **value**h]hvalue}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh . If the }(hj"hhhNhNubj)}(h**mode**h]hmode}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh9 variable is so set, it can be read from, and written to.}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMjhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  debugfs_create_blob (C function)c.debugfs_create_blobhNtauh1hhj>hhhNhNubj)}(hhh](j)}(h~struct dentry * debugfs_create_blob (const char *name, umode_t mode, struct dentry *parent, struct debugfs_blob_wrapper *blob)h]j)}(h|struct dentry *debugfs_create_blob(const char *name, umode_t mode, struct dentry *parent, struct debugfs_blob_wrapper *blob)h](j )}(hjh]hstruct}(hjuhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjqhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqhhhjhMubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jdebugfs_create_blobsbc.debugfs_create_blobasbuh1hhjqhhhjhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqhhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqhhhjhMubjC)}(hdebugfs_create_blobh]jI)}(hjh]hdebugfs_create_blob}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjqhhhjhMubj=)}(hZ(const char *name, umode_t mode, struct dentry *parent, struct debugfs_blob_wrapper *blob)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hj hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNjj )}j ]jc.debugfs_create_blobasbuh1hhjHubj2)}(h h]h }(hjmhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjHubjI)}(hmodeh]hmode}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjHubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.debugfs_create_blobasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h!struct debugfs_blob_wrapper *blobh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdebugfs_blob_wrapperh]hdebugfs_blob_wrapper}(hj"hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNjj )}j ]jc.debugfs_create_blobasbuh1hhjubj2)}(h h]h }(hj@hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hblobh]hblob}(hj[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjqhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjmhhhjhMubah}(h]jhah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjjhhubjw)}(hhh]h)}(hBcreate a debugfs file that is used to read and write a binary blobh]hBcreate a debugfs file that is used to read and write a binary blob}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj>hNhNubj)}(hXa**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``struct debugfs_blob_wrapper *blob`` a pointer to a struct debugfs_blob_wrapper which contains a pointer to the blob data and the size of the data. **Description** This function creates a file in debugfs with the given name that exports **blob->data** as a binary blob. If the **mode** variable is so set it can be read from and written to. This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the file is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned. If debugfs is not enabled in the kernel, the value ERR_PTR(-ENODEV) will be returned.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hj8h]hstruct dentry *parent}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj2ubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjQhhhNhNubj)}(h``NULL``h]hNULL}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubhF, then the file will be created in the root of the debugfs filesystem.}(hjQhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjubj)}(h``struct debugfs_blob_wrapper *blob`` a pointer to a struct debugfs_blob_wrapper which contains a pointer to the blob data and the size of the data. h](j)}(h%``struct debugfs_blob_wrapper *blob``h]j)}(hjh]h!struct debugfs_blob_wrapper *blob}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj~ubj)}(hhh]h)}(hna pointer to a struct debugfs_blob_wrapper which contains a pointer to the blob data and the size of the data.h]hna pointer to a struct debugfs_blob_wrapper which contains a pointer to the blob data and the size of the data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubh)}(hThis function creates a file in debugfs with the given name that exports **blob->data** as a binary blob. If the **mode** variable is so set it can be read from and written to.h](hIThis function creates a file in debugfs with the given name that exports }(hjhhhNhNubj)}(h**blob->data**h]h blob->data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh as a binary blob. If the }(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh7 variable is so set it can be read from and written to.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubh)}(hX(This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the file is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned.h]hX(This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the file is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubh)}(hUIf debugfs is not enabled in the kernel, the value ERR_PTR(-ENODEV) will be returned.h]hUIf debugfs is not enabled in the kernel, the value ERR_PTR(-ENODEV) will be returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j %debugfs_create_u32_array (C function)c.debugfs_create_u32_arrayhNtauh1hhj>hhhNhNubj)}(hhh](j)}(hvvoid debugfs_create_u32_array (const char *name, umode_t mode, struct dentry *parent, struct debugfs_u32_array *array)h]j)}(huvoid debugfs_create_u32_array(const char *name, umode_t mode, struct dentry *parent, struct debugfs_u32_array *array)h](jf)}(hvoidh]hvoid}(hjGhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjChhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMubj2)}(h h]h }(hjVhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjChhhjUhMubjC)}(hdebugfs_create_u32_arrayh]jI)}(hdebugfs_create_u32_arrayh]hdebugfs_create_u32_array}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjChhhjUhMubj=)}(hX(const char *name, umode_t mode, struct dentry *parent, struct debugfs_u32_array *array)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj|ubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjjsbc.debugfs_create_u32_arrayasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj|ubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hj+hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj'ubj2)}(h h]h }(hj8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'ubh)}(hhh]jI)}(hdentryh]hdentry}(hjIhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNjj )}j ]jc.debugfs_create_u32_arrayasbuh1hhj'ubj2)}(h h]h }(hjghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'ubj)}(hjh]h*}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj|ubjC)}(hstruct debugfs_u32_array *arrayh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdebugfs_u32_arrayh]hdebugfs_u32_array}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jc.debugfs_create_u32_arrayasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(harrayh]harray}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhj|ubeh}(h]h ]h"]h$]h&]j`jauh1j<hjChhhjUhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj?hhhjUhMubah}(h]j:ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjUhMhj<hhubjw)}(hhh]h)}(h5create a debugfs file that is used to read u32 array.h]h5create a debugfs file that is used to read u32 array.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhj<hhhjUhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have. ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``struct debugfs_u32_array *array`` wrapper struct containing data pointer and size of the array. **Description** This function creates a file in debugfs with the given name that exports **array** as data. If the **mode** variable is so set it can be read from. Writing is not supported. Seek within the file is also not supported. Once array is created its size can not be changed.h](h)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj8ubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hj]h]hconst char *name}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjWubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjTubj)}(h;``umode_t mode`` the permission that the file should have. h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h)the permission that the file should have.h]h)the permission that the file should have.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjTubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM hjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF, then the file will be created in the root of the debugfs filesystem.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjTubj)}(hb``struct debugfs_u32_array *array`` wrapper struct containing data pointer and size of the array. h](j)}(h#``struct debugfs_u32_array *array``h]j)}(hjh]hstruct debugfs_u32_array *array}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM hjubj)}(hhh]h)}(h=wrapper struct containing data pointer and size of the array.h]h=wrapper struct containing data pointer and size of the array.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hM hj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hM hjTubeh}(h]h ]h"]h$]h&]uh1jhj8ubh)}(h**Description**h]j)}(hjVh]h Description}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM hj8ubh)}(hX This function creates a file in debugfs with the given name that exports **array** as data. If the **mode** variable is so set it can be read from. Writing is not supported. Seek within the file is also not supported. Once array is created its size can not be changed.h](hIThis function creates a file in debugfs with the given name that exports }(hjlhhhNhNubj)}(h **array**h]harray}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh as data. If the }(hjlhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh variable is so set it can be read from. Writing is not supported. Seek within the file is also not supported. Once array is created its size can not be changed.}(hjlhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM hj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !debugfs_print_regs32 (C function)c.debugfs_print_regs32hNtauh1hhj>hhhNhNubj)}(hhh](j)}(h}void debugfs_print_regs32 (struct seq_file *s, const struct debugfs_reg32 *regs, int nregs, void __iomem *base, char *prefix)h]j)}(h|void debugfs_print_regs32(struct seq_file *s, const struct debugfs_reg32 *regs, int nregs, void __iomem *base, char *prefix)h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM"ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM"ubjC)}(hdebugfs_print_regs32h]jI)}(hdebugfs_print_regs32h]hdebugfs_print_regs32}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM"ubj=)}(hc(struct seq_file *s, const struct debugfs_reg32 *regs, int nregs, void __iomem *base, char *prefix)h](jC)}(hstruct seq_file *sh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hseq_fileh]hseq_file}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.debugfs_print_regs32asbuh1hhjubj2)}(h h]h }(hj:hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hj)h]hs}(hjUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h const struct debugfs_reg32 *regsh](j )}(hjh]hconst}(hjmhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjiubj2)}(h h]h }(hjzhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjiubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjiubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjiubh)}(hhh]jI)}(h debugfs_reg32h]h debugfs_reg32}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j6c.debugfs_print_regs32asbuh1hhjiubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjiubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubjI)}(hregsh]hregs}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h int nregsh](jf)}(hinth]hint}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hnregsh]hnregs}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hvoid __iomem *baseh](jf)}(hvoidh]hvoid}(hj-hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj)ubj2)}(h h]h }(hj;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj)ubh__iomem}(hj)hhhNhNubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj)ubj)}(hjh]h*}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubjI)}(hbaseh]hbase}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h char *prefixh](jf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehj}ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubjI)}(hprefixh]hprefix}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhM"ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM"ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM"hjhhubjw)}(hhh]h)}(h,use seq_print to describe a set of registersh]h,use seq_print to describe a set of registers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM"hjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM"ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``struct seq_file *s`` the seq_file structure being used to generate output ``const struct debugfs_reg32 *regs`` an array if struct debugfs_reg32 structures ``int nregs`` the length of the above array ``void __iomem *base`` the base address to be used in reading the registers ``char *prefix`` a string to be prefixed to every output line **Description** This function outputs a text block describing the current values of some 32-bit hardware registers. It is meant to be used within debugfs files based on seq_file that need to show registers, intermixed with other information. The prefix argument may be used to specify a leading string, because some peripherals have several blocks of identical registers, for example configuration of dma channelsh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM&hjubj)}(hhh](j)}(hL``struct seq_file *s`` the seq_file structure being used to generate output h](j)}(h``struct seq_file *s``h]j)}(hjh]hstruct seq_file *s}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM#hjubj)}(hhh]h)}(h4the seq_file structure being used to generate outputh]h4the seq_file structure being used to generate output}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hM#hj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hM#hj ubj)}(hQ``const struct debugfs_reg32 *regs`` an array if struct debugfs_reg32 structures h](j)}(h$``const struct debugfs_reg32 *regs``h]j)}(hjNh]h const struct debugfs_reg32 *regs}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM$hjHubj)}(hhh]h)}(h+an array if struct debugfs_reg32 structuresh]h+an array if struct debugfs_reg32 structures}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchM$hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM$hj ubj)}(h,``int nregs`` the length of the above array h](j)}(h ``int nregs``h]j)}(hjh]h int nregs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM%hjubj)}(hhh]h)}(hthe length of the above arrayh]hthe length of the above array}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM%hj ubj)}(hL``void __iomem *base`` the base address to be used in reading the registers h](j)}(h``void __iomem *base``h]j)}(hjh]hvoid __iomem *base}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM&hjubj)}(hhh]h)}(h4the base address to be used in reading the registersh]h4the base address to be used in reading the registers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hj ubj)}(h>``char *prefix`` a string to be prefixed to every output line h](j)}(h``char *prefix``h]j)}(hjh]h char *prefix}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM'hjubj)}(hhh]h)}(h,a string to be prefixed to every output lineh]h,a string to be prefixed to every output line}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM'hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM'hj ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj4h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM)hjubh)}(hXThis function outputs a text block describing the current values of some 32-bit hardware registers. It is meant to be used within debugfs files based on seq_file that need to show registers, intermixed with other information. The prefix argument may be used to specify a leading string, because some peripherals have several blocks of identical registers, for example configuration of dma channelsh]hXThis function outputs a text block describing the current values of some 32-bit hardware registers. It is meant to be used within debugfs files based on seq_file that need to show registers, intermixed with other information. The prefix argument may be used to specify a leading string, because some peripherals have several blocks of identical registers, for example configuration of dma channels}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM(hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $debugfs_create_regset32 (C function)c.debugfs_create_regset32hNtauh1hhj>hhhNhNubj)}(hhh](j)}(huvoid debugfs_create_regset32 (const char *name, umode_t mode, struct dentry *parent, struct debugfs_regset32 *regset)h]j)}(htvoid debugfs_create_regset32(const char *name, umode_t mode, struct dentry *parent, struct debugfs_regset32 *regset)h](jf)}(hvoidh]hvoid}(hjyhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjuhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMRubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjuhhhjhMRubjC)}(hdebugfs_create_regset32h]jI)}(hdebugfs_create_regset32h]hdebugfs_create_regset32}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjuhhhjhMRubj=)}(hX(const char *name, umode_t mode, struct dentry *parent, struct debugfs_regset32 *regset)h](jC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j)}jjsbc.debugfs_create_regset32asbuh1hhjubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hjDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hj]hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjYubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubh)}(hhh]jI)}(hdentryh]hdentry}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj )}j ]j2c.debugfs_create_regset32asbuh1hhjYubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct debugfs_regset32 *regseth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdebugfs_regset32h]hdebugfs_regset32}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]j2c.debugfs_create_regset32asbuh1hhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hregseth]hregset}(hj$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjuhhhjhMRubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjqhhhjhMRubah}(h]jlah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMRhjnhhubjw)}(hhh]h)}(h2create a debugfs file that returns register valuesh]h2create a debugfs file that returns register values}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMRhjKhhubah}(h]h ]h"]h$]h&]uh1jvhjnhhhjhMRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1jhhhj>hNhNubj)}(hX@**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``struct debugfs_regset32 *regset`` a pointer to a struct debugfs_regset32, which contains a pointer to an array of register definitions, the array size and the base address where the register bank is to be found. **Description** This function creates a file in debugfs with the given name that reports the names and values of a set of 32-bit registers. If the **mode** variable is so set it can be read from. Writing is not supported.h](h)}(h**Parameters**h]j)}(hjph]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMVhjjubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMShjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMThjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMWhjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF, then the file will be created in the root of the debugfs filesystem.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMWhjubj)}(h``struct debugfs_regset32 *regset`` a pointer to a struct debugfs_regset32, which contains a pointer to an array of register definitions, the array size and the base address where the register bank is to be found. h](j)}(h#``struct debugfs_regset32 *regset``h]j)}(hjMh]hstruct debugfs_regset32 *regset}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMZhjGubj)}(hhh]h)}(ha pointer to a struct debugfs_regset32, which contains a pointer to an array of register definitions, the array size and the base address where the register bank is to be found.h]ha pointer to a struct debugfs_regset32, which contains a pointer to an array of register definitions, the array size and the base address where the register bank is to be found.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMXhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMZhjubeh}(h]h ]h"]h$]h&]uh1jhjjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM\hjjubh)}(hThis function creates a file in debugfs with the given name that reports the names and values of a set of 32-bit registers. If the **mode** variable is so set it can be read from. Writing is not supported.h](hThis function creates a file in debugfs with the given name that reports the names and values of a set of 32-bit registers. If the }(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB variable is so set it can be read from. Writing is not supported.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM[hjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j (debugfs_create_devm_seqfile (C function)c.debugfs_create_devm_seqfilehNtauh1hhj>hhhNhNubj)}(hhh](j)}(hvoid debugfs_create_devm_seqfile (struct device *dev, const char *name, struct dentry *parent, int (*read_fn)(struct seq_file *s, void *data))h]j)}(hvoid debugfs_create_devm_seqfile(struct device *dev, const char *name, struct dentry *parent, int (*read_fn)(struct seq_file *s, void *data))h](jf)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hdebugfs_create_devm_seqfileh]jI)}(hdebugfs_create_devm_seqfileh]hdebugfs_create_devm_seqfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubj=)}(hm(struct device *dev, const char *name, struct dentry *parent, int (*read_fn)(struct seq_file *s, void *data))h](jC)}(hstruct device *devh](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj*hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdeviceh]hdevice}(hj;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNjj )}j ]j)}jjsbc.debugfs_create_devm_seqfileasbuh1hhjubj2)}(h h]h }(hj[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdevh]hdev}(hjvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjf)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hdentryh]hdentry}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj )}j ]jWc.debugfs_create_devm_seqfileasbuh1hhjubj2)}(h h]h }(hj(hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hjChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubjC)}(h.int (*read_fn)(struct seq_file *s, void *data)h](jf)}(hinth]hint}(hj\hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjXubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXubj)}(hj&h]h(}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubjI)}(hread_fnh]hread_fn}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubj)}(hjOh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj)}(hj&h]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjXubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXubh)}(hhh]jI)}(hseq_fileh]hseq_file}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj )}j ]jWc.debugfs_create_devm_seqfileasbuh1hhjXubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubjI)}(hj)h]hs}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubj)}(hjh]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubj2)}(h h]h }(hj+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXubjf)}(hvoidh]hvoid}(hj9hhhNhNubah}(h]h ]jrah"]h$]h&]uh1jehjXubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXubj)}(hjh]h*}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubjI)}(hdatah]hdata}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubj)}(hjOh]h)}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]noemphj`jauh1jBhjubeh}(h]h ]h"]h$]h&]j`jauh1j<hjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h.create a debugfs file that is bound to device.h]h.create a debugfs file that is bound to device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj>hNhNubj)}(hX**Parameters** ``struct device *dev`` device related to this debugfs file. ``const char *name`` name of the debugfs file. ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``int (*read_fn)(struct seq_file *s, void *data)`` function pointer called to print the seq_file content.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh](j)}(h<``struct device *dev`` device related to this debugfs file. h](j)}(h``struct device *dev``h]j)}(hjh]hstruct device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h$device related to this debugfs file.h]h$device related to this debugfs file.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``const char *name`` name of the debugfs file. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj ubj)}(hhh]h)}(hname of the debugfs file.h]hname of the debugfs file.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjLh]hstruct dentry *parent}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjFubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjehhhNhNubj)}(h``NULL``h]hNULL}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubhF, then the file will be created in the root of the debugfs filesystem.}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjubj)}(hi``int (*read_fn)(struct seq_file *s, void *data)`` function pointer called to print the seq_file content.h](j)}(h2``int (*read_fn)(struct seq_file *s, void *data)``h]j)}(hjh]h.int (*read_fn)(struct seq_file *s, void *data)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h6function pointer called to print the seq_file content.h]h6function pointer called to print the seq_file content.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj>hhhNhNubeh}(h]debugfs-interfaceah ]h"]debugfs interfaceah$]h&]uh1hhj-hhhhhKubeh}(h]the-debugfs-filesystemah ]h"]the debugfs filesystemah$]h&]uh1hhhhhhhhKubeh}(h]linux-filesystems-api-summaryah ]h"]linux filesystems api summaryah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjerror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourcehʌ _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(jjjL#jI#jiCjfCjujrjdjajvjsjHjHjD#jA#jGjGjEjEjGjGjoTjlTjajaj*j'jjjju nametypes}(jjL#jiCjujdjvjHjD#jGjEjGjoTjaj*jjuh}(jhjI#hjfChj jjjj\jajjjjjXj]jjjjj5j:jjj!j!j#j#j@&jE&j(j(j+j+j#-j(-j.j.j1j"1j2j2j4j4j16j66j7j7j39j89j:j:j<j<j=j=jS?jX?j@j@jrjlCjCjCj7Ej{jC{j}j}jajxjjjRjWjӃj؃jTjYj_jdjjj;j@jIjNjӍj؍jTjYjjjjjŔjʔjɖjΖjfjkjjjFjKjjjҫj׫j-j2jj jdjijjjLjQjjjjj;j@jjjjjjjQjVjjjjj_jdj.j3jjjjj+j0jjjj jjjKjPj{jjjjjjajfjjjsjgjjjj#jjjTjYjjjrjwjjjYj^jjjT jY j j jjjUjZjHjyjjjj jjjqjvjj j j j:"j?"jr%jw%j(j(j*j*jH-jM-j0j0j3j3j4j4j6j6j8j8j;j;ji>jn>j9Aj>AjcCjhCjLFjQFjA#jHjHjHjKjKjOjOjSj!Sj VjVjWjWjCYjHYjZjZj^j^jbjbjejej$hj)hjAkjFkjnjnjSrjXrjujujqxjvxj{j{j,j1jjjj jjjJjOjjjjjjjjjjjjjjj jjϩjԩjjj?jDjjjߺjj6j;jjj jjjjj j)j.jjj<jAjjjjjLjQjjjjj"j'jjjjjjjsjxjjjqjvjjjYj^jjjjjvj{jU jZ j j jjj8j=jjjjjRjWjjjjj2#j7#j%j%j'j'j+j+j.j.j1j1jP4jU4j6j6j8j8j:j:j)=j.=j?j?j:Bj?BjDjDjYGj^Gj#Jj(JjtMjyMj1Oj6OjPjPjjAjAjGjEjEjEjlTjGjGjGjIjIjGKjLKjnNjsNjPjPjNRjSRjajrTjTjTjVjVj:Xj?Xj[j[j|^j^j'jajajajdjdjhgjmgjjj jjljlj-nj2nj6qj;qjzsjsj/vj4vjNxjSxjmzjrzj|j|jjjjjSjXjj"jjjj-jj>j[j`jjjjjnjsjjjujzjjj!j&j8j=jЪjժjѫj֫jsjxjjj>jCjijnjǶj̶j%j*jjjjjHjMjZj_jljqj~jjjjjjjjjjhjmj:j?jjjljqjju footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]transform_messages] transformerN include_log] decorationNhhub.