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; #ifdef CONFIG_READ_ONLY_THP_FOR_FS; atomic_t nr_thps; #endif; 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. ``nr_thps`` Number of THPs in the pagecache (non-shmem only). ``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; #ifdef CONFIG_READ_ONLY_THP_FOR_FS; atomic_t nr_thps; #endif; 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; #ifdef CONFIG_READ_ONLY_THP_FOR_FS; atomic_t nr_thps; #endif; 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)}(h>``nr_thps`` Number of THPs in the pagecache (non-shmem only). h](j)}(h ``nr_thps``h]j)}(hj\h]hnr_thps}(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)}(h1Number of THPs in the pagecache (non-shmem only).h]h1Number of THPs in the pagecache (non-shmem only).}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhj5ubj)}(h0``i_mmap`` Tree of private and shared mappings. h](j)}(h ``i_mmap``h]j)}(hjh]hi_mmap}(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$Tree of private and shared mappings.h]h$Tree of private and shared mappings.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj5ubj)}(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}(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)}(hWriteback starts here.h]hWriteback starts here.}(hj hhhNhNubah}(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)}(hj@h]ha_ops}(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)}(hMethods.h]hMethods.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhj5ubj)}(h'``flags`` Error bits and flags (AS_*). h](j)}(h ``flags``h]j)}(hjyh]hflags}(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)}(hError bits and flags (AS_*).h]hError bits and flags (AS_*).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhj5ubj)}(h5``wb_err`` The most recent error which has occurred. h](j)}(h ``wb_err``h]j)}(hjh]hwb_err}(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)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&]uh1jhjubeh}(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)}(hj$h]h i_mmap_rwsem}(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,Protects **i_mmap** and **i_mmap_writable**.h](h Protects }(hj=hhhNhNubj)}(h **i_mmap**h]hi_mmap}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh and }(hj=hhhNhNubj)}(h**i_mmap_writable**h]hi_mmap_writable}(hjWhhhNhNubah}(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:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj5ubeh}(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}(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)}(h file_ra_stateh]jI)}(hjh]h file_ra_state}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(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)}(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&]uh1jvhjhhhjhMubeh}(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; };}hj!sbah}(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)}(hj2h]hMembers}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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)}(hjQh]hstart}(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)}(h(Where the most recent readahead started.h]h(Where the most recent readahead started.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjHubj)}(h<``size`` Number of pages read in the most recent readahead. h](j)}(h``size``h]j)}(hjh]hsize}(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)}(h2Number of pages read in the most recent readahead.h]h2Number of pages read in the most recent readahead.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjHubj)}(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&]uh1jhjhMhjHubj)}(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&]uh1jhjhMhjHubj)}(h@``order`` Preferred folio order used for most recent readahead. h](j)}(h ``order``h]j)}(hj6h]horder}(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)}(h5Preferred folio order used for most recent readahead.h]h5Preferred folio order used for most recent readahead.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjHubj)}(h?``mmap_miss`` How many mmap accesses missed in the page cache. h](j)}(h ``mmap_miss``h]j)}(hjoh]h mmap_miss}(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)}(h0How many mmap accesses missed in the page cache.h]h0How many mmap accesses missed in the page cache.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhjHubj)}(h;``prev_pos`` The last byte in the most recent read request.h](j)}(h ``prev_pos``h]j)}(hjh]hprev_pos}(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.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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjHubeh}(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.}(hj hhhNhNubah}(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}(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 }(hj7 hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj% hhhj6 hMubjC)}(hfileh]jI)}(hj# h]hfile}(hjI hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjE ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj% hhhj6 hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj! hhhj6 hMubah}(h]j ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj6 hMhj hhubjw)}(hhh]h)}(hRepresents a fileh]hRepresents a file}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjh hhubah}(h]h ]h"]h$]h&]uh1jvhj hhhj6 hMubeh}(h]h ](jstructeh"]h$]h&]jjjj jj 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}(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 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; };}hj 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&]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)}(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)}(hjJ h]hf_op}(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)}(hfile operationsh]hfile operations}(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)}(h8``f_mapping`` Contents of a cacheable, mappable object. h](j)}(h ``f_mapping``h]j)}(hj h]h f_mapping}(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)Contents of a cacheable, mappable object.h]h)Contents of a cacheable, mappable object.}(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)}(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}(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 file flagsh]h file 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)}(h``f_iocb_flags`` iocb flags h](j)}(h``f_iocb_flags``h]j)}(hjg h]h f_iocb_flags}(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 iocb flagsh]h iocb flags}(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)}(h1``f_cred`` stashed credentials of creator/opener h](j)}(h ``f_cred``h]j)}(hj h]hf_cred}(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%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&]uh1jhj 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)}(hjK h]hf_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)}(hpath of the fileh]hpath of the file}(hjd hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj` hMhja ubah}(h]h ]h"]h$]h&]uh1jhjE 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)}(hj h]h__f_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)}(hUwritable alias for **f_path**; *ONLY* for core VFS and only before the file gets openh](hwritable alias for }(hj hhhNhNubj)}(h **f_path**h]hf_path}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh; }(hj hhhNhNubhemphasis)}(h*ONLY*h]hONLY}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j hj ubh0 for core VFS and only before the file gets open}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj 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_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}(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_pipe`` specific to pipes h](j)}(h ``f_pipe``h]j)}(hjV h]hf_pipe}(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)}(hspecific to pipesh]hspecific to pipes}(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)}(h``f_pos`` file position h](j)}(h ``f_pos``h]j)}(hj h]hf_pos}(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 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 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)}(hjh]hf_wb_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)}(hwriteback errorh]hwriteback error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h%``f_sb_err`` per sb writeback errors h](j)}(h ``f_sb_err``h]j)}(hj:h]hf_sb_err}(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)}(hper sb writeback errorsh]hper sb writeback errors}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhj ubj)}(h/``f_ep`` link of all epoll hooks for this file h](j)}(h``f_ep``h]j)}(hjsh]hf_ep}(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.hhMhjmubj)}(hhh]h)}(h%link of all epoll hooks for this fileh]h%link of all epoll hooks for this file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjh]h{unnamed_union}}(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.hhKhjubj)}(hhh]h)}(h anonymoush]h anonymous}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(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)}(hwork queue entrypointh]hwork queue entrypoint}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhj ubj)}(h ``f_ra`` file's readahead state h](j)}(h``f_ra``h]j)}(hjWh]hf_ra}(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)}(hfile's readahead stateh]hfile’s readahead state}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhj ubj)}(hM``f_freeptr`` Pointer used by SLAB_TYPESAFE_BY_RCU file cache (don't touch.) h](j)}(h ``f_freeptr``h]j)}(hjh]h f_freeptr}(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>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.)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj 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&]uh1jhj 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}(hj&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubah}(h]h ]h"]h$]h&] refdomainjreftype identifier reftargetj(modnameN classnameN c:parent_keysphinx.domains.c LookupKey)}data]jA ASTIdentifier)}j<i_uid_into_vfsuidsbc.i_uid_into_vfsuidasbuh1hhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj2)}(h h]h }(hjPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjOhMubjC)}(hi_uid_into_vfsuidh]jI)}(hjLh]hi_uid_into_vfsuid}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj^ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjOhMubhdesc_parameterlist)}(h4(struct mnt_idmap *idmap, const struct inode *inode)h](hdesc_parameter)}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jJc.i_uid_into_vfsuidasbuh1hhj}ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}ubhdesc_sig_punctuation)}(h*h]h*}(hjhhhNhNubah}(h]h ]pah"]h$]h&]uh1jhj}ubjI)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjwubj|)}(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}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj1modnameN classnameNj@jC)}jF]jJc.i_uid_into_vfsuidasbuh1hhjubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjwubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjOhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjOhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjOhMhjhhubjw)}(hhh]h)}(h3map an inode's i_uid down according to an idmappingh]h5map an inode’s i_uid down according to an idmapping}(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&]uh1jvhjhhhjOhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhhhNhNubj)}(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)}(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 inode *inode`` inode to map h](j)}(h``const struct inode *inode``h]j)}(hj h]hconst struct inode *inode}(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.hhMhjubj)}(hhh]h)}(h inode to maph]h inode to map}(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 **Return**h]j)}(hjGh]hReturn}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubh)}(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}(hjehhhNhNubah}(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.hhMhjubeh}(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}(hjhhhNhNubah}(h]h ]ktah"]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)}(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`jauh1jBhjhhhjhMubjv)}(hN(struct mnt_idmap *idmap, const struct iattr *attr, const struct inode *inode)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.i_uid_needs_updateasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hconst struct iattr *attrh](j )}(hjh]hconst}(hjPhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjLubj2)}(h h]h }(hj]hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLubj )}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjLubj2)}(h h]h }(hjxhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLubh)}(hhh]jI)}(hiattrh]hiattr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jc.i_uid_needs_updateasbuh1hhjLubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubjI)}(hattrh]hattr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jc.i_uid_needs_updateasbuh1hhjubj2)}(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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h/check whether inode's i_uid needs to be updatedh]h1check whether inode’s i_uid needs to be updated}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjthhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhhhNhNubj)}(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)}(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 }(hj hhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h2``const struct inode *inode`` the inode to update h](j)}(h``const struct inode *inode``h]j)}(hj8h]hconst struct inode *inode}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj2ubj)}(hhh]h)}(hthe inode to updateh]hthe inode to update}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjsh]h Description}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubh)}(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.hhMhjubh)}(hBtrue if **inode**'s i_uid field needs to be updated, false if not.h](htrue if }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh3’s i_uid field needs to be updated, false if not.}(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_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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]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)}(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`jauh1jBhjhhhjhMubjv)}(hH(struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode)h](j|)}(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}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjIubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjNmodnameN classnameNj@jC)}jF]jI)}j<jsbc.i_uid_updateasbuh1hhj*ubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*ubj)}(hjh]h*}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubjI)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj&ubj|)}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jhc.i_uid_updateasbuh1hhjubj2)}(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`jauh1j{hj&ubj|)}(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 classnameNj@jC)}jF]jhc.i_uid_updateasbuh1hhj'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`jauh1j{hj&ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hupdate **inode**'s i_uid fieldh](hupdate }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh’s i_uid field}(hjhhhNhNubeh}(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&]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)}(hj8h]hconst struct iattr *attr}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj2ubj)}(hhh]h)}(hthe new attributes of **inode**h](hthe new attributes of }(hjQhhhNhNubj)}(h **inode**h]hinode}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1hhjMhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjubj)}(h,``struct inode *inode`` the inode to update 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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjyubj)}(hhh]h)}(hthe inode to updateh]hthe inode to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(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: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 classnameNj@jC)}jF]jI)}j<i_gid_into_vfsgidsbc.i_gid_into_vfsgidasbuh1hhj hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj hhhj5hMubjC)}(hi_gid_into_vfsgidh]jI)}(hj2h]hi_gid_into_vfsgid}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjDubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj hhhj5hMubjv)}(h4(struct mnt_idmap *idmap, const struct inode *inode)h](j|)}(hstruct mnt_idmap *idmaph](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)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j0c.i_gid_into_vfsgidasbuh1hhj_ubj2)}(h h]h }(hjhhhNhNubah}(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`jauh1j{hj[ubj|)}(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}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j0c.i_gid_into_vfsgidasbuh1hhjubj2)}(h h]h }(hj*hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjEhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj[ubeh}(h]h ]h"]h$]h&]j`jauh1juhj hhhj5hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj hhhj5hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj5hMhjhhubjw)}(hhh]h)}(h3map an inode's i_gid down according to an idmappingh]h5map an inode’s i_gid down according to an idmapping}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjlhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj5hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhhhNhNubj)}(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)}(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 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&]uh1jhjubh)}(h **Return**h]j)}(hj$h]hReturn}(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.hhMhjubh)}(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 }(hj:hhhNhNubj)}(h **idmap**h]hidmap}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubhC. If the inode’s i_gid has no mapping INVALID_VFSGID is returned.}(hj:hhhNhNubeh}(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_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](j)}(hjh]hbool}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwhhhjhMubjC)}(hi_gid_needs_updateh]jI)}(hi_gid_needs_updateh]hi_gid_needs_update}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjwhhhjhMubjv)}(hN(struct mnt_idmap *idmap, const struct iattr *attr, const struct inode *inode)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.i_gid_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`jauh1j{hjubj|)}(hconst struct iattr *attrh](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)}(hiattrh]hiattr}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjdmodnameN classnameNj@jC)}jF]jc.i_gid_needs_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`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jc.i_gid_needs_updateasbuh1hhjubj2)}(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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjwhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjshhhjhMubah}(h]jnah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjphhubjw)}(hhh]h)}(h/check whether inode's i_gid needs to be updatedh]h1check whether inode’s i_gid needs to be updated}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjMhhubah}(h]h ]h"]h$]h&]uh1jvhjphhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1jhhhhhNhNubj)}(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)}(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:14: ./include/linux/fs.hhMhjlubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.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&]uh1jhjlubh)}(h**Description**h]j)}(hjLh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjlubh)}(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.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjlubh)}(h **Return**h]j)}(hjsh]hReturn}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjlubh)}(hBtrue if **inode**'s i_gid field needs to be updated, false if not.h](htrue if }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh3’s i_gid field needs to be updated, false if not.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjlubeh}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]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)}(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`jauh1jBhjhhhjhMubjv)}(hH(struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.i_gid_updateasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(hconst struct iattr *attrh](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)}(hiattrh]hiattr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jAc.i_gid_updateasbuh1hhjuubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjuubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubjI)}(hattrh]hattr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjuubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jAc.i_gid_updateasbuh1hhj ubj2)}(h h]h }(hj@ hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hjN 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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hupdate **inode**'s i_gid fieldh](hupdate }(hj hhhNhNubj)}(h **inode**h]hinode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh’s i_gid field}(hj hhhNhNubeh}(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 ](jfunctioneh"]h$]h&]jjjj jj 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.hhMhj 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}(hj2!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)}(hjX!h]hstruct inode *inode}(hjZ!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV!ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjR!ubj)}(hhh]h)}(hthe inode to updateh]hthe inode to update}(hjq!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjm!hMhjn!ubah}(h]h ]h"]h$]h&]uh1jhjR!ubeh}(h]h ]h"]h$]h&]uh1jhjm!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)}(hlSafely update **inode**'s i_gid field translating the vfsgid of any idmapped mount into the filesystem kgid.h](hSafely update }(hj!hhhNhNubj)}(h **inode**h]hinode}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubhW’s i_gid field translating the vfsgid of any idmapped mount into the filesystem kgid.}(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_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](j)}(hvoidh]hvoid}(hj!hhhNhNubah}(h]h ]jah"]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)}(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!hMubjv)}(h.(struct inode *inode, struct mnt_idmap *idmap)h](j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj'"hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj#"ubj2)}(h h]h }(hj4"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#"ubh)}(hhh]jI)}(hinodeh]hinode}(hjE"hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjB"ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjG"modnameN classnameNj@jC)}jF]jI)}j<j "sbc.inode_fsuid_setasbuh1hhj#"ubj2)}(h h]h }(hje"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#"ubj)}(hjh]h*}(hjs"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`jauh1j{hj"ubj|)}(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 classnameNj@jC)}jF]ja"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`jauh1j{hj"ubeh}(h]h ]h"]h$]h&]j`jauh1juhj!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&]jjjj2#jj2#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.hhM hj6#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&]uh1jhjY#ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjU#ubj)}(hhh]h)}(hinode to initializeh]hinode to initialize}(hjt#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjp#hM hjq#ubah}(h]h ]h"]h$]h&]uh1jhjU#ubeh}(h]h ]h"]h$]h&]uh1jhjp#hM hjR#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.hhM hj#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#hM hj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hM hjR#ubeh}(h]h ]h"]h$]h&]uh1jhj6#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.hhM hj6#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.hhM hj6#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](j)}(hvoidh]hvoid}(hj8$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4$hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj2)}(h h]h }(hjG$hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4$hhhjF$hMubjC)}(hinode_fsgid_seth]jI)}(hinode_fsgid_seth]hinode_fsgid_set}(hjY$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjU$ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj4$hhhjF$hMubjv)}(h.(struct inode *inode, struct mnt_idmap *idmap)h](j|)}(hstruct inode *inodeh](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)}(hinodeh]hinode}(hj$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj$modnameN classnameNj@jC)}jF]jI)}j<j[$sbc.inode_fsgid_setasbuh1hhjq$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)}(hinodeh]hinode}(hj$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjq$ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjm$ubj|)}(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 classnameNj@jC)}jF]j$c.inode_fsgid_setasbuh1hhj$ubj2)}(h h]h }(hj#%hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj$ubj)}(hjh]h*}(hj1%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`jauh1j{hjm$ubeh}(h]h ]h"]h$]h&]j`jauh1juhj4$hhhjF$hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj0$hhhjF$hMubah}(h]j+$ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjF$hMhj-$hhubjw)}(hhh]h)}(h1initialize inode's i_gid field with callers fsgidh]h3initialize inode’s i_gid field with callers fsgid}(hjh%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhje%hhubah}(h]h ]h"]h$]h&]uh1jvhj-$hhhjF$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_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)}(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&]uh1hhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%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&]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%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_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 }(hj3&hhhNhNubj)}(h **inode**h]hinode}(hj;&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3&ubh]. If the inode was found/created via an idmapped mount map the caller’s fsgid according to }(hj3&hhhNhNubj)}(h **idmap**h]hidmap}(hjM&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3&ubh.}(hj3&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 !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](j)}(hjh]hbool}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&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)}(hfsuidgid_has_mappingh]jI)}(hfsuidgid_has_mappingh]hfsuidgid_has_mapping}(hj&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj&hhhj&hM$ubjv)}(h1(struct super_block *sb, struct mnt_idmap *idmap)h](j|)}(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 classnameNj@jC)}jF]jI)}j<j&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`jauh1j{hj&ubj|)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hj4'hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj0'ubj2)}(h h]h }(hjA'hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0'ubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjR'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjO'ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjT'modnameN classnameNj@jC)}jF]j&c.fsuidgid_has_mappingasbuh1hhj0'ubj2)}(h h]h }(hjp'hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0'ubj)}(hjh]h*}(hj~'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0'ubjI)}(hidmaph]hidmap}(hj'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0'ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj&ubeh}(h]h ]h"]h$]h&]j`jauh1juhj&hhhj&hM$ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj~&hhhj&hM$ubah}(h]jy&ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj&hM$hj{&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.hhM$hj'hhubah}(h]h ]h"]h$]h&]uh1jvhj{&hhhj&hM$ubeh}(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}(hj1(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}(hjH(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjD(hM&hjE(ubah}(h]h ]h"]h$]h&]uh1jhj)(ubeh}(h]h ]h"]h$]h&]uh1jhjD(hM&hj'ubeh}(h]h ]h"]h$]h&]uh1jhj'ubh)}(h**Description**h]j)}(hjj(h]h Description}(hjl(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh(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 }(hj(hhhNhNubj)}(h**sb**h]hsb}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh\. If the caller is on an idmapped mount map the caller’s fsuid and fsgid according to the }(hj(hhhNhNubj)}(h **idmap**h]hidmap}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh first.}(hj(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&]uh1jhj(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 classnameNj@jC)}jF]jI)}j<inode_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)}(hj7)h]hinode_set_ctime}(hjL)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjH)ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj(hhhj)hMubjv)}(h.(struct inode *inode, time64_t sec, long nsec)h](j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjg)hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjc)ubj2)}(h h]h }(hjt)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjc)ubh)}(hhh]jI)}(hinodeh]hinode}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj)modnameN classnameNj@jC)}jF]j5)c.inode_set_ctimeasbuh1hhjc)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)}(hinodeh]hinode}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjc)ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj_)ubj|)}(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 classnameNj@jC)}jF]j5)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`jauh1j{hj_)ubj|)}(h long nsech](j)}(hlongh]hlong}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*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`jauh1j{hj_)ubeh}(h]h ]h"]h$]h&]j`jauh1juhj(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}(hje*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjb*hhubah}(h]h ]h"]h$]h&]uh1jvhj(hhhj)hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}*jj}*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)}(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)}(h8``struct inode *inode`` inode in which to set the ctime 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 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&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj*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*hMhj*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}(hj1+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)}(hjS+h]h Description}(hjU+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ+ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj*ubh)}(h3Set the ctime in **inode** to { **sec**, **nsec** }h](hSet the ctime in }(hji+hhhNhNubj)}(h **inode**h]hinode}(hjq+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji+ubh to { }(hji+hhhNhNubj)}(h**sec**h]hsec}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji+ubh, }(hji+hhhNhNubj)}(h**nsec**h]hnsec}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji+ubh }}(hji+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 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](j)}(hjh]hbool}(hj+hhhNhNubah}(h]h ]jah"]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)}(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+hMubjv)}(h(const struct file *file)h]j|)}(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 }(hj2,hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj,ubh)}(hhh]jI)}(hfileh]hfile}(hjC,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj@,ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjE,modnameN classnameNj@jC)}jF]jI)}j<j+sbc.file_write_startedasbuh1hhj,ubj2)}(h h]h }(hjc,hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj,ubj)}(hjh]h*}(hjq,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`jauh1j{hj,ubah}(h]h ]h"]h$]h&]j`jauh1juhj+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}(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)}(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](j)}(hjh]hbool}(hji-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhje-hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj2)}(h h]h }(hjw-hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hje-hhhjv-hMubjC)}(hfile_write_not_startedh]jI)}(hfile_write_not_startedh]hfile_write_not_started}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj-ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhje-hhhjv-hMubjv)}(h(const struct file *file)h]j|)}(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 classnameNj@jC)}jF]jI)}j<j-sbc.file_write_not_startedasbuh1hhj-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`jauh1j{hj-ubah}(h]h ]h"]h$]h&]j`jauh1juhje-hhhjv-hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhja-hhhjv-hMubah}(h]j\-ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjv-hMhj^-hhubjw)}(hhh]h)}(h$check if SB_FREEZE_WRITE is not heldh]h$check if SB_FREEZE_WRITE is not held}(hjC.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^-hhhjv-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)}(hje.h]h Parameters}(hjg.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc.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 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}(hjF/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjC/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}(hjj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf/ubh:}(hjf/hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjb/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; };}hj/sbah}(h]h ]h"]h$]h&]j`jauh1j hZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjb/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.hhM hjb/ubj)}(hhh](j)}(hC``mnt_idmap`` idmap of the mount in which the rename is happening. h](j)}(h ``mnt_idmap``h]j)}(hj/h]h mnt_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)}(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&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj/hMhj/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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj/ubj)}(h``old_dentry`` source h](j)}(h``old_dentry``h]j)}(hj%0h]h old_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.hhMhj0ubj)}(hhh]h)}(hsourceh]hsource}(hj>0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:0hMhj;0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj:0hMhj/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.hhMhjX0ubj)}(hhh]h)}(hparent of destinationh]hparent of destination}(hjw0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjs0hMhjt0ubah}(h]h ]h"]h$]h&]uh1jhjX0ubeh}(h]h ]h"]h$]h&]uh1jhjs0hMhj/ubj)}(h``new_dentry`` destination h](j)}(h``new_dentry``h]j)}(hj0h]h new_dentry}(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 destinationh]h destination}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj/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&]uh1jhj0hMhj/ubj)}(h``flags`` rename flagsh](j)}(h ``flags``h]j)}(hj 1h]hflags}(hj 1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj1ubj)}(hhh]h)}(h rename flagsh]h rename flags}(hj"1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj/ubeh}(h]h ]h"]h$]h&]uh1jhjb/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](j)}(hjh]hbool}(hjc1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_1hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj2)}(h h]h }(hjq1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_1hhhjp1hM ubjC)}(h is_mgtimeh]jI)}(h is_mgtimeh]h is_mgtime}(hj1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj_1hhhjp1hM ubjv)}(h(const struct inode *inode)h]j|)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hj1hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj1ubj2)}(h h]h }(hj1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1ubj )}(hjh]hstruct}(hj1hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj1ubj2)}(h h]h }(hj1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1ubh)}(hhh]jI)}(hinodeh]hinode}(hj1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj1modnameN classnameNj@jC)}jF]jI)}j<j1sb c.is_mgtimeasbuh1hhj1ubj2)}(h h]h }(hj1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1ubj)}(hjh]h*}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubjI)}(hinodeh]hinode}(hj2hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj1ubah}(h]h ]h"]h$]h&]j`jauh1juhj_1hhhjp1hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj[1hhhjp1hM ubah}(h]jV1ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjp1hM hjX1hhubjw)}(hhh]h)}(h)is this inode using multigrain timestampsh]h)is this inode using multigrain timestamps}(hj=2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj:2hhubah}(h]h ]h"]h$]h&]uh1jvhjX1hhhjp1hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjU2jjU2jjjuh1jhhhhhNhNubj)}(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}(hja2hhhNhNubah}(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 hjY2ubj)}(hhh]j)}(hF``const struct inode *inode`` inode to test for multigrain timestamps h](j)}(h``const struct inode *inode``h]j)}(hj~2h]hconst struct inode *inode}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|2ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjx2ubj)}(hhh]h)}(h'inode to test for multigrain timestampsh]h'inode to test for multigrain timestamps}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hM hj2ubah}(h]h ]h"]h$]h&]uh1jhjx2ubeh}(h]h ]h"]h$]h&]uh1jhj2hM hju2ubah}(h]h ]h"]h$]h&]uh1jhjY2ubh)}(h**Description**h]j)}(hj2h]h Description}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjY2ubh)}(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 hjY2ubeh}(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](j)}(hjh]hbool}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj2)}(h h]h }(hj 3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2hhhj 3hM ubjC)}(his_idmapped_mnth]jI)}(his_idmapped_mnth]his_idmapped_mnt}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj2hhhj 3hM ubjv)}(h(const struct vfsmount *mnt)h]j|)}(hconst struct vfsmount *mnth](j )}(hjh]hconst}(hj:3hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj63ubj2)}(h h]h }(hjG3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj63ubj )}(hjh]hstruct}(hjU3hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj63ubj2)}(h h]h }(hjb3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj63ubh)}(hhh]jI)}(hvfsmounth]hvfsmount}(hjs3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjp3ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetju3modnameN classnameNj@jC)}jF]jI)}j<j 3sbc.is_idmapped_mntasbuh1hhj63ubj2)}(h h]h }(hj3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj63ubj)}(hjh]h*}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj63ubjI)}(hmnth]hmnt}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj63ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj23ubah}(h]h ]h"]h$]h&]j`jauh1juhj2hhhj 3hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj2hhhj 3hM ubah}(h]j2ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj 3hM 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&]uh1jvhj2hhhj 3hM 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)}(hj4h]hconst struct vfsmount *mnt}(hj4hhhNhNubah}(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.hhM hj4ubj)}(hhh]h)}(hthe mount to checkh]hthe mount to check}(hj24hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.4hM hj/4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj.4hM hj4ubah}(h]h ]h"]h$]h&]uh1jhj3ubh)}(h**Description**h]j)}(hjT4h]h Description}(hjV4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR4ubah}(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 }(hjj4hhhNhNubj)}(h**mnt**h]hmnt}(hjr4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj4ubh has an non }(hjj4hhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj4ubh attached to it then }(hjj4hhhNhNubj)}(h**mnt**h]hmnt}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj4ubh is mapped.}(hjj4hhhNhNubeh}(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)}(hj4h]hReturn}(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)}(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](j)}(hvoidh]hvoid}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj2)}(h h]h }(hj5hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4hhhj5hM ubjC)}(hfile_start_writeh]jI)}(hfile_start_writeh]hfile_start_write}(hj5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj5ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj4hhhj5hM ubjv)}(h(struct file *file)h]j|)}(hstruct file *fileh](j )}(hjh]hstruct}(hj35hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj/5ubj2)}(h h]h }(hj@5hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/5ubh)}(hhh]jI)}(hfileh]hfile}(hjQ5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjN5ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjS5modnameN classnameNj@jC)}jF]jI)}j<j5sbc.file_start_writeasbuh1hhj/5ubj2)}(h h]h }(hjq5hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/5ubj)}(hjh]h*}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/5ubjI)}(hfileh]hfile}(hj5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/5ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj+5ubah}(h]h ]h"]h$]h&]j`jauh1juhj4hhhj5hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj4hhhj5hM ubah}(h]j4ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj5hM hj4hhubjw)}(hhh]h)}(h4get write access to a superblock for regular file ioh]h4get write access to a superblock for regular file io}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj5hhubah}(h]h ]h"]h$]h&]uh1jvhj4hhhj5hM 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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj 6hM hj 6ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj 6hM hj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubh)}(h**Description**h]j)}(hj26h]h Description}(hj46hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj06ubah}(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().}(hjH6hhhNhNubah}(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](j)}(hvoidh]hvoid}(hjw6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjs6hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjs6hhhj6hM ubjC)}(hfile_end_writeh]jI)}(hfile_end_writeh]hfile_end_write}(hj6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjs6hhhj6hM ubjv)}(h(struct file *file)h]j|)}(hstruct file *fileh](j )}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj6ubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6ubh)}(hhh]jI)}(hfileh]hfile}(hj6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj6modnameN classnameNj@jC)}jF]jI)}j<j6sbc.file_end_writeasbuh1hhj6ubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6ubj)}(hjh]h*}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubjI)}(hfileh]hfile}(hj 7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj6ubah}(h]h ]h"]h$]h&]j`jauh1juhjs6hhhj6hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjo6hhhj6hM ubah}(h]jj6ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj6hM hjl6hhubjw)}(hhh]h)}(h3drop write access to a superblock of a regular fileh]h3drop write access to a superblock of a regular file}(hj77hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj47hhubah}(h]h ]h"]h$]h&]uh1jvhjl6hhhj6hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjO7jjO7jjjuh1jhhhhhNhNubj)}(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)}(hjY7h]h Parameters}(hj[7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW7ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjS7ubj)}(hhh]j)}(h+``struct file *file`` the file we wrote to h](j)}(h``struct file *file``h]j)}(hjx7h]hstruct file *file}(hjz7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjr7ubj)}(hhh]h)}(hthe file we wrote toh]hthe file we wrote to}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hM hj7ubah}(h]h ]h"]h$]h&]uh1jhjr7ubeh}(h]h ]h"]h$]h&]uh1jhj7hM hjo7ubah}(h]h ]h"]h$]h&]uh1jhjS7ubh)}(h**Description**h]j)}(hj7h]h Description}(hj7hhhNhNubah}(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 hjS7ubh)}(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 hjS7ubeh}(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](j)}(hvoidh]hvoid}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj2)}(h h]h }(hj8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7hhhj8hM ubjC)}(hkiocb_start_writeh]jI)}(hkiocb_start_writeh]hkiocb_start_write}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj7hhhj8hM ubjv)}(h(struct kiocb *iocb)h]j|)}(hstruct kiocb *iocbh](j )}(hjh]hstruct}(hj58hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj18ubj2)}(h h]h }(hjB8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj18ubh)}(hhh]jI)}(hkiocbh]hkiocb}(hjS8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjP8ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjU8modnameN classnameNj@jC)}jF]jI)}j<j8sbc.kiocb_start_writeasbuh1hhj18ubj2)}(h h]h }(hjs8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj18ubj)}(hjh]h*}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj18ubjI)}(hiocbh]hiocb}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj18ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj-8ubah}(h]h ]h"]h$]h&]j`jauh1juhj7hhhj8hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj7hhhj8hM ubah}(h]j7ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj8hM 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 hj8hhubah}(h]h ]h"]h$]h&]uh1jvhj7hhhj8hM 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}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hM hj9ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj9hM hj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubh)}(h**Description**h]j)}(hj49h]h Description}(hj69hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj29ubah}(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().}(hjJ9hhhNhNubah}(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](j)}(hvoidh]hvoid}(hjy9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhju9hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj2)}(h h]h }(hj9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hju9hhhj9hM ubjC)}(hkiocb_end_writeh]jI)}(hkiocb_end_writeh]hkiocb_end_write}(hj9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj9ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhju9hhhj9hM ubjv)}(h(struct kiocb *iocb)h]j|)}(hstruct kiocb *iocbh](j )}(hjh]hstruct}(hj9hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj9ubj2)}(h h]h }(hj9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9ubh)}(hhh]jI)}(hkiocbh]hkiocb}(hj9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj9modnameN classnameNj@jC)}jF]jI)}j<j9sbc.kiocb_end_writeasbuh1hhj9ubj2)}(h h]h }(hj9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9ubj)}(hjh]h*}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubjI)}(hiocbh]hiocb}(hj:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj9ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj9ubah}(h]h ]h"]h$]h&]j`jauh1juhju9hhhj9hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjq9hhhj9hM ubah}(h]jl9ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj9hM hjn9hhubjw)}(hhh]h)}(h5drop write access to a superblock after async file ioh]h5drop write access to a superblock after async file io}(hj9:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj6:hhubah}(h]h ]h"]h$]h&]uh1jvhjn9hhhj9hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQ:jjQ: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&]uh1jhjY:ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjU:ubj)}(hhh]j)}(hB``struct kiocb *iocb`` the io context we sumbitted the write with h](j)}(h``struct kiocb *iocb``h]j)}(hjz:h]hstruct kiocb *iocb}(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.hhM hjt:ubj)}(hhh]h)}(h*the io context we sumbitted the write withh]h*the io context we sumbitted the write with}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hM hj:ubah}(h]h ]h"]h$]h&]uh1jhjt:ubeh}(h]h ]h"]h$]h&]uh1jhj:hM hjq:ubah}(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&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjU: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 hjU: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](j)}(hjh]hbool}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMT ubj2)}(h h]h }(hj;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj:hhhj;hMT 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;hMT ubjv)}(h(const char *name, size_t len)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hj6;hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj2;ubj2)}(h h]h }(hjC;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2;ubj)}(hcharh]hchar}(hjQ;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2;ubj2)}(h h]h }(hj_;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2;ubj)}(hjh]h*}(hjm;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2;ubjI)}(hnameh]hname}(hjz;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2;ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj.;ubj|)}(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 classnameNj@jC)}jF]jI)}j<j;sbc.name_is_dot_dotdotasbuh1hhj;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`jauh1j{hj.;ubeh}(h]h ]h"]h$]h&]j`jauh1juhj:hhhj;hMT ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj:hhhj;hMT ubah}(h]j:ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj;hMT 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.hhMT hj;hhubah}(h]h ]h"]h$]h&]uh1jvhj:hhhj;hMT 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.hhMX hj<ubj)}(hhh](j)}(h(``const char *name`` file name to check h](j)}(h``const char *name``h]j)}(hjA<h]hconst char *name}(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.hhMU hj;<ubj)}(hhh]h)}(hfile name to checkh]hfile name to check}(hjZ<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjV<hMU hjW<ubah}(h]h ]h"]h$]h&]uh1jhj;<ubeh}(h]h ]h"]h$]h&]uh1jhjV<hMU hj8<ubj)}(h,``size_t len`` length of file name, in bytesh](j)}(h``size_t len``h]j)}(hjz<h]h size_t len}(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.hhMW hjt<ubj)}(hhh]h)}(hlength of file name, in bytesh]hlength of file name, in bytes}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMV hj<ubah}(h]h ]h"]h$]h&]uh1jhjt<ubeh}(h]h ]h"]h$]h&]uh1jhj<hMW hj8<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](j)}(hjh]hbool}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<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_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<hM_ ubjv)}(h(const char *name)h]j|)}(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 =ubj)}(hcharh]hchar}(hj+=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj =ubj2)}(h h]h }(hj9=hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj =ubj)}(hjh]h*}(hjG=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj =ubjI)}(hnameh]hname}(hjT=hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj =ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj=ubah}(h]h ]h"]h$]h&]j`jauh1juhj<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)}(h2check if a file name contains ".." path componentsh]h6check if a file name contains “..” path components}(hj~=hhhNhNubah}(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)}(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)}(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.hhMc hj=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.hhM` 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=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=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](j)}(hvoidh]hvoid}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>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)}(hinode_dio_beginh]jI)}(hinode_dio_beginh]hinode_dio_begin}(hj9>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj5>ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj>hhhj&>hM@ ubjv)}(h(struct inode *inode)h]j|)}(hstruct inode *inodeh](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)}(hinodeh]hinode}(hjs>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjp>ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetju>modnameN classnameNj@jC)}jF]jI)}j<j;>sbc.inode_dio_beginasbuh1hhjQ>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)}(hinodeh]hinode}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQ>ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjM>ubah}(h]h ]h"]h$]h&]j`jauh1juhj>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%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.hhM@ hj>hhubah}(h]h ]h"]h$]h&]uh1jvhj >hhhj&>hM@ 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.hhMD 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.hhMA hj?ubj)}(hhh]h)}(hinode the direct I/O happens onh]hinode the direct I/O happens on}(hj2?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.?hMA hj/?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj.?hMA hj?ubah}(h]h ]h"]h$]h&]uh1jhj>ubh)}(h**Description**h]j)}(hjT?h]h Description}(hjV?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR?ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMC 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.}(hjj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMB 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](j)}(hvoidh]hvoid}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhML ubj2)}(h h]h }(hj?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj?hhhj?hML 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?hhhj?hML ubjv)}(h(struct inode *inode)h]j|)}(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 classnameNj@jC)}jF]jI)}j<j?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`jauh1j{hj?ubah}(h]h ]h"]h$]h&]j`jauh1juhj?hhhj?hML ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj?hhhj?hML ubah}(h]j?ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj?hML hj?hhubjw)}(hhh]h)}(h&signal finish of a direct I/O requestsh]h&signal finish of a direct I/O requests}(hjY@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhML hjV@hhubah}(h]h ]h"]h$]h&]uh1jvhj?hhhj?hML ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjq@jjq@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&]uh1jhjy@ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMP hju@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.hhMM 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@hMM hj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMM hj@ubah}(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&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMO hju@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.hhMN hju@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](j)}(hjh]hbool}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj2)}(h h]h }(hj(AhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAhhhj'AhM ubjC)}(hgeneric_ci_validate_strict_nameh]jI)}(hgeneric_ci_validate_strict_nameh]hgeneric_ci_validate_strict_name}(hj:AhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6Aubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjAhhhj'AhM ubjv)}(h,(struct inode *dir, const struct qstr *name)h](j|)}(hstruct inode *dirh](j )}(hjh]hstruct}(hjVAhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjRAubj2)}(h h]h }(hjcAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRAubh)}(hhh]jI)}(hinodeh]hinode}(hjtAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqAubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjvAmodnameN classnameNj@jC)}jF]jI)}j<jah"]h$]h&]uh1j1hjRAubj)}(hjh]h*}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRAubjI)}(hdirh]hdir}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRAubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjNAubj|)}(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}(hjBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjBmodnameN classnameNj@jC)}jF]jA!c.generic_ci_validate_strict_nameasbuh1hhjAubj2)}(h h]h }(hjBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAubj)}(hjh]h*}(hj-BhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubjI)}(hnameh]hname}(hj:BhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjNAubeh}(h]h ]h"]h$]h&]j`jauh1juhjAhhhj'AhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjAhhhj'AhM ubah}(h]j Aah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj'AhM hjAhhubjw)}(hhh]h)}(h1Check if a given name is suitable for a directoryh]h1Check if a given name is suitable for a directory}(hjdBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjaBhhubah}(h]h ]h"]h$]h&]uh1jvhjAhhhj'AhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|Bjj|Bjjjuh1jhhhhhNhNubj)}(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)}(hjBh]h Parameters}(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 hjBubj)}(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)}(hjBh]hstruct inode *dir}(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)}(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&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhM hjBubj)}(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 hjBubeh}(h]h ]h"]h$]h&]uh1jhjBubh)}(h**Description**h]j)}(hjCh]h Description}(hjChhhNhNubah}(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 hjBubh)}(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.}(hj/ChhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjBubh)}(h **Return**h]j)}(hj@Ch]hReturn}(hjBChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>Cubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjBubh 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}(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[ChjXCubj\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.}(hjzChhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjvCubah}(h]h ]h"]h$]h&]uh1j[ChjXCubeh}(h]h ]h"]h$]h&]bulletjuh1jVChjoChM hjBubeh}(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}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_drop (C function)c.d_drophNtauh1hhjChhhNhNubj)}(hhh](j)}(h#void d_drop (struct dentry *dentry)h]j)}(h"void d_drop(struct dentry *dentry)h](j)}(hvoidh]hvoid}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjChhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMPubj2)}(h h]h }(hjChhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjChhhjChMPubjC)}(hd_droph]jI)}(hd_droph]hd_drop}(hjChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjCubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjChhhjChMPubjv)}(h(struct dentry *dentry)h]j|)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hj DhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjDubj2)}(h h]h }(hjDhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjDubh)}(hhh]jI)}(hdentryh]hdentry}(hj*DhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'Dubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj,DmodnameN classnameNj@jC)}jF]jI)}j<jCsbc.d_dropasbuh1hhjDubj2)}(h h]h }(hjJDhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjDubj)}(hjh]h*}(hjXDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubjI)}(hdentryh]hdentry}(hjeDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjDubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjDubah}(h]h ]h"]h$]h&]j`jauh1juhjChhhjChMPubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjChhhjChMPubah}(h]jCah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjChMPhjChhubjw)}(hhh]h)}(h drop a dentryh]h drop a dentry}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMPhjDhhubah}(h]h ]h"]h$]h&]uh1jvhjChhhjChMPubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1jhhhjChNhNubj)}(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)}(hjDh]h Parameters}(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.chMThjDubj)}(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.chMQhjDubj)}(hhh]h)}(hdentry to droph]hdentry to drop}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMQhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhMQhjDubah}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMShjDubh)}(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.}(hj!EhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMRhjDubh)}(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).}(hj0EhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMXhjDubh)}(h __d_drop requires dentry->d_lockh]h __d_drop requires dentry->d_lock}(hj?EhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM[hjDubh)}(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).}(hjNEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM]hjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_find_any_alias (C function)c.d_find_any_aliashNtauh1hhjChhhNhNubj)}(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}(hj}EhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjyEhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM+ubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjyEhhhjEhM+ubh)}(hhh]jI)}(hdentryh]hdentry}(hjEhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjEmodnameN classnameNj@jC)}jF]jI)}j<d_find_any_aliassbc.d_find_any_aliasasbuh1hhjyEhhhjEhM+ubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjyEhhhjEhM+ubj)}(hjh]h*}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyEhhhjEhM+ubjC)}(hd_find_any_aliash]jI)}(hjEh]hd_find_any_alias}(hjEhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjyEhhhjEhM+ubjv)}(h(struct inode *inode)h]j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjEhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjEubj2)}(h h]h }(hjFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjEubh)}(hhh]jI)}(hinodeh]hinode}(hjFhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjFmodnameN classnameNj@jC)}jF]jEc.d_find_any_aliasasbuh1hhjEubj2)}(h h]h }(hj3FhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjEubj)}(hjh]h*}(hjAFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubjI)}(hinodeh]hinode}(hjNFhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjEubah}(h]h ]h"]h$]h&]j`jauh1juhjyEhhhjEhM+ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjuEhhhjEhM+ubah}(h]jpEah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjEhM+hjrEhhubjw)}(hhh]h)}(h find any alias for a given inodeh]h find any alias for a given inode}(hjxFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM+hjuFhhubah}(h]h ]h"]h$]h&]uh1jvhjrEhhhjEhM+ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1jhhhjChNhNubj)}(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)}(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)}(h3``struct inode *inode`` inode to find an alias for h](j)}(h``struct inode *inode``h]j)}(hjFh]hstruct inode *inode}(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)}(hinode to find an alias forh]hinode to find an alias for}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhM,hjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhM,hjFubah}(h]h ]h"]h$]h&]uh1jhjFubh)}(h**Description**h]j)}(hjFh]h Description}(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.hjFubh)}(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 }(hj GhhhNhNubj)}(h``NULL``h]hNULL}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Gubh.}(hj GhhhNhNubeh}(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&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_find_alias (C function)c.d_find_aliashNtauh1hhjChhhNhNubj)}(hhh](j)}(h2struct dentry * d_find_alias (struct inode *inode)h]j)}(h0struct dentry *d_find_alias(struct inode *inode)h](j )}(hjh]hstruct}(hjKGhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjGGhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMPubj2)}(h h]h }(hjYGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGGhhhjXGhMPubh)}(hhh]jI)}(hdentryh]hdentry}(hjjGhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjgGubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjlGmodnameN classnameNj@jC)}jF]jI)}j< d_find_aliassbc.d_find_aliasasbuh1hhjGGhhhjXGhMPubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGGhhhjXGhMPubj)}(hjh]h*}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGGhhhjXGhMPubjC)}(h d_find_aliash]jI)}(hjGh]h d_find_alias}(hjGhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjGGhhhjXGhMPubjv)}(h(struct inode *inode)h]j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjGubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGubh)}(hhh]jI)}(hinodeh]hinode}(hjGhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjGmodnameN classnameNj@jC)}jF]jGc.d_find_aliasasbuh1hhjGubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGubj)}(hjh]h*}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubjI)}(hinodeh]hinode}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjGubah}(h]h ]h"]h$]h&]j`jauh1juhjGGhhhjXGhMPubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjCGhhhjXGhMPubah}(h]j>Gah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjXGhMPhj@Ghhubjw)}(hhh]h)}(hgrab a hashed alias of inodeh]hgrab a hashed alias of inode}(hjFHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMPhjCHhhubah}(h]h ]h"]h$]h&]uh1jvhj@GhhhjXGhMPubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^Hjj^Hjjjuh1jhhhjChNhNubj)}(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)}(hjhHh]h Parameters}(hjjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfHubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMThjbHubj)}(hhh]j)}(h*``struct inode *inode`` inode in question h](j)}(h``struct inode *inode``h]j)}(hjHh]hstruct inode *inode}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMQhjHubj)}(hhh]h)}(hinode in questionh]hinode in question}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhMQhjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhMQhj~Hubah}(h]h ]h"]h$]h&]uh1jhjbHubh)}(h**Description**h]j)}(hjHh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMShjbHubh)}(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.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMRhjbHubh)}(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.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMYhjbHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  d_dispose_if_unused (C function)c.d_dispose_if_unusedhNtauh1hhjChhhNhNubj)}(hhh](j)}(hKvoid d_dispose_if_unused (struct dentry *dentry, struct list_head *dispose)h]j)}(hJvoid d_dispose_if_unused(struct dentry *dentry, struct list_head *dispose)h](j)}(hvoidh]hvoid}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj2)}(h h]h }(hj%IhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjIhhhj$IhMubjC)}(hd_dispose_if_unusedh]jI)}(hd_dispose_if_unusedh]hd_dispose_if_unused}(hj7IhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3Iubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjIhhhj$IhMubjv)}(h2(struct dentry *dentry, struct list_head *dispose)h](j|)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjSIhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjOIubj2)}(h h]h }(hj`IhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjOIubh)}(hhh]jI)}(hdentryh]hdentry}(hjqIhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjnIubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjsImodnameN classnameNj@jC)}jF]jI)}j<j9Isbc.d_dispose_if_unusedasbuh1hhjOIubj2)}(h h]h }(hjIhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjOIubj)}(hjh]h*}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOIubjI)}(hdentryh]hdentry}(hjIhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjOIubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjKIubj|)}(hstruct list_head *disposeh](j )}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjIubj2)}(h h]h }(hjIhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjIubh)}(hhh]jI)}(h list_headh]h list_head}(hjIhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjIubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjImodnameN classnameNj@jC)}jF]jIc.d_dispose_if_unusedasbuh1hhjIubj2)}(h h]h }(hjJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjIubj)}(hjh]h*}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubjI)}(hdisposeh]hdispose}(hjJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjIubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjKIubeh}(h]h ]h"]h$]h&]j`jauh1juhjIhhhj$IhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjIhhhj$IhMubah}(h]j Iah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj$IhMhj Ihhubjw)}(hhh]h)}(h)move unreferenced dentries to shrink listh]h)move unreferenced dentries to shrink list}(hjFJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjCJhhubah}(h]h ]h"]h$]h&]uh1jvhj Ihhhj$IhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^Jjj^Jjjjuh1jhhhjChNhNubj)}(hX>**Parameters** ``struct dentry *dentry`` dentry in question ``struct list_head *dispose`` head of shrink list **Description** If dentry has no external references, move it to shrink list. NOTE!!! The caller is responsible for preventing eviction of the dentry by holding dentry->d_inode->i_lock or equivalent.h](h)}(h**Parameters**h]j)}(hjhJh]h Parameters}(hjjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfJubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjbJubj)}(hhh](j)}(h-``struct dentry *dentry`` dentry in question h](j)}(h``struct dentry *dentry``h]j)}(hjJh]hstruct dentry *dentry}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjJubj)}(hhh]h)}(hdentry in questionh]hdentry in question}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMhj~Jubj)}(h2``struct list_head *dispose`` head of shrink list h](j)}(h``struct list_head *dispose``h]j)}(hjJh]hstruct list_head *dispose}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjJubj)}(hhh]h)}(hhead of shrink listh]hhead of shrink list}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMhj~Jubeh}(h]h ]h"]h$]h&]uh1jhjbJubh)}(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.chMhjbJubh)}(h=If dentry has no external references, move it to shrink list.h]h=If dentry has no external references, move it to shrink list.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjbJubh)}(hyNOTE!!! The caller is responsible for preventing eviction of the dentry by holding dentry->d_inode->i_lock or equivalent.h]hyNOTE!!! The caller is responsible for preventing eviction of the dentry by holding dentry->d_inode->i_lock or equivalent.}(hj KhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjbJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j shrink_dcache_sb (C function)c.shrink_dcache_sbhNtauh1hhjChhhNhNubj)}(hhh](j)}(h.void shrink_dcache_sb (struct super_block *sb)h]j)}(h-void shrink_dcache_sb(struct super_block *sb)h](j)}(hvoidh]hvoid}(hjOKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKKhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM2ubj2)}(h h]h }(hj^KhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjKKhhhj]KhM2ubjC)}(hshrink_dcache_sbh]jI)}(hshrink_dcache_sbh]hshrink_dcache_sb}(hjpKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlKubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjKKhhhj]KhM2ubjv)}(h(struct super_block *sb)h]j|)}(hstruct super_block *sbh](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 super_blockh]h super_block}(hjKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjKubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjKmodnameN classnameNj@jC)}jF]jI)}j<jrKsbc.shrink_dcache_sbasbuh1hhjKubj2)}(h h]h }(hjKhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjKubj)}(hjh]h*}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubjI)}(hsbh]hsb}(hjKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjKubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjKubah}(h]h ]h"]h$]h&]j`jauh1juhjKKhhhj]KhM2ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjGKhhhj]KhM2ubah}(h]jBKah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj]KhM2hjDKhhubjw)}(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.chM2hj Lhhubah}(h]h ]h"]h$]h&]uh1jvhjDKhhhj]KhM2ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'Ljj'Ljjjuh1jhhhjChNhNubj)}(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)}(hj1Lh]h Parameters}(hj3LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Lubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM6hj+Lubj)}(hhh]j)}(h&``struct super_block *sb`` superblock h](j)}(h``struct super_block *sb``h]j)}(hjPLh]hstruct super_block *sb}(hjRLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNLubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM3hjJLubj)}(hhh]h)}(h superblockh]h superblock}(hjiLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjeLhM3hjfLubah}(h]h ]h"]h$]h&]uh1jhjJLubeh}(h]h ]h"]h$]h&]uh1jhjeLhM3hjGLubah}(h]h ]h"]h$]h&]uh1jhj+Lubh)}(h**Description**h]j)}(hjLh]h Description}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM5hj+Lubh)}(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.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM4hj+Lubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j path_has_submounts (C function)c.path_has_submountshNtauh1hhjChhhNhNubj)}(hhh](j)}(h2int path_has_submounts (const struct path *parent)h]j)}(h1int path_has_submounts(const struct path *parent)h](j)}(hinth]hint}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLhhhjLhMubjC)}(hpath_has_submountsh]jI)}(hpath_has_submountsh]hpath_has_submounts}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjLhhhjLhMubjv)}(h(const struct path *parent)h]j|)}(hconst struct path *parenth](j )}(hjh]hconst}(hj MhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj Mubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj Mubj )}(hjh]hstruct}(hj(MhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj Mubj2)}(h h]h }(hj5MhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj Mubh)}(hhh]jI)}(hpathh]hpath}(hjFMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjCMubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjHMmodnameN classnameNj@jC)}jF]jI)}j<jLsbc.path_has_submountsasbuh1hhj Mubj2)}(h h]h }(hjfMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj Mubj)}(hjh]h*}(hjtMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj MubjI)}(hparenth]hparent}(hjMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj Mubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjMubah}(h]h ]h"]h$]h&]j`jauh1juhjLhhhjLhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjLhhhjLhMubah}(h]jLah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjLhMhjLhhubjw)}(hhh]h)}(h8check for mounts over a dentry in the current namespace.h]h8check for mounts over a dentry in the current namespace.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjMhhubah}(h]h ]h"]h$]h&]uh1jvhjLhhhjLhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjMjjMjjjuh1jhhhjChNhNubj)}(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)}(hjMh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjMubj)}(hhh]j)}(h-``const struct path *parent`` path to check. h](j)}(h``const struct path *parent``h]j)}(hjMh]hconst struct path *parent}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjMubj)}(hhh]h)}(hpath to check.h]hpath to check.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhMhjNubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjMubah}(h]h ]h"]h$]h&]uh1jhjMubh)}(h**Description**h]j)}(hj'Nh]h Description}(hj)NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Nubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjMubh)}(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=NhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjMubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_invalidate (C function)c.d_invalidatehNtauh1hhjChhhNhNubj)}(hhh](j)}(h)void d_invalidate (struct dentry *dentry)h]j)}(h(void d_invalidate(struct dentry *dentry)h](j)}(hvoidh]hvoid}(hjlNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhNhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj2)}(h h]h }(hj{NhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhNhhhjzNhMubjC)}(h d_invalidateh]jI)}(h d_invalidateh]h d_invalidate}(hjNhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhNhhhjzNhMubjv)}(h(struct dentry *dentry)h]j|)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjNubj2)}(h h]h }(hjNhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjNubh)}(hhh]jI)}(hdentryh]hdentry}(hjNhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjNmodnameN classnameNj@jC)}jF]jI)}j<jNsbc.d_invalidateasbuh1hhjNubj2)}(h h]h }(hjNhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjNubj)}(hjh]h*}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubjI)}(hdentryh]hdentry}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjNubah}(h]h ]h"]h$]h&]j`jauh1juhjhNhhhjzNhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjdNhhhjzNhMubah}(h]j_Nah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjzNhMhjaNhhubjw)}(hhh]h)}(h(detach submounts, prune dcache, and droph]h(detach submounts, prune dcache, and drop}(hj,OhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj)Ohhubah}(h]h ]h"]h$]h&]uh1jvhjaNhhhjzNhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDOjjDOjjjuh1jhhhjChNhNubj)}(h]**Parameters** ``struct dentry *dentry`` dentry to invalidate (aka detach, prune and drop)h](h)}(h**Parameters**h]j)}(hjNOh]h Parameters}(hjPOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLOubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjHOubj)}(hhh]j)}(hK``struct dentry *dentry`` dentry to invalidate (aka detach, prune and drop)h](j)}(h``struct dentry *dentry``h]j)}(hjmOh]hstruct dentry *dentry}(hjoOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkOubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjgOubj)}(hhh]h)}(h1dentry to invalidate (aka detach, prune and drop)h]h1dentry to invalidate (aka detach, prune and drop)}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjOubah}(h]h ]h"]h$]h&]uh1jhjgOubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjdOubah}(h]h ]h"]h$]h&]uh1jhjHOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_alloc (C function) c.d_allochNtauh1hhjChhhNhNubj)}(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}(hjOhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjOhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMTubj2)}(h h]h }(hjOhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjOhhhjOhMTubh)}(hhh]jI)}(hdentryh]hdentry}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjOubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjOmodnameN classnameNj@jC)}jF]jI)}j<d_allocsb c.d_allocasbuh1hhjOhhhjOhMTubj2)}(h h]h }(hjPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjOhhhjOhMTubj)}(hjh]h*}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOhhhjOhMTubjC)}(hd_alloch]jI)}(hjPh]hd_alloc}(hj&PhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj"Pubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjOhhhjOhMTubjv)}(h0(struct dentry *parent, const struct qstr *name)h](j|)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjAPhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj=Pubj2)}(h h]h }(hjNPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=Pubh)}(hhh]jI)}(hdentryh]hdentry}(hj_PhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\Pubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjaPmodnameN classnameNj@jC)}jF]jP c.d_allocasbuh1hhj=Pubj2)}(h h]h }(hj}PhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=Pubj)}(hjh]h*}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=PubjI)}(hparenth]hparent}(hjPhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj=Pubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj9Pubj|)}(hconst struct qstr *nameh](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 }(hjPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPubh)}(hhh]jI)}(hqstrh]hqstr}(hjPhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjPmodnameN classnameNj@jC)}jF]jP c.d_allocasbuh1hhjPubj2)}(h h]h }(hjQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPubj)}(hjh]h*}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubjI)}(hnameh]hname}(hj#QhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj9Pubeh}(h]h ]h"]h$]h&]j`jauh1juhjOhhhjOhMTubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjOhhhjOhMTubah}(h]jOah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjOhMThjOhhubjw)}(hhh]h)}(hallocate a dcache entryh]hallocate a dcache entry}(hjMQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMThjJQhhubah}(h]h ]h"]h$]h&]uh1jvhjOhhhjOhMTubeh}(h]h ](jfunctioneh"]h$]h&]jjjjeQjjeQjjjuh1jhhhjChNhNubj)}(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)}(hjoQh]h Parameters}(hjqQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmQubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMXhjiQubj)}(hhh](j)}(h7``struct dentry * parent`` parent of entry to allocate h](j)}(h``struct dentry * parent``h]j)}(hjQh]hstruct dentry * parent}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMUhjQubj)}(hhh]h)}(hparent of entry to allocateh]hparent of entry to allocate}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhMUhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMUhjQubj)}(h-``const struct qstr *name`` qstr of the name h](j)}(h``const struct qstr *name``h]j)}(hjQh]hconst struct qstr *name}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMVhjQubj)}(hhh]h)}(hqstr of the nameh]hqstr of the name}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhMVhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMVhjQubeh}(h]h ]h"]h$]h&]uh1jhjiQubh)}(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.chMXhjiQubh)}(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}(hj RhhhNhNubah}(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.chMWhjiQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_instantiate (C function)c.d_instantiatehNtauh1hhjChhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjYRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjURhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj2)}(h h]h }(hjhRhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjURhhhjgRhM ubjC)}(h d_instantiateh]jI)}(h d_instantiateh]h d_instantiate}(hjzRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjvRubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjURhhhjgRhM ubjv)}(h+(struct dentry *entry, struct inode *inode)h](j|)}(hstruct dentry *entryh](j )}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjRubj2)}(h h]h }(hjRhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRubh)}(hhh]jI)}(hdentryh]hdentry}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjRmodnameN classnameNj@jC)}jF]jI)}j<j|Rsbc.d_instantiateasbuh1hhjRubj2)}(h h]h }(hjRhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRubj)}(hjh]h*}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubjI)}(hentryh]hentry}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjRubj|)}(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}(hj&ShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#Subah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj(SmodnameN classnameNj@jC)}jF]jRc.d_instantiateasbuh1hhjSubj2)}(h h]h }(hjDShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjSubj)}(hjh]h*}(hjRShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubjI)}(hinodeh]hinode}(hj_ShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjRubeh}(h]h ]h"]h$]h&]j`jauh1juhjURhhhjgRhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjQRhhhjgRhM ubah}(h]jLRah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjgRhM hjNRhhubjw)}(hhh]h)}(h&fill in inode information for a dentryh]h&fill in inode information for a dentry}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjShhubah}(h]h ]h"]h$]h&]uh1jvhjNRhhhjgRhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSjjSjjjuh1jhhhjChNhNubj)}(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)}(hjSh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjSubj)}(hhh](j)}(h,``struct dentry *entry`` dentry to complete h](j)}(h``struct dentry *entry``h]j)}(hjSh]hstruct dentry *entry}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjSubj)}(hhh]h)}(hdentry to completeh]hdentry to complete}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShM hjSubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjShM hjSubj)}(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.chM hjSubj)}(hhh]h)}(hinode to attach to this dentryh]hinode to attach to this dentry}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThM hjTubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjThM hjSubeh}(h]h ]h"]h$]h&]uh1jhjSubh)}(h**Description**h]j)}(hj>Th]h Description}(hj@ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjah"]h$]h&]uh1j1hjThhhjThMubh)}(hhh]jI)}(hdentryh]hdentry}(hjThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjTubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjTmodnameN classnameNj@jC)}jF]jI)}j<d_obtain_aliassbc.d_obtain_aliasasbuh1hhjThhhjThMubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjThhhjThMubj)}(hjh]h*}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhjThMubjC)}(hd_obtain_aliash]jI)}(hjTh]hd_obtain_alias}(hjUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjTubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjThhhjThMubjv)}(h(struct inode *inode)h]j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjUubj2)}(h h]h }(hj(UhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjUubh)}(hhh]jI)}(hinodeh]hinode}(hj9UhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6Uubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj;UmodnameN classnameNj@jC)}jF]jTc.d_obtain_aliasasbuh1hhjUubj2)}(h h]h }(hjWUhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjUubj)}(hjh]h*}(hjeUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubjI)}(hinodeh]hinode}(hjrUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjUubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjUubah}(h]h ]h"]h$]h&]j`jauh1juhjThhhjThMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjThhhjThMubah}(h]jTah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjThMhjThhubjw)}(hhh]h)}(h8find or allocate a DISCONNECTED dentry for a given inodeh]h8find or allocate a DISCONNECTED dentry for a given inode}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjUhhubah}(h]h ]h"]h$]h&]uh1jvhjThhhjThMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1jhhhjChNhNubj)}(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)}(hjUh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjUubj)}(hhh]j)}(h9``struct inode *inode`` inode to allocate the dentry for h](j)}(h``struct inode *inode``h]j)}(hjUh]hstruct inode *inode}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjUubj)}(hhh]h)}(h inode to allocate the dentry forh]h inode to allocate the dentry for}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhMhjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjUubah}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjUubh)}(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).}(hj.VhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjUubh)}(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=VhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjUubh)}(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 }(hjLVhhhNhNubj)}(h``NULL``h]hNULL}(hjTVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLVubh_ or IS_ERR inode may be passed in and the error will be propagated to the return value, with a }(hjLVhhhNhNubj)}(h``NULL``h]hNULL}(hjfVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLVubh }(hjLVhhhNhNubj)}(h **inode**h]hinode}(hjxVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLVubh replaced by ERR_PTR(-ESTALE).}(hjLVhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_obtain_root (C function)c.d_obtain_roothNtauh1hhjChhhNhNubj)}(hhh](j)}(h3struct dentry * d_obtain_root (struct inode *inode)h]j)}(h1struct dentry *d_obtain_root(struct inode *inode)h](j )}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjVhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj2)}(h h]h }(hjVhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVhhhjVhMubh)}(hhh]jI)}(hdentryh]hdentry}(hjVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjVmodnameN classnameNj@jC)}jF]jI)}j< d_obtain_rootsbc.d_obtain_rootasbuh1hhjVhhhjVhMubj2)}(h h]h }(hjVhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVhhhjVhMubj)}(hjh]h*}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVhhhjVhMubjC)}(h d_obtain_rooth]jI)}(hjVh]h d_obtain_root}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj Wubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjVhhhjVhMubjv)}(h(struct inode *inode)h]j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj+WhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj'Wubj2)}(h h]h }(hj8WhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'Wubh)}(hhh]jI)}(hinodeh]hinode}(hjIWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFWubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjKWmodnameN classnameNj@jC)}jF]jVc.d_obtain_rootasbuh1hhj'Wubj2)}(h h]h }(hjgWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'Wubj)}(hjh]h*}(hjuWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'WubjI)}(hinodeh]hinode}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'Wubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj#Wubah}(h]h ]h"]h$]h&]j`jauh1juhjVhhhjVhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjVhhhjVhMubah}(h]jVah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjVhMhjVhhubjw)}(hhh]h)}(h+find or allocate a dentry for a given inodeh]h+find or allocate a dentry for a given inode}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjWhhubah}(h]h ]h"]h$]h&]uh1jvhjVhhhjVhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjWjjWjjjuh1jhhhjChNhNubj)}(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)}(hjWh]h Parameters}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjWubj)}(hhh]j)}(h9``struct inode *inode`` inode to allocate the dentry for h](j)}(h``struct inode *inode``h]j)}(hjWh]hstruct inode *inode}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjWubj)}(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&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjWubah}(h]h ]h"]h$]h&]uh1jhjWubh)}(h**Description**h]j)}(hj(Xh]h Description}(hj*XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&Xubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjWubh)}(h6Obtain an IS_ROOT dentry for the root of a filesystem.h]h6Obtain an IS_ROOT dentry for the root of a filesystem.}(hj>XhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjWubh)}(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.}(hjMXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjWubh)}(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\XhhhNhNubj)}(h``NULL``h]hNULL}(hjdXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\Xubhf or IS_ERR inode may be passed in and will be the error will be propagate to the return value, with a }(hj\XhhhNhNubj)}(h``NULL``h]hNULL}(hjvXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\Xubh }(hj\XhhhNhNubj)}(h **inode**h]hinode}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\Xubh replaced by ERR_PTR(-ESTALE).}(hj\XhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_add_ci (C function) c.d_add_cihNtauh1hhjChhhNhNubj)}(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}(hjXhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjXhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj2)}(h h]h }(hjXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXhhhjXhMubh)}(hhh]jI)}(hdentryh]hdentry}(hjXhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjXmodnameN classnameNj@jC)}jF]jI)}j<d_add_cisb c.d_add_ciasbuh1hhjXhhhjXhMubj2)}(h h]h }(hjYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXhhhjXhMubj)}(hjh]h*}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXhhhjXhMubjC)}(hd_add_cih]jI)}(hjXh]hd_add_ci}(hj YhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjXhhhjXhMubjv)}(h?(struct dentry *dentry, struct inode *inode, struct qstr *name)h](j|)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hj;YhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj7Yubj2)}(h h]h }(hjHYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7Yubh)}(hhh]jI)}(hdentryh]hdentry}(hjYYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVYubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj[YmodnameN classnameNj@jC)}jF]jX c.d_add_ciasbuh1hhj7Yubj2)}(h h]h }(hjwYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7Yubj)}(hjh]h*}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7YubjI)}(hdentryh]hdentry}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7Yubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj3Yubj|)}(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 classnameNj@jC)}jF]jX c.d_add_ciasbuh1hhjYubj2)}(h h]h }(hjYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubj)}(hjh]h*}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubjI)}(hinodeh]hinode}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj3Yubj|)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjZubj2)}(h h]h }(hj(ZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjZubh)}(hhh]jI)}(hqstrh]hqstr}(hj9ZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6Zubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj;ZmodnameN classnameNj@jC)}jF]jX c.d_add_ciasbuh1hhjZubj2)}(h h]h }(hjWZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjZubj)}(hjh]h*}(hjeZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubjI)}(hnameh]hname}(hjrZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjZubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj3Yubeh}(h]h ]h"]h$]h&]j`jauh1juhjXhhhjXhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjXhhhjXhMubah}(h]jXah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjXhMhjXhhubjw)}(hhh]h)}(h2lookup or allocate new dentry with case-exact nameh]h2lookup or allocate new dentry with case-exact name}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjZhhubah}(h]h ]h"]h$]h&]uh1jvhjXhhhjXhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1jhhhjChNhNubj)}(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)}(hjZh]h Parameters}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjZubj)}(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)}(hjZh]hstruct dentry *dentry}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjZubj)}(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}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhMhjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjZubj)}(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.chMhj[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+[hMhj,[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj+[hMhjZubj)}(hT``struct qstr *name`` the case-exact name to be associated with the returned dentry h](j)}(h``struct qstr *name``h]j)}(hjO[h]hstruct qstr *name}(hjQ[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM[ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjI[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}(hjh[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjd[hMhje[ubah}(h]h ]h"]h$]h&]uh1jhjI[ubeh}(h]h ]h"]h$]h&]uh1jhjd[hMhjZubeh}(h]h ]h"]h$]h&]uh1jhjZubh)}(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:20: ./fs/dcache.chMhjZubh)}(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.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjZubh)}(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.chMhjZubh)}(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.chMhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_same_name (C function) c.d_same_namehNtauh1hhjChhhNhNubj)}(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](j)}(hjh]hbool}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj2)}(h h]h }(hj[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj[hhhj[hMubjC)}(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[hMubjv)}(hS(const struct dentry *dentry, const struct dentry *parent, const struct qstr *name)h](j|)}(hconst struct dentry *dentryh](j )}(hjh]hconst}(hj)\hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj%\ubj2)}(h h]h }(hj6\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%\ubj )}(hjh]hstruct}(hjD\hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj%\ubj2)}(h h]h }(hjQ\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%\ubh)}(hhh]jI)}(hdentryh]hdentry}(hjb\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_\ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjd\modnameN classnameNj@jC)}jF]jI)}j<j\sb 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)}(hdentryh]hdentry}(hj\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%\ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj!\ubj|)}(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 classnameNj@jC)}jF]j~\ 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`jauh1j{hj!\ubj|)}(hconst struct qstr *nameh](j )}(hjh]hconst}(hjA]hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj=]ubj2)}(h h]h }(hjN]hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=]ubj )}(hjh]hstruct}(hj\]hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj=]ubj2)}(h h]h }(hji]hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=]ubh)}(hhh]jI)}(hqstrh]hqstr}(hjz]hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjw]ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj|]modnameN classnameNj@jC)}jF]j~\ 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)}(hnameh]hname}(hj]hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj=]ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj!\ubeh}(h]h ]h"]h$]h&]j`jauh1juhj[hhhj[hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj[hhhj[hMubah}(h]j[ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj[hMhj[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.chMhj]hhubah}(h]h ]h"]h$]h&]uh1jvhj[hhhj[hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1jhhhjChNhNubj)}(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.chMhj]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.chMhj^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}(hj7^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3^hMhj4^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj3^hMhj^ubj)}(h.``const struct dentry *parent`` parent dentry h](j)}(h``const struct dentry *parent``h]j)}(hjW^h]hconst struct dentry *parent}(hjY^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU^ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjQ^ubj)}(hhh]h)}(h parent dentryh]h parent dentry}(hjp^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjl^hMhjm^ubah}(h]h ]h"]h$]h&]uh1jhjQ^ubeh}(h]h ]h"]h$]h&]uh1jhjl^hMhj^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}(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.chMhj^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}(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 **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.chMhj]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.chMhj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_lookup (C function) c.d_lookuphNtauh1hhjChhhNhNubj)}(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< reftargetj1_modnameN classnameNj@jC)}jF]jI)}j<d_lookupsb c.d_lookupasbuh1hhj _hhhj_hM ubj2)}(h h]h }(hjP_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)}(hjM_h]hd_lookup}(hjo_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjk_ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj _hhhj_hM ubjv)}(h6(const struct dentry *parent, const struct qstr *name)h](j|)}(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 classnameNj@jC)}jF]jK_ c.d_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`jauh1j{hj_ubj|)}(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}(hj0`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}(hjN`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjK`ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjP`modnameN classnameNj@jC)}jF]jK_ c.d_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)}(hnameh]hname}(hj`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj_ubeh}(h]h ]h"]h$]h&]j`jauh1juhj _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}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj`hhubah}(h]h ]h"]h$]h&]uh1jvhj_hhhj_hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1jhhhjChNhNubj)}(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)}(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)}(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.chM hj`ubj)}(hhh]h)}(h parent dentryh]h parent dentry}(hj ahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahM hjaubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhjahM hj`ubj)}(h9``const struct qstr *name`` qstr of name we wish to find h](j)}(h``const struct qstr *name``h]j)}(hj+ah]hconst struct qstr *name}(hj-ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)aubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj%aubj)}(hhh]h)}(hqstr of name we wish to findh]hqstr of name we wish to find}(hjDahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@ahM hjAaubah}(h]h ]h"]h$]h&]uh1jhj%aubeh}(h]h ]h"]h$]h&]uh1jhj@ahM hj`ubeh}(h]h ]h"]h$]h&]uh1jhj`ubh)}(h **Return**h]j)}(hjfah]hReturn}(hjhahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdaubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj`ubh)}(hdentry, or NULLh]hdentry, or NULL}(hj|ahhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj`ubh)}(h**Description**h]j)}(hjah]h Description}(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 hj`ubh)}(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. }(hjahhhNhNubj)}(h``NULL``h]hNULL}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh* is returned if the dentry does not exist.}(hjahhhNhNubeh}(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&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_delete (C function) c.d_deletehNtauh1hhjChhhNhNubj)}(hhh](j)}(h&void d_delete (struct dentry * dentry)h]j)}(h$void d_delete(struct dentry *dentry)h](j)}(hvoidh]hvoid}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj2)}(h h]h }(hjahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjahhhjahM ubjC)}(hd_deleteh]jI)}(hd_deleteh]hd_delete}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjahhhjahM ubjv)}(h(struct dentry *dentry)h]j|)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hj!bhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjbubj2)}(h h]h }(hj.bhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbubh)}(hhh]jI)}(hdentryh]hdentry}(hj?bhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjah"]h$]h&]uh1j1hjbubj)}(hjh]h*}(hjmbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubjI)}(hdentryh]hdentry}(hjzbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjbubah}(h]h ]h"]h$]h&]j`jauh1juhjahhhjahM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjahhhjahM ubah}(h]jaah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjahM hjahhubjw)}(hhh]h)}(hdelete a dentryh]hdelete a dentry}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjbhhubah}(h]h ]h"]h$]h&]uh1jvhjahhhjahM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1jhhhjChNhNubj)}(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)}(hjbh]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjbubj)}(hhh]j)}(h0``struct dentry * dentry`` The dentry to delete h](j)}(h``struct dentry * dentry``h]j)}(hjbh]hstruct dentry * dentry}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjbubj)}(hhh]h)}(hThe dentry to deleteh]hThe dentry to delete}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhM hjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhM hjbubah}(h]h ]h"]h$]h&]uh1jhjbubh)}(h**Description**h]j)}(hj ch]h Description}(hj"chhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjbubh)}(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}(hj6chhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_rehash (C function) c.d_rehashhNtauh1hhjChhhNhNubj)}(hhh](j)}(h%void d_rehash (struct dentry * entry)h]j)}(h#void d_rehash(struct dentry *entry)h](j)}(hvoidh]hvoid}(hjechhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjachhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM8 ubj2)}(h h]h }(hjtchhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjachhhjschM8 ubjC)}(hd_rehashh]jI)}(hd_rehashh]hd_rehash}(hjchhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjcubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjachhhjschM8 ubjv)}(h(struct dentry *entry)h]j|)}(hstruct dentry *entryh](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 classnameNj@jC)}jF]jI)}j<jcsb c.d_rehashasbuh1hhjcubj2)}(h h]h }(hjchhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubj)}(hjh]h*}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubjI)}(hentryh]hentry}(hjchhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjcubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjcubah}(h]h ]h"]h$]h&]j`jauh1juhjachhhjschM8 ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj]chhhjschM8 ubah}(h]jXcah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjschM8 hjZchhubjw)}(hhh]h)}(hadd an entry back to the hashh]hadd an entry back to the hash}(hj%dhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM8 hj"dhhubah}(h]h ]h"]h$]h&]uh1jvhjZchhhjschM8 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=djj=djjjuh1jhhhjChNhNubj)}(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)}(hjGdh]h Parameters}(hjIdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEdubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM< hjAdubj)}(hhh]j)}(h4``struct dentry * entry`` dentry to add to the hash h](j)}(h``struct dentry * entry``h]j)}(hjfdh]hstruct dentry * entry}(hjhdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjddubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM9 hj`dubj)}(hhh]h)}(hdentry to add to the hashh]hdentry to add to the hash}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{dhM9 hj|dubah}(h]h ]h"]h$]h&]uh1jhj`dubeh}(h]h ]h"]h$]h&]uh1jhj{dhM9 hj]dubah}(h]h ]h"]h$]h&]uh1jhjAdubh)}(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.chM; hjAdubh)}(h0Adds a dentry to the hash according to its name.h]h0Adds a dentry to the hash according to its name.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM: hjAdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_add (C function)c.d_addhNtauh1hhjChhhNhNubj)}(hhh](j)}(h6void d_add (struct dentry *entry, struct inode *inode)h]j)}(h5void d_add(struct dentry *entry, struct inode *inode)h](j)}(hvoidh]hvoid}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj2)}(h h]h }(hjdhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdhhhjdhM ubjC)}(hd_addh]jI)}(hd_addh]hd_add}(hjehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjdhhhjdhM ubjv)}(h+(struct dentry *entry, struct inode *inode)h](j|)}(hstruct dentry *entryh](j )}(hjh]hstruct}(hj#ehhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjeubj2)}(h h]h }(hj0ehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjeubh)}(hhh]jI)}(hdentryh]hdentry}(hjAehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj>eubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjCemodnameN classnameNj@jC)}jF]jI)}j<j esbc.d_addasbuh1hhjeubj2)}(h h]h }(hjaehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjeubj)}(hjh]h*}(hjoehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubjI)}(hentryh]hentry}(hj|ehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjeubj|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjehhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjeubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjeubh)}(hhh]jI)}(hinodeh]hinode}(hjehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjemodnameN classnameNj@jC)}jF]j]ec.d_addasbuh1hhjeubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjeubj)}(hjh]h*}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubjI)}(hinodeh]hinode}(hjehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjeubeh}(h]h ]h"]h$]h&]j`jauh1juhjdhhhjdhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjdhhhjdhM ubah}(h]jdah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjdhM hjdhhubjw)}(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&]uh1jvhjdhhhjdhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.fjj.fjjjuh1jhhhjChNhNubj)}(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)}(hj8fh]h Parameters}(hj:fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6fubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM! hj2fubj)}(hhh](j)}(h'``struct dentry *entry`` dentry to add h](j)}(h``struct dentry *entry``h]j)}(hjWfh]hstruct dentry *entry}(hjYfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUfubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjQfubj)}(hhh]h)}(h dentry to addh]h dentry to add}(hjpfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlfhM hjmfubah}(h]h ]h"]h$]h&]uh1jhjQfubeh}(h]h ]h"]h$]h&]uh1jhjlfhM hjNfubj)}(h;``struct inode *inode`` The inode to attach to this dentry h](j)}(h``struct inode *inode``h]j)}(hjfh]hstruct inode *inode}(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 inode to attach to this dentryh]h"The inode to attach to this dentry}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhM hjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhM hjNfubeh}(h]h ]h"]h$]h&]uh1jhj2fubh)}(h**Description**h]j)}(hjfh]h Description}(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! hj2fubh)}(h|This adds the entry to the hash queues and initializes **inode**. The entry was actually filled in earlier during d_alloc().h](h7This adds the entry to the hash queues and initializes }(hjfhhhNhNubj)}(h **inode**h]hinode}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh<. The entry was actually filled in earlier during d_alloc().}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj2fubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_splice_alias (C function)c.d_splice_aliashNtauh1hhjChhhNhNubj)}(hhh](j)}(hKstruct dentry * d_splice_alias (struct inode *inode, struct dentry *dentry)h]j)}(hIstruct dentry *d_splice_alias(struct inode *inode, struct dentry *dentry)h](j )}(hjh]hstruct}(hj"ghhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjghhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMn ubj2)}(h h]h }(hj0ghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjghhhj/ghMn ubh)}(hhh]jI)}(hdentryh]hdentry}(hjAghhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj>gubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjCgmodnameN classnameNj@jC)}jF]jI)}j<d_splice_aliassbc.d_splice_aliasasbuh1hhjghhhj/ghMn ubj2)}(h h]h }(hjbghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjghhhj/ghMn ubj)}(hjh]h*}(hjpghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjghhhj/ghMn ubjC)}(hd_splice_aliash]jI)}(hj_gh]hd_splice_alias}(hjghhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}gubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjghhhj/ghMn ubjv)}(h,(struct inode *inode, struct dentry *dentry)h](j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjghhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjgubj2)}(h h]h }(hjghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjgubh)}(hhh]jI)}(hinodeh]hinode}(hjghhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjgubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjgmodnameN classnameNj@jC)}jF]j]gc.d_splice_aliasasbuh1hhjgubj2)}(h h]h }(hjghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjgubj)}(hjh]h*}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubjI)}(hinodeh]hinode}(hjghhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjgubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjgubj|)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hj hhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhubj2)}(h h]h }(hjhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubh)}(hhh]jI)}(hdentryh]hdentry}(hj*hhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'hubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj,hmodnameN classnameNj@jC)}jF]j]gc.d_splice_aliasasbuh1hhjhubj2)}(h h]h }(hjHhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubj)}(hjh]h*}(hjVhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubjI)}(hdentryh]hdentry}(hjchhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjgubeh}(h]h ]h"]h$]h&]j`jauh1juhjghhhj/ghMn ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjghhhj/ghMn ubah}(h]jgah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj/ghMn hjghhubjw)}(hhh]h)}(h8splice a disconnected dentry into the tree if one existsh]h8splice a disconnected dentry into the tree if one exists}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMn hjhhhubah}(h]h ]h"]h$]h&]uh1jvhjghhhj/ghMn ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1jhhhjChNhNubj)}(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)}(hjhh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMr hjhubj)}(hhh](j)}(hG``struct inode *inode`` the inode which may have a disconnected dentry h](j)}(h``struct inode *inode``h]j)}(hjhh]hstruct inode *inode}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMo hjhubj)}(hhh]h)}(h.the inode which may have a disconnected dentryh]h.the inode which may have a disconnected dentry}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMo hjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhMo hjhubj)}(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}(hj ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMp 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.}(hj ihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihMp hjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMp hjhubeh}(h]h ]h"]h$]h&]uh1jhjhubh)}(h**Description**h]j)}(hjBih]h Description}(hjDihhhNhNubah}(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.chMr hjhubh)}(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.}(hjXihhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMq hjhubh)}(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.}(hjgihhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMu hjhubh)}(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.}(hjvihhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMx hjhubh)}(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.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM{ hjhubh)}(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.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM~ hjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j is_subdir (C function) c.is_subdirhNtauh1hhjChhhNhNubj)}(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](j)}(hjh]hbool}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjihhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj2)}(h h]h }(hjihhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjihhhjihM ubjC)}(h is_subdirh]jI)}(h is_subdirh]h is_subdir}(hjihhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjihhhjihM ubjv)}(h6(struct dentry *new_dentry, struct dentry *old_dentry)h](j|)}(hstruct dentry *new_dentryh](j )}(hjh]hstruct}(hjihhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjiubj2)}(h h]h }(hj jhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjiubh)}(hhh]jI)}(hdentryh]hdentry}(hjjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjjmodnameN classnameNj@jC)}jF]jI)}j<jisb c.is_subdirasbuh1hhjiubj2)}(h h]h }(hj=jhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjiubj)}(hjh]h*}(hjKjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubjI)}(h new_dentryh]h new_dentry}(hjXjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjiubj|)}(hstruct dentry *old_dentryh](j )}(hjh]hstruct}(hjqjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjmjubj2)}(h h]h }(hj~jhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjmjubh)}(hhh]jI)}(hdentryh]hdentry}(hjjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjjmodnameN classnameNj@jC)}jF]j9j c.is_subdirasbuh1hhjmjubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjmjubj)}(hjh]h*}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmjubjI)}(h old_dentryh]h old_dentry}(hjjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjmjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjiubeh}(h]h ]h"]h$]h&]j`jauh1juhjihhhjihM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjihhhjihM ubah}(h]jiah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjihM hjihhubjw)}(hhh]h)}(h*is new dentry a subdirectory of old_dentryh]h*is new dentry a subdirectory of old_dentry}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjjhhubah}(h]h ]h"]h$]h&]uh1jvhjihhhjihM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj kjj kjjjuh1jhhhjChNhNubj)}(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)}(hj3kh]hstruct dentry *new_dentry}(hj5khhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1kubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj-kubj)}(hhh]h)}(h new dentryh]h new dentry}(hjLkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHkhM hjIkubah}(h]h ]h"]h$]h&]uh1jhj-kubeh}(h]h ]h"]h$]h&]uh1jhjHkhM hj*kubj)}(h)``struct dentry *old_dentry`` old dentry h](j)}(h``struct dentry *old_dentry``h]j)}(hjlkh]hstruct dentry *old_dentry}(hjnkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjkubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjfkubj)}(hhh]h)}(h old dentryh]h old dentry}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhM hjkubah}(h]h ]h"]h$]h&]uh1jhjfkubeh}(h]h ]h"]h$]h&]uh1jhjkhM hj*kubeh}(h]h ]h"]h$]h&]uh1jhjkubh)}(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.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()}(hjkhhhNhNubah}(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&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j dget_dlock (C function) c.dget_dlockhNtauh1hhjChhhNhNubj)}(hhh](j)}(h2struct dentry * dget_dlock (struct dentry *dentry)h]j)}(h0struct dentry *dget_dlock(struct dentry *dentry)h](j )}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjkhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMHubj2)}(h h]h }(hjkhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkhhhjkhMHubh)}(hhh]jI)}(hdentryh]hdentry}(hj lhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj lmodnameN classnameNj@jC)}jF]jI)}j< dget_dlocksb c.dget_dlockasbuh1hhjkhhhjkhMHubj2)}(h h]h }(hj,lhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkhhhjkhMHubj)}(hjh]h*}(hj:lhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkhhhjkhMHubjC)}(h dget_dlockh]jI)}(hj)lh]h dget_dlock}(hjKlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGlubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjkhhhjkhMHubjv)}(h(struct dentry *dentry)h]j|)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjflhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjblubj2)}(h h]h }(hjslhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjblubh)}(hhh]jI)}(hdentryh]hdentry}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjlmodnameN classnameNj@jC)}jF]j'l c.dget_dlockasbuh1hhjblubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjblubj)}(hjh]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjblubjI)}(hdentryh]hdentry}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjblubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj^lubah}(h]h ]h"]h$]h&]j`jauh1juhjkhhhjkhMHubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjkhhhjkhMHubah}(h]jkah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjkhMHhjkhhubjw)}(hhh]h)}(hget a reference to a dentryh]hget a reference to a dentry}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMHhjlhhubah}(h]h ]h"]h$]h&]uh1jvhjkhhhjkhMHubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1jhhhjChNhNubj)}(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)}(hj mh]h Parameters}(hj mhhhNhNubah}(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.hhMLhjmubj)}(hhh]j)}(h7``struct dentry *dentry`` dentry to get a reference to h](j)}(h``struct dentry *dentry``h]j)}(hj(mh]hstruct dentry *dentry}(hj*mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&mubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMIhj"mubj)}(hhh]h)}(hdentry to get a reference toh]hdentry to get a reference to}(hjAmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=mhMIhj>mubah}(h]h ]h"]h$]h&]uh1jhj"mubeh}(h]h ]h"]h$]h&]uh1jhj=mhMIhjmubah}(h]h ]h"]h$]h&]uh1jhjmubh)}(h**Description**h]j)}(hjcmh]h Description}(hjemhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjamubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMKhjmubh)}(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 }(hjymhhhNhNubj)}(h**dentry->d_lock**h]hdentry->d_lock}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjymubh. 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.}(hjymhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMJhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j dget (C function)c.dgethNtauh1hhjChhhNhNubj)}(hhh](j)}(h,struct dentry * dget (struct dentry *dentry)h]j)}(h*struct dentry *dget(struct dentry *dentry)h](j )}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjmhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMYubj2)}(h h]h }(hjmhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjmhhhjmhMYubh)}(hhh]jI)}(hdentryh]hdentry}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjmubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmmodnameN classnameNj@jC)}jF]jI)}j<dgetsbc.dgetasbuh1hhjmhhhjmhMYubj2)}(h h]h }(hjmhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjmhhhjmhMYubj)}(hjh]h*}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmhhhjmhMYubjC)}(hdgeth]jI)}(hjmh]hdget}(hjnhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjnubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjmhhhjmhMYubjv)}(h(struct dentry *dentry)h]j|)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hj4nhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj0nubj2)}(h h]h }(hjAnhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0nubh)}(hhh]jI)}(hdentryh]hdentry}(hjRnhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjOnubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjTnmodnameN classnameNj@jC)}jF]jmc.dgetasbuh1hhj0nubj2)}(h h]h }(hjpnhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0nubj)}(hjh]h*}(hj~nhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0nubjI)}(hdentryh]hdentry}(hjnhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0nubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj,nubah}(h]h ]h"]h$]h&]j`jauh1juhjmhhhjmhMYubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjmhhhjmhMYubah}(h]jmah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjmhMYhjmhhubjw)}(hhh]h)}(hget a reference to a dentryh]hget a reference to a dentry}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMYhjnhhubah}(h]h ]h"]h$]h&]uh1jvhjmhhhjmhMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1jhhhjChNhNubj)}(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)}(hjnh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM]hjnubj)}(hhh]j)}(h7``struct dentry *dentry`` dentry to get a reference to h](j)}(h``struct dentry *dentry``h]j)}(hjnh]hstruct dentry *dentry}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMZhjnubj)}(hhh]h)}(hdentry to get a reference toh]hdentry to get a reference to}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ohMZhj oubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhj ohMZhjnubah}(h]h ]h"]h$]h&]uh1jhjnubh)}(h**Description**h]j)}(hj1oh]h Description}(hj3ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/oubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM\hjnubh)}(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 }(hjGohhhNhNubj)}(h``NULL``h]hNULL}(hjOohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGoubhXp 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.}(hjGohhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM[hjnubh)}(h**NOTE**h]j)}(hjjoh]hNOTE}(hjlohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhoubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMchjnubh)}(hX 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](hit will spin if }(hjohhhNhNubj)}(h**dentry->d_lock**h]hdentry->d_lock}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubh is held. From the deadlock avoidance point of view it is equivalent to spin_lock()/increment refcount/spin_unlock(), so calling it under }(hjohhhNhNubj)}(h**dentry->d_lock**h]hdentry->d_lock}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubhM is always a bug; so’s calling it under ->d_lock on any of its descendents.}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMdhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_unhashed (C function) c.d_unhashedhNtauh1hhjChhhNhNubj)}(hhh](j)}(h,int d_unhashed (const struct dentry *dentry)h]j)}(h+int d_unhashed(const struct dentry *dentry)h](j)}(hinth]hint}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjohhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMtubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjohhhjohMtubjC)}(h d_unhashedh]jI)}(h d_unhashedh]h d_unhashed}(hjohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjohhhjohMtubjv)}(h(const struct dentry *dentry)h]j|)}(hconst struct dentry *dentryh](j )}(hjh]hconst}(hjphhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj pubj2)}(h h]h }(hjphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj pubj )}(hjh]hstruct}(hj+phhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj pubj2)}(h h]h }(hj8phhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj pubh)}(hhh]jI)}(hdentryh]hdentry}(hjIphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFpubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjKpmodnameN classnameNj@jC)}jF]jI)}j<josb c.d_unhashedasbuh1hhj pubj2)}(h h]h }(hjiphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj pubj)}(hjh]h*}(hjwphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj pubjI)}(hdentryh]hdentry}(hjphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj pubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjpubah}(h]h ]h"]h$]h&]j`jauh1juhjohhhjohMtubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjohhhjohMtubah}(h]joah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjohMthjohhubjw)}(hhh]h)}(his dentry hashedh]his dentry hashed}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMthjphhubah}(h]h ]h"]h$]h&]uh1jvhjohhhjohMtubeh}(h]h ](jfunctioneh"]h$]h&]jjjjpjjpjjjuh1jhhhjChNhNubj)}(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)}(hjph]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMxhjpubj)}(hhh]j)}(h/``const struct dentry *dentry`` entry to check h](j)}(h``const struct dentry *dentry``h]j)}(hjph]hconst struct dentry *dentry}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMuhjpubj)}(hhh]h)}(hentry to checkh]hentry to check}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhMuhjqubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjqhMuhjpubah}(h]h ]h"]h$]h&]uh1jhjpubh)}(h**Description**h]j)}(hj*qh]h Description}(hj,qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(qubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMwhjpubh)}(h:Returns true if the dentry passed is not currently hashed.h]h:Returns true if the dentry passed is not currently hashed.}(hj@qhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMvhjpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !d_really_is_negative (C function)c.d_really_is_negativehNtauh1hhjChhhNhNubj)}(hhh](j)}(h7bool d_really_is_negative (const struct dentry *dentry)h]j)}(h6bool d_really_is_negative(const struct dentry *dentry)h](j)}(hjh]hbool}(hjoqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkqhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj2)}(h h]h }(hj}qhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkqhhhj|qhMubjC)}(hd_really_is_negativeh]jI)}(hd_really_is_negativeh]hd_really_is_negative}(hjqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjkqhhhj|qhMubjv)}(h(const struct dentry *dentry)h]j|)}(hconst struct dentry *dentryh](j )}(hjh]hconst}(hjqhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjqubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubj )}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjqubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubh)}(hhh]jI)}(hdentryh]hdentry}(hjqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjqmodnameN classnameNj@jC)}jF]jI)}j<jqsbc.d_really_is_negativeasbuh1hhjqubj2)}(h h]h }(hjrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubj)}(hjh]h*}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubjI)}(hdentryh]hdentry}(hjrhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjqubah}(h]h ]h"]h$]h&]j`jauh1juhjkqhhhj|qhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjgqhhhj|qhMubah}(h]jbqah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj|qhMhjdqhhubjw)}(hhh]h)}(h@Determine if a dentry is really negative (ignoring fallthroughs)h]h@Determine if a dentry is really negative (ignoring fallthroughs)}(hjIrhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjFrhhubah}(h]h ]h"]h$]h&]uh1jvhjdqhhhj|qhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjarjjarjjjuh1jhhhjChNhNubj)}(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)}(hjkrh]h Parameters}(hjmrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjirubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjerubj)}(hhh]j)}(h7``const struct dentry *dentry`` The dentry in question h](j)}(h``const struct dentry *dentry``h]j)}(hjrh]hconst struct dentry *dentry}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjrubj)}(hhh]h)}(hThe dentry in questionh]hThe dentry in question}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhMhjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjrubah}(h]h ]h"]h$]h&]uh1jhjerubh)}(h**Description**h]j)}(hjrh]h Description}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjerubh)}(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.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjerubh)}(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 }(hjrhhhNhNubj )}(h*only*h]honly}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjrubhXM 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.}(hjrhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjerubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !d_really_is_positive (C function)c.d_really_is_positivehNtauh1hhjChhhNhNubj)}(hhh](j)}(h7bool d_really_is_positive (const struct dentry *dentry)h]j)}(h6bool d_really_is_positive(const struct dentry *dentry)h](j)}(hjh]hbool}(hj+shhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'shhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj2)}(h h]h }(hj9shhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj'shhhj8shMubjC)}(hd_really_is_positiveh]jI)}(hd_really_is_positiveh]hd_really_is_positive}(hjKshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGsubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj'shhhj8shMubjv)}(h(const struct dentry *dentry)h]j|)}(hconst struct dentry *dentryh](j )}(hjh]hconst}(hjgshhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjcsubj2)}(h h]h }(hjtshhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcsubj )}(hjh]hstruct}(hjshhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjcsubj2)}(h h]h }(hjshhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcsubh)}(hhh]jI)}(hdentryh]hdentry}(hjshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjsubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjsmodnameN classnameNj@jC)}jF]jI)}j<jMssbc.d_really_is_positiveasbuh1hhjcsubj2)}(h h]h }(hjshhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcsubj)}(hjh]h*}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcsubjI)}(hdentryh]hdentry}(hjshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjcsubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj_subah}(h]h ]h"]h$]h&]j`jauh1juhj'shhhj8shMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj#shhhj8shMubah}(h]jsah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj8shMhj shhubjw)}(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&]uh1jvhj shhhj8shMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1jhhhjChNhNubj)}(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)}(hj'th]h Parameters}(hj)thhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%tubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj!tubj)}(hhh]j)}(h7``const struct dentry *dentry`` The dentry in question h](j)}(h``const struct dentry *dentry``h]j)}(hjFth]hconst struct dentry *dentry}(hjHthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDtubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj@tubj)}(hhh]h)}(hThe dentry in questionh]hThe dentry in question}(hj_thhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[thMhj\tubah}(h]h ]h"]h$]h&]uh1jhj@tubeh}(h]h ]h"]h$]h&]uh1jhj[thMhj=tubah}(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&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj!tubh)}(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.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj!tubh)}(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 }(hjthhhNhNubj )}(h*only*h]honly}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1j hjtubh 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.}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj!tubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_inode (C function) c.d_inodehNtauh1hhjChhhNhNubj)}(hhh](j)}(h4struct inode * d_inode (const struct dentry *dentry)h]j)}(h2struct inode *d_inode(const struct dentry *dentry)h](j )}(hjh]hstruct}(hjthhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjthhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjthhhjthMubh)}(hhh]jI)}(hinodeh]hinode}(hjuhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjuubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjumodnameN classnameNj@jC)}jF]jI)}j<d_inodesb c.d_inodeasbuh1hhjthhhjthMubj2)}(h h]h }(hj'uhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjthhhjthMubj)}(hjh]h*}(hj5uhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjthhhjthMubjC)}(hd_inodeh]jI)}(hj$uh]hd_inode}(hjFuhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBuubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjthhhjthMubjv)}(h(const struct dentry *dentry)h]j|)}(hconst struct dentry *dentryh](j )}(hjh]hconst}(hjauhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj]uubj2)}(h h]h }(hjnuhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj]uubj )}(hjh]hstruct}(hj|uhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj]uubj2)}(h h]h }(hjuhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj]uubh)}(hhh]jI)}(hdentryh]hdentry}(hjuhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjuubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjumodnameN classnameNj@jC)}jF]j"u c.d_inodeasbuh1hhj]uubj2)}(h h]h }(hjuhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj]uubj)}(hjh]h*}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]uubjI)}(hdentryh]hdentry}(hjuhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj]uubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjYuubah}(h]h ]h"]h$]h&]j`jauh1juhjthhhjthMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjthhhjthMubah}(h]jtah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjthMhjthhubjw)}(hhh]h)}(h#Get the actual inode of this dentryh]h#Get the actual inode of this dentry}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjuhhubah}(h]h ]h"]h$]h&]uh1jvhjthhhjthMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1jhhhjChNhNubj)}(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}(hj!vhhhNhNubah}(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.hhMhjvubj)}(hhh]j)}(h4``const struct dentry *dentry`` The dentry to query h](j)}(h``const struct dentry *dentry``h]j)}(hj>vh]hconst struct dentry *dentry}(hj@vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjah"]h$]h&]uh1j1hjvhhhjvhM'ubh)}(hhh]jI)}(hinodeh]hinode}(hjvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjvubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjvmodnameN classnameNj@jC)}jF]jI)}j< d_inode_rcusb c.d_inode_rcuasbuh1hhjvhhhjvhM'ubj2)}(h h]h }(hjvhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjvhhhjvhM'ubj)}(hjh]h*}(hj whhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvhhhjvhM'ubjC)}(h d_inode_rcuh]jI)}(hjvh]h d_inode_rcu}(hjwhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjvhhhjvhM'ubjv)}(h(const struct dentry *dentry)h]j|)}(hconst struct dentry *dentryh](j )}(hjh]hconst}(hj8whhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj4wubj2)}(h h]h }(hjEwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4wubj )}(hjh]hstruct}(hjSwhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj4wubj2)}(h h]h }(hj`whhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4wubh)}(hhh]jI)}(hdentryh]hdentry}(hjqwhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjnwubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjswmodnameN classnameNj@jC)}jF]jv c.d_inode_rcuasbuh1hhj4wubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4wubj)}(hjh]h*}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4wubjI)}(hdentryh]hdentry}(hjwhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4wubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj0wubah}(h]h ]h"]h$]h&]j`jauh1juhjvhhhjvhM'ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjvhhhjvhM'ubah}(h]jvah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjvhM'hjvhhubjw)}(hhh]h)}(h4Get the actual inode of this dentry with READ_ONCE()h]h4Get the actual inode of this dentry with READ_ONCE()}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM'hjwhhubah}(h]h ]h"]h$]h&]uh1jvhjvhhhjvhM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjwjjwjjjuh1jhhhjChNhNubj)}(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)}(hjwh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM+hjwubj)}(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.hhM(hjxubj)}(hhh]h)}(hThe dentry to queryh]hThe dentry to query}(hj.xhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*xhM(hj+xubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhj*xhM(hj xubah}(h]h ]h"]h$]h&]uh1jhjwubh)}(h**Description**h]j)}(hjPxh]h Description}(hjRxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNxubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM*hjwubh)}(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.}(hjfxhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM)hjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_backing_inode (C function)c.d_backing_inodehNtauh1hhjChhhNhNubj)}(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}(hjxhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjxhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM3ubj2)}(h h]h }(hjxhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjxhhhjxhM3ubh)}(hhh]jI)}(hinodeh]hinode}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjxmodnameN classnameNj@jC)}jF]jI)}j<d_backing_inodesbc.d_backing_inodeasbuh1hhjxhhhjxhM3ubj2)}(h h]h }(hjxhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjxhhhjxhM3ubj)}(hjh]h*}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxhhhjxhM3ubjC)}(hd_backing_inodeh]jI)}(hjxh]hd_backing_inode}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjxhhhjxhM3ubjv)}(h(const struct dentry *upper)h]j|)}(hconst struct dentry *upperh](j )}(hjh]hconst}(hjyhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj yubj2)}(h h]h }(hjyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj yubj )}(hjh]hstruct}(hj*yhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj yubj2)}(h h]h }(hj7yhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj yubh)}(hhh]jI)}(hdentryh]hdentry}(hjHyhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEyubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjJymodnameN classnameNj@jC)}jF]jxc.d_backing_inodeasbuh1hhj yubj2)}(h h]h }(hjfyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj yubj)}(hjh]h*}(hjtyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj yubjI)}(hupperh]hupper}(hjyhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj yubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjyubah}(h]h ]h"]h$]h&]j`jauh1juhjxhhhjxhM3ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjxhhhjxhM3ubah}(h]jxah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjxhM3hjxhhubjw)}(hhh]h)}(h+Get upper or lower inode we should be usingh]h+Get upper or lower inode we should be using}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM3hjyhhubah}(h]h ]h"]h$]h&]uh1jvhjxhhhjxhM3ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1jhhhjChNhNubj)}(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)}(hjyh]h Parameters}(hjyhhhNhNubah}(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.hhM7hjyubj)}(hhh]j)}(h/``const struct dentry *upper`` The upper layer h](j)}(h``const struct dentry *upper``h]j)}(hjyh]hconst struct dentry *upper}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM4hjyubj)}(hhh]h)}(hThe upper layerh]hThe upper layer}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhM4hjzubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjzhM4hjyubah}(h]h ]h"]h$]h&]uh1jhjyubh)}(h**Description**h]j)}(hj'zh]h Description}(hj)zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%zubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM6hjyubh)}(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=zhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM5hjyubh)}(hBNormal filesystems should not use this to access their own inodes.h]hBNormal filesystems should not use this to access their own inodes.}(hjLzhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM9hjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_real (C function)c.d_realhNtauh1hhjChhhNhNubj)}(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}(hj{zhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwzhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMDubj2)}(h h]h }(hjzhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwzhhhjzhMDubh)}(hhh]jI)}(hdentryh]hdentry}(hjzhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjzmodnameN classnameNj@jC)}jF]jI)}j<d_realsbc.d_realasbuh1hhjwzhhhjzhMDubj2)}(h h]h }(hjzhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwzhhhjzhMDubj)}(hjh]h*}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwzhhhjzhMDubjC)}(hd_realh]jI)}(hjzh]hd_real}(hjzhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjwzhhhjzhMDubjv)}(h.(struct dentry *dentry, enum d_real_type type)h](j|)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjzubj2)}(h h]h }(hj{hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjzubh)}(hhh]jI)}(hdentryh]hdentry}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj{modnameN classnameNj@jC)}jF]jzc.d_realasbuh1hhjzubj2)}(h h]h }(hj1{hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjzubj)}(hjh]h*}(hj?{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubjI)}(hdentryh]hdentry}(hjL{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjzubj|)}(henum d_real_type typeh](j )}(hj#h]henum}(hje{hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhja{ubj2)}(h h]h }(hjr{hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hja{ubh)}(hhh]jI)}(h d_real_typeh]h d_real_type}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj{modnameN classnameNj@jC)}jF]jzc.d_realasbuh1hhja{ubj2)}(h h]h }(hj{hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hja{ubjI)}(htypeh]htype}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhja{ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjzubeh}(h]h ]h"]h$]h&]j`jauh1juhjwzhhhjzhMDubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjszhhhjzhMDubah}(h]jnzah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjzhMDhjpzhhubjw)}(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.hhMDhj{hhubah}(h]h ]h"]h$]h&]uh1jvhjpzhhhjzhMDubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{jj{jjjuh1jhhhjChNhNubj)}(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.hhMHhj{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.hhMEhj|ubj)}(hhh]h)}(hthe dentry to queryh]hthe dentry to query}(hj3|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/|hMEhj0|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj/|hMEhj|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)}(hjS|h]henum d_real_type type}(hjU|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ|ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMFhjM|ubj)}(hhh]h)}(h*the type of real dentry (data or metadata)h]h*the type of real dentry (data or metadata)}(hjl|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjh|hMFhji|ubah}(h]h ]h"]h$]h&]uh1jhjM|ubeh}(h]h ]h"]h$]h&]uh1jhjh|hMFhj|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.hhMHhj{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.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMGhj{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.hhMJhj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_real_inode (C function)c.d_real_inodehNtauh1hhjChhhNhNubj)}(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.hhMVubj2)}(h h]h }(hj|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|hhhj|hMVubh)}(hhh]jI)}(hinodeh]hinode}(hj}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj}modnameN classnameNj@jC)}jF]jI)}j< d_real_inodesbc.d_real_inodeasbuh1hhj|hhhj|hMVubj2)}(h h]h }(hj"}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|hhhj|hMVubj)}(hjh]h*}(hj0}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|hhhj|hMVubjC)}(h d_real_inodeh]jI)}(hj}h]h d_real_inode}(hjA}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj=}ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj|hhhj|hMVubjv)}(h(const struct dentry *dentry)h]j|)}(hconst struct dentry *dentryh](j )}(hjh]hconst}(hj\}hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjX}ubj2)}(h h]h }(hji}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjX}ubj )}(hjh]hstruct}(hjw}hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjX}ubj2)}(h h]h }(hj}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjX}ubh)}(hhh]jI)}(hdentryh]hdentry}(hj}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj}modnameN classnameNj@jC)}jF]j}c.d_real_inodeasbuh1hhjX}ubj2)}(h h]h }(hj}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjX}ubj)}(hjh]h*}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjX}ubjI)}(hdentryh]hdentry}(hj}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjX}ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjT}ubah}(h]h ]h"]h$]h&]j`jauh1juhj|hhhj|hMVubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj|hhhj|hMVubah}(h]j|ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj|hMVhj|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.hhMVhj}hhubah}(h]h ]h"]h$]h&]uh1jvhj|hhhj|hMVubeh}(h]h ](jfunctioneh"]h$]h&]jjjj~jj~jjjuh1jhhhjChNhNubj)}(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.hhMZhj~ubj)}(hhh]j)}(h4``const struct dentry *dentry`` The dentry to query h](j)}(h``const struct dentry *dentry``h]j)}(hj9~h]hconst struct dentry *dentry}(hj;~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7~ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMWhj3~ubj)}(hhh]h)}(hThe dentry to queryh]hThe dentry to query}(hjR~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjN~hMWhjO~ubah}(h]h ]h"]h$]h&]uh1jhj3~ubeh}(h]h ]h"]h$]h&]uh1jhjN~hMWhj0~ubah}(h]h ]h"]h$]h&]uh1jhj~ubh)}(h**Description**h]j)}(hjt~h]h Description}(hjv~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr~ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMYhj~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().}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMXhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjChhhNhNubeh}(h]the-directory-cacheah ]h"]the directory cacheah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hInode Handlingh]hInode Handling}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "inode_init_always_gfp (C function)c.inode_init_always_gfphNtauh1hhj~hhhNhNubj)}(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](j)}(hinth]hint}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKubj2)}(h h]h }(hj~hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj~hhhj~hKubjC)}(hinode_init_always_gfph]jI)}(hinode_init_always_gfph]hinode_init_always_gfp}(hj~hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj~ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj~hhhj~hKubjv)}(h8(struct super_block *sb, struct inode *inode, gfp_t gfp)h](j|)}(hstruct super_block *sbh](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 super_blockh]h super_block}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj/modnameN classnameNj@jC)}jF]jI)}j<j~sbc.inode_init_always_gfpasbuh1hhj ubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(hsbh]hsb}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jIc.inode_init_always_gfpasbuh1hhj}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`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jIc.inode_init_always_gfpasbuh1hhjubj2)}(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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhj~hhhj~hKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj~hhhj~hKubah}(h]j~ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj~hKhj~hhubjw)}(hhh]h)}(h&perform inode structure initialisationh]h&perform inode structure initialisation}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjGhhubah}(h]h ]h"]h$]h&]uh1jvhj~hhhj~hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1jhhhj~hNhNubj)}(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)}(hjlh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjfubj)}(hhh](j)}(h7``struct super_block *sb`` superblock inode belongs to 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.chKhjubj)}(hhh]h)}(hsuperblock inode belongs toh]hsuperblock inode belongs to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h,``struct inode *inode`` inode to initialise 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.chKhjubj)}(hhh]h)}(hinode to initialiseh]hinode to initialise}(hj݀hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjـhKhjڀubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjـhKhjubj)}(h``gfp_t gfp`` allocation flags 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjubj)}(hhh]h)}(hallocation flagsh]hallocation flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjfubh)}(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:29: ./fs/inode.chKhjfubh)}(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 }(hjNhhhNhNubj)}(h**gfp**h]hgfp}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh is used.}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j drop_nlink (C function) c.drop_nlinkhNtauh1hhj~hhhNhNubj)}(hhh](j)}(h%void drop_nlink (struct inode *inode)h]j)}(h$void drop_nlink(struct inode *inode)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(h drop_nlinkh]jI)}(h drop_nlinkh]h drop_nlink}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h(struct inode *inode)h]j|)}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jsb c.drop_nlinkasbuh1hhjȁ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}(hj%hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjȁubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjāubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h#directly drop an inode's link counth]h%directly drop an inode’s link count}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjLhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjgjjgjjjuh1jhhhj~hNhNubj)}(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)}(hjqh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjkubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjkubh)}(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.chMhjkubh)}(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.chMhjkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j clear_nlink (C function) c.clear_nlinkhNtauh1hhj~hhhNhNubj)}(hhh](j)}(h&void clear_nlink (struct inode *inode)h]j)}(h%void clear_nlink(struct inode *inode)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]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 hhhjhMubjC)}(h clear_nlinkh]jI)}(h clear_nlinkh]h clear_nlink}(hj1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj-ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj hhhjhMubjv)}(h(struct inode *inode)h]j|)}(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 classnameNj@jC)}jF]jI)}j<j3sb c.clear_nlinkasbuh1hhjIubj2)}(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`jauh1j{hjEubah}(h]h ]h"]h$]h&]j`jauh1juhj hhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h#directly zero an inode's link counth]h%directly zero 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&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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)}(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.chMhj ubj)}(hhh]h)}(hinodeh]hinode}(hj*hhhNhNubah}(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)}(hjLh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(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.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j set_nlink (C function) c.set_nlinkhNtauh1hhj~hhhNhNubj)}(hhh](j)}(h8void set_nlink (struct inode *inode, unsigned int nlink)h]j)}(h7void set_nlink(struct inode *inode, unsigned int nlink)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(h set_nlinkh]jI)}(h set_nlinkh]h set_nlink}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h)(struct inode *inode, unsigned int nlink)h](j|)}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jsb c.set_nlinkasbuh1hhjʄ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}(hj'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjʄubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjƄubj|)}(hunsigned int nlinkh](j)}(hunsignedh]hunsigned}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj2)}(h h]h }(hjNhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj<ubj)}(hinth]hint}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj<ubjI)}(hnlinkh]hnlink}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj<ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjƄubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h"directly set an inode's link counth]h$directly set 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&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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)}(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 *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.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څubj)}(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)}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjڅubeh}(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.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.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j inc_nlink (C function) c.inc_nlinkhNtauh1hhj~hhhNhNubj)}(hhh](j)}(h$void inc_nlink (struct inode *inode)h]j)}(h#void inc_nlink(struct inode *inode)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(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`jauh1jBhjhhhjhMubjv)}(h(struct inode *inode)h]j|)}(hstruct inode *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)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jsb c.inc_nlinkasbuh1hhjՆubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjՆubj)}(hjh]h*}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjՆubjI)}(hinodeh]hinode}(hj2hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjՆubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjцubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(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.chMhjYhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1jhhhj~hNhNubj)}(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)}(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 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}(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.chMhjxubh)}(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.chMhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j inode_sb_list_add (C function)c.inode_sb_list_addhNtauh1hhj~hhhNhNubj)}(hhh](j)}(h,void inode_sb_list_add (struct inode *inode)h]j)}(h+void inode_sb_list_add(struct inode *inode)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]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+hMubjC)}(hinode_sb_list_addh]jI)}(hinode_sb_list_addh]hinode_sb_list_add}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj:ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj+hMubjv)}(h(struct inode *inode)h]j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjVubj2)}(h h]h }(hjghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVubh)}(hhh]jI)}(hinodeh]hinode}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjuubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjzmodnameN classnameNj@jC)}jF]jI)}j<j@sbc.inode_sb_list_addasbuh1hhjVubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjRubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhj+hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj+hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj+hMhjhhubjw)}(hhh]h)}(h*add inode to the superblock list of inodesh]h*add inode to the superblock list of inodes}(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&]jjjjjjjjjuh1jhhhj~hNhNubj)}(h6**Parameters** ``struct inode *inode`` inode to addh](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 addh](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(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 inode to addh]h inode to add}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  __insert_inode_hash (C function)c.__insert_inode_hashhNtauh1hhj~hhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjthhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjthhhjhMubjC)}(h__insert_inode_hashh]jI)}(h__insert_inode_hashh]h__insert_inode_hash}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjthhhjhMubjv)}(h"(struct inode *inode, u64 hashval)h](j|)}(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&]uh1jHhjЉubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjՉmodnameN classnameNj@jC)}jF]jI)}j<jsbc.__insert_inode_hashasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jc.__insert_inode_hashasbuh1hhj#ubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#ubjI)}(hhashvalh]hhashval}(hjVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjthhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjphhhjhMubah}(h]jkah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjmhhubjw)}(hhh]h)}(h hash an inodeh]h hash an inode}(hjhhhNhNubah}(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&]uh1jvhjmhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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)}(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`` unhashed inode h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(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)}(hunhashed inodeh]hunhashed inode}(hjڊhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj֊hMhj׊ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj֊hMhjubj)}(hM``u64 hashval`` u64 value used to locate this object in the inode_hashtable. 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)}(hah"]h$]h&]uh1j1hjhhhjhMubjC)}(h__remove_inode_hashh]jI)}(h__remove_inode_hashh]h__remove_inode_hash}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h(struct inode *inode)h]j|)}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjދubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jsbc.__remove_inode_hashasbuh1hhjubj2)}(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`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj~hhhjhMubah}(h]jyah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhj{hhubjw)}(hhh]h)}(hremove an inode from the hashh]hremove an inode from the hash}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjChhubah}(h]h ]h"]h$]h&]uh1jvhj{hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^jj^jjjuh1jhhhj~hNhNubj)}(hu**Parameters** ``struct inode *inode`` inode to unhash **Description** Remove an inode from the superblock.h](h)}(h**Parameters**h]j)}(hjhh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjbubj)}(hhh]j)}(h(``struct inode *inode`` inode to unhash 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 unhashh]hinode to unhash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubh)}(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:29: ./fs/inode.chMhjbubjM)}(h$Remove an inode from the superblock.h]h)}(hjڌh]h$Remove an inode from the superblock.}(hj܌hhhNhNubah}(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&]uh1jLhjhMhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j evict_inodes (C function)c.evict_inodeshNtauh1hhj~hhhNhNubj)}(hhh](j)}(h*void evict_inodes (struct super_block *sb)h]j)}(h)void evict_inodes(struct super_block *sb)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMyubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj hhhjhMyubjC)}(h evict_inodesh]jI)}(h evict_inodesh]h evict_inodes}(hj1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj-ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj hhhjhMyubjv)}(h(struct super_block *sb)h]j|)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjIubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjIubh)}(hhh]jI)}(h super_blockh]h super_block}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmmodnameN classnameNj@jC)}jF]jI)}j<j3sbc.evict_inodesasbuh1hhjIubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjIubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubjI)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjIubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjEubah}(h]h ]h"]h$]h&]j`jauh1juhj hhhjhMyubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMyubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMyhjhhubjw)}(hhh]h)}(h+evict all evictable inodes for a superblockh]h+evict all evictable inodes for a superblock}(hjЍhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMyhj͍hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMyubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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)}(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)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMzhj ubj)}(hhh]h)}(hsuperblock to operate onh]hsuperblock to operate on}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hMzhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMzhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjLh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM|hjubh)}(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.}(hjbhhhNhNubah}(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&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j new_inode (C function) c.new_inodehNtauh1hhj~hhhNhNubj)}(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}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j< new_inodesb c.new_inodeasbuh1hhjhhhjhMubj2)}(h h]h }(hjюhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjߎhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(h new_inodeh]jI)}(hjΎh]h new_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h(struct super_block *sb)h]j|)}(hstruct super_block *sbh](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 super_blockh]h super_block}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj+modnameN classnameNj@jC)}jF]j̎ c.new_inodeasbuh1hhjubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsbh]hsb}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hobtain an inodeh]hobtain an inode}(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&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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)}(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}(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 superblockh]h superblock}(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}(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.chMhjubjM)}(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}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubah}(h]h ]h"]h$]h&]uh1jLhj0hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j unlock_new_inode (C function)c.unlock_new_inodehNtauh1hhj~hhhNhNubj)}(hhh](j)}(h+void unlock_new_inode (struct inode *inode)h]j)}(h*void unlock_new_inode(struct inode *inode)h](j)}(hvoidh]hvoid}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjShhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjShhhjehMubjC)}(hunlock_new_inodeh]jI)}(hunlock_new_inodeh]hunlock_new_inode}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjShhhjehMubjv)}(h(struct inode *inode)h]j|)}(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 classnameNj@jC)}jF]jI)}j<jzsbc.unlock_new_inodeasbuh1hhjubj2)}(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`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjShhhjehMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjOhhhjehMubah}(h]jJah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjehMhjLhhubjw)}(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&]uh1jvhjLhhhjehMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1jhhhj~hNhNubj)}(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)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj3ubj)}(hhh]j)}(h,``struct inode *inode`` new inode to unlock h](j)}(h``struct inode *inode``h]j)}(hjXh]hstruct inode *inode}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjRubj)}(hhh]h)}(hnew inode to unlockh]hnew inode to unlock}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjOubah}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj3ubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $lock_two_nondirectories (C function)c.lock_two_nondirectorieshNtauh1hhj~hhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjؑhhhNhNubah}(h]h ]jah"]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ԑhhhjhMubjC)}(hlock_two_nondirectoriesh]jI)}(hlock_two_nondirectoriesh]hlock_two_nondirectories}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjԑhhhjhMubjv)}(h,(struct inode *inode1, struct inode *inode2)h](j|)}(hstruct inode *inode1h](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}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj5modnameN classnameNj@jC)}jF]jI)}j<jsbc.lock_two_nondirectoriesasbuh1hhjubj2)}(h h]h }(hjShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinode1h]hinode1}(hjnhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj ubj|)}(hstruct inode *inode2h](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 classnameNj@jC)}jF]jOc.lock_two_nondirectoriesasbuh1hhjubj2)}(h h]h }(hjÒhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjђhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinode2h]hinode2}(hjޒhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj ubeh}(h]h ]h"]h$]h&]j`jauh1juhjԑhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjБhhhjhMubah}(h]jˑah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhj͑hhubjw)}(hhh]h)}(h+take two i_mutexes on non-directory objectsh]h+take two i_mutexes on non-directory objects}(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&]jjjj jj jjjuh1jhhhj~hNhNubj)}(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)}(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 *inode1`` first inode to lock h](j)}(h``struct inode *inode1``h]j)}(hjIh]hstruct inode *inode1}(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)}(hfirst inode to lockh]hfirst inode to lock}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhj@ubj)}(h.``struct inode *inode2`` second inode to lock h](j)}(h``struct inode *inode2``h]j)}(hjh]hstruct inode *inode2}(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)}(hsecond inode to lockh]hsecond inode to lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(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:29: ./fs/inode.chMhj$ubh)}(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.}(hjӓhhhNhNubah}(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&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j &unlock_two_nondirectories (C function)c.unlock_two_nondirectorieshNtauh1hhj~hhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(hunlock_two_nondirectoriesh]jI)}(hunlock_two_nondirectoriesh]hunlock_two_nondirectories}(hj#hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h,(struct inode *inode1, struct inode *inode2)h](j|)}(hstruct inode *inode1h](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)}(hinodeh]hinode}(hj]hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjZubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj_modnameN classnameNj@jC)}jF]jI)}j<j%sbc.unlock_two_nondirectoriesasbuh1hhj;ubj2)}(h h]h }(hj}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj;ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubjI)}(hinode1h]hinode1}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj;ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj7ubj|)}(hstruct inode *inode2h](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 classnameNj@jC)}jF]jyc.unlock_two_nondirectoriesasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinode2h]hinode2}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj7ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h,release locks from lock_two_nondirectories()h]h,release locks from lock_two_nondirectories()}(hj2hhhNhNubah}(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&]jjjjJjjJjjjuh1jhhhj~hNhNubj)}(hs**Parameters** ``struct inode *inode1`` first inode to unlock ``struct inode *inode2`` second inode to unlockh](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:29: ./fs/inode.chMhjNubj)}(hhh](j)}(h/``struct inode *inode1`` first inode to unlock h](j)}(h``struct inode *inode1``h]j)}(hjsh]hstruct inode *inode1}(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.chMhjmubj)}(hhh]h)}(hfirst inode to unlockh]hfirst inode to unlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjubj)}(h/``struct inode *inode2`` second inode to unlockh](j)}(h``struct inode *inode2``h]j)}(hjh]hstruct inode *inode2}(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)}(hsecond inode to unlockh]hsecond inode to unlock}(hjŕhhhNhNubah}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjubeh}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j inode_insert5 (C function)c.inode_insert5hNtauh1hhj~hhhNhNubj)}(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}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubh)}(hhh]jI)}(hinodeh]hinode}(hj%hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj'modnameN classnameNj@jC)}jF]jI)}j< inode_insert5sbc.inode_insert5asbuh1hhjhhhjhMubj2)}(h h]h }(hjFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(h inode_insert5h]jI)}(hjCh]h inode_insert5}(hjehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjaubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(hs(struct inode *inode, u64 hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](j|)}(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 classnameNj@jC)}jF]jAc.inode_insert5asbuh1hhj|ubj2)}(h h]h }(hjhhhNhNubah}(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`jauh1j{hjxubj|)}(h u64 hashvalh](h)}(hhh]jI)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jAc.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`jauh1j{hjxubj|)}(h!int (*test)(struct inode*, void*)h](j)}(hinth]hint}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj2)}(h h]h }(hjFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4ubj)}(h(h]h(}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj)}(hjh]h*}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubjI)}(htesth]htest}(hjohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4ubj)}(h)h]h)}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj)}(hjVh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj4ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4ubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jAc.inode_insert5asbuh1hhj4ubj)}(hjh]h*}(hjԗhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj)}(h,h]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4ubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjxubj|)}(h int (*set)(struct inode*, void*)h](j)}(hinth]hint}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj2)}(h h]h }(hj>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj,ubj)}(hjVh]h(}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj)}(hjh]h*}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubjI)}(hseth]hset}(hjfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj,ubj)}(hjh]h)}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj)}(hjVh]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 classnameNj@jC)}jF]jAc.inode_insert5asbuh1hhj,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 }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj,ubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubj)}(hjh]h)}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjxubj|)}(h void *datah](j)}(hvoidh]hvoid}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubj2)}(h h]h }(hj3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!ubj)}(hjh]h*}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubjI)}(hdatah]hdata}(hjNhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjxubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h*obtain an inode from a mounted file systemh]h*obtain an inode from a mounted file system}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjuhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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)}(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)}(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}(hjҙhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjΙhMhjϙubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjΙhMhjubj)}(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.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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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 *)}(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}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhjubj)}(hV``int (*set)(struct inode *, void *)`` callback used to initialize a new struct inode h](j)}(h&``int (*set)(struct inode *, void *)``h]j)}(hjdh]h"int (*set)(struct inode *, void *)}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(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}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjubj)}(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.chMhjubj)}(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}(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&]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:29: ./fs/inode.chMhjubh)}(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 }(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, and if present return it with an increased reference count. This is a variant of iget5_locked() that doesn’t allocate an inode.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(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().}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(hbNote that both **test** and **set** are called with the inode_hash_lock held, so they can't sleep.h](hNote that both }(hjPhhhNhNubj)}(h**test**h]htest}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh and }(hjPhhhNhNubj)}(h**set**h]hset}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubhA are called with the inode_hash_lock held, so they can’t sleep.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j iget5_locked (C function)c.iget5_lockedhNtauh1hhj~hhhNhNubj)}(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}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMLubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMLubh)}(hhh]jI)}(hinodeh]hinode}(hj›hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjěmodnameN classnameNj@jC)}jF]jI)}j< iget5_lockedsbc.iget5_lockedasbuh1hhjhhhjhMLubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMLubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMLubjC)}(h iget5_lockedh]jI)}(hjh]h iget5_locked}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMLubjv)}(hv(struct super_block *sb, u64 hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](j|)}(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 classnameNj@jC)}jF]jޛc.iget5_lockedasbuh1hhjubj2)}(h h]h }(hjYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsbh]hsb}(hjthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h u64 hashvalh](h)}(hhh]jI)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jޛc.iget5_lockedasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(h!int (*test)(struct inode*, void*)h](j)}(hinth]hint}(hj՜hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjќubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjќubj)}(hjVh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjќubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjќubjI)}(htesth]htest}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjќubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjќubj)}(hjVh]h(}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjќubj )}(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)}(hinodeh]hinode}(hjQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjSmodnameN classnameNj@jC)}jF]jޛc.iget5_lockedasbuh1hhjќubj)}(hjh]h*}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjќubj)}(hjh]h,}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjќubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjќubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjќubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjќubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjќubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h int (*set)(struct inode*, void*)h](j)}(hinth]hint}(hjʝhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjƝubj2)}(h h]h }(hj؝hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjƝubj)}(hjVh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjƝubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjƝubjI)}(hseth]hset}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjƝubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjƝubj)}(hjVh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjƝubj )}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjƝubj2)}(h h]h }(hj5hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjƝubh)}(hhh]jI)}(hinodeh]hinode}(hjFhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjCubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjHmodnameN classnameNj@jC)}jF]jޛc.iget5_lockedasbuh1hhjƝubj)}(hjh]h*}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjƝubj)}(hjh]h,}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjƝubj2)}(h h]h }(hj~hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjƝubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjƝubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjƝubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjƝubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h void *datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj͞hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj۞hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMLubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMLubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMLhjhhubjw)}(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.chMLhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1jhhhj~hNhNubj)}(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)}(hj4h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMPhj.ubj)}(hhh](j)}(h6``struct super_block *sb`` super block of file system h](j)}(h``struct super_block *sb``h]j)}(hjSh]hstruct super_block *sb}(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.chMMhjMubj)}(hhh]h)}(hsuper block of file systemh]hsuper block of file system}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMMhjJubj)}(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.chMNhjubj)}(hhh]h)}(h(hash value (usually inode number) to geth]h(hash value (usually inode number) to get}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjJubj)}(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 *)}(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.chMOhjubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hjޟhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjڟhMOhj۟ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjڟhMOhjJubj)}(hV``int (*set)(struct inode *, void *)`` callback used to initialize a new struct inode h](j)}(h&``int (*set)(struct inode *, void *)``h]j)}(hjh]h"int (*set)(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.chMPhjubj)}(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&]uh1hhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjJubj)}(hC``void *data`` opaque data pointer to pass to **test** and **set** h](j)}(h``void *data``h]j)}(hj7h]h void *data}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMQhj1ubj)}(hhh]h)}(h3opaque data pointer to pass to **test** and **set**h](hopaque data pointer to pass to }(hjPhhhNhNubj)}(h**test**h]htest}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh and }(hjPhhhNhNubj)}(h**set**h]hset}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1hhjLhMQhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMQhjJubeh}(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.chMShj.ubh)}(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 }(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, 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMRhj.ubh)}(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().}(hj۠hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMWhj.ubh)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**set**h]hset}(hjhhhNhNubah}(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[hj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j iget5_locked_rcu (C function)c.iget5_locked_rcuhNtauh1hhj~hhhNhNubj)}(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&]uh1jhj9hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMsubj2)}(h h]h }(hjKhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9hhhjJhMsubh)}(hhh]jI)}(hinodeh]hinode}(hj\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj^modnameN classnameNj@jC)}jF]jI)}j<iget5_locked_rcusbc.iget5_locked_rcuasbuh1hhj9hhhjJhMsubj2)}(h h]h }(hj}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9hhhjJhMsubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhjJhMsubjC)}(higet5_locked_rcuh]jI)}(hjzh]higet5_locked_rcu}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj9hhhjJhMsubjv)}(hv(struct super_block *sb, u64 hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](j|)}(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 classnameNj@jC)}jF]jxc.iget5_locked_rcuasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jxc.iget5_locked_rcuasbuh1hhj#ubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#ubjI)}(hhashvalh]hhashval}(hjVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h!int (*test)(struct inode*, void*)h](j)}(hinth]hint}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj2)}(h h]h }(hj}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkubj)}(hjVh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubjI)}(htesth]htest}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjkubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(hjVh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj )}(hjh]hstruct}(hj͢hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjkubj2)}(h h]h }(hjڢhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jxc.iget5_locked_rcuasbuh1hhjkubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(hjh]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj2)}(h h]h }(hj#hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkubj)}(hvoidh]hvoid}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(hjh]h*}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj)}(hjh]h)}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h int (*set)(struct inode*, void*)h](j)}(hinth]hint}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj2)}(h h]h }(hjrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj`ubj)}(hjVh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubjI)}(hseth]hset}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`ubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj)}(hjVh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`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)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjݣubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jxc.iget5_locked_rcuasbuh1hhj`ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj)}(hjh]h,}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj`ubj)}(hvoidh]hvoid}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj)}(hjh]h*}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubj)}(hjh]h)}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h void *datah](j)}(hvoidh]hvoid}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj2)}(h h]h }(hjghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjUubj)}(hjh]h*}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubjI)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjUubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhj9hhhjJhMsubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj5hhhjJhMsubah}(h]j0ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjJhMshj2hhubjw)}(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.chMshjhhubah}(h]h ]h"]h$]h&]uh1jvhj2hhhjJhMsubeh}(h]h ](jfunctioneh"]h$]h&]jjjjĤjjĤjjjuh1jhhhj~hNhNubj)}(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)}(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.chMwhjȤubj)}(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.chMthjubj)}(hhh]h)}(hsuper block of file systemh]hsuper block of file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubj)}(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&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMuhj ubj)}(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;hMuhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMuhjubj)}(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 *)}(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.chMvhjYubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthMvhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMvhjubj)}(hV``int (*set)(struct inode *, void *)`` callback used to initialize a new struct inode h](j)}(h&``int (*set)(struct inode *, void *)``h]j)}(hjh]h"int (*set)(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.chMwhjubj)}(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&]uh1hhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjubj)}(hC``void *data`` opaque data pointer to pass to **test** and **set** 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMxhj˥ubj)}(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&]uh1hhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhj˥ubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjubeh}(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:29: ./fs/inode.chMzhjȤubh)}(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 }(hjBhhhNhNubj)}(h**test**h]htest}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubhQ callback must tolerate the inode not being stable, including being mid-teardown.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMyhjȤubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j iget_locked (C function) c.iget_lockedhNtauh1hhj~hhhNhNubj)}(hhh](j)}(hah"]h$]h&]uh1j1hjhhhjhMubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j< iget_lockedsb c.iget_lockedasbuh1hhjhhhjhMubj2)}(h h]h }(hjæhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjѦhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(h iget_lockedh]jI)}(hjh]h iget_locked}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjަubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h!(struct super_block *sb, u64 ino)h](j|)}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j c.iget_lockedasbuh1hhjubj2)}(h h]h }(hj9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsbh]hsb}(hjThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hu64 inoh](h)}(hhh]jI)}(hu64h]hu64}(hjphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjmubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjrmodnameN classnameNj@jC)}jF]j c.iget_lockedasbuh1hhjiubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjiubjI)}(hinoh]hino}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj{hhhjhMubah}(h]jvah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjxhhubjw)}(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.chMhjçhhubah}(h]h ]h"]h$]h&]uh1jvhjxhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjާjjާjjjuh1jhhhj~hNhNubj)}(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)}(hjh]hstruct super_block *sb}(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)}(hsuper block of file systemh]hsuper block of file system}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h ``u64 ino`` inode number to get h](j)}(h ``u64 ino``h]j)}(hj@h]hu64 ino}(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.chMhj:ubj)}(hhh]h)}(hinode number to geth]hinode number to get}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj{h]h Description}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(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 }(hjhhhNhNubj)}(h**ino**h]hino}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 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.}(hjhhhNhNubeh}(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&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j iunique (C function) c.iuniquehNtauh1hhj~hhhNhNubj)}(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 classnameNj@jC)}jF]jI)}j<iuniquesb c.iuniqueasbuh1hhjݨ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)}(hiuniqueh]jI)}(hjh]hiunique}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjݨhhhjhMubjv)}(h,(struct super_block *sb, ino_t max_reserved)h](j|)}(hstruct super_block *sbh](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 super_blockh]h super_block}(hjQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjSmodnameN classnameNj@jC)}jF]j c.iuniqueasbuh1hhj/ubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/ubj)}(hjh]h*}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubjI)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj+ubj|)}(hino_t max_reservedh](h)}(hhh]jI)}(hino_th]hino_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j c.iuniqueasbuh1hhjubj2)}(h h]h }(hjĩhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(h max_reservedh]h max_reserved}(hjҩhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj+ubeh}(h]h ]h"]h$]h&]j`jauh1juhjݨhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj٨hhhjhMubah}(h]jԨah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhj֨hhubjw)}(hhh]h)}(hget a unique inode numberh]hget a unique inode number}(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&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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}(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 super_block *sb`` 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj7ubj)}(hhh]h)}(h superblockh]h superblock}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhj4ubj)}(h5``ino_t max_reserved`` highest reserved inode number h](j)}(h``ino_t max_reserved``h]j)}(hjvh]hino_t max_reserved}(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.chMhjpubj)}(hhh]h)}(hhighest reserved inode numberh]hhighest reserved inode number}(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:29: ./fs/inode.chMhjubjM)}(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.}(hj˪hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjǪubh)}(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.}(hjڪhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjǪubeh}(h]h ]h"]h$]h&]uh1jLhj٪hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j ilookup5_nowait (C function)c.ilookup5_nowaithNtauh1hhj~hhhNhNubj)}(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}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj 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;ubh)}(hhh]jI)}(hinodeh]hinode}(hj.hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj0modnameN classnameNj@jC)}jF]jI)}j<ilookup5_nowaitsbc.ilookup5_nowaitasbuh1hhj hhhjhM;ubj2)}(h h]h }(hjOhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj hhhjhM;ubj)}(hjh]h*}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhjhM;ubjC)}(hilookup5_nowaith]jI)}(hjLh]hilookup5_nowait}(hjnhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj hhhjhM;ubjv)}(ha(struct super_block *sb, u64 hashval, int (*test)(struct inode*, void*), void *data, bool *isnew)h](j|)}(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 classnameNj@jC)}jF]jJc.ilookup5_nowaitasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(h u64 hashvalh](h)}(hhh]jI)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jJc.ilookup5_nowaitasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(h!int (*test)(struct inode*, void*)h](j)}(hinth]hint}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj2)}(h h]h }(hjOhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=ubj)}(hjVh]h(}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(hjh]h*}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubjI)}(htesth]htest}(hjwhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj=ubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(hjVh]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 classnameNj@jC)}jF]jJc.ilookup5_nowaitasbuh1hhj=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=ubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h void *datah](j)}(hvoidh]hvoid}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj2)}(h h]h }(hjDhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubj)}(hjh]h*}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubjI)}(hdatah]hdata}(hj_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h bool *isnewh](j)}(hjh]hbool}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubjI)}(hisnewh]hisnew}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhj hhhjhM;ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM;ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM;hjhhubjw)}(hhh]h)}(h&search for an inode in the inode cacheh]h&search for 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.chM;hjǭhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM;ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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.chM?hjubj)}(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.chM<hjubj)}(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 hM<hj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM<hjubj)}(h@``u64 hashval`` hash value (usually inode number) to search for h](j)}(h``u64 hashval``h]j)}(hjDh]h u64 hashval}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM=hj>ubj)}(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&]uh1hhjYhM=hjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhM=hjubj)}(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 *)}(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.chM>hjwubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM>hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhM>hjubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM?hjubj)}(hhh]h)}(h'opaque data pointer to pass to **test**h](hopaque data pointer to pass to }(hjϮhhhNhNubj)}(h**test**h]htest}(hj׮hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjϮubeh}(h]h ]h"]h$]h&]uh1hhjˮhM?hj̮ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjˮhM?hjubj)}(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)}(hjh]h bool *isnew}(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.chMBhjubj)}(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)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj9h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMDhjubh)}(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 }(hjOhhhNhNubj)}(h **hashval**h]hhashval}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh and }(hjOhhhNhNubj)}(h**data**h]hdata}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubhm in the inode cache. If the inode is in the cache, the inode is returned with an incremented reference count.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMChjubh)}(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.chMGhjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMHhjubh)}(hHNote2: **test** is called with the inode_hash_lock held, so can't sleep.h](hNote2: }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh; is called with the inode_hash_lock held, so can’t sleep.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j ilookup5 (C function) c.ilookup5hNtauh1hhj~hhhNhNubj)}(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.chM\ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM\ubh)}(hhh]jI)}(hinodeh]hinode}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj modnameN classnameNj@jC)}jF]jI)}j<ilookup5sb c.ilookup5asbuh1hhjhhhjhM\ubj2)}(h h]h }(hj*hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM\ubj)}(hjh]h*}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM\ubjC)}(hilookup5h]jI)}(hj'h]hilookup5}(hjIhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM\ubjv)}(hT(struct super_block *sb, u64 hashval, int (*test)(struct inode*, void*), void *data)h](j|)}(hstruct super_block *sbh](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)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j% c.ilookup5asbuh1hhj`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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj\ubj|)}(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 classnameNj@jC)}jF]j% c.ilookup5asbuh1hhjаubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjаubjI)}(hhashvalh]hhashval}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjаubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj\ubj|)}(h!int (*test)(struct inode*, void*)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj*hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjVh]h(}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(htesth]htest}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubj)}(hjh]h)}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjVh]h(}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj )}(hjh]hstruct}(hjzhhhNhNubah}(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 classnameNj@jC)}jF]j% c.ilookup5asbuh1hhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h,}(hjñhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjбhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hvoidh]hvoid}(hjޱhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj\ubj|)}(h void *datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(hdatah]hdata}(hj:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj\ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM\ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM\ubah}(h]jݯah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM\hj߯hhubjw)}(hhh]h)}(h&search for an inode in the inode cacheh]h&search for an inode in the inode cache}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM\hjahhubah}(h]h ]h"]h$]h&]uh1jvhj߯hhhjhM\ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|jj|jjjuh1jhhhj~hNhNubj)}(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.chM`hjubj)}(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.chM]hjubj)}(hhh]h)}(h$super block of file system to searchh]h$super block of file system to search}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjubj)}(h@``u64 hashval`` hash value (usually inode number) to search for h](j)}(h``u64 hashval``h]j)}(hj޲h]h u64 hashval}(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.chM^hjزubj)}(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&]uh1hhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjزubeh}(h]h ]h"]h$]h&]uh1jhjhM^hjubj)}(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.chM_hjubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hM_hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hM_hjubj)}(h7``void *data`` opaque data pointer to pass to **test** h](j)}(h``void *data``h]j)}(hjPh]h void *data}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM`hjJubj)}(hhh]h)}(h'opaque data pointer to pass to **test**h](hopaque data pointer to pass to }(hjihhhNhNubj)}(h**test**h]htest}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1hhjehM`hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM`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.chMbhjubh)}(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 }(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, 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMahjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMfhjubh)}(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.chMihjubh)}(hA**test** is called with the inode_hash_lock held, so can't sleep.h](j)}(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.chMjhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j ilookup (C function) c.ilookuphNtauh1hhj~hhhNhNubj)}(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}(hjFhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjBhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBhhhjShMubh)}(hhh]jI)}(hinodeh]hinode}(hjehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjgmodnameN classnameNj@jC)}jF]jI)}j<ilookupsb c.ilookupasbuh1hhjBhhhjShMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBhhhjShMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBhhhjShMubjC)}(hilookuph]jI)}(hjh]hilookup}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjBhhhjShMubjv)}(h!(struct super_block *sb, u64 ino)h](j|)}(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< reftargetjmodnameN classnameNj@jC)}jF]j c.ilookupasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(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`jauh1j{hjubj|)}(hu64 inoh](h)}(hhh]jI)}(hu64h]hu64}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj5modnameN classnameNj@jC)}jF]j c.ilookupasbuh1hhj,ubj2)}(h h]h }(hjQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj,ubjI)}(hinoh]hino}(hj_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj,ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjBhhhjShMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj>hhhjShMubah}(h]j9ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjShMhj;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;hhhjShMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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)}(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&]uh1hhjߵhMhjubah}(h]h ]h"]h$]h&]uh1jhjĵubeh}(h]h ]h"]h$]h&]uh1jhjߵhMhjubj)}(h'``u64 ino`` inode number to search for 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.chMhjubj)}(hhh]h)}(hinode number to search forh]hinode number to search for}(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)}(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 }(hjThhhNhNubj)}(h**ino**h]hino}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubhq in the inode cache, and if the inode is in the cache, the inode is returned with an incremented reference count.}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j find_inode_nowait (C function)c.find_inode_nowaithNtauh1hhj~hhhNhNubj)}(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 }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<find_inode_nowaitsbc.find_inode_nowaitasbuh1hhjhhhjhMubj2)}(h h]h }(hjնhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(hfind_inode_nowaith]jI)}(hjҶh]hfind_inode_nowait}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(hZ(struct super_block *sb, u64 hashval, int (*match)(struct inode*, u64, void*), void *data)h](j|)}(hstruct super_block *sbh](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 super_blockh]h super_block}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj/modnameN classnameNj@jC)}jF]jжc.find_inode_nowaitasbuh1hhj ubj2)}(h h]h }(hjKhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(hsbh]hsb}(hjfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h u64 hashvalh](h)}(hhh]jI)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jжc.find_inode_nowaitasbuh1hhj{ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj{ubjI)}(hhashvalh]hhashval}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj{ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h'int (*match)(struct inode*, u64, void*)h](j)}(hinth]hint}(hjǷhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj÷ubj2)}(h h]h }(hjշhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj÷ubj)}(hjVh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj÷ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj÷ubjI)}(hmatchh]hmatch}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj÷ubj)}(hjh]h)}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj÷ubj)}(hjVh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj÷ubj )}(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)}(hinodeh]hinode}(hjChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjEmodnameN classnameNj@jC)}jF]jжc.find_inode_nowaitasbuh1hhj÷ubj)}(hjh]h*}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj÷ubj)}(hjh]h,}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj÷ubj2)}(h h]h }(hj{hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj÷ubh)}(hhh]jI)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jжc.find_inode_nowaitasbuh1hhj÷ubj)}(hjh]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj÷ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj÷ubj)}(hvoidh]hvoid}(hjŸhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj÷ubj)}(hjh]h*}(hjӸhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj÷ubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj÷ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h void *datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdatah]hdata}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h find an inode in the inode cacheh]h find an inode in the inode cache}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjHhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1jhhhj~hNhNubj)}(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)}(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 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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjùubah}(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&]uh1hhjڹhMhj۹ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjڹhMhjubj)}(h[``int (*match)(struct inode *, u64, void *)`` callback used for comparisons between inodes h](j)}(h-``int (*match)(struct inode *, u64, void *)``h]j)}(hjh]h)int (*match)(struct inode *, u64, 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)}(h8``void *data`` opaque data pointer to pass to **match** h](j)}(h``void *data``h]j)}(hj7h]h void *data}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj1ubj)}(hhh]h)}(h(opaque data pointer to pass to **match**h](hopaque data pointer to pass to }(hjPhhhNhNubj)}(h **match**h]hmatch}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1hhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubeh}(h]h ]h"]h$]h&]uh1jhjgubh)}(h**Description**h]j)}(hjh]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.chMhjgubh)}(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}(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 **match**h]hmatch}(hjºhhhNhNubah}(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}(hjԺhhhNhNubah}(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.chMhjgubh)}(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}(hjhhhNhNubah}(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.chMhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j find_inode_rcu (C function)c.find_inode_rcuhNtauh1hhj~hhhNhNubj)}(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}(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 }(hj<hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*hhhj;hMubh)}(hhh]jI)}(hinodeh]hinode}(hjMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjOmodnameN classnameNj@jC)}jF]jI)}j<find_inode_rcusbc.find_inode_rcuasbuh1hhj*hhhj;hMubj2)}(h h]h }(hjnhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*hhhj;hMubj)}(hjh]h*}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*hhhj;hMubjC)}(hfind_inode_rcuh]jI)}(hjkh]hfind_inode_rcu}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj*hhhj;hMubjv)}(hT(struct super_block *sb, u64 hashval, int (*test)(struct inode*, void*), void *data)h](j|)}(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 classnameNj@jC)}jF]jic.find_inode_rcuasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(h u64 hashvalh](h)}(hhh]jI)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jic.find_inode_rcuasbuh1hhjubj2)}(h h]h }(hj9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hhashvalh]hhashval}(hjGhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h!int (*test)(struct inode*, void*)h](j)}(hinth]hint}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj2)}(h h]h }(hjnhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\ubj)}(hjVh]h(}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubjI)}(htesth]htest}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\ubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj)}(hjVh]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)}(hinodeh]hinode}(hjܼhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjټubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj޼modnameN classnameNj@jC)}jF]jic.find_inode_rcuasbuh1hhj\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\ubj)}(hvoidh]hvoid}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj)}(hjh]h*}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj)}(hjh]h)}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h void *datah](j)}(hvoidh]hvoid}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj2)}(h h]h }(hjchhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjQubj)}(hjh]h*}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubjI)}(hdatah]hdata}(hj~hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhj*hhhj;hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj&hhhj;hMubah}(h]j!ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj;hMhj#hhubjw)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhj#hhhj;hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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)}(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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``u64 hashval`` Key to hash 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.chMhjubj)}(hhh]h)}(h Key to hashh]h Key to hash}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubj)}(hK``int (*test)(struct inode *, void *)`` Function to test match on an inode h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hj[h]h#int (*test)(struct inode *, void *)}(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"Function to test match on an inodeh]h"Function to test match on an inode}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubj)}(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&]uh1jhjhMhjubeh}(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:29: ./fs/inode.chMhjĽubh)}(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.chMhjĽubh)}(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}(hjDhhhNhNubah}(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.chMhjĽubh)}(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}(hjehhhNhNubah}(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.chMhjĽubh)}(h'The caller must hold the RCU read lock.h]h'The caller must hold the RCU read lock.}(hj~hhhNhNubah}(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&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "find_inode_by_ino_rcu (C function)c.find_inode_by_ino_rcuhNtauh1hhj~hhhNhNubj)}(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.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubh)}(hhh]jI)}(hinodeh]hinode}(hj̿hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjɿubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjοmodnameN classnameNj@jC)}jF]jI)}j<find_inode_by_ino_rcusbc.find_inode_by_ino_rcuasbuh1hhjhhhjhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(hfind_inode_by_ino_rcuh]jI)}(hjh]hfind_inode_by_ino_rcu}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h!(struct super_block *sb, u64 ino)h](j|)}(hstruct super_block *sbh](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)}(h super_blockh]h super_block}(hjEhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjGmodnameN classnameNj@jC)}jF]jc.find_inode_by_ino_rcuasbuh1hhj#ubj2)}(h h]h }(hjchhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#ubj)}(hjh]h*}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubjI)}(hsbh]hsb}(hj~hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hu64 inoh](h)}(hhh]jI)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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)}(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.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)}(hj1h]hstruct super_block *sb}(hj3hhhNhNubah}(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}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhj(ubj)}(h&``u64 ino`` The inode number to match h](j)}(h ``u64 ino``h]j)}(hjjh]hu64 ino}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjdubj)}(hhh]h)}(hThe inode number to matchh]hThe inode number to match}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(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:29: ./fs/inode.chMhj ubh)}(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}(hjhhhNhNubah}(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.chMhj ubh)}(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 }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( function returned 1 and NULL otherwise.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj ubh)}(hoThe **test** function is not permitted to take a ref on any inode presented. It is also not permitted to sleep.h](hThe }(hj3hhhNhNubj)}(h**test**h]htest}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubhc function is not permitted to take a ref on any inode presented. It is also not permitted to sleep.}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj ubh)}(h'The caller must hold the RCU read lock.h]h'The caller must hold the RCU read lock.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j iput (C function)c.iputhNtauh1hhj~hhhNhNubj)}(hhh](j)}(hvoid iput (struct inode *inode)h]j)}(hvoid iput(struct inode *inode)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/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`jauh1jBhjhhhjhMubjv)}(h(struct inode *inode)h]j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.iputasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(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`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj{hhhjhMubah}(h]jvah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjxhhubjw)}(hhh]h)}(h put an inodeh]h put an inode}(hjChhhNhNubah}(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&]uh1jvhjxhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1jhhhj~hNhNubj)}(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)}(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:29: ./fs/inode.chMhj_ubj)}(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.chMhj~ubj)}(hhh]h)}(h inode to puth]h inode to put}(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&]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_ubjM)}(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&]uh1jLhjhMhj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j iput_not_last (C function)c.iput_not_lasthNtauh1hhj~hhhNhNubj)}(hhh](j)}(h(void iput_not_last (struct inode *inode)h]j)}(h'void iput_not_last(struct inode *inode)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]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+hMubjC)}(h iput_not_lasth]jI)}(h iput_not_lasth]h iput_not_last}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj:ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj+hMubjv)}(h(struct inode *inode)h]j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjVubj2)}(h h]h }(hjghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVubh)}(hhh]jI)}(hinodeh]hinode}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjuubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjzmodnameN classnameNj@jC)}jF]jI)}j<j@sbc.iput_not_lastasbuh1hhjVubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjRubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhj+hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj+hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj+hMhjhhubjw)}(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&]uh1jvhjhhhj+hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(h6**Parameters** ``struct inode *inode`` inode to puth](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 puth](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(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 inode to puth]h inode to put}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bmap (C function)c.bmaphNtauh1hhj~hhhNhNubj)}(hhh](j)}(h/int bmap (struct inode *inode, sector_t *block)h]j)}(h.int bmap(struct inode *inode, sector_t *block)h](j)}(hinth]hint}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjthhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjthhhjhMubjC)}(hbmaph]jI)}(hbmaph]hbmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjthhhjhMubjv)}(h&(struct inode *inode, sector_t *block)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.bmapasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(hsector_t *blockh](h)}(hhh]jI)}(hsector_th]hsector_t}(hj*hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj,modnameN classnameNj@jC)}jF]jc.bmapasbuh1hhj#ubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#ubj)}(hjh]h*}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubjI)}(hblockh]hblock}(hjchhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjthhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjphhhjhMubah}(h]jkah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjmhhubjw)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjmhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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.chMhjubj)}(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.chMhjubj)}(hhh]h)}(h-inode owning the block number being requestedh]h-inode owning the block number being requested}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h9``sector_t *block`` pointer containing the block to find h](j)}(h``sector_t *block``h]j)}(hjh]hsector_t *block}(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$pointer containing the block to findh]h$pointer containing the block to find}(hj hhhNhNubah}(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)}(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.chMhjubjM)}(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 }(hj\hhhNhNubj)}(h ``*block``h]h*block}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh 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 }(hj\hhhNhNubj)}(h ``*block``h]h*block}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubhO, with disk block relative to the disk start that holds that block of the file.}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjXubh)}(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.chMhjXubeh}(h]h ]h"]h$]h&]uh1jLhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j inode_update_time (C function)c.inode_update_timehNtauh1hhj~hhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMZubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMZubjC)}(hinode_update_timeh]jI)}(hinode_update_timeh]hinode_update_time}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMZubjv)}(hC(struct inode *inode, enum fs_update_time type, unsigned int flags)h](j|)}(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}(hj1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj3modnameN classnameNj@jC)}jF]jI)}j<jsbc.inode_update_timeasbuh1hhjubj2)}(h h]h }(hjQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj ubj|)}(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 classnameNj@jC)}jF]jMc.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`jauh1j{hj ubj|)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hflagsh]hflags}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMZubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMZubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMZhjhhubjw)}(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}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMZhjGhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1jhhhj~hNhNubj)}(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)}(hjlh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM^hjfubj)}(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.chM[hjubj)}(hhh]h)}(hinode to be updatedh]hinode to be updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjubj)}(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.chM\hjubj)}(hhh]h)}(htimestamp to be updatedh]htimestamp to be updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjubj)}(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.chM]hjubj)}(hhh]h)}(hflags for the updateh]hflags for the update}(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&]uh1jhjfubh)}(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:29: ./fs/inode.chM_hjfubh)}(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.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM^hjfubh)}(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.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMbhjfubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  generic_update_time (C function)c.generic_update_timehNtauh1hhj~hhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMwubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMwubjC)}(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`jauh1jBhjhhhjhMwubjv)}(hC(struct inode *inode, enum fs_update_time type, unsigned int flags)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.generic_update_timeasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(henum fs_update_time typeh](j )}(hj#h]henum}(hj;hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj7ubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7ubh)}(hhh]jI)}(hfs_update_timeh]hfs_update_time}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj[modnameN classnameNj@jC)}jF]jc.generic_update_timeasbuh1hhj7ubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7ubjI)}(htypeh]htype}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMwubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMwubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMwhjhhubjw)}(hhh]h)}(h"update the timestamps on the inodeh]h"update the timestamps on the inode}(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&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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)}(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 be updated h](j)}(h``struct inode *inode``h]j)}(hjAh]hstruct inode *inode}(hjChhhNhNubah}(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.chMxhj;ubj)}(hhh]h)}(hinode to be updatedh]hinode to be updated}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMxhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMxhj8ubj)}(h5``enum fs_update_time type`` timestamp to be updated h](j)}(h``enum fs_update_time type``h]j)}(hjzh]henum fs_update_time type}(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.chMyhjtubj)}(hhh]h)}(htimestamp to be updatedh]htimestamp to be updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMyhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMyhj8ubj)}(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.chMzhjubj)}(hhh]h)}(hflags for the updateh]hflags for the update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhj8ubeh}(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)}(h0Returns a negative error value on error, else 0.h]h0Returns a negative error value on error, else 0.}(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&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j file_remove_privs (C function)c.file_remove_privshNtauh1hhj~hhhNhNubj)}(hhh](j)}(h)int file_remove_privs (struct file *file)h]j)}(h(int file_remove_privs(struct file *file)h](j)}(hinth]hint}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM" ubj2)}(h h]h }(hjBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/hhhjAhM" ubjC)}(hfile_remove_privsh]jI)}(hfile_remove_privsh]hfile_remove_privs}(hjThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj/hhhjAhM" ubjv)}(h(struct file *file)h]j|)}(hstruct file *fileh](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)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jVsbc.file_remove_privsasbuh1hhjlubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjlubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubjI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjhubah}(h]h ]h"]h$]h&]j`jauh1juhj/hhhjAhM" ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj+hhhjAhM" ubah}(h]j&ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjAhM" hj(hhubjw)}(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.chM" hjhhubah}(h]h ]h"]h$]h&]uh1jvhj(hhhjAhM" ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1jhhhj~hNhNubj)}(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)}(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)}(h5``struct file *file`` file to remove privileges from h](j)}(h``struct file *file``h]j)}(hj4h]hstruct file *file}(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.chM# hj.ubj)}(hhh]h)}(hfile to remove privileges fromh]hfile to remove privileges from}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhM# hjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhM# hj+ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjoh]h Description}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM% hjubh)}(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.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&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j current_time (C function)c.current_timehNtauh1hhj~hhhNhNubj)}(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.chM1 ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM1 ubh)}(hhh]jI)}(h timespec64h]h timespec64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j< current_timesbc.current_timeasbuh1hhjhhhjhM1 ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM1 ubjC)}(h current_timeh]jI)}(hjh]h current_time}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM1 ubjv)}(h(struct inode *inode)h]j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjDubj2)}(h h]h }(hjUhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjDubh)}(hhh]jI)}(hinodeh]hinode}(hjfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjcubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjhmodnameN classnameNj@jC)}jF]jc.current_timeasbuh1hhjDubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjDubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjDubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj@ubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM1 ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM1 ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM1 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.chM1 hjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM1 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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.chM5 hjubj)}(hhh]j)}(h``struct inode *inode`` inode. h](j)}(h``struct inode *inode``h]j)}(hj h]hstruct inode *inode}(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.chM2 hjubj)}(hhh]h)}(hinode.h]hinode.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM2 hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2 hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(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:29: ./fs/inode.chM4 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.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM3 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().}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM8 hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j file_update_time (C function)c.file_update_timehNtauh1hhj~hhhNhNubj)}(hhh](j)}(h(int file_update_time (struct file *file)h]j)}(h'int file_update_time(struct file *file)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]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| 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| ubjv)}(h(struct file *file)h]j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.file_update_timeasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfileh]hfile}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM| 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}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM| hjVhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM| ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1jhhhj~hNhNubj)}(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)}(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:29: ./fs/inode.chM hjuubj)}(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&]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:29: ./fs/inode.chM hjuubh)}(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~ hjuubh)}(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 hjuubh)}(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 hjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j file_modified (C function)c.file_modifiedhNtauh1hhj~hhhNhNubj)}(hhh](j)}(h%int file_modified (struct file *file)h]j)}(h$int file_modified(struct file *file)h](j)}(hinth]hint}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj2)}(h h]h }(hjPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=hhhjOhM ubjC)}(h file_modifiedh]jI)}(h file_modifiedh]h file_modified}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj^ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj=hhhjOhM ubjv)}(h(struct file *file)h]j|)}(hstruct file *fileh](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)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jdsbc.file_modifiedasbuh1hhjzubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjzubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubjI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjvubah}(h]h ]h"]h$]h&]j`jauh1juhj=hhhjOhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj9hhhjOhM ubah}(h]j4ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjOhM hj6hhubjw)}(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&]uh1jvhj6hhhjOhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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)}(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 file *file`` file that was modified h](j)}(h``struct file *file``h]j)}(hjBh]hstruct file *file}(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)}(hfile that was modifiedh]hfile that was modified}(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)}(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&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j kiocb_modified (C function)c.kiocb_modifiedhNtauh1hhj~hhhNhNubj)}(hhh](j)}(h'int kiocb_modified (struct kiocb *iocb)h]j)}(h&int kiocb_modified(struct kiocb *iocb)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 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)}(hkiocb_modifiedh]jI)}(hkiocb_modifiedh]hkiocb_modified}(hj1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj-ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj hhhjhM ubjv)}(h(struct kiocb *iocb)h]j|)}(hstruct kiocb *iocbh](j )}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjIubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjIubh)}(hhh]jI)}(hkiocbh]hkiocb}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmmodnameN classnameNj@jC)}jF]jI)}j<j3sbc.kiocb_modifiedasbuh1hhjIubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjIubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubjI)}(hiocbh]hiocb}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjIubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjEubah}(h]h ]h"]h$]h&]j`jauh1juhj hhhjhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM hjhhubjw)}(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&]uh1jvhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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)}(hjh]hstruct kiocb *iocb}(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 hj ubj)}(hhh]h)}(hiocb that was modifiedh]hiocb that was modified}(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 hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjLh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(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.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(h **Context**h]j)}(hjsh]hContext}(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 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&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j inode_init_owner (C function)c.inode_init_ownerhNtauh1hhj~hhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMV ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMV ubjC)}(hinode_init_ownerh]jI)}(hinode_init_ownerh]hinode_init_owner}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMV ubjv)}(hU(struct mnt_idmap *idmap, struct inode *inode, const struct inode *dir, umode_t mode)h](j|)}(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}(hj:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj<modnameN classnameNj@jC)}jF]jI)}j<jsbc.inode_init_ownerasbuh1hhjubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hjuhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jVc.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`jauh1j{hjubj|)}(hconst struct inode *dirh](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)}(hinodeh]hinode}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj9modnameN classnameNj@jC)}jF]jVc.inode_init_ownerasbuh1hhjubj2)}(h h]h }(hjUhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdirh]hdir}(hjphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jVc.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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMV ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMV ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMV hjhhubjw)}(hhh]h)}(hah"]h$]h&]uh1j1hjhhhjhMs 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`jauh1jBhjhhhjhMs ubjv)}(h4(struct mnt_idmap *idmap, const struct inode *inode)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.inode_owner_or_capableasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(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`jauh1j{hjubj|)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hj2hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj.ubj2)}(h h]h }(hj?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.ubj )}(hjh]hstruct}(hjMhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj.ubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.ubh)}(hhh]jI)}(hinodeh]hinode}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmmodnameN classnameNj@jC)}jF]jc.inode_owner_or_capableasbuh1hhj.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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMs ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj|hhhjhMs ubah}(h]jwah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMs hjyhhubjw)}(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.chMs hjhhubah}(h]h ]h"]h$]h&]uh1jvhjyhhhjhMs ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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.chMw 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)}(hjh]hstruct mnt_idmap *idmap}(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.chMt hj 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$hMt hj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMt hjubj)}(h2``const struct inode *inode`` inode being checked h](j)}(h``const struct inode *inode``h]j)}(hjHh]hconst struct inode *inode}(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.chMu hjBubj)}(hhh]h)}(hinode being checkedh]hinode being checked}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hMu hj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMu 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.chMw 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.chMv 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.chMy hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j inode_dio_wait (C function)c.inode_dio_waithNtauh1hhj~hhhNhNubj)}(hhh](j)}(h)void inode_dio_wait (struct inode *inode)h]j)}(h(void inode_dio_wait(struct inode *inode)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 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)}(hinode_dio_waith]jI)}(hinode_dio_waith]hinode_dio_wait}(hj.hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj hhhjhM ubjv)}(h(struct inode *inode)h]j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjFubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjjmodnameN classnameNj@jC)}jF]jI)}j<j0sbc.inode_dio_waitasbuh1hhjFubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjBubah}(h]h ]h"]h$]h&]j`jauh1juhj hhhjhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM hjhhubjw)}(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&]uh1jvhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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)}(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.chM hjubj)}(hhh]h)}(hinode to wait forh]hinode to wait for}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hM hj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hM hjubah}(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&]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.}(hj_hhhNhNubah}(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.}(hjnhhhNhNubah}(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&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j timestamp_truncate (C function)c.timestamp_truncatehNtauh1hhj~hhhNhNubj)}(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 classnameNj@jC)}jF]jI)}j<timestamp_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 ubjv)}(h*(struct timespec64 t, struct inode *inode)h](j|)}(hstruct timespec64 th](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 timespec64h]h timespec64}(hj(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj*modnameN classnameNj@jC)}jF]jc.timestamp_truncateasbuh1hhjubj2)}(h h]h }(hjFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hth]ht}(hjThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jc.timestamp_truncateasbuh1hhjiubj2)}(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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM 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&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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)}(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 hj ubj)}(hhh](j)}(h!``struct timespec64 t`` Timespec h](j)}(h``struct timespec64 t``h]j)}(hj/h]hstruct timespec64 t}(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.chM hj)ubj)}(hhh]h)}(hTimespech]hTimespec}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhM hjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhM hj&ubj)}(h,``struct inode *inode`` inode being updated h](j)}(h``struct inode *inode``h]j)}(hjhh]hstruct inode *inode}(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.chM hjbubj)}(hhh]h)}(hinode being updatedh]hinode being updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hM hj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hM hj&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:29: ./fs/inode.chM hj ubh)}(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 hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $inode_set_ctime_current (C function)c.inode_set_ctime_currenthNtauh1hhj~hhhNhNubj)}(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 }(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< reftargetj modnameN classnameNj@jC)}jF]jI)}j<inode_set_ctime_currentsbc.inode_set_ctime_currentasbuh1hhjhhhjhM ubj2)}(h h]h }(hj(hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM ubjC)}(hinode_set_ctime_currenth]jI)}(hj%h]hinode_set_ctime_current}(hj:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM ubjv)}(h(struct inode *inode)h]j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjUhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjQubj2)}(h h]h }(hjbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjQubh)}(hhh]jI)}(hinodeh]hinode}(hjshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjumodnameN classnameNj@jC)}jF]j#c.inode_set_ctime_currentasbuh1hhjQubj2)}(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`jauh1j{hjMubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM 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&]uh1jvhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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)}(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 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)}(hinodeh]hinode}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hM hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hM hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjRh]h Description}(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.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.}(hjhhhhNhNubah}(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.}(hjwhhhNhNubah}(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.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "inode_set_ctime_deleg (C function)c.inode_set_ctime_deleghNtauh1hhj~hhhNhNubj)}(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.chMK ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMK ubh)}(hhh]jI)}(h timespec64h]h timespec64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<inode_set_ctime_delegsbc.inode_set_ctime_delegasbuh1hhjhhhjhMK ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMK ubjC)}(hinode_set_ctime_delegh]jI)}(hjh]hinode_set_ctime_deleg}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMK ubjv)}(h/(struct inode *inode, struct timespec64 update)h](j|)}(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 classnameNj@jC)}jF]jc.inode_set_ctime_delegasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMK ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMK ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMK hjhhubjw)}(hhh]h)}(h,try to update the ctime on a delegated inodeh]h,try to update the ctime on a delegated inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMK hjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMK ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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)}(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.chMO hj"ubj)}(hhh](j)}(h(``struct inode *inode`` inode to update h](j)}(h``struct inode *inode``h]j)}(hjGh]hstruct inode *inode}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chML hjAubj)}(hhh]h)}(hinode to updateh]hinode to update}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\hML hj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hML hj>ubj)}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMM hjzubj)}(hhh]h)}(htimespec64 to set the ctimeh]htimespec64 to set the ctime}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMM hjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMM hj>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:29: ./fs/inode.chMO hj"ubh)}(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.chMN hj"ubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMP hj"ubh)}(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.chMT hj"ubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMW hj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  in_group_or_capable (C function)c.in_group_or_capablehNtauh1hhj~hhhNhNubj)}(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](j)}(hjh]hbool}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)hhhR/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&]uh1j1hj)hhhj:hM ubjC)}(hin_group_or_capableh]jI)}(hin_group_or_capableh]hin_group_or_capable}(hjMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjIubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj)hhhj:hM ubjv)}(hE(struct mnt_idmap *idmap, const struct inode *inode, vfsgid_t vfsgid)h](j|)}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jOsbc.in_group_or_capableasbuh1hhjeubj2)}(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`jauh1j{hjaubj|)}(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 classnameNj@jC)}jF]jc.in_group_or_capableasbuh1hhjubj2)}(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`jauh1j{hjaubj|)}(hvfsgid_t vfsgidh](h)}(hhh]jI)}(hvfsgid_th]hvfsgid_t}(hjihhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjfubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjkmodnameN classnameNj@jC)}jF]jc.in_group_or_capableasbuh1hhjbubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbubjI)}(hvfsgidh]hvfsgid}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjaubeh}(h]h ]h"]h$]h&]j`jauh1juhj)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-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&]uh1jvhj"hhhj:hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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)}(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 **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:29: ./fs/inode.chM hjubj)}(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&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h-``const struct inode *inode`` inode to check h](j)}(h``const struct inode *inode``h]j)}(hjKh]hconst struct inode *inode}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjEubj)}(hhh]h)}(hinode to checkh]hinode to check}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hM hjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hM hjubj)}(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 hj~ubj)}(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&]uh1jhj~ubeh}(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)}(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}(hjhhhNhNubah}(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)}(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)}(hah"]h$]h&]uh1j1hjYhhhjhM ubjC)}(hmode_strip_sgidh]jI)}(hj~h]hmode_strip_sgid}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjYhhhjhM ubjv)}(h@(struct mnt_idmap *idmap, const struct inode *dir, umode_t mode)h](j|)}(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 classnameNj@jC)}jF]j|c.mode_strip_sgidasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(hconst struct inode *dirh](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 }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hinodeh]hinode}(hjXhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjUubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjZmodnameN classnameNj@jC)}jF]j|c.mode_strip_sgidasbuh1hhjubj2)}(h h]h }(hjvhhhNhNubah}(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`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]j|c.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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjYhhhjhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjUhhhjhM ubah}(h]jPah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM hjRhhubjw)}(hhh]h)}(h'handle the sgid bit for non-directoriesh]h'handle the sgid bit for non-directories}(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&]uh1jvhjRhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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)}(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)}(hJ``struct mnt_idmap *idmap`` idmap of the mount the inode was created from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjDh]hstruct mnt_idmap *idmap}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(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 the inode was created fromh]h-idmap of the mount the inode was created from}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhM hjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhM hj;ubj)}(h3``const struct inode *dir`` parent directory inode h](j)}(h``const struct inode *dir``h]j)}(hj}h]hconst struct inode *dir}(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.chM hjwubj)}(hhh]h)}(hparent directory inodeh]hparent directory inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhM hj;ubj)}(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 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)}(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 }(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhA of the new file has both the S_ISGID and S_IXGRP bit raised and }(hjhhhNhNubj)}(h**dir**h]hdir}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 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 }(hjhhhNhNubj)}(h**mode**h]hmode}(hjAhhhNhNubah}(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 hjubh)}(h **Return**h]j)}(hj\h]hReturn}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(h the new mode to use for the fileh]h the new mode to use for the file}(hjrhhhNhNubah}(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&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j dump_inode (C function) c.dump_inodehNtauh1hhj~hhhNhNubj)}(hhh](j)}(h9void dump_inode (struct inode *inode, const char *reason)h]j)}(h8void dump_inode(struct inode *inode, const char *reason)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]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 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 ubjv)}(h)(struct inode *inode, const char *reason)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jsb c.dump_inodeasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hconst char *reasonh](j )}(hjh]hconst}(hjPhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjLubj2)}(h h]h }(hj]hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLubj)}(hcharh]hchar}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubj2)}(h h]h }(hjyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubjI)}(hreasonh]hreason}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM 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&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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)}(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 dump 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 to dumph]h inode to dump}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h*``const char *reason`` reason for dumping h](j)}(h``const char *reason``h]j)}(hj8h]hconst char *reason}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj2ubj)}(hhh]h)}(hreason for dumpingh]hreason for dumping}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhM hjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjsh]h Description}(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 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&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j make_bad_inode (C function)c.make_bad_inodehNtauh1hhj~hhhNhNubj)}(hhh](j)}(h)void make_bad_inode (struct inode *inode)h]j)}(h(void make_bad_inode(struct inode *inode)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/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`jauh1jBhjhhhjhKubjv)}(h(struct inode *inode)h]j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.make_bad_inodeasbuh1hhjubj2)}(h h]h }(hj3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjNhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhKubeh}(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}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjuhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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}(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.chKhjubjM)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhj ubah}(h]h ]h"]h$]h&]uh1jLhjhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j is_bad_inode (C function)c.is_bad_inodehNtauh1hhj~hhhNhNubj)}(hhh](j)}(h'bool is_bad_inode (struct inode *inode)h]j)}(h&bool is_bad_inode(struct inode *inode)h](j)}(hjh]hbool}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?hhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKubj2)}(h h]h }(hjQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj?hhhjPhKubjC)}(h is_bad_inodeh]jI)}(h is_bad_inodeh]h is_bad_inode}(hjchhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj?hhhjPhKubjv)}(h(struct inode *inode)h]j|)}(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 classnameNj@jC)}jF]jI)}j<jesbc.is_bad_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`jauh1j{hjwubah}(h]h ]h"]h$]h&]j`jauh1juhj?hhhjPhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj;hhhjPhKubah}(h]j6ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjPhKhj8hhubjw)}(hhh]h)}(his an inode erroredh]his an inode errored}(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&]uh1jvhj8hhhjPhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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)}(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:32: ./fs/bad_inode.chKhjubj)}(hhh]j)}(h&``struct inode *inode`` inode to test h](j)}(h``struct inode *inode``h]j)}(hjCh]hstruct inode *inode}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhj=ubj)}(hhh]h)}(h inode to testh]h inode to test}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhKhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhKhj:ubah}(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubjM)}(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&]uh1jLhjhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j iget_failed (C function) c.iget_failedhNtauh1hhj~hhhNhNubj)}(hhh](j)}(h&void iget_failed (struct inode *inode)h]j)}(h%void iget_failed(struct inode *inode)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/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`jauh1jBhjhhhjhKubjv)}(h(struct inode *inode)h]j|)}(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 classnameNj@jC)}jF]jI)}j<jsb c.iget_failedasbuh1hhjubj2)}(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`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhKubeh}(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&]jjjjjjjjjuh1jhhhj~hNhNubj)}(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&]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.chKhjubh)}(h8Mark an under-construction inode as dead and release it.h]h8Mark 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.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj~hhhNhNubeh}(h]inode-handlingah ]h"]inode handlingah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hRegistration and Superblocksh]hRegistration and Superblocks}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<hhhhhK$ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $deactivate_locked_super (C function)c.deactivate_locked_superhNtauh1hhj<hhhNhNubj)}(hhh](j)}(h4void deactivate_locked_super (struct super_block *s)h]j)}(h3void deactivate_locked_super(struct super_block *s)h](j)}(hvoidh]hvoid}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj2)}(h h]h }(hjuhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbhhhjthMubjC)}(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`jauh1jBhjbhhhjthMubjv)}(h(struct super_block *s)h]j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.deactivate_locked_superasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsh]hs}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjbhhhjthMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj^hhhjthMubah}(h]jYah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjthMhj[hhubjw)}(hhh]h)}(h&drop an active reference to superblockh]h&drop an active reference to superblock}(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[hhhjthMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1jhhhj<hNhNubj)}(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)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjBubj)}(hhh]j)}(h3``struct super_block *s`` superblock to deactivate h](j)}(h``struct super_block *s``h]j)}(hjgh]hstruct super_block *s}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjaubj)}(hhh]h)}(hsuperblock to deactivateh]hsuperblock to deactivate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj^ubah}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjBubjM)}(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&]uh1jLhjhMhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj<hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j deactivate_super (C function)c.deactivate_superhNtauh1hhj<hhhNhNubj)}(hhh](j)}(h-void deactivate_super (struct super_block *s)h]j)}(h,void deactivate_super(struct super_block *s)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/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_superh]jI)}(hdeactivate_superh]hdeactivate_super}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h(struct super_block *s)h]j|)}(hstruct super_block *sh](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)}(h super_blockh]h super_block}(hj[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj]modnameN classnameNj@jC)}jF]jI)}j<j#sbc.deactivate_superasbuh1hhj9ubj2)}(h h]h }(hj{hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubjI)}(hjh]hs}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj9ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj5ubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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}(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&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj<hNhNubj)}(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)}(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.chMhjubj)}(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&]uh1jhjubh)}(h**Description**h]j)}(hj;h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubjM)}(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 }(hjUhhhNhNubj )}(h*not*h]hnot}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1j hjUubhl locked by caller. If we are going to drop the final active reference, lock will be acquired prior to that.}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjQubah}(h]h ]h"]h$]h&]uh1jLhjuhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj<hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j retire_super (C function)c.retire_superhNtauh1hhj<hhhNhNubj)}(hhh](j)}(h*void retire_super (struct super_block *sb)h]j)}(h)void retire_super(struct super_block *sb)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/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)}(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`jauh1jBhjhhhjhM@ubjv)}(h(struct super_block *sb)h]j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.retire_superasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsbh]hsb}(hj2hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM@ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM@ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM@hjhhubjw)}(hhh]h)}(h%prevents superblock from being reusedh]h%prevents superblock from being reused}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM@hjYhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1jhhhj<hNhNubj)}(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)}(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.chMDhjxubj)}(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.chMAhjubj)}(hhh]h)}(hsuperblock to retireh]hsuperblock to retire}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjubah}(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:38: ./fs/super.chMChjxubjM)}(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.chMBhjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMJhjubeh}(h]h ]h"]h$]h&]uh1jLhjhMBhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj<hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j #generic_shutdown_super (C function)c.generic_shutdown_superhNtauh1hhj<hhhNhNubj)}(hhh](j)}(h4void generic_shutdown_super (struct super_block *sb)h]j)}(h3void generic_shutdown_super(struct super_block *sb)h](j)}(hvoidh]hvoid}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM]ubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2hhhjDhM]ubjC)}(hgeneric_shutdown_superh]jI)}(hgeneric_shutdown_superh]hgeneric_shutdown_super}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj2hhhjDhM]ubjv)}(h(struct super_block *sb)h]j|)}(hstruct super_block *sbh](j )}(hjh]hstruct}(hjshhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjoubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjoubh)}(hhh]jI)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jYsbc.generic_shutdown_superasbuh1hhjoubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjoubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubjI)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjkubah}(h]h ]h"]h$]h&]j`jauh1juhj2hhhjDhM]ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj.hhhjDhM]ubah}(h]j)ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjDhM]hj+hhubjw)}(hhh]h)}(hcommon helper for ->kill_sb()h]hcommon helper for ->kill_sb()}(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+hhhjDhM]ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj<hNhNubj)}(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)}(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.chMahjubj)}(hhh]j)}(h.``struct super_block *sb`` superblock to kill h](j)}(h``struct super_block *sb``h]j)}(hj7h]hstruct super_block *sb}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM^hj1ubj)}(hhh]h)}(hsuperblock to killh]hsuperblock to kill}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhM^hjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhM^hj.ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjrh]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM`hjubjM)}(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.chMehjubeh}(h]h ]h"]h$]h&]uh1jLhjhM_hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj<hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j sget_fc (C function) c.sget_fchNtauh1hhj<hhhNhNubj)}(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 }(hjhhhNhNubah}(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 classnameNj@jC)}jF]jI)}j<sget_fcsb c.sget_fcasbuh1hhjhhhjhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(hsget_fch]jI)}(hj h]hsget_fc}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj+ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h(struct fs_context *fc, int (*test)(struct super_block*, struct fs_context*), int (*set)(struct super_block*, struct fs_context*))h](j|)}(hstruct fs_context *fch](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 fs_contexth]h fs_context}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjjmodnameN classnameNj@jC)}jF]j c.sget_fcasbuh1hhjFubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubjI)}(hfch]hfc}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjBubj|)}(h4int (*test)(struct super_block*, struct fs_context*)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjVh]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)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjVh]h(}(hj hhhNhNubah}(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)}(h super_blockh]h super_block}(hj6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj8modnameN classnameNj@jC)}jF]j c.sget_fcasbuh1hhjubj)}(hjh]h*}(hjThhhNhNubah}(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&]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 fs_contexth]h fs_context}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j c.sget_fcasbuh1hhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjBubj|)}(h3int (*set)(struct super_block*, struct fs_context*)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjVh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hseth]hset}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubj)}(hjh]h)}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjVh]h(}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj )}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h super_blockh]h super_block}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj[modnameN classnameNj@jC)}jF]j c.sget_fcasbuh1hhjubj)}(hjh]h*}(hjwhhhNhNubah}(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 classnameNj@jC)}jF]j c.sget_fcasbuh1hhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjBubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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}(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&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)jj)jjjuh1jhhhj<hNhNubj)}(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)}(hj3h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(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`` Filesystem context. h](j)}(h``struct fs_context *fc``h]j)}(hjRh]hstruct fs_context *fc}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjLubj)}(hhh]h)}(hFilesystem context.h]hFilesystem context.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjIubj)}(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&]uh1jhjhMhjIubj)}(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&]uh1jhjhMhjIubeh}(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.chMhj-ubh)}(h0Create a new superblock or find an existing one.h]h0Create a new superblock or find an existing one.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj-ubh)}(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 }(hj$hhhNhNubj)}(h**test**h]htest}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubhe callback is used to find a matching existing superblock. Whether or not the requested parameters in }(hj$hhhNhNubj)}(h**fc**h]hfc}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubh+ are taken into account is specific to the }(hj$hhhNhNubj)}(h**test**h]htest}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubh< callback that is used. They may even be completely ignored.}(hj$hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj-ubh)}(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:}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj-ubhenumerated_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.chMhj}ubah}(h]h ]h"]h$]h&]uh1j[Chjzubj\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[Chjzubeh}(h]h ]h"]h$]h&]enumtypearabicprefixjVsuffixjuh1jxhj-ubh)}(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.chMhj-ubh)}(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.chMhj-ubh)}(h **Return**h]j)}(hjh]hReturn}(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.chMhj-ubh)}(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.}(hj%hhhNhNubah}(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&]uh1jhj<hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j sget (C function)c.sgethNtauh1hhj<hhhNhNubj)}(hhh](j)}(hstruct super_block * sget (struct file_system_type *type, int (*test)(struct super_block *,void *), int (*set)(struct super_block *,void *), int flags, void *data)h]j)}(hstruct super_block *sget(struct file_system_type *type, int (*test)(struct super_block*, void*), int (*set)(struct super_block*, void*), int flags, void *data)h](j )}(hjh]hstruct}(hjThhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjPhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM,ubj2)}(h h]h }(hjbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPhhhjahM,ubh)}(hhh]jI)}(h super_blockh]h super_block}(hjshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjumodnameN classnameNj@jC)}jF]jI)}j<sgetsbc.sgetasbuh1hhjPhhhjahM,ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPhhhjahM,ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPhhhjahM,ubjC)}(hsgeth]jI)}(hjh]hsget}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjPhhhjahM,ubjv)}(h(struct file_system_type *type, int (*test)(struct super_block*, void*), int (*set)(struct super_block*, void*), int flags, void *data)h](j|)}(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 classnameNj@jC)}jF]jc.sgetasbuh1hhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(htypeh]htype}(hj%hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h'int (*test)(struct super_block*, void*)h](j)}(hinth]hint}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj:ubj)}(hjVh]h(}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj)}(hjh]h*}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubjI)}(htesth]htest}(hjthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj:ubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj)}(hjVh]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 classnameNj@jC)}jF]jc.sgetasbuh1hhj: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:ubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h&int (*set)(struct super_block*, void*)h](j)}(hinth]hint}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/ubj)}(hjVh]h(}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj)}(hjh]h*}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubjI)}(hseth]hset}(hjihhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubj)}(hjh]h)}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj)}(hjVh]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 classnameNj@jC)}jF]jc.sgetasbuh1hhj/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/ubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h int flagsh](j)}(hinth]hint}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj$ubjI)}(hflagsh]hflags}(hjDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h void *datah](j)}(hvoidh]hvoid}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubj2)}(h h]h }(hjkhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubj)}(hjh]h*}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubjI)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjPhhhjahM,ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjLhhhjahM,ubah}(h]jGah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjahM,hjIhhubjw)}(hhh]h)}(hfind or create a superblockh]hfind or create a superblock}(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&]uh1jvhjIhhhjahM,ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj<hNhNubj)}(hX)**Parameters** ``struct file_system_type *type`` filesystem type superblock should belong to ``int (*test)(struct super_block *,void *)`` comparison callback ``int (*set)(struct super_block *,void *)`` setup callback ``int flags`` mount flags ``void *data`` argument to each of themh](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.chM0hjubj)}(hhh](j)}(hN``struct file_system_type *type`` filesystem type superblock should belong to 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.chM-hjubj)}(hhh]h)}(h+filesystem type superblock should belong toh]h+filesystem type superblock should belong to}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjubj)}(hA``int (*test)(struct super_block *,void *)`` comparison callback h](j)}(h,``int (*test)(struct super_block *,void *)``h]j)}(hj*h]h(int (*test)(struct super_block *,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:38: ./fs/super.chM.hj$ubj)}(hhh]h)}(hcomparison callbackh]hcomparison callback}(hjChhhNhNubah}(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;``int (*set)(struct super_block *,void *)`` setup callback h](j)}(h+``int (*set)(struct super_block *,void *)``h]j)}(hjch]h'int (*set)(struct super_block *,void *)}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM/hj]ubj)}(hhh]h)}(hsetup callbackh]hsetup callback}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhM/hjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhM/hjubj)}(h``int flags`` mount 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:38: ./fs/super.chM0hjubj)}(hhh]h)}(h mount flagsh]h mount flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM0hjubj)}(h'``void *data`` argument to each of themh](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:38: ./fs/super.chM2hjubj)}(hhh]h)}(hargument to each of themh]hargument to each of them}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM1hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj<hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  iterate_supers_type (C function)c.iterate_supers_typehNtauh1hhj<hhhNhNubj)}(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](j)}(hvoidh]hvoid}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+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+hhhj=hMubjC)}(hiterate_supers_typeh]jI)}(hiterate_supers_typeh]hiterate_supers_type}(hjPhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj+hhhj=hMubjv)}(hQ(struct file_system_type *type, void (*f)(struct super_block*, void*), void *arg)h](j|)}(hstruct file_system_type *typeh](j )}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhubj2)}(h h]h }(hjyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubh)}(hhh]jI)}(hfile_system_typeh]hfile_system_type}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jRsbc.iterate_supers_typeasbuh1hhjhubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubjI)}(htypeh]htype}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjdubj|)}(h%void (*f)(struct super_block*, void*)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjVh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfh]hf}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubj)}(hjh]h)}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjVh]h(}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj )}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjIhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h super_blockh]h super_block}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj\modnameN classnameNj@jC)}jF]jc.iterate_supers_typeasbuh1hhjubj)}(hjh]h*}(hjxhhhNhNubah}(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)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjdubj|)}(h void *argh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hargh]harg}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjdubeh}(h]h ]h"]h$]h&]j`jauh1juhj+hhhj=hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj'hhhj=hMubah}(h]j"ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj=hMhj$hhubjw)}(hhh]h)}(h+call function for superblocks of given typeh]h+call function for superblocks of given type}(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>jjjuh1jhhhj<hNhNubj)}(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)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjBubj)}(hhh](j)}(h*``struct file_system_type *type`` fs type h](j)}(h!``struct file_system_type *type``h]j)}(hjgh]hstruct file_system_type *type}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjaubj)}(hhh]h)}(hfs typeh]hfs type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj^ubj)}(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.chMhjubj)}(hhh]h)}(hfunction to callh]hfunction to call}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj^ubj)}(h%``void *arg`` argument to pass to it h](j)}(h ``void *arg``h]j)}(hjh]h void *arg}(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)}(hargument to pass to ith]hargument to pass to it}(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&]uh1jhjBubh)}(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.chMhjBubjM)}(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.chMhj*ubah}(h]h ]h"]h$]h&]uh1jLhj<hMhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj<hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j get_anon_bdev (C function)c.get_anon_bdevhNtauh1hhj<hhhNhNubj)}(hhh](j)}(hint get_anon_bdev (dev_t *p)h]j)}(hint get_anon_bdev(dev_t *p)h](j)}(hinth]hint}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj2)}(h h]h }(hjrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_hhhjqhMubjC)}(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`jauh1jBhj_hhhjqhMubjv)}(h (dev_t *p)h]j|)}(hdev_t *ph](h)}(hhh]jI)}(hdev_th]hdev_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jsbc.get_anon_bdevasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hjh]hp}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhj_hhhjqhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj[hhhjqhMubah}(h]jVah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjqhMhjXhhubjw)}(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.}(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&]uh1jvhjXhhhjqhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj<hNhNubj)}(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)}(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!``dev_t *p`` Pointer to a dev_t. h](j)}(h ``dev_t *p``h]j)}(hjHh]hdev_t *p}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjBubj)}(hhh]h)}(hPointer to a dev_t.h]hPointer to a dev_t.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj#ubh)}(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.chMhj#ubh)}(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.chMhj#ubh)}(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.chMhj#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:38: ./fs/super.chMhj#ubh)}(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.}(hjhhhNhNubah}(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&]uh1jhj<hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j sget_dev (C function) c.sget_devhNtauh1hhj<hhhNhNubj)}(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}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMjubj2)}(h h]h }(hj$hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj#hMjubh)}(hhh]jI)}(h super_blockh]h super_block}(hj5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj7modnameN classnameNj@jC)}jF]jI)}j<sget_devsb c.sget_devasbuh1hhjhhhj#hMjubj2)}(h h]h }(hjVhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj#hMjubj)}(hjh]h*}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhj#hMjubjC)}(hsget_devh]jI)}(hjSh]hsget_dev}(hjuhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj#hMjubjv)}(h"(struct fs_context *fc, dev_t dev)h](j|)}(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 classnameNj@jC)}jF]jQ c.sget_devasbuh1hhjubj2)}(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&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jQ c.sget_devasbuh1hhjubj2)}(h h]h }(hj!hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hdevh]hdev}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhj#hMjubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj#hMjubah}(h]j ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj#hMjhj hhubjw)}(hhh]h)}(h,Find or create a superblock by device numberh]h,Find or create a superblock by device number}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMjhjVhhubah}(h]h ]h"]h$]h&]uh1jvhj hhhj#hMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1jhhhj<hNhNubj)}(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)}(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:38: ./fs/super.chMnhjuubj)}(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.chMkhjubj)}(hhh]h)}(hFilesystem context.h]hFilesystem context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMkhjubj)}(h``dev_t dev`` device number 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:38: ./fs/super.chMlhjubj)}(hhh]h)}(h device numberh]h device number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubeh}(h]h ]h"]h$]h&]uh1jhjuubh)}(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.chMnhjuubh)}(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.}(hj$ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMmhjuubh)}(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.}(hj3 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMphjuubh)}(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.}(hjB hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMshjuubh)}(h **Return**h]j)}(hjS h]hReturn}(hjU hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMyhjuubh)}(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.}(hji hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMzhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj<hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  get_tree_bdev_flags (C function)c.get_tree_bdev_flagshNtauh1hhj<hhhNhNubj)}(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](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMyubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj hhhj hMyubjC)}(hget_tree_bdev_flagsh]jI)}(hget_tree_bdev_flagsh]hget_tree_bdev_flags}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj hhhj hMyubjv)}(hm(struct fs_context *fc, int (*fill_super)(struct super_block *sb, struct fs_context *fc), unsigned int flags)h](j|)}(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 classnameNj@jC)}jF]jI)}j<j sbc.get_tree_bdev_flagsasbuh1hhj 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`jauh1j{hj ubj|)}(h@int (*fill_super)(struct super_block *sb, struct fs_context *fc)h](j)}(hinth]hint}(hjG hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjC ubj2)}(h h]h }(hjU hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjC ubj)}(hjVh]h(}(hjc hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjC ubj)}(hjh]h*}(hjp hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjC ubjI)}(h fill_superh]h fill_super}(hj} hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjC ubj)}(hjh]h)}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjC ubj)}(hjVh]h(}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjC ubj )}(hjh]hstruct}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjC ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjC 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 classnameNj@jC)}jF]j c.get_tree_bdev_flagsasbuh1hhjC 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)}(hsbh]hsb}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjC ubj)}(hjh]h,}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjC ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjC ubj )}(hjh]hstruct}(hj% hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjC ubj2)}(h h]h }(hj2 hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjC ubh)}(hhh]jI)}(h fs_contexth]h fs_context}(hjC hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj@ ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjE modnameN classnameNj@jC)}jF]j c.get_tree_bdev_flagsasbuh1hhjC ubj2)}(h h]h }(hja hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjC ubj)}(hjh]h*}(hjo hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjC ubjI)}(hfch]hfc}(hj| hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjC ubj)}(hjh]h)}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjC ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj ubj|)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 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`jauh1j{hj ubeh}(h]h ]h"]h$]h&]j`jauh1juhj hhhj hMyubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj hhhj hMyubah}(h]j ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj hMyhj hhubjw)}(hhh]h)}(h/Get a superblock based on a single block deviceh]h/Get a superblock based on a single block device}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMyhj hhubah}(h]h ]h"]h$]h&]uh1jvhj hhhj hMyubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1jhhhj<hNhNubj)}(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)}(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.chM}hj ubj)}(hhh](j)}(hH``struct fs_context *fc`` The filesystem context holding the parameters h](j)}(h``struct fs_context *fc``h]j)}(hjE h]hstruct fs_context *fc}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMzhj? ubj)}(hhh]h)}(h-The filesystem context holding the parametersh]h-The filesystem context holding the parameters}(hj^ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZ hMzhj[ ubah}(h]h ]h"]h$]h&]uh1jhj? ubeh}(h]h ]h"]h$]h&]uh1jhjZ hMzhj< 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{hjx 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&]uh1jhjx 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.chM}hj 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 hM}hj< ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj<hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j get_tree_bdev (C function)c.get_tree_bdevhNtauh1hhj<hhhNhNubj)}(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](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 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 hhhj hMubjC)}(h get_tree_bdevh]jI)}(h get_tree_bdevh]h get_tree_bdev}(hj2 hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj. ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj hhhj hMubjv)}(hS(struct fs_context *fc, int (*fill_super)(struct super_block*, struct fs_context*))h](j|)}(hstruct fs_context *fch](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 fs_contexth]h fs_context}(hjl hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhji ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjn modnameN classnameNj@jC)}jF]jI)}j<j4 sbc.get_tree_bdevasbuh1hhjJ 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)}(hfch]hfc}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJ ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjF ubj|)}(h:int (*fill_super)(struct super_block*, struct fs_context*)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjVh]h(}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(h fill_superh]h fill_super}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(hjVh]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}(hj<hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj>modnameN classnameNj@jC)}jF]j c.get_tree_bdevasbuh1hhj ubj)}(hjh]h*}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(hjh]h,}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj2)}(h h]h }(hjthhhNhNubah}(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)}(h fs_contexth]h fs_context}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j c.get_tree_bdevasbuh1hhj ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjF ubeh}(h]h ]h"]h$]h&]j`jauh1juhj hhhj hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj hhhj hMubah}(h]j ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj hMhj hhubjw)}(hhh]h)}(h/Get a superblock based on a single block deviceh]h/Get a superblock based on a single block device}(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 hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1jhhhj<hNhNubj)}(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)}(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.chMhjubj)}(hhh](j)}(hH``struct fs_context *fc`` The filesystem context holding the parameters h](j)}(h``struct fs_context *fc``h]j)}(hj5h]hstruct fs_context *fc}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj/ubj)}(hhh]h)}(h-The filesystem context holding the parametersh]h-The filesystem context holding the parameters}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhj,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)}(hjnh]hah"]h$]h&]uh1j1hjhhhjhMubjC)}(h vfs_get_treeh]jI)}(h vfs_get_treeh]h vfs_get_tree}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h(struct fs_context *fc)h]j|)}(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}(hj#hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj%modnameN classnameNj@jC)}jF]jI)}j<jsbc.vfs_get_treeasbuh1hhjubj2)}(h h]h }(hjChhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfch]hfc}(hj^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hGet the mountable rooth]hGet the mountable root}(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&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj<hNhNubj)}(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)}(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.chMhjubj)}(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.}(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:38: ./fs/super.chMhjubh)}(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 }(hjhhhNhNubj)}(h **fc->root**h]hfc->root}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj<hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j freeze_super (C function)c.freeze_superhNtauh1hhj<hhhNhNubj)}(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](j)}(hinth]hint}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjWhhhjihMubjC)}(h freeze_superh]jI)}(h freeze_superh]h freeze_super}(hj|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjWhhhjihMubjv)}(hJ(struct super_block *sb, enum freeze_holder who, const void *freeze_owner)h](j|)}(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 classnameNj@jC)}jF]jI)}j<j~sbc.freeze_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`jauh1j{hjubj|)}(henum freeze_holder whoh](j )}(hj#h]henum}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h freeze_holderh]h freeze_holder}(hj(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj*modnameN classnameNj@jC)}jF]jc.freeze_superasbuh1hhjubj2)}(h h]h }(hjFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hwhoh]hwho}(hjThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hconst void *freeze_ownerh](j )}(hjh]hconst}(hjmhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjiubj2)}(h h]h }(hjzhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjiubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjiubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubjI)}(h freeze_ownerh]h freeze_owner}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjWhhhjihMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjShhhjihMubah}(h]jNah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjihMhjPhhubjw)}(hhh]h)}(h8lock the filesystem and force it into a consistent stateh]h8lock the filesystem and force it into a consistent state}(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&]uh1jvhjPhhhjihMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj<hNhNubj)}(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)}(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.chMhjubj)}(hhh](j)}(h-``struct super_block *sb`` the super to lock 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.chMhjubj)}(hhh]h)}(hthe super to lockh]hthe super to lock}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubj)}(h8``enum freeze_holder who`` context that wants to freeze h](j)}(h``enum freeze_holder who``h]j)}(hjUh]henum freeze_holder who}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjOubj)}(hhh]h)}(hcontext that wants to freezeh]hcontext that wants to freeze}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjubj)}(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&]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:38: ./fs/super.chMhjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(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}(hjhhhNhNubah}(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 freeze the fs; * }(hjhhhNhNubj)}(h``FREEZE_HOLDER_KERNEL``h]hFREEZE_HOLDER_KERNEL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) if the kernel wants to freeze the fs. * }(hjhhhNhNubj)}(h``FREEZE_MAY_NEST``h]hFREEZE_MAY_NEST}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh5 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.chMhjubh)}(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 }(hjAhhhNhNubj)}(h**who**h]hwho}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubhX[ 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.}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(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.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(hEDuring this function, sb->s_writers.frozen goes through these values:h]hEDuring this function, sb->s_writers.frozen goes through these values:}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(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.chMhjubh)}(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.chMhjubh)}(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.chMhjubh)}(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.chMhjubh)}(h2sb->s_writers.frozen is protected by sb->s_umount.h]h2sb->s_writers.frozen is protected by sb->s_umount.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.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:38: ./fs/super.chMhjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj<hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j thaw_super (C function) c.thaw_superhNtauh1hhj<hhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]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&]uh1j1hjhhhj hMubjC)}(h thaw_superh]jI)}(h thaw_superh]h thaw_super}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj hMubjv)}(hJ(struct super_block *sb, enum freeze_holder who, const void *freeze_owner)h](j|)}(hstruct super_block *sbh](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 super_blockh]h super_block}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjomodnameN classnameNj@jC)}jF]jI)}j<j5sb c.thaw_superasbuh1hhjKubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjKubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKubjI)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjKubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjGubj|)}(henum freeze_holder whoh](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)}(h freeze_holderh]h freeze_holder}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j c.thaw_superasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hwhoh]hwho}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjGubj|)}(hconst void *freeze_ownerh](j )}(hjh]hconst}(hj$hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj ubj2)}(h h]h }(hj1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hvoidh]hvoid}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(h freeze_ownerh]h freeze_owner}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjGubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhj hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj hhhj hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj hMhjhhubjw)}(hhh]jWC)}(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.chMhjubah}(h]h ]h"]h$]h&]uh1j[ChjhhhjhNubah}(h]h ]h"]h$]h&]jC-uh1jVChjhMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj<hNhNubj)}(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.chMhjubj)}(hhh](j)}(h-``struct super_block *sb`` the super to thaw 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.chMhjubj)}(hhh]h)}(hthe super to thawh]hthe super to thaw}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``enum freeze_holder who`` context that wants to freeze h](j)}(h``enum freeze_holder who``h]j)}(hjh]henum freeze_holder who}(hj!hhhNhNubah}(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}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubj)}(h1``const void *freeze_owner`` owner of the freeze h](j)}(h``const void *freeze_owner``h]j)}(hjXh]hconst void *freeze_owner}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjRubj)}(hhh]h)}(howner of the freezeh]howner of the freeze}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjubeh}(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.chMhjubh)}(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.chMhjubh)}(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}(hjhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' if the kernel wants to thaw the fs. * }(hjhhhNhNubj)}(h``FREEZE_MAY_NEST``h]hFREEZE_MAY_NEST}(hjhhhNhNubah}(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.chMhjubh)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj<hhhNhNubeh}(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&]uh1hhj)hhhhhK*ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j %locks_owner_has_blockers (C function)c.locks_owner_has_blockershNtauh1hhj)hhhNhNubj)}(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](j)}(hjh]hbool}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMMubj2)}(h h]h }(hjahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjOhhhj`hMMubjC)}(hlocks_owner_has_blockersh]jI)}(hlocks_owner_has_blockersh]hlocks_owner_has_blockers}(hjshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjOhhhj`hMMubjv)}(h3(struct file_lock_context *flctx, fl_owner_t owner)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jusbc.locks_owner_has_blockersasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hflctxh]hflctx}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hfl_owner_t ownerh](h)}(hhh]jI)}(h fl_owner_th]h fl_owner_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jc.locks_owner_has_blockersasbuh1hhjubj2)}(h h]h }(hj"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hownerh]howner}(hj0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjOhhhj`hMMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjKhhhj`hMMubah}(h]jFah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj`hMMhjHhhubjw)}(hhh]h)}(h Check for blocking lock requestsh]h Check for blocking lock requests}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMMhjWhhubah}(h]h ]h"]h$]h&]uh1jvhjHhhhj`hMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1jhhhj)hNhNubj)}(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)}(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:44: ./fs/locks.chMQhjvubj)}(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)}(hjh]hfl_owner_t owner}(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.chMOhjubj)}(hhh]h)}(h lock ownerh]h lock owner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubeh}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMQhjvubj)}(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.chMQhj(ubj)}(hhh]h)}(hQ``true``: **owner** has at least one blocker ``false``: **owner** has no blockersh](j)}(h``true``h]htrue}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh: }(hj>hhhNhNubj)}(h **owner**h]howner}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh has at least one blocker }(hj>hhhNhNubj)}(h ``false``h]hfalse}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh: }hj>sbj)}(h **owner**h]howner}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh has no blockers}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj:hMQhj;ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj:hMQhj%ubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j locks_delete_block (C function)c.locks_delete_blockhNtauh1hhj)hhhNhNubj)}(hhh](j)}(h1int locks_delete_block (struct file_lock *waiter)h]j)}(h0int locks_delete_block(struct file_lock *waiter)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM>ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM>ubjC)}(hlocks_delete_blockh]jI)}(hlocks_delete_blockh]hlocks_delete_block}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM>ubjv)}(h(struct file_lock *waiter)h]j|)}(hstruct file_lock *waiterh](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 file_lockh]h file_lock}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jsbc.locks_delete_blockasbuh1hhjubj2)}(h h]h }(hj=hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hwaiterh]hwaiter}(hjXhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM>ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM>ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM>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&]uh1jvhjhhhjhM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj)hNhNubj)}(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?hjubj)}(hhh]h)}(hthe lock which was waitingh]hthe lock which was waiting}(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:44: ./fs/locks.chMAhjubjM)}(h;lockd/nfsd need to disconnect the lock while working on it.h]h)}(hjh]h;lockd/nfsd need to disconnect the lock while working on it.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM@hjubah}(h]h ]h"]h$]h&]uh1jLhj%hM@hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j posix_lock_file (C function)c.posix_lock_filehNtauh1hhj)hhhNhNubj)}(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](j)}(hinth]hint}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj2)}(h h]h }(hj[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjHhhhjZhMubjC)}(hposix_lock_fileh]jI)}(hposix_lock_fileh]hposix_lock_file}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjHhhhjZhMubjv)}(hE(struct file *filp, struct file_lock *fl, struct file_lock *conflock)h](j|)}(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 classnameNj@jC)}jF]jI)}j<josbc.posix_lock_fileasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfilph]hfilp}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hstruct file_lock *flh](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 classnameNj@jC)}jF]jc.posix_lock_fileasbuh1hhjubj2)}(h h]h }(hj7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hflh]hfl}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hstruct file_lock *conflockh](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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jc.posix_lock_fileasbuh1hhjgubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjgubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubjI)}(hconflockh]hconflock}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjgubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjHhhhjZhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjDhhhjZhMubah}(h]j?ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjZhMhjAhhubjw)}(hhh]h)}(h"Apply a POSIX-style lock to a fileh]h"Apply a POSIX-style lock to a file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjAhhhjZhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhj)hNhNubj)}(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)}(hjh]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:44: ./fs/locks.chMhjubj)}(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.chMhj'ubj)}(hhh]h)}(hThe file to apply the lock toh]hThe file to apply the lock to}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhj$ubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hjfh]hstruct file_lock *fl}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj`ubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hMhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhj$ubj)}(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&]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:44: ./fs/locks.chMhjubh)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j __break_lease (C function)c.__break_leasehNtauh1hhj)hhhNhNubj)}(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](j)}(hinth]hint}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMAubj2)}(h h]h }(hj=hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*hhhj<hMAubjC)}(h __break_leaseh]jI)}(h __break_leaseh]h __break_lease}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjKubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj*hhhj<hMAubjv)}(h)(struct inode *inode, unsigned int flags)h](j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjkhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjgubj2)}(h h]h }(hjxhhhNhNubah}(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 classnameNj@jC)}jF]jI)}j<jQsbc.__break_leaseasbuh1hhjgubj2)}(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`jauh1j{hjcubj|)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hjcubeh}(h]h ]h"]h$]h&]j`jauh1juhj*hhhj<hMAubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj&hhhj<hMAubah}(h]j!ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj<hMAhj#hhubjw)}(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.chMAhj< hhubah}(h]h ]h"]h$]h&]uh1jvhj#hhhj<hMAubeh}(h]h ](jfunctioneh"]h$]h&]jjjjW jjW jjjuh1jhhhj)hNhNubj)}(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 are broken on a call to open() or truncate(). This function can block waiting for the lease break unless you specify LEASE_BREAK_NONBLOCK.h](h)}(h**Parameters**h]j)}(hja h]h Parameters}(hjc 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.chMEhj[ ubj)}(hhh](j)}(h8``struct inode *inode`` the inode of the file to return 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.chMBhjz ubj)}(hhh]h)}(hthe inode of the file to returnh]hthe inode of the file to return}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMBhj ubah}(h]h ]h"]h$]h&]uh1jhjz ubeh}(h]h ]h"]h$]h&]uh1jhj hMBhjw ubj)}(h+``unsigned int flags`` LEASE_BREAK_* 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:44: ./fs/locks.chMChj ubj)}(hhh]h)}(hLEASE_BREAK_* flagsh]hLEASE_BREAK_* flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMChj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMChjw 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.chMEhj[ ubjM)}(hX break_lease (inlined for speed) has checked there already is at least some kind of lock (maybe a lease) on this file. Leases are broken on a call to open() or truncate(). This function can block waiting for the lease break unless you specify LEASE_BREAK_NONBLOCK.h]h)}(hX break_lease (inlined for speed) has checked there already is at least some kind of lock (maybe a lease) on this file. Leases are broken on a call to open() or truncate(). This function can block waiting for the lease break unless you specify LEASE_BREAK_NONBLOCK.h]hX break_lease (inlined for speed) has checked there already is at least some kind of lock (maybe a lease) on this file. Leases are broken on a call to open() or truncate(). This function can block waiting for the lease break unless you specify LEASE_BREAK_NONBLOCK.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMDhj !ubah}(h]h ]h"]h$]h&]uh1jLhj!hMDhj[ ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j lease_get_mtime (C function)c.lease_get_mtimehNtauh1hhj)hhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjC!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?!hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj2)}(h h]h }(hjR!hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj?!hhhjQ!hMubjC)}(hlease_get_mtimeh]jI)}(hlease_get_mtimeh]hlease_get_mtime}(hjd!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`!ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj?!hhhjQ!hMubjv)}(h.(struct inode *inode, struct timespec64 *time)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jf!sbc.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)}(hinodeh]hinode}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|!ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjx!ubj|)}(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 classnameNj@jC)}jF]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}(hjI"hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjx!ubeh}(h]h ]h"]h$]h&]j`jauh1juhj?!hhhjQ!hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj;!hhhjQ!hMubah}(h]j6!ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjQ!hMhj8!hhubjw)}(hhh]h)}(h5update modified time of an inode with exclusive leaseh]h5update modified time of an inode with exclusive lease}(hjs"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjp"hhubah}(h]h ]h"]h$]h&]uh1jvhj8!hhhjQ!hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1jhhhj)hNhNubj)}(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)}(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 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&]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)}(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.chMhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j generic_setlease (C function)c.generic_setleasehNtauh1hhj)hhhNhNubj)}(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](j)}(hinth]hint}(hjm#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhji#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&]uh1j1hji#hhhj{#hMubjC)}(hgeneric_setleaseh]jI)}(hgeneric_setleaseh]hgeneric_setlease}(hj#hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhji#hhhj{#hMubjv)}(hB(struct file *filp, int arg, struct file_lease **flp, void **priv)h](j|)}(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 classnameNj@jC)}jF]jI)}j<j#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`jauh1j{hj#ubj|)}(hint argh](j)}(hinth]hint}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubj2)}(h h]h }(hj*$hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj$ubjI)}(hargh]harg}(hj8$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj#ubj|)}(hstruct file_lease **flph](j )}(hjh]hstruct}(hjQ$hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjM$ubj2)}(h h]h }(hj^$hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjM$ubh)}(hhh]jI)}(h file_leaseh]h file_lease}(hjo$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjl$ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjq$modnameN classnameNj@jC)}jF]j#c.generic_setleaseasbuh1hhjM$ubj2)}(h h]h }(hj$hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjM$ubj)}(hjh]h*}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjM$ubj)}(hjh]h*}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjM$ubjI)}(hflph]hflp}(hj$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjM$ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj#ubj|)}(h void **privh](j)}(hvoidh]hvoid}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$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`jauh1j{hj#ubeh}(h]h ]h"]h$]h&]j`jauh1juhji#hhhj{#hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhje#hhhj{#hMubah}(h]j`#ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj{#hMhjb#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&]uh1jvhjb#hhhj{#hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjF%jjF%jjjuh1jhhhj)hNhNubj)}(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)}(hjP%h]h Parameters}(hjR%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN%ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjJ%ubj)}(hhh](j)}(h#``struct file *filp`` file pointer h](j)}(h``struct file *filp``h]j)}(hjo%h]hstruct file *filp}(hjq%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm%ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhji%ubj)}(hhh]h)}(h file pointerh]h file pointer}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1jhji%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhjf%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%hMhjf%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%hMhjf%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)}(hj3&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj0&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj/&hMhjf%ubeh}(h]h ]h"]h$]h&]uh1jhjJ%ubh)}(h**Description**h]j)}(hjV&h]h Description}(hjX&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT&ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjJ%ubjM)}(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().}(hjp&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjl&ubah}(h]h ]h"]h$]h&]uh1jLhj~&hMhjJ%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_setlease (C function)c.vfs_setleasehNtauh1hhj)hhhNhNubj)}(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](j)}(hinth]hint}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&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)}(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&hMubjv)}(hD(struct file *filp, int arg, struct file_lease **lease, void **priv)h](j|)}(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 classnameNj@jC)}jF]jI)}j<j&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`jauh1j{hj&ubj|)}(hint argh](j)}(hinth]hint}(hjT'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjP'ubj2)}(h h]h }(hjb'hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjP'ubjI)}(hargh]harg}(hjp'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjP'ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj&ubj|)}(hstruct file_lease **leaseh](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_leaseh]h file_lease}(hj'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj'modnameN classnameNj@jC)}jF]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`jauh1j{hj&ubj|)}(h void **privh](j)}(hvoidh]hvoid}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(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`jauh1j{hj&ubeh}(h]h ]h"]h$]h&]j`jauh1juhj&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}(hjf(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjc(hhubah}(h]h ]h"]h$]h&]uh1jvhj&hhhj&hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj~(jj~(jjjuh1jhhhj)hNhNubj)}(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)}(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.chM hj(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.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: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)}(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.chMhj)ubj)}(hhh]h)}(h$file_lock to use when adding a leaseh]h$file_lock to use when adding a lease}(hj2)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.)hMhj/)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj.)hMhj(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)}(hjR)h]h void **priv}(hjT)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP)ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjL)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)}(hjk)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjh)ubah}(h]h ]h"]h$]h&]uh1jhjL)ubeh}(h]h ]h"]h$]h&]uh1jhjg)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:44: ./fs/locks.chM hj(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.chM hj(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.chMhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "locks_lock_inode_wait (C function)c.locks_lock_inode_waithNtauh1hhj)hhhNhNubj)}(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](j)}(hinth]hint}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)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*hMubjv)}(h+(struct inode *inode, struct file_lock *fl)h](j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj1*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}(hjO*hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjL*ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjQ*modnameN classnameNj@jC)}jF]jI)}j<j*sbc.locks_lock_inode_waitasbuh1hhj-*ubj2)}(h h]h }(hjo*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`jauh1j{hj)*ubj|)}(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 classnameNj@jC)}jF]jk*c.locks_lock_inode_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)}(hflh]hfl}(hj*hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj)*ubeh}(h]h ]h"]h$]h&]j`jauh1juhj)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<+jjjuh1jhhhj)hNhNubj)}(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)}(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: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)}(hje+h]hstruct inode *inode}(hjg+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc+ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj_+ubj)}(hhh]h)}(hinode of the file to apply toh]hinode of the file to apply to}(hj~+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjz+hMhj{+ubah}(h]h ]h"]h$]h&]uh1jhj_+ubeh}(h]h ]h"]h$]h&]uh1jhjz+hMhj\+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.chMhj+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&]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: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&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_test_lock (C function)c.vfs_test_lockhNtauh1hhj)hhhNhNubj)}(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](j)}(hinth]hint}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,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)}(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,,hMubjv)}(h)(struct file *filp, struct file_lock *fl)h](j|)}(hstruct file *filph](j )}(hjh]hstruct}(hj[,hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjW,ubj2)}(h h]h }(hjh,hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjW,ubh)}(hhh]jI)}(hfileh]hfile}(hjy,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjv,ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj{,modnameN classnameNj@jC)}jF]jI)}j<jA,sbc.vfs_test_lockasbuh1hhjW,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)}(hfilph]hfilp}(hj,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjW,ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjS,ubj|)}(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 classnameNj@jC)}jF]j,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`jauh1j{hjS,ubeh}(h]h ]h"]h$]h&]j`jauh1juhj,hhhj,,hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj,hhhj,,hMubah}(h]j,ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj,,hMhj,hhubjw)}(hhh]h)}(htest file byte range lockh]htest file byte range lock}(hjN-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjK-hhubah}(h]h ]h"]h$]h&]uh1jvhj,hhhj,,hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjf-jjf-jjjuh1jhhhj)hNhNubj)}(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)}(hjp-h]h Parameters}(hjr-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn-ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjj-ubj)}(hhh](j)}(h0``struct file *filp`` The file to test lock for 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.chMhj-ubj)}(hhh]h)}(hThe file to test lock forh]hThe file to test lock for}(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)}(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.chMhj-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}(hj3.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.chMhjj-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.}(hjL.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_lock_file (C function)c.vfs_lock_filehNtauh1hhj)hhhNhNubj)}(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](j)}(hinth]hint}(hj{.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjw.hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMm ubj2)}(h h]h }(hj.hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjw.hhhj.hMm ubjC)}(h vfs_lock_fileh]jI)}(h vfs_lock_fileh]h vfs_lock_file}(hj.hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj.ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjw.hhhj.hMm ubjv)}(hS(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf)h](j|)}(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 classnameNj@jC)}jF]jI)}j<j.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`jauh1j{hj.ubj|)}(hunsigned int cmdh](j)}(hunsignedh]hunsigned}(hj*/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&/ubj2)}(h h]h }(hj8/hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&/ubj)}(hinth]hint}(hjF/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&/ubj2)}(h h]h }(hjT/hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&/ubjI)}(hcmdh]hcmd}(hjb/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&/ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj.ubj|)}(hstruct file_lock *flh](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)}(h file_lockh]h file_lock}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj/modnameN classnameNj@jC)}jF]j.c.vfs_lock_fileasbuh1hhjw/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)}(hflh]hfl}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjw/ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj.ubj|)}(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 0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj 0modnameN classnameNj@jC)}jF]j.c.vfs_lock_fileasbuh1hhj/ubj2)}(h h]h }(hj'0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/ubj)}(hjh]h*}(hj50hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubjI)}(hconfh]hconf}(hjB0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj.ubeh}(h]h ]h"]h$]h&]j`jauh1juhjw.hhhj.hMm ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjs.hhhj.hMm ubah}(h]jn.ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj.hMm hjp.hhubjw)}(hhh]h)}(hfile byte range lockh]hfile byte range lock}(hjl0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMm hji0hhubah}(h]h ]h"]h$]h&]uh1jvhjp.hhhj.hMm ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1jhhhj)hNhNubj)}(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)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMq hj0ubj)}(hhh](j)}(h4``struct file *filp`` The file to apply the lock to h](j)}(h``struct file *filp``h]j)}(hj0h]hstruct file *filp}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMn hj0ubj)}(hhh]h)}(hThe file to apply the lock toh]hThe file to apply the lock to}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMn hj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMn hj0ubj)}(hH``unsigned int cmd`` type of locking operation (F_SETLK, F_GETLK, etc.) h](j)}(h``unsigned int cmd``h]j)}(hj0h]hunsigned int cmd}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMo hj0ubj)}(hhh]h)}(h2type of locking operation (F_SETLK, F_GETLK, etc.)h]h2type of locking operation (F_SETLK, F_GETLK, etc.)}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMo hj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMo hj0ubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hj1h]hstruct file_lock *fl}(hj!1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMp hj1ubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hj81hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj41hMp hj51ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj41hMp hj0ubj)}(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)}(hjX1h]hstruct file_lock *conf}(hjZ1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMq hjR1ubj)}(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.}(hjq1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjm1hMq hjn1ubah}(h]h ]h"]h$]h&]uh1jhjR1ubeh}(h]h ]h"]h$]h&]uh1jhjm1hMq hj0ubeh}(h]h ]h"]h$]h&]uh1jhj0ubh)}(h**Description**h]j)}(hj1h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMs hj0ubh)}(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.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMr hj0ubh)}(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 }(hj1hhhNhNubj)}(h**conf**h]hconf}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh` will be left unchanged; so a caller that cares should initialize it to some acceptable default.}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMu hj0ubh)}(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.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMy hj0ubh)}(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.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_cancel_lock (C function)c.vfs_cancel_lockhNtauh1hhj)hhhNhNubj)}(hhh](j)}(h=int vfs_cancel_lock (struct file *filp, struct file_lock *fl)h]j)}(hah"]h$]h&]uh1j1hj2hhhj%2hM ubjC)}(hvfs_cancel_lockh]jI)}(hvfs_cancel_lockh]hvfs_cancel_lock}(hj82hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj42ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj2hhhj%2hM ubjv)}(h)(struct file *filp, struct file_lock *fl)h](j|)}(hstruct file *filph](j )}(hjh]hstruct}(hjT2hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjP2ubj2)}(h h]h }(hja2hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjP2ubh)}(hhh]jI)}(hfileh]hfile}(hjr2hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjo2ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjt2modnameN classnameNj@jC)}jF]jI)}j<j:2sbc.vfs_cancel_lockasbuh1hhjP2ubj2)}(h h]h }(hj2hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjP2ubj)}(hjh]h*}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjP2ubjI)}(hfilph]hfilp}(hj2hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjP2ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjL2ubj|)}(hstruct file_lock *flh](j )}(hjh]hstruct}(hj2hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj2ubj2)}(h h]h }(hj2hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubh)}(hhh]jI)}(h file_lockh]h file_lock}(hj2hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj2modnameN classnameNj@jC)}jF]j2c.vfs_cancel_lockasbuh1hhj2ubj2)}(h h]h }(hj3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubj)}(hjh]h*}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubjI)}(hflh]hfl}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjL2ubeh}(h]h ]h"]h$]h&]j`jauh1juhj2hhhj%2hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj2hhhj%2hM ubah}(h]j 2ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj%2hM hj 2hhubjw)}(hhh]h)}(hfile byte range unblock lockh]hfile byte range unblock lock}(hjG3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjD3hhubah}(h]h ]h"]h$]h&]uh1jvhj 2hhhj%2hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_3jj_3jjjuh1jhhhj)hNhNubj)}(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)}(hji3h]h Parameters}(hjk3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg3ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjc3ubj)}(hhh](j)}(h7``struct file *filp`` The file to apply the unblock to h](j)}(h``struct file *filp``h]j)}(hj3h]hstruct file *filp}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj3ubj)}(hhh]h)}(h The file to apply the unblock toh]h The file to apply the unblock to}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hM hj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hM hj3ubj)}(h2``struct file_lock *fl`` The lock to be unblocked h](j)}(h``struct file_lock *fl``h]j)}(hj3h]hstruct file_lock *fl}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj3ubj)}(hhh]h)}(hThe lock to be unblockedh]hThe lock to be unblocked}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hM hj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hM hj3ubeh}(h]h ]h"]h$]h&]uh1jhjc3ubh)}(h**Description**h]j)}(hj3h]h Description}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjc3ubh)}(h0Used by lock managers to cancel blocked requestsh]h0Used by lock managers to cancel blocked requests}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjc3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  vfs_inode_has_locks (C function)c.vfs_inode_has_lockshNtauh1hhj)hhhNhNubj)}(hhh](j)}(h.bool vfs_inode_has_locks (struct inode *inode)h]j)}(h-bool vfs_inode_has_locks(struct inode *inode)h](j)}(hjh]hbool}(hjA4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=4hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM ubj2)}(h h]h }(hjO4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=4hhhjN4hM ubjC)}(hvfs_inode_has_locksh]jI)}(hvfs_inode_has_locksh]hvfs_inode_has_locks}(hja4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj]4ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj=4hhhjN4hM ubjv)}(h(struct inode *inode)h]j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj}4hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjy4ubj2)}(h h]h }(hj4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjy4ubh)}(hhh]jI)}(hinodeh]hinode}(hj4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj4modnameN classnameNj@jC)}jF]jI)}j<jc4sbc.vfs_inode_has_locksasbuh1hhjy4ubj2)}(h h]h }(hj4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjy4ubj)}(hjh]h*}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjy4ubjI)}(hinodeh]hinode}(hj4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjy4ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hju4ubah}(h]h ]h"]h$]h&]j`jauh1juhj=4hhhjN4hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj94hhhjN4hM ubah}(h]j44ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjN4hM hj64hhubjw)}(hhh]h)}(h%are any file locks held on **inode**?h](hare any file locks held on }(hj5hhhNhNubj)}(h **inode**h]hinode}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh?}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj4hhubah}(h]h ]h"]h$]h&]uh1jvhj64hhhjN4hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*5jj*5jjjuh1jhhhj)hNhNubj)}(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)}(hj45h]h Parameters}(hj65hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj25ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj.5ubj)}(hhh]j)}(h1``struct inode *inode`` inode to check for locks h](j)}(h``struct inode *inode``h]j)}(hjS5h]hstruct inode *inode}(hjU5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjM5ubj)}(hhh]h)}(hinode to check for locksh]hinode to check for locks}(hjl5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjh5hM hji5ubah}(h]h ]h"]h$]h&]uh1jhjM5ubeh}(h]h ]h"]h$]h&]uh1jhjh5hM hjJ5ubah}(h]h ]h"]h$]h&]uh1jhj.5ubh)}(h**Description**h]j)}(hj5h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj.5ubh)}(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 }(hj5hhhNhNubj)}(h **inode**h]hinode}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj.5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  lease_open_conflict (C function)c.lease_open_conflicthNtauh1hhj)hhhNhNubj)}(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](j)}(hinth]hint}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMWubj2)}(h h]h }(hj5hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj5hhhj5hMWubjC)}(hlease_open_conflicth]jI)}(hlease_open_conflicth]hlease_open_conflict}(hj6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj5hhhj5hMWubjv)}(h"(struct file *filp, const int arg)h](j|)}(hstruct file *filph](j )}(hjh]hstruct}(hj"6hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj6ubj2)}(h h]h }(hj/6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6ubh)}(hhh]jI)}(hfileh]hfile}(hj@6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj=6ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjB6modnameN classnameNj@jC)}jF]jI)}j<j6sbc.lease_open_conflictasbuh1hhj6ubj2)}(h h]h }(hj`6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6ubj)}(hjh]h*}(hjn6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubjI)}(hfilph]hfilp}(hj{6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj6ubj|)}(h const int argh](j )}(hjh]hconst}(hj6hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj6ubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6ubj)}(hinth]hint}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6ubjI)}(hargh]harg}(hj6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj6ubeh}(h]h ]h"]h$]h&]j`jauh1juhj5hhhj5hMWubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj5hhhj5hMWubah}(h]j5ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj5hMWhj5hhubjw)}(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.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMWhj6hhubah}(h]h ]h"]h$]h&]uh1jvhj5hhhj5hMWubeh}(h]h ](jfunctioneh"]h$]h&]jjjj 7jj 7jjjuh1jhhhj)hNhNubj)}(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)}(hj7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM[hj7ubj)}(hhh](j)}(h$``struct file *filp`` file to check h](j)}(h``struct file *filp``h]j)}(hj67h]hstruct file *filp}(hj87hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj47ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMZhj07ubj)}(hhh]h)}(h file to checkh]h file to check}(hjO7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjK7hMZhjL7ubah}(h]h ]h"]h$]h&]uh1jhj07ubeh}(h]h ]h"]h$]h&]uh1jhjK7hMZhj-7ubj)}(h=``const int arg`` type of lease that we're trying to acquire h](j)}(h``const int arg``h]j)}(hjo7h]h const int arg}(hjq7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm7ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM[hji7ubj)}(hhh]h)}(h*type of lease that we're trying to acquireh]h,type of lease that we’re trying to acquire}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hM[hj7ubah}(h]h ]h"]h$]h&]uh1jhji7ubeh}(h]h ]h"]h$]h&]uh1jhj7hM[hj-7ubeh}(h]h ]h"]h$]h&]uh1jhj7ubh)}(h**Description**h]j)}(hj7h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM]hj7ubh)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM\hj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "posix_lock_inode_wait (C function)c.posix_lock_inode_waithNtauh1hhj)hhhNhNubj)}(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](j)}(hinth]hint}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj2)}(h h]h }(hj7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7hhhj7hMubjC)}(hposix_lock_inode_waith]jI)}(hposix_lock_inode_waith]hposix_lock_inode_wait}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj 8ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj7hhhj7hMubjv)}(h+(struct inode *inode, struct file_lock *fl)h](j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj,8hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj(8ubj2)}(h h]h }(hj98hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj(8ubh)}(hhh]jI)}(hinodeh]hinode}(hjJ8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjG8ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjL8modnameN classnameNj@jC)}jF]jI)}j<j8sbc.posix_lock_inode_waitasbuh1hhj(8ubj2)}(h h]h }(hjj8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj(8ubj)}(hjh]h*}(hjx8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(8ubjI)}(hinodeh]hinode}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj(8ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj$8ubj|)}(hstruct file_lock *flh](j )}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj8ubj2)}(h h]h }(hj8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8ubh)}(hhh]jI)}(h file_lockh]h file_lock}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj8modnameN classnameNj@jC)}jF]jf8c.posix_lock_inode_waitasbuh1hhj8ubj2)}(h h]h }(hj8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8ubj)}(hjh]h*}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubjI)}(hflh]hfl}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj$8ubeh}(h]h ]h"]h$]h&]j`jauh1juhj7hhhj7hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj7hhhj7hMubah}(h]j7ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj7hMhj7hhubjw)}(hhh]h)}(h"Apply a POSIX-style lock to a fileh]h"Apply a POSIX-style lock to a file}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj9hhubah}(h]h ]h"]h$]h&]uh1jvhj7hhhj7hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj79jj79jjjuh1jhhhj)hNhNubj)}(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)}(hjA9h]h Parameters}(hjC9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?9ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj;9ubj)}(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`9h]hstruct inode *inode}(hjb9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^9ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjZ9ubj)}(hhh]h)}(h5inode of file to which lock request should be appliedh]h5inode of file to which lock request should be applied}(hjy9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhju9hMhjv9ubah}(h]h ]h"]h$]h&]uh1jhjZ9ubeh}(h]h ]h"]h$]h&]uh1jhju9hMhjW9ubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hj9h]hstruct file_lock *fl}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj9ubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjW9ubeh}(h]h ]h"]h$]h&]uh1jhj;9ubh)}(h**Description**h]j)}(hj9h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj;9ubh)}(h-Apply a POSIX style lock request to an inode.h]h-Apply a POSIX style lock request to an inode.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj;9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j __fcntl_getlease (C function)c.__fcntl_getleasehNtauh1hhj)hhhNhNubj)}(hhh](j)}(h=int __fcntl_getlease (struct file *filp, unsigned int flavor)h]j)}(hah"]h$]h&]uh1j1hj:hhhj':hMubjC)}(h__fcntl_getleaseh]jI)}(h__fcntl_getleaseh]h__fcntl_getlease}(hj::hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6:ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj:hhhj':hMubjv)}(h((struct file *filp, unsigned int flavor)h](j|)}(hstruct file *filph](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)}(hfileh]hfile}(hjt:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjq:ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjv:modnameN classnameNj@jC)}jF]jI)}j<j<:sbc.__fcntl_getleaseasbuh1hhjR: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)}(hfilph]hfilp}(hj:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjR:ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjN:ubj|)}(hunsigned int flavorh](j)}(hunsignedh]hunsigned}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj2)}(h h]h }(hj:hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj:ubj)}(hinth]hint}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj2)}(h h]h }(hj:hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj:ubjI)}(hflavorh]hflavor}(hj;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj:ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjN:ubeh}(h]h ]h"]h$]h&]j`jauh1juhj:hhhj':hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj:hhhj':hMubah}(h]j :ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj':hMhj:hhubjw)}(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.chMhj';hhubah}(h]h ]h"]h$]h&]uh1jvhj:hhhj':hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjB;jjB;jjjuh1jhhhj)hNhNubj)}(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)}(hjL;h]h Parameters}(hjN;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ;ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjF;ubj)}(hhh](j)}(h``struct file *filp`` the file h](j)}(h``struct file *filp``h]j)}(hjk;h]hstruct file *filp}(hjm;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji;ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhje;ubj)}(hhh]h)}(hthe fileh]hthe file}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hMhj;ubah}(h]h ]h"]h$]h&]uh1jhje;ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjb;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.chMhj;ubj)}(hhh]h)}(htype of lease flags to checkh]htype of lease flags to check}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hMhj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjb;ubeh}(h]h ]h"]h$]h&]uh1jhjF;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.chMhjF;ubjM)}(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.chMhj;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.chMhj;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.chMhj;ubh)}(h)``F_UNLCK`` to indicate no lease is held.h](j)}(h ``F_UNLCK``h]hF_UNLCK}(hjF<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB<ubh to indicate no lease is held.}(hjB<hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj;ubh)}(h(if a lease break is pending):h]h(if a lease break is pending):}(hj_<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj;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}(hjy<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju<ubh+ to indicate an exclusive lease needs to be}(hju<hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjq<ubj)}(hhh]h)}(h'changed to a shared lease (or removed).h]h'changed to a shared lease (or removed).}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<hMhj<ubah}(h]h ]h"]h$]h&]uh1jhjq<ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjn<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.chMhj;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.chMhj;ubeh}(h]h ]h"]h$]h&]uh1jLhj<hMhjF;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j fcntl_setlease (C function)c.fcntl_setleasehNtauh1hhj)hhhNhNubj)}(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](j)}(hinth]hint}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM?ubj2)}(h h]h }(hj=hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=hhhj=hM?ubjC)}(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=hM?ubjv)}(h-(unsigned int fd, struct file *filp, int arg)h](j|)}(hunsigned int fdh](j)}(hunsignedh]hunsigned}(hjD=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@=ubj2)}(h h]h }(hjR=hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj@=ubj)}(hinth]hint}(hj`=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@=ubj2)}(h h]h }(hjn=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`jauh1j{hj<=ubj|)}(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 classnameNj@jC)}jF]jI)}j<j*=sbc.fcntl_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`jauh1j{hj<=ubj|)}(hint argh](j)}(hinth]hint}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>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`jauh1j{hj<=ubeh}(h]h ]h"]h$]h&]j`jauh1juhj=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)}(hsets a lease on an open fileh]hsets a lease on an open file}(hjM>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM?hjJ>hhubah}(h]h ]h"]h$]h&]uh1jvhj<hhhj=hM?ubeh}(h]h ](jfunctioneh"]h$]h&]jjjje>jje>jjjuh1jhhhj)hNhNubj)}(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)}(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:47: ./fs/locks.chMChji>ubj)}(hhh](j)}(h)``unsigned int fd`` open file descriptor h](j)}(h``unsigned int fd``h]j)}(hj>h]hunsigned int fd}(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@hj>ubj)}(hhh]h)}(hopen file descriptorh]hopen file 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@hj>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.chMAhj>ubj)}(hhh]h)}(h file pointerh]h file pointer}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hMAhj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMAhj>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.chMBhj>ubj)}(hhh]h)}(htype of lease to obtainh]htype of lease to obtain}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hMBhj?ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj?hMBhj>ubeh}(h]h ]h"]h$]h&]uh1jhji>ubh)}(h**Description**h]j)}(hj;?h]h Description}(hj=?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9?ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMDhji>ubjM)}(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 }(hjU?hhhNhNubj)}(h ``F_SETSIG``h]hF_SETSIG}(hj]?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU?ubh. to receive a signal when the lease is broken.}(hjU?hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMChjQ?ubah}(h]h ]h"]h$]h&]uh1jLhju?hMChji>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j fcntl_setdeleg (C function)c.fcntl_setdeleghNtauh1hhj)hhhNhNubj)}(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](j)}(hinth]hint}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMSubj2)}(h h]h }(hj?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj?hhhj?hMSubjC)}(hfcntl_setdelegh]jI)}(hfcntl_setdelegh]hfcntl_setdeleg}(hj?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj?ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj?hhhj?hMSubjv)}(h>(unsigned int fd, struct file *filp, struct delegation *deleg)h](j|)}(hunsigned int fdh](j)}(hunsignedh]hunsigned}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj2)}(h h]h }(hj?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj?ubj)}(hinth]hint}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?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`jauh1j{hj?ubj|)}(hstruct file *filph](j )}(hjh]hstruct}(hj*@hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj&@ubj2)}(h h]h }(hj7@hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&@ubh)}(hhh]jI)}(hfileh]hfile}(hjH@hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjE@ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjJ@modnameN classnameNj@jC)}jF]jI)}j<j?sbc.fcntl_setdelegasbuh1hhj&@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)}(hfilph]hfilp}(hj@hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&@ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj?ubj|)}(hstruct delegation *delegh](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 delegationh]h delegation}(hj@hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj@modnameN classnameNj@jC)}jF]jd@c.fcntl_setdelegasbuh1hhj@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)}(hdelegh]hdeleg}(hj@hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj@ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj?ubeh}(h]h ]h"]h$]h&]j`jauh1juhj?hhhj?hMSubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj?hhhj?hMSubah}(h]j?ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj?hMShj?hhubjw)}(hhh]h)}(h!sets a delegation on an open fileh]h!sets a delegation on an open file}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMShjAhhubah}(h]h ]h"]h$]h&]uh1jvhj?hhhj?hMSubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5Ajj5Ajjjuh1jhhhj)hNhNubj)}(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?Ah]h Parameters}(hjAAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=Aubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMWhj9Aubj)}(hhh](j)}(h)``unsigned int fd`` open file descriptor h](j)}(h``unsigned int fd``h]j)}(hj^Ah]hunsigned int fd}(hj`AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\Aubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMThjXAubj)}(hhh]h)}(hopen file descriptorh]hopen file descriptor}(hjwAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjsAhMThjtAubah}(h]h ]h"]h$]h&]uh1jhjXAubeh}(h]h ]h"]h$]h&]uh1jhjsAhMThjUAubj)}(h#``struct file *filp`` file pointer h](j)}(h``struct file *filp``h]j)}(hjAh]hstruct file *filp}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMUhjAubj)}(hhh]h)}(h file pointerh]h file pointer}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhMUhjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhMUhjUAubj)}(h>``struct delegation *deleg`` delegation request from userland h](j)}(h``struct delegation *deleg``h]j)}(hjAh]hstruct delegation *deleg}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMVhjAubj)}(hhh]h)}(h delegation request from userlandh]h delegation request from userland}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhMVhjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhMVhjUAubeh}(h]h ]h"]h$]h&]uh1jhj9Aubh)}(h**Description**h]j)}(hj Bh]h Description}(hj BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Bubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMXhj9AubjM)}(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%BhhhNhNubj)}(h ``F_SETSIG``h]hF_SETSIG}(hj-BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Bubh. to receive a signal when the lease is broken.}(hj%BhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMWhj!Bubah}(h]h ]h"]h$]h&]uh1jLhjEBhMWhj9Aubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "flock_lock_inode_wait (C function)c.flock_lock_inode_waithNtauh1hhj)hhhNhNubj)}(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](j)}(hinth]hint}(hjlBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhBhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhubj2)}(h h]h }(hj{BhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhBhhhjzBhMhubjC)}(hflock_lock_inode_waith]jI)}(hflock_lock_inode_waith]hflock_lock_inode_wait}(hjBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhBhhhjzBhMhubjv)}(h+(struct inode *inode, struct file_lock *fl)h](j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjBhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjBubj2)}(h h]h }(hjBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBubh)}(hhh]jI)}(hinodeh]hinode}(hjBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjBmodnameN classnameNj@jC)}jF]jI)}j<jBsbc.flock_lock_inode_waitasbuh1hhjBubj2)}(h h]h }(hjBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBubj)}(hjh]h*}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubjI)}(hinodeh]hinode}(hjChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjBubj|)}(hstruct file_lock *flh](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)}(h file_lockh]h file_lock}(hj9ChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6Cubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj;CmodnameN classnameNj@jC)}jF]jBc.flock_lock_inode_waitasbuh1hhjCubj2)}(h h]h }(hjWChhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCubj)}(hjh]h*}(hjeChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubjI)}(hflh]hfl}(hjrChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjCubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjBubeh}(h]h ]h"]h$]h&]j`jauh1juhjhBhhhjzBhMhubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjdBhhhjzBhMhubah}(h]j_Bah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjzBhMhhjaBhhubjw)}(hhh]h)}(h"Apply a FLOCK-style lock to a fileh]h"Apply a FLOCK-style lock to a file}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhhjChhubah}(h]h ]h"]h$]h&]uh1jvhjaBhhhjzBhMhubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCjjCjjjuh1jhhhj)hNhNubj)}(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)}(hjCh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMlhjCubj)}(hhh](j)}(h6``struct inode *inode`` inode of the file to apply to h](j)}(h``struct inode *inode``h]j)}(hjCh]hstruct inode *inode}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMihjCubj)}(hhh]h)}(hinode of the file to apply toh]hinode of the file to apply to}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChMihjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChMihjCubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hjDh]hstruct file_lock *fl}(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.chMjhjDubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hj/DhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+DhMjhj,Dubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj+DhMjhjCubeh}(h]h ]h"]h$]h&]uh1jhjCubh)}(h**Description**h]j)}(hjQDh]h Description}(hjSDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjODubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMlhjCubh)}(h-Apply a FLOCK style lock request to an inode.h]h-Apply a FLOCK style lock request to an inode.}(hjgDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMkhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj)hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j sys_flock (C function) c.sys_flockhNtauh1hhj)hhhNhNubj)}(hhh](j)}(h2long sys_flock (unsigned int fd, unsigned int cmd)h]j)}(h1long sys_flock(unsigned int fd, unsigned int cmd)h](j)}(hlongh]hlong}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj2)}(h h]h }(hjDhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjDhhhjDhMubjC)}(h sys_flockh]jI)}(h sys_flockh]h sys_flock}(hjDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjDubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjDhhhjDhMubjv)}(h#(unsigned int fd, unsigned int cmd)h](j|)}(hunsigned int fdh](j)}(hunsignedh]hunsigned}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj2)}(h h]h }(hjDhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjDubj)}(hinth]hint}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubj2)}(h h]h }(hjDhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjDubjI)}(hfdh]hfd}(hj EhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjDubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjDubj|)}(hunsigned int cmdh](j)}(hunsignedh]hunsigned}(hj$EhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Eubj2)}(h h]h }(hj2EhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj Eubj)}(hinth]hint}(hj@EhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Eubj2)}(h h]h }(hjNEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj EubjI)}(hcmdh]hcmd}(hj\EhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj Eubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjDubeh}(h]h ]h"]h$]h&]j`jauh1juhjDhhhjDhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjDhhhjDhMubah}(h]jDah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjDhMhjDhhubjw)}(hhh]jWC)}(hhh]j\C)}(hflock() system call.h]h)}(hjEh]hflock() system call.}(hjEhhhNhNubah}(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[ChjEhhhjEhNubah}(h]h ]h"]h$]h&]jCjuh1jVChjEhMhjEhhubah}(h]h ]h"]h$]h&]uh1jvhjDhhhjDhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEjjEjjjuh1jhhhj)hNhNubj)}(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)}(hjEh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjEubj)}(hhh](j)}(h1``unsigned int fd`` the file descriptor to lock. h](j)}(h``unsigned int fd``h]j)}(hjEh]hunsigned int fd}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjEubj)}(hhh]h)}(hthe file descriptor to lock.h]hthe file descriptor to lock.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhMhjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjEubj)}(h0``unsigned int cmd`` the type of lock to apply. h](j)}(h``unsigned int cmd``h]j)}(hjFh]hunsigned int cmd}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj Fubj)}(hhh]h)}(hthe type of lock to apply.h]hthe type of lock to apply.}(hj+FhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'FhMhj(Fubah}(h]h ]h"]h$]h&]uh1jhj Fubeh}(h]h ]h"]h$]h&]uh1jhj'FhMhjEubeh}(h]h ]h"]h$]h&]uh1jhjEubh)}(h**Description**h]j)}(hjMFh]h Description}(hjOFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKFubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjEubjM)}(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 }(hjgFhhhNhNubj)}(h ``FL_FLOCK``h]hFL_FLOCK}(hjoFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgFubh, style lock to an open file descriptor. The }(hjgFhhhNhNubj)}(h**cmd**h]hcmd}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgFubh can be one of:}(hjgFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjcFubjWC)}(hhh](j\C)}(h``LOCK_SH`` -- a shared lock.h]h)}(hjFh](j)}(h ``LOCK_SH``h]hLOCK_SH}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh -- a shared lock.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjFubah}(h]h ]h"]h$]h&]uh1j[ChjFubj\C)}(h!``LOCK_EX`` -- an exclusive lock.h]h)}(hjFh](j)}(h ``LOCK_EX``h]hLOCK_EX}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh -- an exclusive lock.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjFubah}(h]h ]h"]h$]h&]uh1j[ChjFubj\C)}(h'``LOCK_UN`` -- remove an existing lock.h]h)}(hjFh](j)}(h ``LOCK_UN``h]hLOCK_UN}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh -- remove an existing lock.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjFubah}(h]h ]h"]h$]h&]uh1j[ChjFubj\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}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh) -- a ‘mandatory’ flock. (DEPRECATED)}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjGubah}(h]h ]h"]h$]h&]uh1j[ChjFubeh}(h]h ]h"]h$]h&]jCjuh1jVChjFhMhjcFubh)}(h7``LOCK_MAND`` support has been removed from the kernel.h](j)}(h ``LOCK_MAND``h]h LOCK_MAND}(hj@GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjah"]h$]h&]uh1j1hj{GhhhjGhMubjC)}(hlocks_translate_pidh]jI)}(hjGh]hlocks_translate_pid}(hjGhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj{GhhhjGhMubjv)}(h5(struct file_lock_core *fl, struct pid_namespace *ns)h](j|)}(hstruct file_lock_core *flh](j )}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjGubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGubh)}(hhh]jI)}(hfile_lock_coreh]hfile_lock_core}(hjGhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjGmodnameN classnameNj@jC)}jF]jGc.locks_translate_pidasbuh1hhjGubj2)}(h h]h }(hj HhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGubj)}(hjh]h*}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGubjI)}(hflh]hfl}(hj(HhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjGubj|)}(hstruct pid_namespace *nsh](j )}(hjh]hstruct}(hjAHhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj=Hubj2)}(h h]h }(hjNHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=Hubh)}(hhh]jI)}(h pid_namespaceh]h pid_namespace}(hj_HhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\Hubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjaHmodnameN classnameNj@jC)}jF]jGc.locks_translate_pidasbuh1hhj=Hubj2)}(h h]h }(hj}HhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=Hubj)}(hjh]h*}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=HubjI)}(hnsh]hns}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj=Hubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjGubeh}(h]h ]h"]h$]h&]j`jauh1juhj{GhhhjGhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjwGhhhjGhMubah}(h]jrGah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjGhMhjtGhhubjw)}(hhh]h)}(h6translate a file_lock's fl_pid number into a namespaceh]h8translate a file_lock’s fl_pid number into a namespace}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjHhhubah}(h]h ]h"]h$]h&]uh1jvhjtGhhhjGhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHjjHjjjuh1jhhhj)hNhNubj)}(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)}(hjHh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM hjHubj)}(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)}(hjIh]hstruct file_lock_core *fl}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjHubj)}(hhh]h)}(h/The file_lock who's fl_pid should be translatedh]h1The file_lock who’s fl_pid should be translated}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhMhjIubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjHubj)}(hS``struct pid_namespace *ns`` The namespace into which the pid should be translated h](j)}(h``struct pid_namespace *ns``h]j)}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:Iubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM hj6Iubj)}(hhh]h)}(h5The namespace into which the pid should be translatedh]h5The namespace into which the pid should be translated}(hjUIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQIhM hjRIubah}(h]h ]h"]h$]h&]uh1jhj6Iubeh}(h]h ]h"]h$]h&]uh1jhjQIhM hjHubeh}(h]h ]h"]h$]h&]uh1jhjHubh)}(h**Description**h]j)}(hjwIh]h Description}(hjyIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuIubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM hjHubh)}(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}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM hjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj)hhhNhNubeh}(h] file-locksah ]h"] file locksah$]h&]uh1hhhhhhhhK*ubh)}(hhh](h)}(hOther Functionsh]hOther Functions}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhhhhhK3ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j mpage_readahead (C function)c.mpage_readaheadhNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chM@ubj2)}(h h]h }(hjIhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjIhhhjIhM@ubjC)}(hmpage_readaheadh]jI)}(hmpage_readaheadh]hmpage_readahead}(hjIhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjIubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjIhhhjIhM@ubjv)}(h6(struct readahead_control *rac, get_block_t get_block)h](j|)}(hstruct readahead_control *rach](j )}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjJubj2)}(h h]h }(hjJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJubh)}(hhh]jI)}(hreadahead_controlh]hreadahead_control}(hj0JhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj-Jubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj2JmodnameN classnameNj@jC)}jF]jI)}j<jIsbc.mpage_readaheadasbuh1hhjJubj2)}(h h]h }(hjPJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJubj)}(hjh]h*}(hj^JhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubjI)}(hrach]hrac}(hjkJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj Jubj|)}(hget_block_t get_blockh](h)}(hhh]jI)}(h get_block_th]h get_block_t}(hjJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjJmodnameN classnameNj@jC)}jF]jLJc.mpage_readaheadasbuh1hhjJubj2)}(h h]h }(hjJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJubjI)}(h get_blockh]h get_block}(hjJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj Jubeh}(h]h ]h"]h$]h&]j`jauh1juhjIhhhjIhM@ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjIhhhjIhM@ubah}(h]jIah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjIhM@hjIhhubjw)}(hhh]h)}(hstart reads against pagesh]hstart reads against pages}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chM@hjJhhubah}(h]h ]h"]h$]h&]uh1jvhjIhhhjIhM@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1jhhhjIhNhNubj)}(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)}(hjJh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMDhjJubj)}(hhh](j)}(hA``struct readahead_control *rac`` Describes which pages to read. h](j)}(h!``struct readahead_control *rac``h]j)}(hjKh]hstruct readahead_control *rac}(hj KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMAhjKubj)}(hhh]h)}(hDescribes which pages to read.h]hDescribes which pages to read.}(hj7KhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3KhMAhj4Kubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhj3KhMAhjKubj)}(hB``get_block_t get_block`` The filesystem's block mapper function. h](j)}(h``get_block_t get_block``h]j)}(hjWKh]hget_block_t get_block}(hjYKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUKubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMBhjQKubj)}(hhh]h)}(h'The filesystem's block mapper function.h]h)The filesystem’s block mapper function.}(hjpKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlKhMBhjmKubah}(h]h ]h"]h$]h&]uh1jhjQKubeh}(h]h ]h"]h$]h&]uh1jhjlKhMBhjKubeh}(h]h ]h"]h$]h&]uh1jhjJubh)}(h**Description**h]j)}(hjKh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMDhjJubh)}(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.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMChjJubh)}(h%If anything unusual happens, such as:h]h%If anything unusual happens, such as:}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMFhjJubjWC)}(hhh](j\C)}(h%encountering a page which has buffersh]h)}(hjKh]h%encountering a page which has buffers}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMHhjKubah}(h]h ]h"]h$]h&]uh1j[ChjKubj\C)}(h5encountering a page which has a non-hole after a holeh]h)}(hjKh]h5encountering a page which has a non-hole after a hole}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMIhjKubah}(h]h ]h"]h$]h&]uh1j[ChjKubj\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}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMJhjKubah}(h]h ]h"]h$]h&]uh1j[ChjKubeh}(h]h ]h"]h$]h&]jCjuh1jVChjKhMHhjJubh)}(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.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMLhjJubh)}(hBH_Boundary explanation:h]hBH_Boundary explanation:}(hj'LhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMPhjJubh)}(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.}(hj6LhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMRhjJubh)}(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:}(hjELhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMVhjJubjM)}(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}(hjXLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMYhjTLubah}(h]h ]h"]h$]h&]uh1jLhjfLhMYhjJubh)}(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.}(hjmLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chM[hjJubh)}(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.}(hj|LhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chM^hjJubh)}(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.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMchjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j __mpage_writepages (C function)c.__mpage_writepageshNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLhhhjLhMubjC)}(h__mpage_writepagesh]jI)}(h__mpage_writepagesh]h__mpage_writepages}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjLhhhjLhMubjv)}(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](j|)}(hstruct address_space *mappingh](j )}(hjh]hstruct}(hjLhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjLubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLubh)}(hhh]jI)}(h address_spaceh]h address_space}(hjMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjMmodnameN classnameNj@jC)}jF]jI)}j<jLsbc.__mpage_writepagesasbuh1hhjLubj2)}(h h]h }(hj5MhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLubj)}(hjh]h*}(hjCMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubjI)}(hmappingh]hmapping}(hjPMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjLubj|)}(hstruct writeback_control *wbch](j )}(hjh]hstruct}(hjiMhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjeMubj2)}(h h]h }(hjvMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjeMubh)}(hhh]jI)}(hwriteback_controlh]hwriteback_control}(hjMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjMmodnameN classnameNj@jC)}jF]j1Mc.__mpage_writepagesasbuh1hhjeMubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjeMubj)}(hjh]h*}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeMubjI)}(hwbch]hwbc}(hjMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeMubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjLubj|)}(hget_block_t get_blockh](h)}(hhh]jI)}(h get_block_th]h get_block_t}(hjMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjMmodnameN classnameNj@jC)}jF]j1Mc.__mpage_writepagesasbuh1hhjMubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjMubjI)}(h get_blockh]h get_block}(hjNhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjLubj|)}(hFint (*write_folio)(struct folio *folio, struct writeback_control *wbc)h](j)}(hinth]hint}(hj!NhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj2)}(h h]h }(hj/NhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjNubj)}(hjVh]h(}(hj=NhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj)}(hjh]h*}(hjJNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubjI)}(h write_folioh]h write_folio}(hjWNhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubj)}(hjh]h)}(hjeNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj)}(hjVh]h(}(hjrNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj )}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjNubj2)}(h h]h }(hjNhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjNubh)}(hhh]jI)}(hfolioh]hfolio}(hjNhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjNmodnameN classnameNj@jC)}jF]j1Mc.__mpage_writepagesasbuh1hhjNubj2)}(h h]h }(hjNhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjNubj)}(hjh]h*}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubjI)}(hfolioh]hfolio}(hjNhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubj)}(hjh]h,}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj2)}(h h]h }(hjNhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjNubj )}(hjh]hstruct}(hjNhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjNubj2)}(h h]h }(hj OhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjNubh)}(hhh]jI)}(hwriteback_controlh]hwriteback_control}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjOubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjOmodnameN classnameNj@jC)}jF]j1Mc.__mpage_writepagesasbuh1hhjNubj2)}(h h]h }(hj;OhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjNubj)}(hjh]h*}(hjIOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubjI)}(hwbch]hwbc}(hjVOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubj)}(hjh]h)}(hjdOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjLubeh}(h]h ]h"]h$]h&]j`jauh1juhjLhhhjLhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjLhhhjLhMubah}(h]jLah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjLhMhjLhhubjw)}(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}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjOhhubah}(h]h ]h"]h$]h&]uh1jvhjLhhhjLhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1jhhhjIhNhNubj)}(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)}(hjOh]h Parameters}(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.chMhjOubj)}(hhh](j)}(hC``struct address_space *mapping`` address space structure to write h](j)}(h!``struct address_space *mapping``h]j)}(hjOh]hstruct address_space *mapping}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjOubj)}(hhh]h)}(h address space structure to writeh]h address space structure to write}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjOubj)}(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)}(hjPh]hstruct writeback_control *wbc}(hj PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjPubj)}(hhh]h)}(h?subtract the number of written pages from ***wbc->nr_to_write**h](h*subtract the number of written pages from }(hj PhhhNhNubj)}(h***wbc->nr_to_write**h]h*wbc->nr_to_write}(hj(PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Pubeh}(h]h ]h"]h$]h&]uh1hhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjOubj)}(hB``get_block_t get_block`` the filesystem's block mapper function. h](j)}(h``get_block_t get_block``h]j)}(hjNPh]hget_block_t get_block}(hjPPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLPubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjHPubj)}(hhh]h)}(h'the filesystem's block mapper function.h]h)the filesystem’s block mapper function.}(hjgPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjcPhMhjdPubah}(h]h ]h"]h$]h&]uh1jhjHPubeh}(h]h ]h"]h$]h&]uh1jhjcPhMhjOubj)}(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)}(hjPh]hFint (*write_folio)(struct folio *folio, struct writeback_control *wbc)}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjPubj)}(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()}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjPubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjOubeh}(h]h ]h"]h$]h&]uh1jhjOubh)}(h**Description**h]j)}(hjPh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjOubh)}(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 }(hjPhhhNhNubj)}(h**write_folio**h]h write_folio}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubhr handler for each folio. If the handler returns value > 0, it calls mpage_write_folio() to do the folio writeback.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j generic_permission (C function)c.generic_permissionhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj2)}(h h]h }(hj)QhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjQhhhj(QhMubjC)}(hgeneric_permissionh]jI)}(hgeneric_permissionh]hgeneric_permission}(hj;QhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7Qubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjQhhhj(QhMubjv)}(h8(struct mnt_idmap *idmap, struct inode *inode, int mask)h](j|)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjWQhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjSQubj2)}(h h]h }(hjdQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjSQubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjuQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjrQubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjwQmodnameN classnameNj@jC)}jF]jI)}j<j=Qsbc.generic_permissionasbuh1hhjSQubj2)}(h h]h }(hjQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjSQubj)}(hjh]h*}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSQubjI)}(hidmaph]hidmap}(hjQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSQubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjOQubj|)}(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 classnameNj@jC)}jF]jQc.generic_permissionasbuh1hhjQubj2)}(h h]h }(hjRhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjQubj)}(hjh]h*}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubjI)}(hinodeh]hinode}(hj RhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjOQubj|)}(hint maskh](j)}(hinth]hint}(hj9RhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5Rubj2)}(h h]h }(hjGRhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj5RubjI)}(hmaskh]hmask}(hjURhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj5Rubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjOQubeh}(h]h ]h"]h$]h&]j`jauh1juhjQhhhj(QhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjQhhhj(QhMubah}(h]j Qah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj(QhMhjQhhubjw)}(hhh]h)}(h2check for access rights on a Posix-like filesystemh]h2check for access rights on a Posix-like filesystem}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj|Rhhubah}(h]h ]h"]h$]h&]uh1jvhjQhhhj(QhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1jhhhjIhNhNubj)}(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)}(hjRh]h Parameters}(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.chMhjRubj)}(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)}(hjRh]hstruct mnt_idmap *idmap}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjRubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhMhjRubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjRubj)}(h9``struct inode *inode`` inode to check access rights for h](j)}(h``struct inode *inode``h]j)}(hjRh]hstruct inode *inode}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjRubj)}(hhh]h)}(h inode to check access rights forh]h inode to check access rights for}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMhjSubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjShMhjRubj)}(hc``int mask`` right to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``, ``MAY_NOT_BLOCK`` ...) h](j)}(h ``int mask``h]j)}(hj2Sh]hint mask}(hj4ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0Subah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj,Subj)}(hhh]h)}(hUright to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``, ``MAY_NOT_BLOCK`` ...)h](hright to check for (}(hjKShhhNhNubj)}(h ``MAY_READ``h]hMAY_READ}(hjSShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKSubh, }(hjKShhhNhNubj)}(h ``MAY_WRITE``h]h MAY_WRITE}(hjeShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKSubh, }hjKSsbj)}(h ``MAY_EXEC``h]hMAY_EXEC}(hjwShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKSubh, }(hjKShhhNhNubj)}(h``MAY_NOT_BLOCK``h]h MAY_NOT_BLOCK}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKSubh ...)}(hjKShhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjHSubah}(h]h ]h"]h$]h&]uh1jhj,Subeh}(h]h ]h"]h$]h&]uh1jhjGShMhjRubeh}(h]h ]h"]h$]h&]uh1jhjRubh)}(h**Description**h]j)}(hjSh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjRubh)}(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.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjRubh)}(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.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjRubh)}(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 }(hjShhhNhNubj)}(h **idmap**h]hidmap}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubhB. This function will then take care to map the inode according to }(hjShhhNhNubj)}(h **idmap**h]hidmap}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjShhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh.}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j inode_permission (C function)c.inode_permissionhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjOThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKThhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMdubj2)}(h h]h }(hj^ThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjKThhhj]ThMdubjC)}(hinode_permissionh]jI)}(hinode_permissionh]hinode_permission}(hjpThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlTubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjKThhhj]ThMdubjv)}(h8(struct mnt_idmap *idmap, struct inode *inode, int mask)h](j|)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjThhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjTubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjTubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjTubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjTmodnameN classnameNj@jC)}jF]jI)}j<jrTsbc.inode_permissionasbuh1hhjTubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjTubj)}(hjh]h*}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubjI)}(hidmaph]hidmap}(hjThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjTubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjTubj|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjThhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjTubj2)}(h h]h }(hj UhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjTubh)}(hhh]jI)}(hinodeh]hinode}(hjUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjUubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjUmodnameN classnameNj@jC)}jF]jTc.inode_permissionasbuh1hhjTubj2)}(h h]h }(hj:UhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjTubj)}(hjh]h*}(hjHUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubjI)}(hinodeh]hinode}(hjUUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjTubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjTubj|)}(hint maskh](j)}(hinth]hint}(hjnUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjUubj2)}(h h]h }(hj|UhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjjUubjI)}(hmaskh]hmask}(hjUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjjUubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjTubeh}(h]h ]h"]h$]h&]j`jauh1juhjKThhhj]ThMdubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjGThhhj]ThMdubah}(h]jBTah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj]ThMdhjDThhubjw)}(hhh]h)}(h(Check for access rights to a given inodeh]h(Check for access rights to a given inode}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMdhjUhhubah}(h]h ]h"]h$]h&]uh1jvhjDThhhj]ThMdubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1jhhhjIhNhNubj)}(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)}(hjUh]h Parameters}(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.chMhhjUubj)}(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)}(hjUh]hstruct mnt_idmap *idmap}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMehjUubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj VhMehj Vubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhj VhMehjUubj)}(h5``struct inode *inode`` Inode to check permission on h](j)}(h``struct inode *inode``h]j)}(hj.Vh]hstruct inode *inode}(hj0VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,Vubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMfhj(Vubj)}(hhh]h)}(hInode to check permission onh]hInode to check permission on}(hjGVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjCVhMfhjDVubah}(h]h ]h"]h$]h&]uh1jhj(Vubeh}(h]h ]h"]h$]h&]uh1jhjCVhMfhjUubj)}(hL``int mask`` Right to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``) h](j)}(h ``int mask``h]j)}(hjgVh]hint mask}(hjiVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeVubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMghjaVubj)}(hhh]h)}(h>Right to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``)h](hRight to check for (}(hjVhhhNhNubj)}(h ``MAY_READ``h]hMAY_READ}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh, }(hjVhhhNhNubj)}(h ``MAY_WRITE``h]h MAY_WRITE}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh, }hjVsbj)}(h ``MAY_EXEC``h]hMAY_EXEC}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubh)}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj|VhMghj}Vubah}(h]h ]h"]h$]h&]uh1jhjaVubeh}(h]h ]h"]h$]h&]uh1jhj|VhMghjUubeh}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMihjUubh)}(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.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhhjUubh)}(hEWhen checking for MAY_APPEND, MAY_WRITE must also be set in **mask**.h](hWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:WhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj2)}(h h]h }(hjMWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj:WhhhjLWhMubjC)}(hpath_geth]jI)}(hpath_geth]hpath_get}(hj_WhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[Wubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj:WhhhjLWhMubjv)}(h(const struct path *path)h]j|)}(hconst struct path *pathh](j )}(hjh]hconst}(hj{WhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwWubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwWubj )}(hjh]hstruct}(hjWhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwWubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwWubh)}(hhh]jI)}(hpathh]hpath}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjWmodnameN classnameNj@jC)}jF]jI)}j<jaWsb c.path_getasbuh1hhjwWubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwWubj)}(hjh]h*}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwWubjI)}(hpathh]hpath}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwWubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjsWubah}(h]h ]h"]h$]h&]j`jauh1juhj:WhhhjLWhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj6WhhhjLWhMubah}(h]j1Wah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjLWhMhj3Whhubjw)}(hhh]h)}(hget a reference to a pathh]hget 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&]uh1jvhj3WhhhjLWhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1Xjj1Xjjjuh1jhhhjIhNhNubj)}(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)}(hj;Xh]h Parameters}(hj=XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9Xubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj5Xubj)}(hhh]j)}(h9``const struct path *path`` path to get the reference to h](j)}(h``const struct path *path``h]j)}(hjZXh]hconst struct path *path}(hj\XhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXXubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjTXubj)}(hhh]h)}(hpath to get the reference toh]hpath to get the reference to}(hjsXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjoXhMhjpXubah}(h]h ]h"]h$]h&]uh1jhjTXubeh}(h]h ]h"]h$]h&]uh1jhjoXhMhjQXubah}(h]h ]h"]h$]h&]uh1jhj5Xubh)}(h**Description**h]j)}(hjXh]h Description}(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.chMhj5Xubh)}(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.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj5Xubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j path_put (C function) c.path_puthNtauh1hhjIhhhNhNubj)}(hhh](j)}(h'void path_put (const struct path *path)h]j)}(h&void path_put(const struct path *path)h](j)}(hvoidh]hvoid}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj2)}(h h]h }(hjXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXhhhjXhMubjC)}(hpath_puth]jI)}(hpath_puth]hpath_put}(hjXhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjXhhhjXhMubjv)}(h(const struct path *path)h]j|)}(hconst struct path *pathh](j )}(hjh]hconst}(hjYhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjYubj2)}(h h]h }(hj$YhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubj )}(hjh]hstruct}(hj2YhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjYubj2)}(h h]h }(hj?YhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubh)}(hhh]jI)}(hpathh]hpath}(hjPYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMYubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjRYmodnameN classnameNj@jC)}jF]jI)}j<jXsb c.path_putasbuh1hhjYubj2)}(h h]h }(hjpYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubj)}(hjh]h*}(hj~YhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubjI)}(hpathh]hpath}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjYubah}(h]h ]h"]h$]h&]j`jauh1juhjXhhhjXhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjXhhhjXhMubah}(h]jXah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjXhMhjXhhubjw)}(hhh]h)}(hput a reference to a pathh]hput a reference to a path}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjYhhubah}(h]h ]h"]h$]h&]uh1jvhjXhhhjXhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1jhhhjIhNhNubj)}(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)}(hjYh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjYubj)}(hhh]j)}(h9``const struct path *path`` path to put the reference to h](j)}(h``const struct path *path``h]j)}(hjYh]hconst struct path *path}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjYubj)}(hhh]h)}(hpath to put the reference toh]hpath to put the reference to}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ZhMhj Zubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhj ZhMhjYubah}(h]h ]h"]h$]h&]uh1jhjYubh)}(h**Description**h]j)}(hj1Zh]h Description}(hj3ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Zubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjYubh)}(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.}(hjGZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j end_dirop (C function) c.end_dirophNtauh1hhjIhhhNhNubj)}(hhh](j)}(h"void end_dirop (struct dentry *de)h]j)}(h!void end_dirop(struct dentry *de)h](j)}(hvoidh]hvoid}(hjvZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrZhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM~ ubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjrZhhhjZhM~ ubjC)}(h end_diroph]jI)}(h end_diroph]h end_dirop}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjZubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjrZhhhjZhM~ ubjv)}(h(struct dentry *de)h]j|)}(hstruct dentry *deh](j )}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjZubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjZubh)}(hhh]jI)}(hdentryh]hdentry}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjZubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjZmodnameN classnameNj@jC)}jF]jI)}j<jZsb c.end_diropasbuh1hhjZubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjZubj)}(hjh]h*}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubjI)}(hdeh]hde}(hj [hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjZubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjZubah}(h]h ]h"]h$]h&]j`jauh1juhjrZhhhjZhM~ ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjnZhhhjZhM~ ubah}(h]jiZah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjZhM~ hjkZhhubjw)}(hhh]h)}(hsignal completion of a diroph]hsignal completion of a dirop}(hj6[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM~ hj3[hhubah}(h]h ]h"]h$]h&]uh1jvhjkZhhhjZhM~ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjN[jjN[jjjuh1jhhhjIhNhNubj)}(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)}(hjX[h]h Parameters}(hjZ[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV[ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjR[ubj)}(hhh]j)}(hO``struct dentry *de`` the dentry which was returned by start_dirop or similar. h](j)}(h``struct dentry *de``h]j)}(hjw[h]hstruct dentry *de}(hjy[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju[ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjq[ubj)}(hhh]h)}(h8the dentry which was returned by start_dirop or similar.h]h8the dentry which was returned by start_dirop or similar.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hM hj[ubah}(h]h ]h"]h$]h&]uh1jhjq[ubeh}(h]h ]h"]h$]h&]uh1jhj[hM hjn[ubah}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjR[ubh)}(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()).}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjR[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j #vfs_path_parent_lookup (C function)c.vfs_path_parent_lookuphNtauh1hhjIhhhNhNubj)}(hhh](j)}(hint vfs_path_parent_lookup (struct filename *filename, unsigned int flags, struct path *parent, struct qstr *last, int *type, const struct path *root)h]j)}(hint vfs_path_parent_lookup(struct filename *filename, unsigned int flags, struct path *parent, struct qstr *last, int *type, const struct path *root)h](j)}(hinth]hint}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[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_parent_lookuph]jI)}(hvfs_path_parent_lookuph]hvfs_path_parent_lookup}(hj\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj[hhhj\hM ubjv)}(h{(struct filename *filename, unsigned int flags, struct path *parent, struct qstr *last, int *type, const struct path *root)h](j|)}(hstruct filename *filenameh](j )}(hjh]hstruct}(hj4\hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj0\ubj2)}(h h]h }(hjA\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0\ubh)}(hhh]jI)}(hfilenameh]hfilename}(hjR\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjO\ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjT\modnameN classnameNj@jC)}jF]jI)}j<j\sbc.vfs_path_parent_lookupasbuh1hhj0\ubj2)}(h h]h }(hjr\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0\ubj)}(hjh]h*}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0\ubjI)}(hfilenameh]hfilename}(hj\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0\ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj,\ubj|)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubj2)}(h h]h }(hj\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\ubj)}(hinth]hint}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\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`jauh1j{hj,\ubj|)}(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 classnameNj@jC)}jF]jn\c.vfs_path_parent_lookupasbuh1hhj\ubj2)}(h h]h }(hj3]hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\ubj)}(hjh]h*}(hjA]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\ubjI)}(hparenth]hparent}(hjN]hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj,\ubj|)}(hstruct qstr *lasth](j )}(hjh]hstruct}(hjg]hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjc]ubj2)}(h h]h }(hjt]hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjc]ubh)}(hhh]jI)}(hqstrh]hqstr}(hj]hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj]modnameN classnameNj@jC)}jF]jn\c.vfs_path_parent_lookupasbuh1hhjc]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)}(hlasth]hlast}(hj]hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjc]ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj,\ubj|)}(h int *typeh](j)}(hinth]hint}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]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)}(htypeh]htype}(hj^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj]ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj,\ubj|)}(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}(hj4^hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj^ubj2)}(h h]h }(hjA^hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj^ubh)}(hhh]jI)}(hpathh]hpath}(hjR^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjO^ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjT^modnameN classnameNj@jC)}jF]jn\c.vfs_path_parent_lookupasbuh1hhj^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)}(hrooth]hroot}(hj^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj^ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj,\ubeh}(h]h ]h"]h$]h&]j`jauh1juhj[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)}(h7lookup a parent path relative to a dentry-vfsmount pairh]h7lookup a parent path relative to a dentry-vfsmount pair}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj^hhubah}(h]h ]h"]h$]h&]uh1jvhj[hhhj\hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^jj^jjjuh1jhhhjIhNhNubj)}(hXC**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 ``int *type`` type of the last component ``const struct path *root`` pointer to struct path of the base directoryh](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.chM hj^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}(hj1_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}(hjH_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjD_hM hjE_ubah}(h]h ]h"]h$]h&]uh1jhj)_ubeh}(h]h ]h"]h$]h&]uh1jhjD_hM hj^ubj)}(h7``struct path *parent`` pointer to struct path to fill h](j)}(h``struct path *parent``h]j)}(hjh_h]hstruct path *parent}(hjj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf_ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjb_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&]uh1jhjb_ubeh}(h]h ]h"]h$]h&]uh1jhj}_hM hj^ubj)}(h%``struct qstr *last`` last component h](j)}(h``struct qstr *last``h]j)}(hj_h]hstruct qstr *last}(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)}(hlast componenth]hlast component}(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)``int *type`` type of the last component h](j)}(h ``int *type``h]j)}(hj_h]h int *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:56: ./fs/namei.chM hj_ubj)}(hhh]h)}(htype of the last componenth]htype of the last component}(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``const struct path *root`` pointer to struct path of the base directoryh](j)}(h``const struct path *root``h]j)}(hj`h]hconst struct path *root}(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,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&]uh1jhj `ubeh}(h]h ]h"]h$]h&]uh1jhj(`hM hj^ubeh}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_path_lookup (C function)c.vfs_path_lookuphNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjm`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhji`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&]uh1j1hji`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`jauh1jBhji`hhhj{`hM ubjv)}(hf(struct dentry *dentry, struct vfsmount *mnt, const char *name, unsigned int flags, struct path *path)h](j|)}(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 classnameNj@jC)}jF]jI)}j<j`sbc.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)}(hdentryh]hdentry}(hjahhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj`ubj|)}(hstruct vfsmount *mnth](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)}(hvfsmounth]hvfsmount}(hj:ahhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7aubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjah"]h$]h&]uh1j1hjaubj)}(hjh]h*}(hjfahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubjI)}(hmnth]hmnt}(hjsahhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjaubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj`ubj|)}(hconst char *nameh](j )}(hjh]hconst}(hjahhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjaubj2)}(h h]h }(hjahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjaubj)}(hcharh]hchar}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj2)}(h h]h }(hjahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjaubj)}(hjh]h*}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubjI)}(hnameh]hname}(hjahhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjaubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj`ubj|)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj2)}(h h]h }(hjahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjaubj)}(hinth]hint}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj2)}(h h]h }(hjbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjaubjI)}(hflagsh]hflags}(hj!bhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjaubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj`ubj|)}(hstruct path *pathh](j )}(hjh]hstruct}(hj:bhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj6bubj2)}(h h]h }(hjGbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6bubh)}(hhh]jI)}(hpathh]hpath}(hjXbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjUbubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjZbmodnameN classnameNj@jC)}jF]j`c.vfs_path_lookupasbuh1hhj6bubj2)}(h h]h }(hjvbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6bubj)}(hjh]h*}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6bubjI)}(hpathh]hpath}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6bubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj`ubeh}(h]h ]h"]h$]h&]j`jauh1juhji`hhhj{`hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhje`hhhj{`hM ubah}(h]j``ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj{`hM hjb`hhubjw)}(hhh]h)}(h5lookup a file path relative to a dentry-vfsmount pairh]h5lookup a file path relative to a dentry-vfsmount pair}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjbhhubah}(h]h ]h"]h$]h&]uh1jvhjb`hhhj{`hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbjjbjjjuh1jhhhjIhNhNubj)}(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)}(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:56: ./fs/namei.chM hjbubj)}(hhh](j)}(hB``struct dentry *dentry`` pointer to dentry of the base directory h](j)}(h``struct dentry *dentry``h]j)}(hjbh]hstruct dentry *dentry}(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'pointer to dentry of the base directoryh]h'pointer to dentry of the base directory}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchM hjcubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjchM hjbubj)}(hD``struct vfsmount *mnt`` pointer to vfs mount of the base directory h](j)}(h``struct vfsmount *mnt``h]j)}(hj5ch]hstruct vfsmount *mnt}(hj7chhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3cubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj/cubj)}(hhh]h)}(h*pointer to vfs mount of the base directoryh]h*pointer to vfs mount of the base directory}(hjNchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJchM hjKcubah}(h]h ]h"]h$]h&]uh1jhj/cubeh}(h]h ]h"]h$]h&]uh1jhjJchM hjbubj)}(h*``const char *name`` pointer to file name h](j)}(h``const char *name``h]j)}(hjnch]hconst char *name}(hjpchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlcubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjhcubj)}(hhh]h)}(hpointer to file nameh]hpointer to file name}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchM hjcubah}(h]h ]h"]h$]h&]uh1jhjhcubeh}(h]h ]h"]h$]h&]uh1jhjchM hjbubj)}(h$``unsigned int flags`` lookup flags h](j)}(h``unsigned int flags``h]j)}(hjch]hunsigned int flags}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjcubj)}(hhh]h)}(h lookup flagsh]h lookup flags}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchM hjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchM hjbubj)}(h4``struct path *path`` pointer to struct path to fillh](j)}(h``struct path *path``h]j)}(hjch]hstruct path *path}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjcubj)}(hhh]h)}(hpointer to struct path to fillh]hpointer to struct path to fill}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchM hjbubeh}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j try_lookup_noperm (C function)c.try_lookup_nopermhNtauh1hhjIhhhNhNubj)}(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}(hj:dhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj6dhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM6 ubj2)}(h h]h }(hjHdhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6dhhhjGdhM6 ubh)}(hhh]jI)}(hdentryh]hdentry}(hjYdhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVdubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj[dmodnameN classnameNj@jC)}jF]jI)}j<try_lookup_nopermsbc.try_lookup_nopermasbuh1hhj6dhhhjGdhM6 ubj2)}(h h]h }(hjzdhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6dhhhjGdhM6 ubj)}(hjh]h*}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6dhhhjGdhM6 ubjC)}(htry_lookup_nopermh]jI)}(hjwdh]htry_lookup_noperm}(hjdhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj6dhhhjGdhM6 ubjv)}(h((struct qstr *name, struct dentry *base)h](j|)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hjdhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjdubj2)}(h h]h }(hjdhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdubh)}(hhh]jI)}(hqstrh]hqstr}(hjdhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjdmodnameN classnameNj@jC)}jF]judc.try_lookup_nopermasbuh1hhjdubj2)}(h h]h }(hjdhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdubj)}(hjh]h*}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubjI)}(hnameh]hname}(hj ehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjdubj|)}(hstruct dentry *baseh](j )}(hjh]hstruct}(hj$ehhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj eubj2)}(h h]h }(hj1ehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj eubh)}(hhh]jI)}(hdentryh]hdentry}(hjBehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj?eubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjDemodnameN classnameNj@jC)}jF]judc.try_lookup_nopermasbuh1hhj eubj2)}(h h]h }(hj`ehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj eubj)}(hjh]h*}(hjnehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj eubjI)}(hbaseh]hbase}(hj{ehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj eubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjdubeh}(h]h ]h"]h$]h&]j`jauh1juhj6dhhhjGdhM6 ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj2dhhhjGdhM6 ubah}(h]j-dah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjGdhM6 hj/dhhubjw)}(hhh]h)}(h5filesystem helper to lookup single pathname componenth]h5filesystem helper to lookup single pathname component}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM6 hjehhubah}(h]h ]h"]h$]h&]uh1jvhj/dhhhjGdhM6 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjejjejjjuh1jhhhjIhNhNubj)}(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)}(hjeh]h Parameters}(hjehhhNhNubah}(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: hjeubj)}(hhh](j)}(h@``struct qstr *name`` qstr storing pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjeh]hstruct qstr *name}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM7 hjeubj)}(hhh]h)}(h)qstr storing pathname component to lookuph]h)qstr storing pathname component to lookup}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehM7 hjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehM7 hjeubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjfh]hstruct dentry *base}(hj!fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM8 hjfubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hj8fhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4fhM8 hj5fubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhj4fhM8 hjeubeh}(h]h ]h"]h$]h&]uh1jhjeubh)}(h**Description**h]j)}(hjZfh]h Description}(hj\fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXfubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM: hjeubh)}(hLook 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.h]hLook 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.}(hjpfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM9 hjeubh)}(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.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM> hjeubh)}(hGNo locks need be held - only a counted reference to **base** is needed.h](h4No locks need be held - only a counted reference to }(hjfhhhNhNubj)}(h**base**h]hbase}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh is needed.}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMA hjeubh)}(h **Return**h]j)}(hjfh]hReturn}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMC hjeubjWC)}(hhh](j\C)}(h!ref-counted dentry on success, orh]h)}(hjfh]h!ref-counted dentry on success, or}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMD hjfubah}(h]h ]h"]h$]h&]uh1j[Chjfubj\C)}(h'``NULL`` if name could not be found, orh]h)}(hjfh](j)}(h``NULL``h]hNULL}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh if name could not be found, or}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chME hjfubah}(h]h ]h"]h$]h&]uh1j[Chjfubj\C)}(hHERR_PTR(-EACCES) if name is dot or dotdot or contains a slash or nul, orh]h)}(hj gh]hHERR_PTR(-EACCES) if name is dot or dotdot or contains a slash or nul, or}(hj ghhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMF hjgubah}(h]h ]h"]h$]h&]uh1j[Chjfubj\C)}(h=ERR_PTR() if fs provide ->d_hash, and this returned an error.h]h)}(hj"gh]h=ERR_PTR() if fs provide ->d_hash, and this returned an error.}(hj$ghhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMG hj gubah}(h]h ]h"]h$]h&]uh1j[Chjfubeh}(h]h ]h"]h$]h&]jCjuh1jVChjfhMD hjeubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j lookup_noperm (C function)c.lookup_nopermhNtauh1hhjIhhhNhNubj)}(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}(hj^ghhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjZghhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMW ubj2)}(h h]h }(hjlghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjZghhhjkghMW ubh)}(hhh]jI)}(hdentryh]hdentry}(hj}ghhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzgubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjgmodnameN classnameNj@jC)}jF]jI)}j< lookup_nopermsbc.lookup_nopermasbuh1hhjZghhhjkghMW ubj2)}(h h]h }(hjghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjZghhhjkghMW ubj)}(hjh]h*}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZghhhjkghMW ubjC)}(h lookup_nopermh]jI)}(hjgh]h lookup_noperm}(hjghhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjgubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjZghhhjkghMW ubjv)}(h((struct qstr *name, struct dentry *base)h](j|)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hjghhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjgubj2)}(h h]h }(hjghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjgubh)}(hhh]jI)}(hqstrh]hqstr}(hjghhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjgubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjgmodnameN classnameNj@jC)}jF]jgc.lookup_nopermasbuh1hhjgubj2)}(h h]h }(hjhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjgubj)}(hjh]h*}(hj"hhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubjI)}(hnameh]hname}(hj/hhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjgubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjgubj|)}(hstruct dentry *baseh](j )}(hjh]hstruct}(hjHhhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjDhubj2)}(h h]h }(hjUhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjDhubh)}(hhh]jI)}(hdentryh]hdentry}(hjfhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjchubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjhhmodnameN classnameNj@jC)}jF]jgc.lookup_nopermasbuh1hhjDhubj2)}(h h]h }(hjhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjDhubj)}(hjh]h*}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDhubjI)}(hbaseh]hbase}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjDhubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjgubeh}(h]h ]h"]h$]h&]j`jauh1juhjZghhhjkghMW ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjVghhhjkghMW ubah}(h]jQgah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjkghMW hjSghhubjw)}(hhh]h)}(h5filesystem helper to lookup single pathname componenth]h5filesystem helper to lookup single pathname component}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMW hjhhhubah}(h]h ]h"]h$]h&]uh1jvhjSghhhjkghMW ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1jhhhjIhNhNubj)}(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)}(hjhh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM[ hjhubj)}(hhh](j)}(h@``struct qstr *name`` qstr storing pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hj ih]hstruct qstr *name}(hj ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMX hjiubj)}(hhh]h)}(h)qstr storing pathname component to lookuph]h)qstr storing pathname component to lookup}(hj#ihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihMX hj iubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMX hjiubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjCih]hstruct dentry *base}(hjEihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAiubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMY hj=iubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hj\ihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXihMY hjYiubah}(h]h ]h"]h$]h&]uh1jhj=iubeh}(h]h ]h"]h$]h&]uh1jhjXihMY hjiubeh}(h]h ]h"]h$]h&]uh1jhjhubh)}(h**Description**h]j)}(hj~ih]h Description}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|iubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM[ hjhubh)}(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.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMZ hjhubh)}(h#The caller must hold base->i_rwsem.h]h#The caller must hold base->i_rwsem.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM] hjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j lookup_one (C function) c.lookup_onehNtauh1hhjIhhhNhNubj)}(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}(hjihhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjihhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMq ubj2)}(h h]h }(hjihhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjihhhjihMq ubh)}(hhh]jI)}(hdentryh]hdentry}(hjihhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjimodnameN classnameNj@jC)}jF]jI)}j< lookup_onesb c.lookup_oneasbuh1hhjihhhjihMq ubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjihhhjihMq ubj)}(hjh]h*}(hj jhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjihhhjihMq ubjC)}(h lookup_oneh]jI)}(hjjh]h lookup_one}(hj1jhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj-jubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjihhhjihMq ubjv)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j|)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjLjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjHjubj2)}(h h]h }(hjYjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjHjubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjjjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjgjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjljmodnameN classnameNj@jC)}jF]j j c.lookup_oneasbuh1hhjHjubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjHjubj)}(hjh]h*}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHjubjI)}(hidmaph]hidmap}(hjjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjHjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjDjubj|)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hjjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjjubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjjubh)}(hhh]jI)}(hqstrh]hqstr}(hjjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjjmodnameN classnameNj@jC)}jF]j j c.lookup_oneasbuh1hhjjubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjjubj)}(hjh]h*}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubjI)}(hnameh]hname}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjDjubj|)}(hstruct dentry *baseh](j )}(hjh]hstruct}(hj,khhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj(kubj2)}(h h]h }(hj9khhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj(kubh)}(hhh]jI)}(hdentryh]hdentry}(hjJkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGkubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjLkmodnameN classnameNj@jC)}jF]j j c.lookup_oneasbuh1hhj(kubj2)}(h h]h }(hjhkhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj(kubj)}(hjh]h*}(hjvkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(kubjI)}(hbaseh]hbase}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj(kubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjDjubeh}(h]h ]h"]h$]h&]j`jauh1juhjihhhjihMq ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjihhhjihMq ubah}(h]jiah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjihMq hjihhubjw)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMq hjkhhubah}(h]h ]h"]h$]h&]uh1jvhjihhhjihMq ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1jhhhjIhNhNubj)}(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)}(hjkh]h Parameters}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMu hjkubj)}(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)}(hjkh]hstruct mnt_idmap *idmap}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMr hjkubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMr hjlubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjlhMr hjkubj)}(h@``struct qstr *name`` qstr holding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hj'lh]hstruct qstr *name}(hj)lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%lubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMs hj!lubj)}(hhh]h)}(h)qstr holding pathname component to lookuph]h)qstr holding pathname component to lookup}(hj@lhhhNhNubah}(h]h ]h"]h$]h&]uh1hhji_rwsem.h]h#The caller must hold base->i_rwsem.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMw hjkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  lookup_one_unlocked (C function)c.lookup_one_unlockedhNtauh1hhjIhhhNhNubj)}(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}(hjlhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjlhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjlhhhjlhM ubh)}(hhh]jI)}(hdentryh]hdentry}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj mubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmmodnameN classnameNj@jC)}jF]jI)}j<lookup_one_unlockedsbc.lookup_one_unlockedasbuh1hhjlhhhjlhM ubj2)}(h h]h }(hj/mhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjlhhhjlhM ubj)}(hjh]h*}(hj=mhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlhhhjlhM ubjC)}(hlookup_one_unlockedh]jI)}(hj,mh]hlookup_one_unlocked}(hjNmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJmubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjlhhhjlhM ubjv)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j|)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjimhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjemubj2)}(h h]h }(hjvmhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjemubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjmubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmmodnameN classnameNj@jC)}jF]j*mc.lookup_one_unlockedasbuh1hhjemubj2)}(h h]h }(hjmhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjemubj)}(hjh]h*}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjemubjI)}(hidmaph]hidmap}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjemubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjamubj|)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hjmhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjmubj2)}(h h]h }(hjmhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjmubh)}(hhh]jI)}(hqstrh]hqstr}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjmubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmmodnameN classnameNj@jC)}jF]j*mc.lookup_one_unlockedasbuh1hhjmubj2)}(h h]h }(hjnhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjmubj)}(hjh]h*}(hj#nhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubjI)}(hnameh]hname}(hj0nhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjmubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjamubj|)}(hstruct dentry *baseh](j )}(hjh]hstruct}(hjInhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjEnubj2)}(h h]h }(hjVnhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjEnubh)}(hhh]jI)}(hdentryh]hdentry}(hjgnhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdnubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjinmodnameN classnameNj@jC)}jF]j*mc.lookup_one_unlockedasbuh1hhjEnubj2)}(h h]h }(hjnhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjEnubj)}(hjh]h*}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEnubjI)}(hbaseh]hbase}(hjnhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEnubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjamubeh}(h]h ]h"]h$]h&]j`jauh1juhjlhhhjlhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjlhhhjlhM ubah}(h]jlah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjlhM hjlhhubjw)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjnhhubah}(h]h ]h"]h$]h&]uh1jvhjlhhhjlhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1jhhhjIhNhNubj)}(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)}(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:56: ./fs/namei.chM hjnubj)}(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 oh]hstruct mnt_idmap *idmap}(hj ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj oubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjoubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hj$ohhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ohM hj!oubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhj ohM hjoubj)}(h?``struct qstr *name`` qstr olding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjDoh]hstruct qstr *name}(hjFohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBoubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj>oubj)}(hhh]h)}(h(qstr olding pathname component to lookuph]h(qstr olding pathname component to lookup}(hj]ohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYohM hjZoubah}(h]h ]h"]h$]h&]uh1jhj>oubeh}(h]h ]h"]h$]h&]uh1jhjYohM hjoubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hj}oh]hstruct dentry *base}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{oubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjwoubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohM hjoubah}(h]h ]h"]h$]h&]uh1jhjwoubeh}(h]h ]h"]h$]h&]uh1jhjohM hjoubeh}(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:56: ./fs/namei.chM hjnubh)}(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.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjnubh)}(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.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjnubh)}(h **Return**h]j)}(hjoh]hReturn}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjnubjWC)}(hhh](j\C)}(hA dentry, possibly negative, orh]h)}(hj ph]hA dentry, possibly negative, or}(hj phhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjpubah}(h]h ]h"]h$]h&]uh1j[Chjpubj\C)}(h%same errors as try_lookup_noperm() orh]h)}(hj!ph]h%same errors as try_lookup_noperm() or}(hj#phhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjpubah}(h]h ]h"]h$]h&]uh1j[Chjpubj\C)}(h/ERR_PTR(-ENOENT) if parent has been removed, orh]h)}(hj9ph]h/ERR_PTR(-ENOENT) if parent has been removed, or}(hj;phhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj7pubah}(h]h ]h"]h$]h&]uh1j[Chjpubj\C)}(h7ERR_PTR(-EACCES) if parent directory is not searchable.h]h)}(hjQph]h7ERR_PTR(-EACCES) if parent directory is not searchable.}(hjSphhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjOpubah}(h]h ]h"]h$]h&]uh1j[Chjpubeh}(h]h ]h"]h$]h&]jCjuh1jVChjphM hjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j )lookup_one_positive_killable (C function)c.lookup_one_positive_killablehNtauh1hhjIhhhNhNubj)}(hhh](j)}(hnstruct dentry * lookup_one_positive_killable (struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h]j)}(hlstruct dentry *lookup_one_positive_killable(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j )}(hjh]hstruct}(hjphhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjphhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj2)}(h h]h }(hjphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjphhhjphM ubh)}(hhh]jI)}(hdentryh]hdentry}(hjphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjpmodnameN classnameNj@jC)}jF]jI)}j<lookup_one_positive_killablesbc.lookup_one_positive_killableasbuh1hhjphhhjphM ubj2)}(h h]h }(hjphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjphhhjphM ubj)}(hjh]h*}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjphhhjphM ubjC)}(hlookup_one_positive_killableh]jI)}(hjph]hlookup_one_positive_killable}(hjphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjphhhjphM ubjv)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j|)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjqubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hj%qhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj"qubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj'qmodnameN classnameNj@jC)}jF]jpc.lookup_one_positive_killableasbuh1hhjqubj2)}(h h]h }(hjCqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubj)}(hjh]h*}(hjQqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubjI)}(hidmaph]hidmap}(hj^qhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjpubj|)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hjwqhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjsqubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjsqubh)}(hhh]jI)}(hqstrh]hqstr}(hjqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjqmodnameN classnameNj@jC)}jF]jpc.lookup_one_positive_killableasbuh1hhjsqubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjsqubj)}(hjh]h*}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsqubjI)}(hnameh]hname}(hjqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjsqubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjpubj|)}(hstruct dentry *baseh](j )}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjqubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubh)}(hhh]jI)}(hdentryh]hdentry}(hjrhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjrubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjrmodnameN classnameNj@jC)}jF]jpc.lookup_one_positive_killableasbuh1hhjqubj2)}(h h]h }(hj#rhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubj)}(hjh]h*}(hj1rhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubjI)}(hbaseh]hbase}(hj>rhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjpubeh}(h]h ]h"]h$]h&]j`jauh1juhjphhhjphM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjphhhjphM ubah}(h]jpah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjphM hjphhubjw)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hjhrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjerhhubah}(h]h ]h"]h$]h&]uh1jvhjphhhjphM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1jhhhjIhNhNubj)}(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)}(hjrh]h Parameters}(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 hjrubj)}(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)}(hjrh]hstruct mnt_idmap *idmap}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjrubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhM hjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhM hjrubj)}(h?``struct qstr *name`` qstr olding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjrh]hstruct qstr *name}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjrubj)}(hhh]h)}(h(qstr olding pathname component to lookuph]h(qstr olding pathname component to lookup}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhM hjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhM hjrubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjsh]hstruct dentry *base}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjsubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hj4shhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0shM hj1subah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhj0shM hjrubeh}(h]h ]h"]h$]h&]uh1jhjrubh)}(h**Description**h]j)}(hjVsh]h Description}(hjXshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTsubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjrubh)}(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.}(hjlshhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjrubh)}(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.}(hj{shhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjrubh)}(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.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjrubh)}(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 }(hjshhhNhNubj)}(h ``-EINTR``h]h-EINTR}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubh if the lock is needed.}(hjshhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjrubh)}(h **Return**h]j)}(hjsh]hReturn}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjrubh)}(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.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j )lookup_one_positive_unlocked (C function)c.lookup_one_positive_unlockedhNtauh1hhjIhhhNhNubj)}(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}(hjthhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjshhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjshhhjthM ubh)}(hhh]jI)}(hdentryh]hdentry}(hj thhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj"tmodnameN classnameNj@jC)}jF]jI)}j<lookup_one_positive_unlockedsbc.lookup_one_positive_unlockedasbuh1hhjshhhjthM ubj2)}(h h]h }(hjAthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjshhhjthM ubj)}(hjh]h*}(hjOthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjshhhjthM ubjC)}(hlookup_one_positive_unlockedh]jI)}(hj>th]hlookup_one_positive_unlocked}(hj`thhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\tubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjshhhjthM ubjv)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j|)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hj{thhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwtubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwtubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjtmodnameN classnameNj@jC)}jF]jah"]h$]h&]uh1j1hjwtubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwtubjI)}(hidmaph]hidmap}(hjthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwtubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjstubj|)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hjthhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjtubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubh)}(hhh]jI)}(hqstrh]hqstr}(hj uhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjuubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj umodnameN classnameNj@jC)}jF]jah"]h$]h&]uh1j1hjtubj)}(hjh]h*}(hj5uhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubjI)}(hnameh]hname}(hjBuhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjstubj|)}(hstruct dentry *baseh](j )}(hjh]hstruct}(hj[uhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjWuubj2)}(h h]h }(hjhuhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjWuubh)}(hhh]jI)}(hdentryh]hdentry}(hjyuhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjvuubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj{umodnameN classnameNj@jC)}jF]jah"]h$]h&]uh1j1hjWuubj)}(hjh]h*}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWuubjI)}(hbaseh]hbase}(hjuhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWuubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjstubeh}(h]h ]h"]h$]h&]j`jauh1juhjshhhjthM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjshhhjthM ubah}(h]jsah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjthM hjshhubjw)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjuhhubah}(h]h ]h"]h$]h&]uh1jvhjshhhjthM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjujjujjjuh1jhhhjIhNhNubj)}(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)}(hjuh]h Parameters}(hjvhhhNhNubah}(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 hjuubj)}(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)}(hjvh]hstruct mnt_idmap *idmap}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjvubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hj6vhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2vhM hj3vubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhj2vhM hjvubj)}(h@``struct qstr *name`` qstr holding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjVvh]hstruct qstr *name}(hjXvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTvubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjPvubj)}(hhh]h)}(h)qstr holding pathname component to lookuph]h)qstr holding pathname component to lookup}(hjovhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkvhM hjlvubah}(h]h ]h"]h$]h&]uh1jhjPvubeh}(h]h ]h"]h$]h&]uh1jhjkvhM hjvubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjvh]hstruct dentry *base}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjvubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhM hjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhM hjvubeh}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjuubh)}(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.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjuubh)}(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.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjuubh)}(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.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjuubh)}(h1The helper should be called without i_rwsem held.h]h1The helper should be called without i_rwsem held.}(hj whhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjuubh)}(h **Return**h]j)}(hjwh]hReturn}(hj whhhNhNubah}(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 hjuubh)}(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().}(hj4whhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j #lookup_noperm_unlocked (C function)c.lookup_noperm_unlockedhNtauh1hhjIhhhNhNubj)}(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}(hjcwhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj_whhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj2)}(h h]h }(hjqwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_whhhjpwhM ubh)}(hhh]jI)}(hdentryh]hdentry}(hjwhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjwmodnameN classnameNj@jC)}jF]jI)}j<lookup_noperm_unlockedsbc.lookup_noperm_unlockedasbuh1hhj_whhhjpwhM ubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_whhhjpwhM ubj)}(hjh]h*}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_whhhjpwhM ubjC)}(hlookup_noperm_unlockedh]jI)}(hjwh]hlookup_noperm_unlocked}(hjwhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj_whhhjpwhM ubjv)}(h((struct qstr *name, struct dentry *base)h](j|)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjwubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubh)}(hhh]jI)}(hqstrh]hqstr}(hjwhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjwmodnameN classnameNj@jC)}jF]jwc.lookup_noperm_unlockedasbuh1hhjwubj2)}(h h]h }(hjxhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubj)}(hjh]h*}(hj'xhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubjI)}(hnameh]hname}(hj4xhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjwubj|)}(hstruct dentry *baseh](j )}(hjh]hstruct}(hjMxhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjIxubj2)}(h h]h }(hjZxhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjIxubh)}(hhh]jI)}(hdentryh]hdentry}(hjkxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhxubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmxmodnameN classnameNj@jC)}jF]jwc.lookup_noperm_unlockedasbuh1hhjIxubj2)}(h h]h }(hjxhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjIxubj)}(hjh]h*}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIxubjI)}(hbaseh]hbase}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjIxubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjwubeh}(h]h ]h"]h$]h&]j`jauh1juhj_whhhjpwhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj[whhhjpwhM ubah}(h]jVwah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjpwhM hjXwhhubjw)}(hhh]h)}(h5filesystem helper to lookup single pathname componenth]h5filesystem helper to lookup single pathname component}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjxhhubah}(h]h ]h"]h$]h&]uh1jvhjXwhhhjpwhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjxjjxjjjuh1jhhhjIhNhNubj)}(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)}(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.chM hjxubj)}(hhh](j)}(h3``struct qstr *name`` pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjyh]hstruct qstr *name}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj yubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj yubj)}(hhh]h)}(hpathname component to lookuph]hpathname component to lookup}(hj(yhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$yhM hj%yubah}(h]h ]h"]h$]h&]uh1jhj yubeh}(h]h ]h"]h$]h&]uh1jhj$yhM hjyubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjHyh]hstruct dentry *base}(hjJyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFyubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjByubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjayhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]yhM hj^yubah}(h]h ]h"]h$]h&]uh1jhjByubeh}(h]h ]h"]h$]h&]uh1jhj]yhM hjyubeh}(h]h ]h"]h$]h&]uh1jhjxubh)}(h**Description**h]j)}(hjyh]h Description}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjxubh)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjxubh)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjxubh)}(hQUnlike try_lookup_noperm() it *does* revalidate the dentry if it already existed.h](hUnlike try_lookup_noperm() it }(hjyhhhNhNubj )}(h*does*h]hdoes}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjyubh- revalidate the dentry if it already existed.}(hjyhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjxubh)}(h **Return**h]j)}(hjyh]hReturn}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjxubh)}(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()}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j start_creating (C function)c.start_creatinghNtauh1hhjIhhhNhNubj)}(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}(hjzhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjzhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM9 ubj2)}(h h]h }(hj-zhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjzhhhj,zhM9 ubh)}(hhh]jI)}(hdentryh]hdentry}(hj>zhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj;zubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj@zmodnameN classnameNj@jC)}jF]jI)}j<start_creatingsbc.start_creatingasbuh1hhjzhhhj,zhM9 ubj2)}(h h]h }(hj_zhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjzhhhj,zhM9 ubj)}(hjh]h*}(hjmzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzhhhj,zhM9 ubjC)}(hstart_creatingh]jI)}(hj\zh]hstart_creating}(hj~zhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzzubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjzhhhj,zhM9 ubjv)}(hC(struct mnt_idmap *idmap, struct dentry *parent, struct qstr *name)h](j|)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjzubj2)}(h h]h }(hjzhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjzubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjzhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjzmodnameN classnameNj@jC)}jF]jZzc.start_creatingasbuh1hhjzubj2)}(h h]h }(hjzhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjzubj)}(hjh]h*}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubjI)}(hidmaph]hidmap}(hjzhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjzubj|)}(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 classnameNj@jC)}jF]jZzc.start_creatingasbuh1hhj{ubj2)}(h h]h }(hjE{hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj{ubj)}(hjh]h*}(hjS{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`jauh1j{hjzubj|)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hjy{hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhju{ubj2)}(h h]h }(hj{hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hju{ubh)}(hhh]jI)}(hqstrh]hqstr}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj{modnameN classnameNj@jC)}jF]jZzc.start_creatingasbuh1hhju{ubj2)}(h h]h }(hj{hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hju{ubj)}(hjh]h*}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhju{ubjI)}(hnameh]hname}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhju{ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjzubeh}(h]h ]h"]h$]h&]j`jauh1juhjzhhhj,zhM9 ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjzhhhj,zhM9 ubah}(h]jzah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj,zhM9 hjzhhubjw)}(hhh]h)}(h7prepare to create a given name with permission checkingh]h7prepare to create 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.chM9 hj{hhubah}(h]h ]h"]h$]h&]uh1jvhjzhhhj,zhM9 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|jj|jjjuh1jhhhjIhNhNubj)}(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|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.chM= 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&]uh1jhj9|ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM: hj5|ubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjT|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjP|hM: hjQ|ubah}(h]h ]h"]h$]h&]uh1jhj5|ubeh}(h]h ]h"]h$]h&]uh1jhjP|hM: hj2|ubj)}(hK``struct dentry *parent`` directory in which to prepare to create the name h](j)}(h``struct dentry *parent``h]j)}(hjt|h]hstruct dentry *parent}(hjv|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr|ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM; hjn|ubj)}(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&]uh1jhjn|ubeh}(h]h ]h"]h$]h&]uh1jhj|hM; hj2|ubj)}(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< hj2|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.chM> hj|ubh)}(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}(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.chM= hj|ubh)}(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.chMA hj|ubh)}(h **Return**h]j)}(hj0}h]hReturn}(hj2}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.chME hj|ubh)}(h+a negative or positive dentry, or an error.h]h+a negative or positive dentry, or an error.}(hjF}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMF hj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j start_removing (C function)c.start_removinghNtauh1hhjIhhhNhNubj)}(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}(hju}hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjq}hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMT ubj2)}(h h]h }(hj}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjq}hhhj}hMT ubh)}(hhh]jI)}(hdentryh]hdentry}(hj}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj}modnameN classnameNj@jC)}jF]jI)}j<start_removingsbc.start_removingasbuh1hhjq}hhhj}hMT ubj2)}(h h]h }(hj}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjq}hhhj}hMT ubj)}(hjh]h*}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjq}hhhj}hMT ubjC)}(hstart_removingh]jI)}(hj}h]hstart_removing}(hj}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjq}hhhj}hMT ubjv)}(hC(struct mnt_idmap *idmap, struct dentry *parent, struct qstr *name)h](j|)}(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 classnameNj@jC)}jF]j}c.start_removingasbuh1hhj}ubj2)}(h h]h }(hj+~hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}ubj)}(hjh]h*}(hj9~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubjI)}(hidmaph]hidmap}(hjF~hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj}ubj|)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hj_~hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj[~ubj2)}(h h]h }(hjl~hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj[~ubh)}(hhh]jI)}(hdentryh]hdentry}(hj}~hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjz~ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj~modnameN classnameNj@jC)}jF]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`jauh1j{hj}ubj|)}(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}(hj~hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj~modnameN classnameNj@jC)}jF]j}c.start_removingasbuh1hhj~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`jauh1j{hj}ubeh}(h]h ]h"]h$]h&]j`jauh1juhjq}hhhj}hMT ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjm}hhhj}hMT ubah}(h]jh}ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj}hMT hjj}hhubjw)}(hhh]h)}(h7prepare to remove a given name with permission checkingh]h7prepare to remove a given name with permission checking}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMT hjMhhubah}(h]h ]h"]h$]h&]uh1jvhjj}hhhj}hMT ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1jhhhjIhNhNubj)}(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)}(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:56: ./fs/namei.chMX hjlubj)}(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.chMU hjubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMU hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMU 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.chMV hjubj)}(hhh]h)}(h#directory in which to find the nameh]h#directory in which to find the name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMV hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMV hjubj)}(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.chMW hjubj)}(hhh]h)}(hthe name to be removedh]hthe name to be removed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMW hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMW hjubeh}(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:56: ./fs/namei.chMY hjlubh)}(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 }(hjThhhNhNubj)}(h **idmap**h]hidmap}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh.}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMX hjlubh)}(h0If the name doesn't exist, an error is returned.h]h2If the name doesn’t exist, an error is returned.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM\ hjlubh)}(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^ hjlubh)}(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` hjlubh)}(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.chMa hjlubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $start_creating_killable (C function)c.start_creating_killablehNtauh1hhjIhhhNhNubj)}(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}(hjڀhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjրhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMo ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjրhhhjhMo ubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<start_creating_killablesbc.start_creating_killableasbuh1hhjրhhhjhMo ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjրhhhjhMo ubj)}(hjh]h*}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjրhhhjhMo ubjC)}(hstart_creating_killableh]jI)}(hjh]hstart_creating_killable}(hj9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj5ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjրhhhjhMo ubjv)}(hC(struct mnt_idmap *idmap, struct dentry *parent, struct qstr *name)h](j|)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjThhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjPubj2)}(h h]h }(hjahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjrhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjtmodnameN classnameNj@jC)}jF]jc.start_creating_killableasbuh1hhjPubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPubjI)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjLubj|)}(hstruct dentry *parenth](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 classnameNj@jC)}jF]jc.start_creating_killableasbuh1hhjubj2)}(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`jauh1j{hjLubj|)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj0ubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0ubh)}(hhh]jI)}(hqstrh]hqstr}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjOubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjTmodnameN classnameNj@jC)}jF]jc.start_creating_killableasbuh1hhj0ubj2)}(h h]h }(hjphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0ubj)}(hjh]h*}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjLubeh}(h]h ]h"]h$]h&]j`jauh1juhjրhhhjhMo ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjҀhhhjhMo ubah}(h]j̀ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMo 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.chMo hjhhubah}(h]h ]h"]h$]h&]uh1jvhjπhhhjhMo ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj͂jj͂jjjuh1jhhhjIhNhNubj)}(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)}(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.chMs hjтubj)}(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.chMp hjubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMp hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMp hjubj)}(hK``struct dentry *parent`` directory in which to prepare to create the name h](j)}(h``struct dentry *parent``h]j)}(hj/h]hstruct dentry *parent}(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.chMq hj)ubj)}(hhh]h)}(h0directory in which to prepare to create the nameh]h0directory in which to prepare to create the name}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMq hjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhMq hjubj)}(h-``struct qstr *name`` the name to be created h](j)}(h``struct qstr *name``h]j)}(hjhh]hstruct qstr *name}(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.chMr hjbubj)}(hhh]h)}(hthe name to be createdh]hthe name to be created}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hMr hj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMr hjubeh}(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:56: ./fs/namei.chMt hjтubh)}(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}(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.chMs hjтubh)}(h:If the name already exists, a positive dentry is returned.h]h:If the name already exists, a positive dentry is returned.}(hjڃhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMw hjтubh)}(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.chMy 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)}(h+a negative or positive dentry, or an error.h]h+a negative or 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} hjтubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $start_removing_killable (C function)c.start_removing_killablehNtauh1hhjIhhhNhNubj)}(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}(hj?hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj;hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj;hhhjLhM ubh)}(hhh]jI)}(hdentryh]hdentry}(hj^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj`modnameN classnameNj@jC)}jF]jI)}j<start_removing_killablesbc.start_removing_killableasbuh1hhj;hhhjLhM ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj;hhhjLhM ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;hhhjLhM 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`jauh1jBhj;hhhjLhM ubjv)}(hC(struct mnt_idmap *idmap, struct dentry *parent, struct qstr *name)h](j|)}(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}(hjׄhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjԄubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjلmodnameN classnameNj@jC)}jF]jzc.start_removing_killableasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(hstruct dentry *parenth](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)}(hdentryh]hdentry}(hjGhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjDubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjImodnameN classnameNj@jC)}jF]jzc.start_removing_killableasbuh1hhj%ubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%ubj)}(hjh]h*}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jzc.start_removing_killableasbuh1hhjubj2)}(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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhj;hhhjLhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj7hhhjLhM ubah}(h]j2ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjLhM hj4hhubjw)}(hhh]h)}(h7prepare to remove a given name with permission checkingh]h7prepare to remove 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.chM hjhhubah}(h]h ]h"]h$]h&]uh1jvhj4hhhjLhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2jj2jjjuh1jhhhjIhNhNubj)}(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)}(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.chM hj6ubj)}(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&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjUubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphM hjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphM hjRubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjRubj)}(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 hjdžubj)}(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&]uh1jhjdžubeh}(h]h ]h"]h$]h&]uh1jhjhM hjRubeh}(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:56: ./fs/namei.chM hj6ubh)}(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 }(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.chM hj6ubh)}(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 hj6ubh)}(hEend_removing() should be called when removal is complete, or aborted.h]hEend_removing() should be called when removal is complete, or aborted.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj6ubh)}(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;}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj6ubh)}(h **Return**h]j)}(hjnh]hReturn}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj6ubh)}(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 hj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "start_creating_noperm (C function)c.start_creating_nopermhNtauh1hhjIhhhNhNubj)}(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 }(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 classnameNj@jC)}jF]jI)}j<start_creating_nopermsbc.start_creating_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_creating_nopermh]jI)}(hjh]hstart_creating_noperm}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM ubjv)}(h*(struct dentry *parent, struct qstr *name)h](j|)}(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}(hjKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjHubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjMmodnameN classnameNj@jC)}jF]jc.start_creating_nopermasbuh1hhj)ubj2)}(h h]h }(hjihhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj)ubj)}(hjh]h*}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj%ubj|)}(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 classnameNj@jC)}jF]jc.start_creating_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`jauh1j{hj%ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM 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}(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&]jjjj6jj6jjjuh1jhhhjIhNhNubj)}(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)}(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:56: ./fs/namei.chM hj:ubj)}(hhh](j)}(hK``struct dentry *parent`` directory in which to prepare to create the name h](j)}(h``struct dentry *parent``h]j)}(hj_h]hstruct dentry *parent}(hjahhhNhNubah}(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 hjYubj)}(hhh]h)}(h0directory in which to prepare to create the nameh]h0directory in which to prepare to create the name}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthM hjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthM hjVubj)}(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&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjVubeh}(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.chM hj:ubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj:ubh)}(h:If the name already exists, a positive dentry is returned.h]h:If the name already exists, a positive dentry is returned.}(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)}(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:56: ./fs/namei.chM hj:ubh)}(h+a negative or positive dentry, or an error.h]h+a negative or 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 hj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "start_removing_noperm (C function)c.start_removing_nopermhNtauh1hhjIhhhNhNubj)}(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}(hjNhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjJhhhR/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&]uh1j1hjJhhhj[hM ubh)}(hhh]jI)}(hdentryh]hdentry}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjomodnameN classnameNj@jC)}jF]jI)}j<start_removing_nopermsbc.start_removing_nopermasbuh1hhjJhhhj[hM ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJhhhj[hM ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJhhhj[hM ubjC)}(hstart_removing_nopermh]jI)}(hjh]hstart_removing_noperm}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjJhhhj[hM ubjv)}(h*(struct dentry *parent, struct qstr *name)h](j|)}(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 classnameNj@jC)}jF]jc.start_removing_nopermasbuh1hhjĊ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`jauh1j{hjubj|)}(hstruct qstr *nameh](j )}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj4ubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4ubh)}(hhh]jI)}(hqstrh]hqstr}(hjVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjXmodnameN classnameNj@jC)}jF]jc.start_removing_nopermasbuh1hhj4ubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjJhhhj[hM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjFhhhj[hM ubah}(h]jAah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj[hM hjChhubjw)}(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&]uh1jvhjChhhj[hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjыjjыjjjuh1jhhhjIhNhNubj)}(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&]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)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(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)}(hj3h]hstruct qstr *name}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(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}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhM hjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhM hjubeh}(h]h ]h"]h$]h&]uh1jhjՋubh)}(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:56: ./fs/namei.chM hjՋubh)}(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 hjՋubh)}(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 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.}(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)}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "start_creating_dentry (C function)c.start_creating_dentryhNtauh1hhjIhhhNhNubj)}(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}(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 classnameNj@jC)}jF]jI)}j<start_creating_dentrysbc.start_creating_dentryasbuh1hhjhhhjhM ubj2)}(h h]h }(hj8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM ubj)}(hjh]h*}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM ubjC)}(hstart_creating_dentryh]jI)}(hj5h]hstart_creating_dentry}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM ubjv)}(h-(struct dentry *parent, struct dentry *child)h](j|)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjnubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjnubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j3c.start_creating_dentryasbuh1hhjnubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjnubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubjI)}(hparenth]hparent}(hjɍhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjnubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjjubj|)}(hstruct dentry *childh](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 classnameNj@jC)}jF]j3c.start_creating_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)}(hchildh]hchild}(hj9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjލubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM hjhhubjw)}(hhh]h)}(h prepare to create a given dentryh]h prepare to create a given dentry}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj`hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{jj{jjjuh1jhhhjIhNhNubj)}(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 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}(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 hj׎ubj)}(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&]uh1jhj׎ubeh}(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: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.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(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.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(hFend_creating() should be called when creation is complete, or aborted.h]hFend_creating() should be called when creation is complete, or aborted.}(hjLhhhNhNubah}(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)}(hthe valid dentry, or an error.h]hthe valid dentry, or an error.}(hjshhhNhNubah}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "start_removing_dentry (C function)c.start_removing_dentryhNtauh1hhjIhhhNhNubj)}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjÏmodnameN classnameNj@jC)}jF]jI)}j<start_removing_dentrysbc.start_removing_dentryasbuh1hhjhhhjhM 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_dentryh]jI)}(hjߏh]hstart_removing_dentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM ubjv)}(h-(struct dentry *parent, struct dentry *child)h](j|)}(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&]uh1jHhj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj<modnameN classnameNj@jC)}jF]jݏc.start_removing_dentryasbuh1hhjubj2)}(h h]h }(hjXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hjshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jݏc.start_removing_dentryasbuh1hhjubj2)}(h h]h }(hjȐhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj֐hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hchildh]hchild}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM 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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%jj%jjjuh1jhhhjIhNhNubj)}(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)}(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.chMhj)ubj)}(hhh](j)}(hH``struct dentry *parent`` directory from which dentry should be removed h](j)}(h``struct dentry *parent``h]j)}(hjNh]hstruct dentry *parent}(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.chM hjHubj)}(hhh]h)}(h-directory from which dentry should be removedh]h-directory from which dentry should be removed}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchM hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM hjEubj)}(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 hjEubeh}(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.chMhj)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.}(hjؑhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj)ubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj)ubh)}(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.chMhj)ubh)}(h **Return**h]j)}(hjh]hReturn}(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.chMhj)ubh)}(hthe valid dentry, or an error.h]hthe valid dentry, or an error.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j start_renaming (C function)c.start_renaminghNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMVubj2)}(h h]h }(hj[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjHhhhjZhMVubjC)}(hstart_renamingh]jI)}(hstart_renamingh]hstart_renaming}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjHhhhjZhMVubjv)}(hW(struct renamedata *rd, int lookup_flags, struct qstr *old_last, struct qstr *new_last)h](j|)}(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 classnameNj@jC)}jF]jI)}j<josbc.start_renamingasbuh1hhjubj2)}(h h]h }(hjǒhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjՒhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hrdh]hrd}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hint lookup_flagsh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(h lookup_flagsh]h lookup_flags}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hstruct qstr *old_lasth](j )}(hjh]hstruct}(hj0hhhNhNubah}(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}(hjNhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjKubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjPmodnameN classnameNj@jC)}jF]jÒc.start_renamingasbuh1hhj,ubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj,ubj)}(hjh]h*}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,ubjI)}(hold_lasth]hold_last}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj,ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jÒc.start_renamingasbuh1hhjubj2)}(h h]h }(hjܓhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnew_lasth]hnew_last}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjHhhhjZhMVubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjDhhhjZhMVubah}(h]j?ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjZhMVhjAhhubjw)}(hhh]h)}(h9lookup and lock names for rename with permission checkingh]h9lookup and lock names for rename with permission checking}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMVhjhhubah}(h]h ]h"]h$]h&]uh1jvhjAhhhjZhMVubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1jhhhjIhNhNubj)}(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)}(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:56: ./fs/namei.chMZhj=ubj)}(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)}(hjbh]hstruct renamedata *rd}(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.chMXhj\ubj)}(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.chMWhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMXhjYubj)}(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.chMZhjubj)}(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.chMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjYubj)}(h>``struct qstr *old_last`` name of object in **rd.old_parent** h](j)}(h``struct qstr *old_last``h]j)}(hj֔h]hstruct qstr *old_last}(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#name of object in **rd.old_parent**h](hname of object in }(hjhhhNhNubj)}(h**rd.old_parent**h]h rd.old_parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjДubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjYubj)}(h>``struct qstr *new_last`` name of object in **rd.new_parent** h](j)}(h``struct qstr *new_last``h]j)}(hjh]hstruct qstr *new_last}(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#name of object in **rd.new_parent**h](hname of object in }(hj6hhhNhNubj)}(h**rd.new_parent**h]h rd.new_parent}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1hhj2hM\hj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hM\hjYubeh}(h]h ]h"]h$]h&]uh1jhj=ubh)}(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:56: ./fs/namei.chM^hj=ubh)}(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]hj=ubh)}(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`hj=ubh)}(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}(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.chMdhj=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.chMghj=ubh)}(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.chMhhj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "start_renaming_dentry (C function)c.start_renaming_dentryhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4hhhjFhMubjC)}(hstart_renaming_dentryh]jI)}(hstart_renaming_dentryh]hstart_renaming_dentry}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjUubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj4hhhjFhMubjv)}(h[(struct renamedata *rd, int lookup_flags, struct dentry *old_dentry, struct qstr *new_last)h](j|)}(hstruct renamedata *rdh](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 renamedatah]h renamedata}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<j[sbc.start_renaming_dentryasbuh1hhjqubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubjI)}(hrdh]hrd}(hjΖhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjmubj|)}(hint lookup_flagsh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(h lookup_flagsh]h lookup_flags}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjmubj|)}(hstruct dentry *old_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&]uh1jHhj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj<modnameN classnameNj@jC)}jF]jc.start_renaming_dentryasbuh1hhjubj2)}(h h]h }(hjXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(h old_dentryh]h old_dentry}(hjshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjmubj|)}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jc.start_renaming_dentryasbuh1hhjubj2)}(h h]h }(hjȗhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj֗hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnew_lasth]hnew_last}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjmubeh}(h]h ]h"]h$]h&]j`jauh1juhj4hhhjFhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj0hhhjFhMubah}(h]j+ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjFhMhj-hhubjw)}(hhh]h)}(h8lookup and lock name for rename with permission checkingh]h8lookup and lock name for rename with permission checking}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj hhubah}(h]h ]h"]h$]h&]uh1jvhj-hhhjFhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%jj%jjjuh1jhhhjIhNhNubj)}(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)}(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.chMhj)ubj)}(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)}(hjNh]hstruct renamedata *rd}(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.chMhjHubj)}(hhh]h)}(hJrename data containing parents and flags, and for receiving found dentriesh]hJrename data containing parents and flags, and for receiving found dentries}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhjEubj)}(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&]uh1jhjhMhjEubj)}(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&]uh1hhjטhMhjؘubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjטhMhjEubj)}(h>``struct qstr *new_last`` name of target in **rd.new_parent** h](j)}(h``struct qstr *new_last``h]j)}(hjh]hstruct qstr *new_last}(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#name of target in **rd.new_parent**h](hname of target in }(hjhhhNhNubj)}(h**rd.new_parent**h]h rd.new_parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjEubeh}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj)ubh)}(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.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj)ubh)}(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 }(hjihhhNhNubj)}(h**rd.new_dentry**h]h rd.new_dentry}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh and }(hjihhhNhNubj)}(h**rd.old_parent**h]h rd.old_parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh" is confirmed to be the parent of }(hjihhhNhNubj)}(h**old_dentry**h]h old_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh. If it was originally }(hjihhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubho, it is set. In either case a reference is taken so that end_renaming() can have a stable reference to unlock.}(hjihhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj)ubh)}(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.chMhj)ubh)}(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}(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.chMhj)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.chMhj)ubh)}(hzero or an error.h]hzero or an error.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j (start_renaming_two_dentries (C function)c.start_renaming_two_dentrieshNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj2)}(h h]h }(hjFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj3hhhjEhMubjC)}(hstart_renaming_two_dentriesh]jI)}(hstart_renaming_two_dentriesh]hstart_renaming_two_dentries}(hjXhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjTubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj3hhhjEhMubjv)}(hM(struct renamedata *rd, struct dentry *old_dentry, struct dentry *new_dentry)h](j|)}(hstruct renamedata *rdh](j )}(hjh]hstruct}(hjthhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjpubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubh)}(hhh]jI)}(h renamedatah]h renamedata}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jZsbc.start_renaming_two_dentriesasbuh1hhjpubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubjI)}(hrdh]hrd}(hj͚hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjlubj|)}(hstruct dentry *old_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 classnameNj@jC)}jF]jc.start_renaming_two_dentriesasbuh1hhjubj2)}(h h]h }(hj"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(h old_dentryh]h old_dentry}(hj=hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjlubj|)}(hstruct dentry *new_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 classnameNj@jC)}jF]jc.start_renaming_two_dentriesasbuh1hhjRubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubjI)}(h new_dentryh]h new_dentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjlubeh}(h]h ]h"]h$]h&]j`jauh1juhj3hhhjEhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj/hhhjEhMubah}(h]j*ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjEhMhj,hhubjw)}(hhh]h)}(h,Lock to dentries in given parents for renameh]h,Lock to dentries in given parents for rename}(hjכhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjԛhhubah}(h]h ]h"]h$]h&]uh1jvhj,hhhjEhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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)}(h8``struct renamedata *rd`` rename data containing parent 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)}(hrename data containing parenth]hrename data containing parent}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjubj)}(h5``struct dentry *old_dentry`` dentry of name to move h](j)}(h``struct dentry *old_dentry``h]j)}(hjQh]hstruct dentry *old_dentry}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjKubj)}(hhh]h)}(hdentry of name to moveh]hdentry of name to move}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhMhjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjubj)}(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&]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:56: ./fs/namei.chMhjubh)}(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.chMhjubh)}(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 }(hjhhhNhNubj)}(h**rd.old_dentry**h]h rd.old_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**rd.new_dentry**h]h rd.new_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**rd.old_parent**h]h rd.old_parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }hjsbj)}(h**rd.new_parent**h]h rd.new_parent}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh1 are confirmed to be the parents of the dentries.}(hjhhhNhNubeh}(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()}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(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.chMhjubh)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_create (C function) c.vfs_createhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]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&]uh1j1hjhhhjhMJubjC)}(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`jauh1jBhjhhhjhMJubjv)}(hZ(struct mnt_idmap *idmap, struct dentry *dentry, umode_t mode, struct delegated_inode *di)h](j|)}(hstruct mnt_idmap *idmaph](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 mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jsb c.vfs_createasbuh1hhjНubj2)}(h h]h }(hjhhhNhNubah}(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`jauh1j{hj̝ubj|)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjBubj2)}(h h]h }(hjShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBubh)}(hhh]jI)}(hdentryh]hdentry}(hjdhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjaubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjfmodnameN classnameNj@jC)}jF]j c.vfs_createasbuh1hhjBubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubjI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj̝ubj|)}(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 classnameNj@jC)}jF]j c.vfs_createasbuh1hhjubj2)}(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`jauh1j{hj̝ubj|)}(hstruct delegated_inode *dih](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)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j c.vfs_createasbuh1hhjubj2)}(h h]h }(hj:hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdih]hdi}(hjUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj̝ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMJubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMJubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMJhjhhubjw)}(hhh]h)}(hcreate new fileh]hcreate new file}(hjhhhNhNubah}(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&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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.chMNhjubj)}(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.chMKhjubj)}(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՟hMKhj֟ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj՟hMKhjubj)}(h3``struct dentry *dentry`` dentry of the child file 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.chMLhjubj)}(hhh]h)}(hdentry of the child fileh]hdentry of the child file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMLhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMLhjubj)}(h(``umode_t mode`` mode of the child file h](j)}(h``umode_t mode``h]j)}(hj2h]h umode_t mode}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMMhj,ubj)}(hhh]h)}(hmode of the child fileh]hmode of the child file}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhMMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMMhjubj)}(hP``struct delegated_inode *di`` returns parent inode, if the inode is delegated. h](j)}(h``struct delegated_inode *di``h]j)}(hjkh]hstruct delegated_inode *di}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMNhjeubj)}(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&]uh1hhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjubeh}(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.chMPhjubh)}(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.chMOhjubh)}(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}(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}(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.chMQhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  kernel_tmpfile_open (C function)c.kernel_tmpfile_openhNtauh1hhjIhhhNhNubj)}(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}(hj0hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj,hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj2)}(h h]h }(hj>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj,hhhj=hMubh)}(hhh]jI)}(hfileh]hfile}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjQmodnameN classnameNj@jC)}jF]jI)}j<kernel_tmpfile_opensbc.kernel_tmpfile_openasbuh1hhj,hhhj=hMubj2)}(h h]h }(hjphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj,hhhj=hMubj)}(hjh]h*}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,hhhj=hMubjC)}(hkernel_tmpfile_openh]jI)}(hjmh]hkernel_tmpfile_open}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj,hhhj=hMubjv)}(hn(struct mnt_idmap *idmap, const struct path *parentpath, umode_t mode, int open_flag, const struct cred *cred)h](j|)}(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 classnameNj@jC)}jF]jkc.kernel_tmpfile_openasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(hconst struct path *parentpathh](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}(hj5hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hpathh]hpath}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjUmodnameN classnameNj@jC)}jF]jkc.kernel_tmpfile_openasbuh1hhjubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(h parentpathh]h parentpath}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jkc.kernel_tmpfile_openasbuh1hhjubj2)}(h h]h }(hjƢhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hjԢhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h int open_flagh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(h open_flagh]h open_flag}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hconst struct cred *credh](j )}(hjh]hconst}(hj"hhhNhNubah}(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 }(hjJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hcredh]hcred}(hj[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj]modnameN classnameNj@jC)}jF]jkc.kernel_tmpfile_openasbuh1hhjubj2)}(h h]h }(hjyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhj,hhhj=hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj(hhhj=hMubah}(h]j#ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj=hMhj%hhubjw)}(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&]uh1jvhj%hhhj=hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj֣jj֣jjjuh1jhhhjIhNhNubj)}(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)}(hjh]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.chMhjڣ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)}(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)}(h=``const struct path *parentpath`` path of the base directory h](j)}(h!``const struct path *parentpath``h]j)}(hj8h]hconst struct path *parentpath}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj2ubj)}(hhh]h)}(hpath of the base directoryh]hpath of the base directory}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjubj)}(h)``umode_t mode`` mode of the new tmpfile h](j)}(h``umode_t mode``h]j)}(hjqh]h umode_t mode}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjkubj)}(hhh]h)}(hmode of the new tmpfileh]hmode of the new tmpfile}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``int open_flag`` flags h](j)}(h``int open_flag``h]j)}(hjh]h int open_flag}(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)}(hflagsh]hflags}(hjähhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjݤubj)}(hhh]h)}(hcredentials for openh]hcredentials for open}(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&]uh1jhjڣubh)}(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:56: ./fs/namei.chMhjڣubh)}(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.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjڣubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j end_creating_path (C function)c.end_creating_pathhNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMrubj2)}(h h]h }(hjrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_hhhjqhMrubjC)}(hend_creating_pathh]jI)}(hend_creating_pathh]hend_creating_path}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj_hhhjqhMrubjv)}(h0(const struct path *path, struct dentry *dentry)h](j|)}(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 }(hjȥhhhNhNubah}(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 classnameNj@jC)}jF]jI)}j<jsbc.end_creating_pathasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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}(hjKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjHubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjMmodnameN classnameNj@jC)}jF]jc.end_creating_pathasbuh1hhj)ubj2)}(h h]h }(hjihhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj)ubj)}(hjh]h*}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)ubjI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhj_hhhjqhMrubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj[hhhjqhMrubah}(h]jVah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjqhMrhjXhhubjw)}(hhh]h)}(h6finish a code section started by start_creating_path()h]h6finish a code section started by start_creating_path()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMrhjhhubah}(h]h ]h"]h$]h&]uh1jvhjXhhhjqhMrubeh}(h]h ](jfunctioneh"]h$]h&]jjjjƦjjƦjjjuh1jhhhjIhNhNubj)}(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}(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.chMvhjʦubj)}(hhh](j)}(hK``const struct path *path`` the path instantiated by start_creating_path() 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMshjubj)}(hhh]h)}(h.the path instantiated by start_creating_path()h]h.the path instantiated by start_creating_path()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjubj)}(hG``struct dentry *dentry`` the dentry returned by start_creating_path() 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.chMthj"ubj)}(hhh]h)}(h,the dentry returned by start_creating_path()h]h,the dentry returned by start_creating_path()}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMthj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMthjubeh}(h]h ]h"]h$]h&]uh1jhjʦubh)}(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.chMvhjʦ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 }(hjyhhhNhNubj )}(h*should*h]hshould}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjyubh9 be passed to end_creating_path() together with the path.}(hjyhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMuhjʦubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j dentry_create (C function)c.dentry_createhNtauh1hhjIhhhNhNubj)}(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}(hj٧hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj֧ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjۧmodnameN classnameNj@jC)}jF]jI)}j< dentry_createsbc.dentry_createasbuh1hhjhhhjǧhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjǧhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjǧhMubjC)}(h dentry_createh]jI)}(hjh]h dentry_create}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjǧhMubjv)}(hE(struct path *path, int flags, umode_t mode, const struct cred *cred)h](j|)}(hstruct path *pathh](j )}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj0ubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0ubh)}(hhh]jI)}(hpathh]hpath}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjOubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjTmodnameN classnameNj@jC)}jF]jc.dentry_createasbuh1hhj0ubj2)}(h h]h }(hjphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0ubj)}(hjh]h*}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubjI)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj,ubj|)}(h int flagsh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hj,ubj|)}(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 classnameNj@jC)}jF]jc.dentry_createasbuh1hhjը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`jauh1j{hj,ubj|)}(hconst struct cred *credh](j )}(hjh]hconst}(hj!hhhNhNubah}(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 }(hjIhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hcredh]hcred}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj\modnameN classnameNj@jC)}jF]jc.dentry_createasbuh1hhjubj2)}(h h]h }(hjxhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj,ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjǧhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjǧhMubah}(h]jah ](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&]jjjjթjjթjjjuh1jhhhjIhNhNubj)}(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}(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.chMhj٩ubj)}(hhh](j)}(h%``struct path *path`` path to create h](j)}(h``struct path *path``h]j)}(hjh]hstruct path *path}(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 to createh]hpath to create}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``int flags`` O\_ flags h](j)}(h ``int flags``h]j)}(hj7h]h int flags}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj1ubj)}(hhh]h)}(h O\_ flagsh]h O_ flags}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubj)}(h(``umode_t mode`` mode bits for new file h](j)}(h``umode_t mode``h]j)}(hjph]h umode_t mode}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjjubj)}(hhh]h)}(hmode bits for new fileh]hmode bits for new file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``const struct cred *cred`` credentials to use 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&]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&]uh1jhjhMhjubeh}(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:56: ./fs/namei.chMhj٩ubh)}(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 }(hjhhhNhNubj)}(h**path->dentry**h]h path->dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, for the new file.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj٩ubh)}(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 }(hjhhhNhNubj)}(h **path->mnt**h]h path->mnt}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj٩ubh)}(hJOn success, returns a ``struct file *``. Otherwise an ERR_PTR is returned.h](hOn success, returns a }(hj<hhhNhNubj)}(h``struct file *``h]h struct file *}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh#. Otherwise an ERR_PTR is returned.}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj٩ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_mknod (C function) c.vfs_mknodhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjyhhhjhMubjC)}(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`jauh1jBhjyhhhjhMubjv)}(h(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev, struct delegated_inode *delegated_inode)h](j|)}(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}(hjثhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjիubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjګmodnameN classnameNj@jC)}jF]jI)}j<jsb c.vfs_mknodasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(hstruct inode *dirh](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)}(hinodeh]hinode}(hjJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjLmodnameN classnameNj@jC)}jF]j c.vfs_mknodasbuh1hhj(ubj2)}(h h]h }(hjhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj(ubj)}(hjh]h*}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubjI)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj(ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]j c.vfs_mknodasbuh1hhjubj2)}(h h]h }(hjجhhhNhNubah}(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`jauh1j{hjub"j|)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j c.vfs_mknodasbuh1hhjubj2)}(h h]h }(hj-hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hj;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h dev_t devh](h)}(hhh]jI)}(hdev_th]hdev_t}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjTubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjYmodnameN classnameNj@jC)}jF]j c.vfs_mknodasbuh1hhjPubj2)}(h h]h }(hjuhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPubjI)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]j c.vfs_mknodasbuh1hhjubj2)}(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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjyhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjuhhhjhMubah}(h]jpah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjrhhubjw)}(hhh]h)}(hcreate device node or fileh]hcreate device node or 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&]uh1jvhjrhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1jhhhjIhNhNubj)}(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)}(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)}(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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjUubj)}(h:``struct dentry *dentry`` dentry of the child device node 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.chMhjʮubj)}(hhh]h)}(hdentry of the child device nodeh]hdentry of the child device node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjʮubeh}(h]h ]h"]h$]h&]uh1jhjhMhjUubj)}(h/``umode_t mode`` mode of the child device node h](j)}(h``umode_t mode``h]j)}(hj h]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.chMhjubj)}(hhh]h)}(hmode of the child device nodeh]hmode of the child device node}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjUubj)}(h0``dev_t dev`` device number of device to create h](j)}(h ``dev_t dev``h]j)}(hjBh]h dev_t dev}(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)}(h!device number of device to createh]h!device number of device to create}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjUubj)}(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&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjuubj)}(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&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjUubeh}(h]h ]h"]h$]h&]uh1jhj9ubh)}(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.chMhj9ubh)}(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.chMhj9ubh)}(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}(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.chMhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_mkdir (C function) c.vfs_mkdirhNtauh1hhjIhhhNhNubj)}(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}(hj@hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj<hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM[ubj2)}(h h]h }(hjNhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj<hhhjMhM[ubh)}(hhh]jI)}(hdentryh]hdentry}(hj_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjamodnameN classnameNj@jC)}jF]jI)}j< vfs_mkdirsb c.vfs_mkdirasbuh1hhj<hhhjMhM[ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj<hhhjMhM[ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<hhhjMhM[ubjC)}(h vfs_mkdirh]jI)}(hj}h]h vfs_mkdir}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj<hhhjMhM[ubjv)}(hz(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, struct delegated_inode *delegated_inode)h](j|)}(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}(hjذhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjհubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjڰmodnameN classnameNj@jC)}jF]j{ c.vfs_mkdirasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(hstruct inode *dirh](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 classnameNj@jC)}jF]j{ c.vfs_mkdirasbuh1hhj&ubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&ubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubjI)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]j{ c.vfs_mkdirasbuh1hhjubj2)}(h h]h }(hjֱhhhNhNubah}(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`jauh1j{hjubj|)}(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< reftargetjmodnameN classnameNj@jC)}jF]j{ c.vfs_mkdirasbuh1hhjubj2)}(h h]h }(hj+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hj9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h'struct delegated_inode *delegated_inodeh](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)}(hdelegated_inodeh]hdelegated_inode}(hjphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjmubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjrmodnameN classnameNj@jC)}jF]j{ c.vfs_mkdirasbuh1hhjNubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjNubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubjI)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhj<hhhjMhM[ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj8hhhjMhM[ubah}(h]j3ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjMhM[hj5hhubjw)}(hhh]h)}(h5create directory returning correct dentry if possibleh]h5create directory returning correct dentry if possible}(hjӲhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM[hjвhhubah}(h]h ]h"]h$]h&]uh1jvhj5hhhjMhM[ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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 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.chM\hjubj)}(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)hM\hj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hM\hj ubj)}(h4``struct inode *dir`` inode of the parent directory h](j)}(h``struct inode *dir``h]j)}(hjMh]hstruct inode *dir}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM]hjGubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhM]hjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhM]hj ubj)}(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.chM^hjubj)}(hhh]h)}(hdentry of the child directoryh]hdentry of the child directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM^hj ubj)}(h-``umode_t mode`` mode of the child directory 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.chM_hjubj)}(hhh]h)}(hmode of the child directoryh]hmode of the child 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_hj ubj)}(h]``struct delegated_inode *delegated_inode`` returns parent inode, if the inode is delegated. 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.chM`hjubj)}(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 hM`hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hM`hj ubeh}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMbhjubh)}(hCreate a directory.h]hCreate a directory.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMahjubh)}(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 }(hjXhhhNhNubj)}(h **idmap**h]hidmap}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubhB. This function will then take care to map the inode according to }(hjXhhhNhNubj)}(h **idmap**h]hidmap}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjXhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubh.}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMchjubh)}(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.chMihjubh)}(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.chMmhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_rmdir (C function) c.vfs_rmdirhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]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&]uh1j1hjhhhjhMubjC)}(h vfs_rmdirh]jI)}(h vfs_rmdirh]h vfs_rmdir}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(hl(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, struct delegated_inode *delegated_inode)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jsb c.vfs_rmdirasbuh1hhj&ubj2)}(h h]h }(hjhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&ubj)}(hjh]h*}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubjI)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj"ubj|)}(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 classnameNj@jC)}jF]jd c.vfs_rmdirasbuh1hhjubj2)}(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`jauh1j{hj"ubj|)}(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 classnameNj@jC)}jF]jd c.vfs_rmdirasbuh1hhjubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdentryh]hdentry}(hjchhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj"ubj|)}(h'struct delegated_inode *delegated_inodeh](j )}(hjh]hstruct}(hj|hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjxubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjxubh)}(hhh]jI)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jd c.vfs_rmdirasbuh1hhjxubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjxubj)}(hjh]h*}(hjƶhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxubjI)}(hdelegated_inodeh]hdelegated_inode}(hjӶhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj"ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hremove directoryh]hremove directory}(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&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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)}(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.chMhj8ubj)}(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&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhj5ubj)}(h4``struct inode *dir`` inode of the parent directory h](j)}(h``struct inode *dir``h]j)}(hjwh]hstruct inode *dir}(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)}(hinode of the parent directoryh]hinode of the parent directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhj5ubj)}(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.chMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjŷhMhj5ubj)}(hU``struct delegated_inode *delegated_inode`` returns parent inode, if it's delegated. 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.chMhjubj)}(hhh]h)}(h(returns parent inode, if it's delegated.h]h*returns parent inode, if it’s delegated.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj5ubeh}(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.chMhjubh)}(hRemove a directory.h]hRemove a directory.}(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 }(hjIhhhNhNubj)}(h **idmap**h]hidmap}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubhB. This function will then take care to map the inode according to }(hjIhhhNhNubj)}(h **idmap**h]hidmap}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjIhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh.}(hjIhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_unlink (C function) c.vfs_unlinkhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/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_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`jauh1jBhjhhhjhMHubjv)}(hl(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, struct delegated_inode *delegated_inode)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jѸsb c.vfs_unlinkasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(hstruct inode *dirh](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)}(hinodeh]hinode}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj}modnameN classnameNj@jC)}jF]j% c.vfs_unlinkasbuh1hhjYubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubjI)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j% c.vfs_unlinkasbuh1hhjɹubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjɹubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjɹubjI)}(hdentryh]hdentry}(hj$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjɹubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h'struct delegated_inode *delegated_inodeh](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)}(hdelegated_inodeh]hdelegated_inode}(hj[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj]modnameN classnameNj@jC)}jF]j% c.vfs_unlinkasbuh1hhj9ubj2)}(h h]h }(hjyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubjI)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj9ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMHubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMHubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMHhjhhubjw)}(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.chMHhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMHubeh}(h]h ](jfunctioneh"]h$]h&]jjjjֺjjֺjjjuh1jhhhjIhNhNubj)}(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)}(hjh]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.chMLhjں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)}(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.chMIhjubj)}(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&]uh1hhjhMIhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMIhjubj)}(h'``struct inode *dir`` parent directory h](j)}(h``struct inode *dir``h]j)}(hj8h]hstruct inode *dir}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMJhj2ubj)}(hhh]h)}(hparent directoryh]hparent directory}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhMJhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMJhjubj)}(h!``struct dentry *dentry`` victim h](j)}(h``struct dentry *dentry``h]j)}(hjqh]hstruct dentry *dentry}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMKhjkubj)}(hhh]h)}(hvictimh]hvictim}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubj)}(h]``struct delegated_inode *delegated_inode`` returns victim inode, if the inode is delegated. 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.chMLhjubj)}(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&]uh1hhjhMLhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMLhjubeh}(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:56: ./fs/namei.chMNhjںubh)}(h.The caller must hold dir->i_rwsem exclusively.h]h.The caller must hold dir->i_rwsem exclusively.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMMhjںubh)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMOhjںubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMUhjں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}(hj0hhhNhNubah}(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}(hjBhhhNhNubah}(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}(hjThhhNhNubah}(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.chMYhjںubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_symlink (C function) c.vfs_symlinkhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]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&]uh1j1hjhhhjhMubjC)}(h vfs_symlinkh]jI)}(h vfs_symlinkh]h vfs_symlink}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *oldname, struct delegated_inode *delegated_inode)h](j|)}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jsb c.vfs_symlinkasbuh1hhjƼubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjƼubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjƼubjI)}(hidmaph]hidmap}(hj#hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjƼubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj¼ubj|)}(hstruct inode *dirh](j )}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj8ubj2)}(h h]h }(hjIhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8ubh)}(hhh]jI)}(hinodeh]hinode}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj\modnameN classnameNj@jC)}jF]j c.vfs_symlinkasbuh1hhj8ubj2)}(h h]h }(hjxhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubjI)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj¼ubj|)}(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&]uh1jHhjǽubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj̽modnameN classnameNj@jC)}jF]j c.vfs_symlinkasbuh1hhjubj2)}(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`jauh1j{hj¼ubj|)}(hconst char *oldnameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(holdnameh]holdname}(hj`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj¼ubj|)}(h'struct delegated_inode *delegated_inodeh](j )}(hjh]hstruct}(hjyhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjuubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjuubh)}(hhh]jI)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j c.vfs_symlinkasbuh1hhjuubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjuubj)}(hjh]h*}(hjþhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubjI)}(hdelegated_inodeh]hdelegated_inode}(hjоhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjuubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj¼ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hcreate symlinkh]hcreate 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&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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)}(hj;h]hstruct mnt_idmap *idmap}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj5ubj)}(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&]uh1hhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhj2ubj)}(h4``struct inode *dir`` inode of the parent directory h](j)}(h``struct inode *dir``h]j)}(hjth]hstruct inode *dir}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjnubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h;``struct dentry *dentry`` dentry of the child symlink file 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 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¿hMhj2ubj)}(h4``const char *oldname`` name of the file to link to h](j)}(h``const char *oldname``h]j)}(hjh]hconst char *oldname}(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)}(hname of the file to link toh]hname of the file to link to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj2ubj)}(h]``struct delegated_inode *delegated_inode`` returns victim 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h0returns victim inode, if the inode is delegated.h]h0returns victim inode, if the inode is delegated.}(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:56: ./fs/namei.chMhjubh)}(hCreate a symlink.h]hCreate a symlink.}(hjphhhNhNubah}(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 }(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_link (C function) c.vfs_linkhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMCubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMCubjC)}(hvfs_linkh]jI)}(hvfs_linkh]hvfs_link}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMCubjv)}(h(struct dentry *old_dentry, struct mnt_idmap *idmap, struct inode *dir, struct dentry *new_dentry, struct delegated_inode *delegated_inode)h](j|)}(hstruct dentry *old_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}(hj?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjAmodnameN classnameNj@jC)}jF]jI)}j<jsb c.vfs_linkasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]j[ c.vfs_linkasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(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}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj#modnameN classnameNj@jC)}jF]j[ c.vfs_linkasbuh1hhjubj2)}(h h]h }(hj?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdirh]hdir}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hstruct dentry *new_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 classnameNj@jC)}jF]j[ c.vfs_linkasbuh1hhjoubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjoubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubjI)}(h new_dentryh]h new_dentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]j[ c.vfs_linkasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdelegated_inodeh]hdelegated_inode}(hj:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMCubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMCubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMChjhhubjw)}(hhh]h)}(hcreate a new linkh]hcreate a new link}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMChjahhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMCubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|jj|jjjuh1jhhhjIhNhNubj)}(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.chMGhjubj)}(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.chMDhjubj)}(hhh]h)}(hobject to be linkedh]hobject to be linked}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubj)}(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.chMEhjubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhjubj)}(h!``struct inode *dir`` new parent 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.chMFhjubj)}(hhh]h)}(h new parenth]h new parent}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hMFhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hMFhjubj)}(h;``struct dentry *new_dentry`` where to create the new link 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:56: ./fs/namei.chMGhjJubj)}(hhh]h)}(hwhere to create the new linkh]hwhere to create the new link}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehMGhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMGhjubj)}(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.chMHhjubj)}(hhh]h)}(h(returns inode needing a delegation breakh]h(returns inode needing a delegation break}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhjubeh}(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.chMJhjubh)}(h.The caller must hold dir->i_rwsem exclusively.h]h.The caller must hold dir->i_rwsem exclusively.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMIhjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMKhjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMQhjubh)}(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}(hj3hhhNhNubah}(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.chMUhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_rename (C function) c.vfs_renamehNtauh1hhjIhhhNhNubj)}(hhh](j)}(h&int vfs_rename (struct renamedata *rd)h]j)}(h%int vfs_rename(struct renamedata *rd)h](j)}(hinth]hint}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhhR/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_renameh]jI)}(h vfs_renameh]h vfs_rename}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhhjzhMubjv)}(h(struct renamedata *rd)h]j|)}(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 classnameNj@jC)}jF]jI)}j<jsb c.vfs_renameasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hrdh]hrd}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhhjzhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjdhhhjzhMubah}(h]j_ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjzhMhjahhubjw)}(hhh]h)}(hrename a filesystem objecth]hrename a filesystem object}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj)hhubah}(h]h ]h"]h$]h&]uh1jvhjahhhjzhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1jhhhjIhNhNubj)}(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)}(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:56: ./fs/namei.chMhjHubj)}(hhh]j)}(hS``struct renamedata *rd`` pointer to :c:type:`struct renamedata ` info h](j)}(h``struct renamedata *rd``h]j)}(hjmh]hstruct renamedata *rd}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjgubj)}(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 refexplicitrefwarnj@jC)}jF]sb reftarget renamedatauh1hhjhMhjubh info}(hjhhhNhNubeh}(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:56: ./fs/namei.chMhjHubh)}(h:The caller must hold multiple mutexes--see lock_rename()).h]h:The caller must hold multiple mutexes--see lock_rename()).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjHubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjHubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjHubh)}(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:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjHubjM)}(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]jy)}(hhh](j\C)}(hwe can get into loop creation.h]h)}(hj,h]hwe can get into loop creation.}(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&]uh1j[Chj'ubj\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.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjBubah}(h]h ]h"]h$]h&]uh1j[Chj'ubj\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.}(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&]uh1j[Chj'ubj\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].}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjtubah}(h]h ]h"]h$]h&]uh1j[Chj'ubeh}(h]h ]h"]h$]h&]j loweralphajhjjuh1jxhj#ubah}(h]h ]h"]h$]h&]uh1jLhj;hM hjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_readlink (C function)c.vfs_readlinkhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMXubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMXubjC)}(h vfs_readlinkh]jI)}(h vfs_readlinkh]h vfs_readlink}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMXubjv)}(h8(struct dentry *dentry, char __user *buffer, int buflen)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.vfs_readlinkasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(hchar __user *bufferh](j)}(hcharh]hchar}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjeubh__user}(hjehhhNhNubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjeubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubjI)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h int buflenh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hbuflenh]hbuflen}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMXubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMXubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMXhjhhubjw)}(hhh]h)}(h'copy symlink body into userspace bufferh]h'copy symlink body into userspace buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMXhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMXubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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.chM\hjubj)}(hhh](j)}(h?``struct dentry *dentry`` dentry on which to get symbolic link h](j)}(h``struct dentry *dentry``h]j)}(hjDh]hstruct dentry *dentry}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMYhj>ubj)}(hhh]h)}(h$dentry on which to get symbolic linkh]h$dentry on which to get symbolic link}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhMYhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMYhj;ubj)}(h,``char __user *buffer`` user memory pointer h](j)}(h``char __user *buffer``h]j)}(hj}h]hchar __user *buffer}(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.chMZhjwubj)}(hhh]h)}(huser memory pointerh]huser memory pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMZhj;ubj)}(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.chM[hjubj)}(hhh]h)}(hsize of bufferh]hsize of buffer}(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)}(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.chM]hjubh)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM\hjubh)}(hDoes not call security hook.h]hDoes not call security hook.}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_get_link (C function)c.vfs_get_linkhNtauh1hhjIhhhNhNubj)}(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}(hjEhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjAhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj2)}(h h]h }(hjShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAhhhjRhMubj)}(hcharh]hchar}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhjRhMubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAhhhjRhMubj)}(hjh]h*}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhjRhMubjC)}(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`jauh1jBhjAhhhjRhMubjv)}(h2(struct dentry *dentry, struct delayed_call *done)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.vfs_get_linkasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(hstruct delayed_call *doneh](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 delayed_callh]h delayed_call}(hj:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj<modnameN classnameNj@jC)}jF]jc.vfs_get_linkasbuh1hhjubj2)}(h h]h }(hjXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdoneh]hdone}(hjshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjAhhhjRhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj=hhhjRhMubah}(h]j8ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjRhMhj:hhubjw)}(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&]uh1jvhj:hhhjRhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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}(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)}(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.chMhjubj)}(hhh]h)}(h$dentry on which to get symbolic linkh]h$dentry on which to get symbolic link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hK``struct delayed_call *done`` caller needs to free returned data with this h](j)}(h``struct delayed_call *done``h]j)}(hjh]hstruct delayed_call *done}(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,caller needs to free returned data with thish]h,caller needs to free returned data with this}(hj0hhhNhNubah}(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)}(hjRh]h Description}(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.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.}(hjhhhhNhNubah}(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.}(hjwhhhNhNubah}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j page_get_link (C function)c.page_get_linkhNtauh1hhjIhhhNhNubj)}(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 }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(h page_get_linkh]jI)}(h page_get_linkh]h page_get_link}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(hK(struct dentry *dentry, struct inode *inode, struct delayed_call *callback)h](j|)}(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}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj:modnameN classnameNj@jC)}jF]jI)}j<jsbc.page_get_linkasbuh1hhjubj2)}(h h]h }(hjXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdentryh]hdentry}(hjshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jTc.page_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`jauh1j{hjubj|)}(hstruct delayed_call *callbackh](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 delayed_callh]h delayed_call}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jTc.page_get_linkasbuh1hhjubj2)}(h h]h }(hj8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hcallbackh]hcallback}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h2An implementation of the get_link inode_operation.h]h2An implementation of the get_link inode_operation.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjzhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h3``struct inode *inode`` The inode for the symlink. 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:56: ./fs/namei.chMhjubj)}(hhh]h)}(hThe inode for the symlink.h]hThe inode for the symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(hM``struct delayed_call *callback`` Used to drop the reference to the symlink. h](j)}(h!``struct delayed_call *callback``h]j)}(hj0h]hstruct delayed_call *callback}(hj2hhhNhNubah}(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)}(h*Used to drop the reference to the symlink.h]h*Used to drop the reference to the symlink.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjubeh}(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: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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j page_put_link (C function)c.page_put_linkhNtauh1hhjIhhhNhNubj)}(hhh](j)}(hvoid page_put_link (void *arg)h]j)}(hvoid page_put_link(void *arg)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]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&]uh1j1hjhhhjhMubjC)}(h page_put_linkh]jI)}(h page_put_linkh]h page_put_link}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h (void *arg)h]j|)}(h void *argh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hargh]harg}(hj=hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj ubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h"Drop the reference to the symlink.h]h"Drop the reference to the symlink.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjdhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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}(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 folio which contains the symlink.h]h%The folio which contains the symlink.}(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: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().}(hjhhhNhNubah}(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.}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j finish_open (C function) c.finish_openhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3hhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMubj2)}(h h]h }(hjFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj3hhhjEhMubjC)}(h finish_openh]jI)}(h finish_openh]h finish_open}(hjXhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjTubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj3hhhjEhMubjv)}(hT(struct file *file, struct dentry *dentry, int (*open)(struct inode*, struct file*))h](j|)}(hstruct file *fileh](j )}(hjh]hstruct}(hjthhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjpubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubh)}(hhh]jI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jZsb c.finish_openasbuh1hhjpubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubjI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjlubj|)}(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 classnameNj@jC)}jF]j c.finish_openasbuh1hhjubj2)}(h h]h }(hj"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdentryh]hdentry}(hj=hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjlubj|)}(h(int (*open)(struct inode*, struct file*)h](j)}(hinth]hint}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj2)}(h h]h }(hjdhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRubj)}(hjVh]h(}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubjI)}(hopenh]hopen}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(hjVh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjRubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j c.finish_openasbuh1hhjRubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(hjh]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjRubj2)}(h h]h }(hj%hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRubh)}(hhh]jI)}(hfileh]hfile}(hj6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj8modnameN classnameNj@jC)}jF]j c.finish_openasbuh1hhjRubj)}(hjh]h*}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubj)}(hjh]h)}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjlubeh}(h]h ]h"]h$]h&]j`jauh1juhj3hhhjEhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj/hhhjEhMubah}(h]j*ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjEhMhj,hhubjw)}(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&]uh1jvhj,hhhjEhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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)}(h,``struct dentry *dentry`` pointer to dentry 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)}(hpointer to dentryh]hpointer to dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h=``int (*open)(struct inode *, struct file *)`` open callback h](j)}(h.``int (*open)(struct inode *, struct file *)``h]j)}(hj=h]h*int (*open)(struct inode *, struct 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.chMhj7ubj)}(hhh]h)}(h open callbackh]h open callback}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjubeh}(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&]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().}(hjhhhNhNubah}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j finish_no_open (C function)c.finish_no_openhNtauh1hhjIhhhNhNubj)}(hhh](j)}(h=int finish_no_open (struct file *file, struct dentry *dentry)h]j)}(hah"]h$]h&]uh1j1hjhhhjhMubjC)}(hfinish_no_openh]jI)}(hfinish_no_openh]hfinish_no_open}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h*(struct file *file, struct dentry *dentry)h](j|)}(hstruct file *fileh](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)}(hfileh]hfile}(hjEhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjGmodnameN classnameNj@jC)}jF]jI)}j<j sbc.finish_no_openasbuh1hhj#ubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#ubj)}(hjh]h*}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubjI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jac.finish_no_openasbuh1hhjubj2)}(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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h/finish ->atomic_open() without opening the fileh]h/finish ->atomic_open() without opening the 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&]jjjj2jj2jjjuh1jhhhjIhNhNubj)}(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)}(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.chMhj6ubj)}(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&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjUubj)}(hhh]h)}(h file pointerh]h file pointer}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjRubj)}(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())}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjRubeh}(h]h ]h"]h$]h&]uh1jhj6ubh)}(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.chMhj6ubh)}(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().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhj6ubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhj6ubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j kernel_file_open (C function)c.kernel_file_openhNtauh1hhjIhhhNhNubj)}(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}(hj2hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj.hhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMjubj2)}(h h]h }(hj@hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.hhhj?hMjubh)}(hhh]jI)}(hfileh]hfile}(hjQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjSmodnameN classnameNj@jC)}jF]jI)}j<kernel_file_opensbc.kernel_file_openasbuh1hhj.hhhj?hMjubj2)}(h h]h }(hjrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.hhhj?hMjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.hhhj?hMjubjC)}(hkernel_file_openh]jI)}(hjoh]hkernel_file_open}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj.hhhj?hMjubjv)}(h=(const struct path *path, int flags, const struct cred *cred)h](j|)}(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 classnameNj@jC)}jF]jmc.kernel_file_openasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h int flagsh](j)}(hinth]hint}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj3ubjI)}(hflagsh]hflags}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hconst struct cred *credh](j )}(hjh]hconst}(hjlhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhubj2)}(h h]h }(hjyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubh)}(hhh]jI)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jmc.kernel_file_openasbuh1hhjhubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubjI)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhj.hhhj?hMjubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj*hhhj?hMjubah}(h]j%ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj?hMjhj'hhubjw)}(hhh]h)}(h#open a file for kernel internal useh]h#open a file for kernel internal use}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMjhjhhubah}(h]h ]h"]h$]h&]uh1jvhj'hhhj?hMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1jhhhjIhNhNubj)}(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)}(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.chMnhj$ubj)}(hhh](j)}(h5``const struct path *path`` path of the file to open h](j)}(h``const struct path *path``h]j)}(hjIh]hconst struct path *path}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMkhjCubj)}(hhh]h)}(hpath of the file to openh]hpath of the file to open}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hMkhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMkhj@ubj)}(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.chMlhj|ubj)}(hhh]h)}(h open flagsh]h open flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMlhj@ubj)}(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.chMmhjubj)}(hhh]h)}(hcredentials for openh]hcredentials for open}(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&]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:59: ./fs/open.chMohj$ubh)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMnhj$ubh)}(h **Return**h]j)}(hjh]hReturn}(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.chMrhj$ubh)}(h4Opened file on success, an error pointer on failure.h]h4Opened file on success, an error pointer on failure.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMshj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j filp_open (C function) c.filp_openhNtauh1hhjIhhhNhNubj)}(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}(hjbhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj^hhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chM.ubj2)}(h h]h }(hjphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj^hhhjohM.ubh)}(hhh]jI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j< filp_opensb c.filp_openasbuh1hhj^hhhjohM.ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj^hhhjohM.ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^hhhjohM.ubjC)}(h filp_openh]jI)}(hjh]h filp_open}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj^hhhjohM.ubjv)}(h/(const char *filename, int flags, umode_t mode)h](j|)}(hconst char *filenameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfilenameh]hfilename}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h int flagsh](j)}(hinth]hint}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5ubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj5ubjI)}(hflagsh]hflags}(hjUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj5ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]j c.filp_openasbuh1hhjjubj2)}(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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhj^hhhjohM.ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjZhhhjohM.ubah}(h]jUah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjohM.hjWhhubjw)}(hhh]h)}(h!open file and return file pointerh]h!open file and return file pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chM.hjhhubah}(h]h ]h"]h$]h&]uh1jvhjWhhhjohM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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.chM2hjubj)}(hhh](j)}(h&``const char *filename`` path to open h](j)}(h``const char *filename``h]j)}(hjh]hconst char *filename}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chM0hjubj)}(hhh]h)}(h path to openh]h path to open}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM0hjubj)}(h<``int flags`` open flags as per the open(2) second argument h](j)}(h ``int flags``h]j)}(hjAh]h int flags}(hjChhhNhNubah}(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.chM1hj;ubj)}(hhh]h)}(h-open flags as per the open(2) second argumenth]h-open flags as per the open(2) second argument}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhM1hjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhM1hjubj)}(hG``umode_t mode`` mode for the new file if O_CREAT is set, else ignored h](j)}(h``umode_t mode``h]j)}(hjzh]h umode_t mode}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chM2hjtubj)}(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&]uh1hhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjubeh}(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.chM4hjubh)}(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..}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chM3hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_reset (C function) c.bio_resethNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubjC)}(h bio_reseth]jI)}(h bio_reseth]h bio_reset}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h;(struct bio *bio, struct block_device *bdev, blk_opf_t opf)h](j|)}(hstruct bio *bioh](j )}(hjh]hstruct}(hj7hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj3ubj2)}(h h]h }(hjDhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj3ubh)}(hhh]jI)}(hbioh]hbio}(hjUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjWmodnameN classnameNj@jC)}jF]jI)}j<jsb c.bio_resetasbuh1hhj3ubj2)}(h h]h }(hjuhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj3ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubjI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj/ubj|)}(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 classnameNj@jC)}jF]jq c.bio_resetasbuh1hhjubj2)}(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`jauh1j{hj/ubj|)}(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 classnameNj@jC)}jF]jq c.bio_resetasbuh1hhjubj2)}(h h]h }(hj:hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hopfh]hopf}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj/ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hreinitialize a bioh]hreinitialize a bio}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjohhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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.chMhjubj)}(hhh]h)}(h bio to reseth]h bio to reset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h>``struct block_device *bdev`` block device to use the bio for 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.chM hjubj)}(hhh]h)}(hblock device to use the bio forh]hblock device to use the bio for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(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}(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 hjubj)}(hhh]h)}(hoperation and flags for bioh]hoperation and flags for bio}(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&]uh1jhjubh)}(h**Description**h]j)}(hj`h]h Description}(hjbhhhNhNubah}(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 hjubjM)}(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(), }(hjzhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh 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.}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM hjvubah}(h]h ]h"]h$]h&]uh1jLhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_reuse (C function) c.bio_reusehNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]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"ubjC)}(h bio_reuseh]jI)}(h bio_reuseh]h bio_reuse}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM"ubjv)}(h (struct bio *bio, blk_opf_t opf)h](j|)}(hstruct bio *bioh](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)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jsb c.bio_reuseasbuh1hhjubj2)}(h h]h }(hj<hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbioh]hbio}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h blk_opf_t opfh](h)}(hhh]jI)}(h blk_opf_th]h blk_opf_t}(hjshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjumodnameN classnameNj@jC)}jF]j8 c.bio_reuseasbuh1hhjlubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjlubjI)}(hopfh]hopf}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM"ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM"ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM"hjhhubjw)}(hhh]h)}(h(reuse a bio with the payload left intacth]h(reuse a bio with the payload left intact}(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&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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 reuse h](j)}(h``struct bio *bio``h]j)}(hj h]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 reuseh]h bio to reuse}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM#hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjubj)}(h7``blk_opf_t opf`` operation and flags for the next I/O h](j)}(h``blk_opf_t opf``h]j)}(hjCh]h blk_opf_t opf}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(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 and flags for the next I/Oh]h$operation and flags for the next I/O}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhM$hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhM$hjubeh}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM&hjubh)}(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%hjubh)}(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}(hjhhhNhNubah}(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(hjubh)}(h**Note**h]j)}(hjh]hNote}(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)}(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 }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhf has integrity or blk-crypto contexts for now. Feel free to add that support when you need it, though.}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_chain (C function) c.bio_chainhNtauh1hhjIhhhNhNubj)}(hhh](j)}(h4void bio_chain (struct bio *bio, struct bio *parent)h]j)}(h3void bio_chain(struct bio *bio, struct bio *parent)h](j)}(hvoidh]hvoid}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMWubj2)}(h h]h }(hj>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj+hhhj=hMWubjC)}(h bio_chainh]jI)}(h bio_chainh]h bio_chain}(hjPhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj+hhhj=hMWubjv)}(h%(struct bio *bio, struct bio *parent)h](j|)}(hstruct bio *bioh](j )}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhubj2)}(h h]h }(hjyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubh)}(hhh]jI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jRsb c.bio_chainasbuh1hhjhubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubjI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjdubj|)}(hstruct bio *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)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j c.bio_chainasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hj5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjdubeh}(h]h ]h"]h$]h&]j`jauh1juhj+hhhj=hMWubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj'hhhj=hMWubah}(h]j"ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj=hMWhj$hhubjw)}(hhh]h)}(hchain bio completionsh]hchain bio completions}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMWhj\hhubah}(h]h ]h"]h$]h&]uh1jvhj$hhhj=hMWubeh}(h]h ](jfunctioneh"]h$]h&]jjjjwjjwjjjuh1jhhhjIhNhNubj)}(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[hj{ubj)}(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)}(hjh]hstruct bio *parent}(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.chMYhjubj)}(hhh]h)}(hthe parent bio of **bio**h](hthe parent bio of }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubeh}(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.chM[hj{ubh)}(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 }(hj8hhhNhNubj)}(h**bio**h]hbio}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubh completes - instead, }(hj8hhhNhNubj)}(h **parent**h]hparent}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubh,’s bi_end_io won’t be called until both }(hj8hhhNhNubj)}(h **parent**h]hparent}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubh and }(hj8hhhNhNubj)}(h**bio**h]hbio}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubhF have completed; the chained bio will also be freed when it completes.}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMZhj{ubh)}(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^hj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_alloc_bioset (C function)c.bio_alloc_biosethNtauh1hhjIhhhNhNubj)}(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}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubh)}(hhh]jI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<bio_alloc_biosetsbc.bio_alloc_biosetasbuh1hhjhhhjhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(hbio_alloc_bioseth]jI)}(hj h]hbio_alloc_bioset}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj+ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(ha(struct block_device *bdev, unsigned short nr_vecs, blk_opf_t opf, gfp_t gfp, struct bio_set *bs)h](j|)}(hstruct block_device *bdevh](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 block_deviceh]h block_device}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjjmodnameN classnameNj@jC)}jF]j c.bio_alloc_biosetasbuh1hhjFubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubjI)}(hbdevh]hbdev}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjBubj|)}(hunsigned short nr_vecsh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hshorth]hshort}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hnr_vecsh]hnr_vecs}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjBubj|)}(h blk_opf_t opfh](h)}(hhh]jI)}(h blk_opf_th]h blk_opf_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j c.bio_alloc_biosetasbuh1hhjubj2)}(h h]h }(hj,hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hopfh]hopf}(hj:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjBubj|)}(h gfp_t gfph](h)}(hhh]jI)}(hgfp_th]hgfp_t}(hjVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjXmodnameN classnameNj@jC)}jF]j c.bio_alloc_biosetasbuh1hhjOubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjOubjI)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjOubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjBubj|)}(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 classnameNj@jC)}jF]j c.bio_alloc_biosetasbuh1hhjubj2)}(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`jauh1j{hjBubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hallocate a bio for I/Oh]hallocate a bio for I/O}(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&]jjjj4jj4jjjuh1jhhhjIhNhNubj)}(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)}(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.chMhj8ubj)}(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)}(hj]h]hstruct block_device *bdev}(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.chMhjWubj)}(hhh]h)}(h6block device to allocate the bio for (can be ``NULL``)h](h-block device to allocate the bio for (can be }(hjvhhhNhNubj)}(h``NULL``h]hNULL}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh)}(hjvhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjTubj)}(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}(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)}(hnumber of bvecs to pre-allocateh]hnumber of bvecs to pre-allocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjTubj)}(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.chMhjubj)}(hhh]h)}(hoperation and flags for bioh]hoperation and flags for bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjTubj)}(h9``gfp_t gfp`` the GFP_* mask given to the slab allocator 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.chMhjubj)}(hhh]h)}(h*the GFP_* mask given to the slab allocatorh]h*the GFP_* mask given to the slab allocator}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjTubj)}(h5``struct bio_set *bs`` the bio_set to allocate from. h](j)}(h``struct bio_set *bs``h]j)}(hjSh]hstruct bio_set *bs}(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)}(hthe bio_set to allocate from.h]hthe bio_set to allocate from.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjTubeh}(h]h ]h"]h$]h&]uh1jhj8ubh)}(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.chMhj8ubh)}(h+Allocate a bio from the mempools in **bs**.h](h$Allocate a bio from the mempools in }(hjhhhNhNubj)}(h**bs**h]hbs}(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.chMhj8ubh)}(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 }(hjhhhNhNubj)}(h``__GFP_DIRECT_RECLAIM``h]h__GFP_DIRECT_RECLAIM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhX 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj8ubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj8ubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM hj8ubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj8ubh)}(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.chMhj8ubh)}(h/Pointer to new bio on success, NULL on failure.h]h/Pointer to new bio on success, NULL on failure.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_kmalloc (C function) c.bio_kmallochNtauh1hhjIhhhNhNubj)}(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}(hjZhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjVhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMdubj2)}(h h]h }(hjhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVhhhjghMdubh)}(hhh]jI)}(hbioh]hbio}(hjyhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjvubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj{modnameN classnameNj@jC)}jF]jI)}j< bio_kmallocsb c.bio_kmallocasbuh1hhjVhhhjghMdubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVhhhjghMdubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVhhhjghMdubjC)}(h bio_kmalloch]jI)}(hjh]h bio_kmalloc}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjVhhhjghMdubjv)}(h((unsigned short nr_vecs, gfp_t gfp_mask)h](j|)}(hunsigned short nr_vecsh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hshorth]hshort}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hnr_vecsh]hnr_vecs}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hgfp_t gfp_maskh](h)}(hhh]jI)}(hgfp_th]hgfp_t}(hj(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj*modnameN classnameNj@jC)}jF]j c.bio_kmallocasbuh1hhj!ubj2)}(h h]h }(hjFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!ubjI)}(hgfp_maskh]hgfp_mask}(hjThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjVhhhjghMdubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjRhhhjghMdubah}(h]jMah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjghMdhjOhhubjw)}(hhh]h)}(h kmalloc a bioh]h kmalloc a bio}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMdhj{hhubah}(h]h ]h"]h$]h&]uh1jvhjOhhhjghMdubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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.chMhhjubj)}(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}(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.chMehjubj)}(hhh]h)}(hnumber of bio_vecs to allocateh]hnumber of bio_vecs to allocate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMehjubj)}(h>``gfp_t gfp_mask`` the GFP_* mask given to the slab allocator h](j)}(h``gfp_t gfp_mask``h]j)}(hjh]hgfp_t gfp_mask}(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.chMfhjubj)}(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&]uh1hhj hMfhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMfhjubeh}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhhjubh)}(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.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMghjubh)}(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.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMlhjubh)}(h **Return**h]j)}(hjih]hReturn}(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.chMphjubh)}(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.chMqhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_put (C function) c.bio_puthNtauh1hhjIhhhNhNubj)}(hhh](j)}(hvoid bio_put (struct bio *bio)h]j)}(hvoid bio_put(struct bio *bio)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]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;ubjC)}(hbio_puth]jI)}(hbio_puth]hbio_put}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM;ubjv)}(h(struct bio *bio)h]j|)}(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}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj modnameN classnameNj@jC)}jF]jI)}j<jsb c.bio_putasbuh1hhjubj2)}(h h]h }(hj)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbioh]hbio}(hjDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM;ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM;ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM;hjhhubjw)}(hhh]h)}(hrelease a reference to a bioh]hrelease a reference to a bio}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM;hjkhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM;ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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.chM?hjubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM<hjubj)}(hhh]h)}(hbio to release reference toh]hbio to release reference to}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM>hjubjM)}(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 }(hjhhhNhNubh)}(h:c:type:`struct bio `h]j)}(hjh]h struct bio}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj@jjbiouh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM>hjubhh, either one you have gotten with bio_alloc, bio_get or bio_clone_*. The last put of a bio will free it.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj+hM>hjubah}(h]h ]h"]h$]h&]uh1jLhj+hM>hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_alloc_clone (C function)c.bio_alloc_clonehNtauh1hhjIhhhNhNubj)}(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}(hj\hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjXhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXhhhjihMhubh)}(hhh]jI)}(hbioh]hbio}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj}modnameN classnameNj@jC)}jF]jI)}j<bio_alloc_clonesbc.bio_alloc_cloneasbuh1hhjXhhhjihMhubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXhhhjihMhubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXhhhjihMhubjC)}(hbio_alloc_cloneh]jI)}(hjh]hbio_alloc_clone}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjXhhhjihMhubjv)}(hO(struct block_device *bdev, struct bio *bio_src, gfp_t gfp, struct bio_set *bs)h](j|)}(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 classnameNj@jC)}jF]jc.bio_alloc_cloneasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbdevh]hbdev}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hstruct bio *bio_srch](j )}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjBubj2)}(h h]h }(hjShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBubh)}(hhh]jI)}(hbioh]hbio}(hjdhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjaubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjfmodnameN classnameNj@jC)}jF]jc.bio_alloc_cloneasbuh1hhjBubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubjI)}(hbio_srch]hbio_src}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jc.bio_alloc_cloneasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(hstruct bio_set *bsh](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)}(hbio_seth]hbio_set}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jc.bio_alloc_cloneasbuh1hhjubj2)}(h h]h }(hj:hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbsh]hbs}(hjUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjXhhhjihMhubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjThhhjihMhubah}(h]jOah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjihMhhjQhhubjw)}(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.chMhhj|hhubah}(h]h ]h"]h$]h&]uh1jvhjQhhhjihMhubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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.chMlhjubj)}(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.chMihjubj)}(hhh]h)}(hblock_device to clone ontoh]hblock_device to clone onto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMihjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMihjubj)}(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.chMjhjubj)}(hhh]h)}(hbio to clone fromh]hbio to clone from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMjhjubj)}(h"``gfp_t gfp`` allocation priority h](j)}(h ``gfp_t gfp``h]j)}(hj2h]h gfp_t gfp}(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.chMkhj,ubj)}(hhh]h)}(hallocation priorityh]hallocation priority}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhMkhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMkhjubj)}(h0``struct bio_set *bs`` bio_set to allocate from h](j)}(h``struct bio_set *bs``h]j)}(hjkh]hstruct bio_set *bs}(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.chMlhjeubj)}(hhh]h)}(hbio_set to allocate fromh]hbio_set to allocate from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubeh}(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.chMnhjubh)}(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}(hjhhhNhNubah}(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}(hjhhhNhNubah}(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}(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.chMmhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_init_clone (C function)c.bio_init_clonehNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj2)}(h h]h }(hj0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj/hMubjC)}(hbio_init_cloneh]jI)}(hbio_init_cloneh]hbio_init_clone}(hjBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj>ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj/hMubjv)}(hL(struct block_device *bdev, struct bio *bio, struct bio *bio_src, gfp_t gfp)h](j|)}(hstruct block_device *bdevh](j )}(hjh]hstruct}(hj^hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjZubj2)}(h h]h }(hjkhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjZubh)}(hhh]jI)}(h block_deviceh]h block_device}(hj|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjyubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj~modnameN classnameNj@jC)}jF]jI)}j<jDsbc.bio_init_cloneasbuh1hhjZubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjZubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubjI)}(hbdevh]hbdev}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjZubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjVubj|)}(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 classnameNj@jC)}jF]jc.bio_init_cloneasbuh1hhjubj2)}(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`jauh1j{hjVubj|)}(hstruct bio *bio_srch](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)}(hbioh]hbio}(hj^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj`modnameN classnameNj@jC)}jF]jc.bio_init_cloneasbuh1hhj<ubj2)}(h h]h }(hj|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj<ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<ubjI)}(hbio_srch]hbio_src}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj<ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjVubj|)}(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 classnameNj@jC)}jF]jc.bio_init_cloneasbuh1hhjubj2)}(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`jauh1j{hjVubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhj/hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj/hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj/hMhjhhubjw)}(hhh]h)}(h1clone a bio that shares the original bio's biovech]h3clone a bio that shares the original bio’s biovec}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj/hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1jhhhjIhNhNubj)}(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)}(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)}(h9``struct block_device *bdev`` block_device to clone onto h](j)}(h``struct block_device *bdev``h]j)}(hjJh]hstruct block_device *bdev}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjDubj)}(hhh]h)}(hblock_device to clone ontoh]hblock_device to clone onto}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjAubj)}(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.chMhj}ubj)}(hhh]h)}(hbio to clone intoh]hbio to clone into}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjAubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjAubj)}(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.chMhjubj)}(hhh]h)}(hallocation priorityh]hallocation priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjAubeh}(h]h ]h"]h$]h&]uh1jhj%ubh)}(h**Description**h]j)}(hj0h]h Description}(hj2hhhNhNubah}(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)}(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 }(hjFhhhNhNubj)}(h **bio_src**h]hbio_src}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubhL. The same bio_vecs reuse and bio lifetime rules as bio_alloc_clone() apply.}(hjFhhhNhNubeh}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j __bio_add_page (C function)c.__bio_add_pagehNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhS/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`jauh1jBhjhhhjhMubjv)}(hH(struct bio *bio, struct page *page, unsigned int len, unsigned int off)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.__bio_add_pageasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(hstruct page *pageh](j )}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj2ubj2)}(h h]h }(hjChhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubh)}(hhh]jI)}(hpageh]hpage}(hjThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjVmodnameN classnameNj@jC)}jF]jc.__bio_add_pageasbuh1hhj2ubj2)}(h h]h }(hjrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubjI)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hjubj|)}(hunsigned int offh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj!hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hoffh]hoff}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jzah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhj|hhubjw)}(hhh]h)}(h%add page(s) to a bio in a new segmenth]h%add page(s) to a bio in a new segment}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjVhhubah}(h]h ]h"]h$]h&]uh1jvhj|hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1jhhhjIhNhNubj)}(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)}(hj{h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjuubj)}(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)}(hjh]hstruct page *page}(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)}(hstart page to addh]hstart page to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h@``unsigned int len`` length of the data to add, may cross pages h](j)}(h``unsigned int len``h]j)}(hj h]hunsigned int len}(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.chMhjubj)}(hhh]h)}(h*length of the data to add, may cross pagesh]h*length of the data to add, may cross pages}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!hMhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMhjubj)}(hN``unsigned int off`` offset of the data relative to **page**, may cross pages h](j)}(h``unsigned int off``h]j)}(hjEh]hunsigned int off}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj?ubj)}(hhh]h)}(h8offset of the data relative to **page**, may cross pagesh](hoffset of the data relative to }(hj^hhhNhNubj)}(h**page**h]hpage}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubh, may cross pages}(hj^hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjubeh}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjuubh)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh- as a new bvec. The caller must ensure that }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(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.chMhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  bio_add_virt_nofail (C function)c.bio_add_virt_nofailhNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj2)}(h h]h }(hj.hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj-hMubjC)}(hbio_add_virt_nofailh]jI)}(hbio_add_virt_nofailh]hbio_add_virt_nofail}(hj@hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj<ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj-hMubjv)}(h,(struct bio *bio, void *vaddr, unsigned len)h](j|)}(hstruct bio *bioh](j )}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjXubj2)}(h h]h }(hjihhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXubh)}(hhh]jI)}(hbioh]hbio}(hjzhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj|modnameN classnameNj@jC)}jF]jI)}j<jBsbc.bio_add_virt_nofailasbuh1hhjXubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubjI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjTubj|)}(h void *vaddrh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hjTubj|)}(h unsigned lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj2)}(h h]h }(hjhhhNhNubah}(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`jauh1j{hjTubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhj-hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj-hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj-hMhjhhubjw)}(hhh]h)}(h.add data in the direct kernel mapping to a bioh]h.add data in the direct kernel mapping to a bio}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjShhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj-hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1jhhhjIhNhNubj)}(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)}(hjxh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjrubj)}(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``void *vaddr`` data 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.chMhjubj)}(hhh]h)}(h data to addh]h data to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h<``unsigned len`` length of the data to add, may cross pages h](j)}(h``unsigned len``h]j)}(hj h]h unsigned len}(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)}(h*length of the data to add, may cross pagesh]h*length of the data to add, may cross pages}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjrubh)}(h**Description**h]j)}(hjDh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjrubh)}(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 }(hjZhhhNhNubj)}(h **vaddr**h]hvaddr}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh to }(hjZhhhNhNubj)}(h**bio**h]hbio}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh. The caller must have ensure a segment is available for the added data. No merging into an existing segment will be performed.}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_add_page (C function)c.bio_add_pagehNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhS/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`jauh1jBhjhhhjhMubjv)}(hK(struct bio *bio, struct page *page, unsigned int len, unsigned int offset)h](j|)}(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< reftargetj modnameN classnameNj@jC)}jF]jI)}j<jsbc.bio_add_pageasbuh1hhjubj2)}(h h]h }(hj(hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbioh]hbio}(hjChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hstruct page *pageh](j )}(hjh]hstruct}(hj\hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjXubj2)}(h h]h }(hjihhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXubh)}(hhh]jI)}(hpageh]hpage}(hjzhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj|modnameN classnameNj@jC)}jF]j$c.bio_add_pageasbuh1hhjXubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubjI)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hjubj|)}(hunsigned int offseth](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hinth]hint}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hoffseth]hoffset}(hjUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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.chMhj|hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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.chM hjubj)}(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)}(hjh]hstruct page *page}(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)}(hstart page to addh]hstart page to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h7``unsigned int len`` vec entry length, may cross pages h](j)}(h``unsigned int len``h]j)}(hj2h]hunsigned int len}(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.chM hj,ubj)}(hhh]h)}(h!vec entry length, may cross pagesh]h!vec entry length, may cross pages}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhM hjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhM hjubj)}(hO``unsigned int offset`` vec entry offset relative to **page**, may cross pages h](j)}(h``unsigned int offset``h]j)}(hjkh]hunsigned int offset}(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)}(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&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(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 hjubjM)}(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.}(hjhhhNhNubah}(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&]uh1jLhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_add_folio (C function)c.bio_add_foliohNtauh1hhjIhhhNhNubj)}(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](j)}(hjh]hbool}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM7ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM7ubjC)}(h bio_add_folioh]jI)}(h bio_add_folioh]h bio_add_folio}(hj'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM7ubjv)}(h>(struct bio *bio, struct folio *folio, size_t len, size_t off)h](j|)}(hstruct bio *bioh](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)}(hbioh]hbio}(hjahhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjcmodnameN classnameNj@jC)}jF]jI)}j<j)sbc.bio_add_folioasbuh1hhj?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`jauh1j{hj;ubj|)}(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 classnameNj@jC)}jF]j}c.bio_add_folioasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfolioh]hfolio}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj;ubj|)}(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 classnameNj@jC)}jF]j}c.bio_add_folioasbuh1hhj!ubj2)}(h h]h }(hjFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!ubjI)}(hlenh]hlen}(hjThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj;ubj|)}(h size_t offh](h)}(hhh]jI)}(hsize_th]hsize_t}(hjphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjmubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjrmodnameN classnameNj@jC)}jF]j}c.bio_add_folioasbuh1hhjiubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjiubjI)}(hoffh]hoff}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj;ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM7ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM7ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM7hjhhubjw)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM7hjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhM7ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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 add to. 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.chM8hjubj)}(hhh]h)}(hBIO to add to.h]hBIO to add to.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubj)}(h&``struct folio *folio`` Folio to add. h](j)}(h``struct folio *folio``h]j)}(hj@h]hstruct folio *folio}(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.chM9hj:ubj)}(hhh]h)}(h Folio to add.h]h Folio to add.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhM9hjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhM9hjubj)}(h5``size_t len`` How many bytes from the folio to add. h](j)}(h``size_t len``h]j)}(hjyh]h size_t len}(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.chM:hjsubj)}(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&]uh1hhjhM:hjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhM:hjubj)}(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.chM;hjubj)}(hhh]h)}(h First byte in this folio to add.h]h First byte in this folio to add.}(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)}(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 }(hjhhhNhNubj)}(h**off**h]hoff}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM<hjubh)}(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:62: ./block/bio.chMAhjubh)}(h$Whether the addition was successful.h]h$Whether the addition was successful.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMBhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "bio_add_vmalloc_chunk (C function)c.bio_add_vmalloc_chunkhNtauh1hhjIhhhNhNubj)}(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](j)}(hunsignedh]hunsigned}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjghhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMPubj2)}(h h]h }(hjzhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjghhhjyhMPubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjghhhjy+hMPubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjghhhjyhMPubjC)}(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`jauh1jBhjghhhjyhMPubjv)}(h,(struct bio *bio, void *vaddr, unsigned len)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.bio_add_vmalloc_chunkasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(h void *vaddrh](j)}(hvoidh]hvoid}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj2)}(h h]h }(hjDhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubj)}(hjh]h*}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubjI)}(hvaddrh]hvaddr}(hj_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h unsigned lenh](j)}(hunsignedh]hunsigned}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubjI)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjghhhjyhMPubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjchhhjyhMPubah}(h]j^ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjyhMPhj`hhubjw)}(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.chMPhjhhubah}(h]h ]h"]h$]h&]uh1jvhj`hhhjyhMPubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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)}(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.chMQhjubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubj)}(h'``void *vaddr`` vmalloc address to add h](j)}(h``void *vaddr``h]j)}(hj8h]h void *vaddr}(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.chMRhj2ubj)}(hhh]h)}(hvmalloc address to addh]hvmalloc address to add}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhMRhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMRhjubj)}(h:``unsigned len`` total length in bytes of the data to add h](j)}(h``unsigned len``h]j)}(hjqh]h unsigned len}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMShjkubj)}(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&]uh1hhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubeh}(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.chMUhjubh)}(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 }(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 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 }(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.chMThjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMXhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_add_vmalloc (C function)c.bio_add_vmallochNtauh1hhjIhhhNhNubj)}(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](j)}(hjh]hbool}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMkubj2)}(h h]h }(hjDhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2hhhjChMkubjC)}(hbio_add_vmalloch]jI)}(hbio_add_vmalloch]hbio_add_vmalloc}(hjVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj2hhhjChMkubjv)}(h0(struct bio *bio, void *vaddr, unsigned int len)h](j|)}(hstruct bio *bioh](j )}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjnubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjnubh)}(hhh]jI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jXsbc.bio_add_vmallocasbuh1hhjnubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjnubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubjI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjnubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjjubj|)}(h void *vaddrh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hvaddrh]hvaddr}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjjubj|)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj2)}(h h]h }(hj4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj"ubj)}(hinth]hint}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj2)}(h h]h }(hjPhhhNhNubah}(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`jauh1j{hjjubeh}(h]h ]h"]h$]h&]j`jauh1juhj2hhhjChMkubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj.hhhjChMkubah}(h]j)ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjChMkhj+hhubjw)}(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.chMkhjhhubah}(h]h ]h"]h$]h&]uh1jvhj+hhhjChMkubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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.chMohjubj)}(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.chMlhjubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubj)}(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.chMmhjubj)}(hhh]h)}(hvmalloc address to addh]hvmalloc address to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubj)}(h>``unsigned int len`` total length in bytes of the data to add h](j)}(h``unsigned int len``h]j)}(hj;h]hunsigned int len}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMnhj5ubj)}(hhh]h)}(h(total length in bytes of the data to addh]h(total length in bytes of the data to add}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhMnhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMnhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjvh]h Description}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMphjubh)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh if }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(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.chMohjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMrhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_await (C function) c.bio_awaithNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj2)}(h h]h }(hj3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj hhhj2hMubjC)}(h bio_awaith]jI)}(h bio_awaith]h bio_await}(hjEhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj hhhj2hMubjv)}(hJ(struct bio *bio, void *priv, void (*submit)(struct bio *bio, void *priv))h](j|)}(hstruct bio *bioh](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)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jGsb c.bio_awaitasbuh1hhj]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`jauh1j{hjYubj|)}(h void *privh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hprivh]hpriv}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjYubj|)}(h+void (*submit)(struct bio *bio, void *priv)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj#hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjVh]h(}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjh]h*}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hsubmith]hsubmit}(hjKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubj)}(hjh]h)}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj)}(hjVh]h(}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj )}(hjh]hstruct}(hjshhhNhNubah}(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 classnameNj@jC)}jF]j c.bio_awaitasbuh1hhjubj2)}(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&]uh1jHhjubj)}(hjh]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hprivh]hpriv}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubj)}(hjh]h)}(hj* hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjYubeh}(h]h ]h"]h$]h&]j`jauh1juhj hhhj2hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj2hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj2hMhjhhubjw)}(hhh]h)}(h5call a function on a bio, and wait until it completesh]h5call a function on a bio, and wait until it completes}(hjS hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjP hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhj2hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjk jjk jjjuh1jhhhjIhNhNubj)}(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)}(hju h]h Parameters}(hjw hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjo ubj)}(hhh](j)}(h4``struct bio *bio`` the bio which describes the I/O 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.chMhj ubj)}(hhh]h)}(hthe bio which describes the I/Oh]hthe bio which describes the I/O}(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)}(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 }(hj hhhNhNubj)}(h **submit**h]hsubmit}(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)}(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)}(hj h]h+void (*submit)(struct bio *bio, 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!function called to submit the bioh]h!function called to submit the bio}(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&]uh1jhjo ubh)}(h**Description**h]j)}(hjO h]h Description}(hjQ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjo ubh)}(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 }(hje hhhNhNubj)}(h **submit**h]hsubmit}(hjm hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje ubh1. The wait for the bio is set up before calling }(hje hhhNhNubj)}(h **submit**h]hsubmit}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje ubh0 to ensure that the completion is captured. If }(hje hhhNhNubj)}(h **submit**h]hsubmit}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje ubh is }(hje hhhNhNubj)}(h``NULL``h]hNULL}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje ubh1, submit_bio() is used instead to submit the bio.}(hje hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjo ubh)}(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.chMhjo ubh)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjo ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j submit_bio_wait (C function)c.submit_bio_waithNtauh1hhjIhhhNhNubj)}(hhh](j)}(h%int submit_bio_wait (struct bio *bio)h]j)}(h$int submit_bio_wait(struct bio *bio)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]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 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 hhhj hMubjv)}(h(struct bio *bio)h]j|)}(hstruct bio *bioh](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)}(hbioh]hbio}(hj^ hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[ ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj` modnameN classnameNj@jC)}jF]jI)}j<j& 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`jauh1j{hj8 ubah}(h]h ]h"]h$]h&]j`jauh1juhj hhhj hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj hhhj hMubah}(h]j ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj hMhj 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&]uh1jvhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1jhhhjIhNhNubj)}(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)}(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)}(hK``struct bio *bio`` The :c:type:`struct bio ` which describes the I/O 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.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 refexplicitrefwarnj@jjbiouh1hhj hMhj ubh which describes the I/O}(hj hhhNhNubeh}(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)}(hjb h]h Description}(hjd 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.}(hjx 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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bdev_rw_virt (C function)c.bdev_rw_virthNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]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 hMubjC)}(h bdev_rw_virth]jI)}(h bdev_rw_virth]h bdev_rw_virt}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj hhhj hMubjv)}(hT(struct block_device *bdev, sector_t sector, void *data, size_t len, enum req_op op)h](j|)}(hstruct block_device *bdevh](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 block_deviceh]h block_device}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj modnameN classnameNj@jC)}jF]jI)}j<j sbc.bdev_rw_virtasbuh1hhj ubj2)}(h h]h }(hj1 hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hj? hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(hbdevh]hbdev}(hjL hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj ubj|)}(hsector_t sectorh](h)}(hhh]jI)}(hsector_th]hsector_t}(hjh hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhje ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjj modnameN classnameNj@jC)}jF]j- c.bdev_rw_virtasbuh1hhja ubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hja ubjI)}(hsectorh]hsector}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhja ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj ubj|)}(h void *datah](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 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}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj ubj|)}(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 classnameNj@jC)}jF]j- c.bdev_rw_virtasbuh1hhj ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubjI)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj ubj|)}(henum req_op oph](j )}(hj#h]henum}(hj7hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj3ubj2)}(h h]h }(hjDhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj3ubh)}(hhh]jI)}(hreq_oph]hreq_op}(hjUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjWmodnameN classnameNj@jC)}jF]j- c.bdev_rw_virtasbuh1hhj3ubj2)}(h h]h }(hjshhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj3ubjI)}(hoph]hop}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj ubeh}(h]h ]h"]h$]h&]j`jauh1juhj hhhj hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj hhhj hMubah}(h]j ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj hMhj hhubjw)}(hhh]h)}(h3synchronously read into / write from kernel mappingh]h3synchronously read into / write from kernel mapping}(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 hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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)}(h5``struct block_device *bdev`` block device to access 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 accessh]hblock device to access}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.chMhjubj)}(hhh]h)}(hsector to accessh]hsector to access}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjubj)}(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.chMhjXubj)}(hhh]h)}(hdata to read/writeh]hdata to read/write}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubj)}(h,``size_t len`` length in byte to read/write 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.chMhjubj)}(hhh]h)}(hlength in byte to read/writeh]hlength in byte to read/write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h=``enum req_op op`` operation (e.g. REQ_OP_READ/REQ_OP_WRITE) h](j)}(h``enum req_op op``h]j)}(hjh]henum req_op op}(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)operation (e.g. REQ_OP_READ/REQ_OP_WRITE)h]h)operation (e.g. REQ_OP_READ/REQ_OP_WRITE)}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM hjubh)}(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 }(hj!hhhNhNubj)}(h**bdev**h]hbdev}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh for }(hj!hhhNhNubj)}(h**data**h]hdata}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh/}(hj!hhhNhNubj)}(h**len**h]hlen}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh. }(hj!hhhNhNubj)}(h**data**h]hdata}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh@ must be in the kernel direct mapping and not a vmalloc address.}(hj!hhhNhNubeh}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_copy_data (C function)c.bio_copy_datahNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]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@ubjC)}(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`jauh1jBhjhhhjhM@ubjv)}(h"(struct bio *dst, struct bio *src)h](j|)}(hstruct bio *dsth](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 classnameNj@jC)}jF]jI)}j<jsbc.bio_copy_dataasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdsth]hdst}(hj.hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hstruct bio *srch](j )}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjCubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCubh)}(hhh]jI)}(hbioh]hbio}(hjehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjgmodnameN classnameNj@jC)}jF]jc.bio_copy_dataasbuh1hhjCubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubjI)}(hsrch]hsrc}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjCubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM@ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM@ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM@hjhhubjw)}(hhh]h)}(h5copy contents of data buffers from one bio to anotherh]h5copy contents of data buffers from one bio to another}(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&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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.chMDhjubj)}(hhh](j)}(h$``struct bio *dst`` destination bio h](j)}(h``struct bio *dst``h]j)}(hj h]hstruct bio *dst}(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.chMBhjubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubj)}(h``struct bio *src`` source bio h](j)}(h``struct bio *src``h]j)}(hjBh]hstruct bio *src}(hjDhhhNhNubah}(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.chMAhj<ubj)}(hhh]h)}(h source bioh]h source bio}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhMAhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMAhjubeh}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMChjubh)}(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}(hjhhhNhNubah}(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.chMChjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_endio (C function) c.bio_endiohNtauh1hhjIhhhNhNubj)}(hhh](j)}(h void bio_endio (struct bio *bio)h]j)}(hvoid bio_endio(struct bio *bio)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhS/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_endioh]jI)}(h bio_endioh]h bio_endio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h(struct bio *bio)h]j|)}(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 classnameNj@jC)}jF]jI)}j<j sb c.bio_endioasbuh1hhjubj2)}(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`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(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&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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`` 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)}(hbioh]hbio}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubjM)}(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.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj8ubh)}(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.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj8ubeh}(h]h ]h"]h$]h&]uh1jLhjJhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_split (C function) c.bio_splithNtauh1hhjIhhhNhNubj)}(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&]uh1jhj|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|hhhjhMubh)}(hhh]jI)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j< bio_splitsb c.bio_splitasbuh1hhj|hhhjhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|hhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|hhhjhMubjC)}(h bio_splith]jI)}(hjh]h bio_split}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj|hhhjhMubjv)}(h=(struct bio *bio, int sectors, gfp_t gfp, struct bio_set *bs)h](j|)}(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 classnameNj@jC)}jF]j c.bio_splitasbuh1hhjubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbioh]hbio}(hjQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h int sectorsh](j)}(hinth]hint}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj2)}(h h]h }(hjxhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjfubjI)}(hsectorsh]hsectors}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjfubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]j c.bio_splitasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]j c.bio_splitasbuh1hhjubj2)}(h h]h }(hj#hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbsh]hbs}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhj|hhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjxhhhjhMubah}(h]jsah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjuhhubjw)}(hhh]h)}(h split a bioh]h split a bio}(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&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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}(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 bio to splith]h bio to split}(hjhhhNhNubah}(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)}(hjh]h int sectors}(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)}(h4number of sectors to split from the front of **bio**h](h-number of sectors to split from the front of }(hjhhhNhNubj)}(h**bio**h]hbio}(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 hjubj)}(h``gfp_t gfp`` gfp mask 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&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM hj#ubj)}(hhh]h)}(hgfp maskh]hgfp mask}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hM hj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hM hjubj)}(h0``struct bio_set *bs`` bio set to allocate from h](j)}(h``struct bio_set *bs``h]j)}(hjbh]hstruct bio_set *bs}(hjdhhhNhNubah}(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)}(hbio set to allocate fromh]hbio set to allocate from}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhM hjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhM 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.chMhjubh)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, and updates }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(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 }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhK’s bi_io_vec. It is the caller’s responsibility to ensure that neither }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh nor }(hjhhhNhNubj)}(h**bs**h]hbs}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh are freed before the split bio.}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bio_trim (C function) c.bio_trimhNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM:ubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYhhhjkhM:ubjC)}(hbio_trimh]jI)}(hbio_trimh]hbio_trim}(hj~hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjYhhhjkhM:ubjv)}(h1(struct bio *bio, sector_t offset, sector_t size)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jsb c.bio_trimasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(hsector_t offseth](h)}(hhh]jI)}(hsector_th]hsector_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j c.bio_trimasbuh1hhjubj2)}(h h]h }(hj-hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hoffseth]hoffset}(hj;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h sector_t sizeh](h)}(hhh]jI)}(hsector_th]hsector_t}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjTubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjYmodnameN classnameNj@jC)}jF]j c.bio_trimasbuh1hhjPubj2)}(h h]h }(hjuhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPubjI)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjYhhhjkhM:ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjUhhhjkhM:ubah}(h]jPah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjkhM:hjRhhubjw)}(hhh]h)}(h trim a bioh]h trim 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&]uh1jvhjRhhhjkhM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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 trim 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.chM;hjubj)}(hhh]h)}(h bio to trimh]h bio to trim}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM;hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjubj)}(hH``sector_t offset`` number of sectors to trim from the front of **bio** h](j)}(h``sector_t offset``h]j)}(hj'h]hsector_t offset}(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)}(h3number of sectors to trim from the front of **bio**h](h,number of sectors to trim from the front of }(hj@hhhNhNubj)}(h**bio**h]hbio}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(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>``sector_t size`` size we want to trim **bio** to, in sectors h](j)}(h``sector_t size``h]j)}(hjnh]h sector_t size}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM=hjhubj)}(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&]uh1hhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(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)}(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.}(hjhhhNhNubah}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j bioset_init (C function) c.bioset_inithNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMzubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMzubjC)}(h bioset_inith]jI)}(h bioset_inith]h bioset_init}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMzubjv)}(hO(struct bio_set *bs, unsigned int pool_size, unsigned int front_pad, int flags)h](j|)}(hstruct bio_set *bsh](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)}(hbio_seth]hbio_set}(hj[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj]modnameN classnameNj@jC)}jF]jI)}j<j#sb c.bioset_initasbuh1hhj9ubj2)}(h h]h }(hj{hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9ubjI)}(hbsh]hbs}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj9ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj5ubj|)}(hunsigned int pool_sizeh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(h pool_sizeh]h pool_size}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj5ubj|)}(hunsigned int front_padh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj*hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(h front_padh]h front_pad}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj5ubj|)}(h int flagsh](j)}(hinth]hint}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubj2)}(h h]h }(hj_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjMubjI)}(hflagsh]hflags}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj5ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMzubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMzubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMzhjhhubjw)}(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.chMzhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMzubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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.chM~hjubj)}(hhh](j)}(h*``struct bio_set *bs`` pool to initialize 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)}(hpool to initializeh]hpool to initialize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM{hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM{hjubj)}(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)}(hjh]hunsigned int pool_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.chM|hj ubj)}(hhh]h)}(h2Number of bio and bio_vecs to cache in the mempoolh]h2Number of bio and bio_vecs to cache in the mempool}(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)}(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)}(hjJh]hunsigned int front_pad}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM}hjDubj)}(hhh]h)}(h8Number of bytes to allocate in front of the returned bioh]h8Number of bytes to allocate in front of the returned bio}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hM}hj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hM}hjubj)}(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.chMhj}ubj)}(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.chM~hjubah}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubjM)}(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 }(hjhhhNhNubj)}(h**bio_alloc_bioset**h]hbio_alloc_bioset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhX?. 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 }(hjhhhNhNubj)}(h``BIOSET_NEED_BVECS``h]hBIOSET_NEED_BVECS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is set in }(hjhhhNhNubj)}(h **flags**h]hflags}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhr, a separate pool will be allocated for allocating iovecs. This pool is not needed e.g. for bio_init_clone(). If }(hjhhhNhNubj)}(h``BIOSET_NEED_RESCUER``h]hBIOSET_NEED_RESCUER}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhq is set, a workqueue is created which can be used to dispatch queued requests when the mempool runs out of space.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubah}(h]h ]h"]h$]h&]uh1jLhjOhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_open (C function) c.seq_openhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrhhhU/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&]uh1j1hjrhhhjhK+ubjC)}(hseq_openh]jI)}(hseq_openh]hseq_open}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjrhhhjhK+ubjv)}(h4(struct file *file, const struct seq_operations *op)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jsb c.seq_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`jauh1j{hjubj|)}(hconst struct seq_operations *oph](j )}(hjh]hconst}(hj%hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj!ubj2)}(h h]h }(hj2hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!ubj )}(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)}(hseq_operationsh]hseq_operations}(hj^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj`modnameN classnameNj@jC)}jF]j c.seq_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)}(hoph]hop}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjrhhhjhK+ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjnhhhjhK+ubah}(h]jiah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhK+hjkhhubjw)}(hhh]h)}(hinitialize sequential fileh]hinitialize sequential file}(hjhhhNhNubah}(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&]uh1jvhjkhhhjhK+ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(hjh]h Parameters}(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/hjubj)}(hhh](j)}(h)``struct file *file`` file we initialize 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.chK,hjubj)}(hhh]h)}(hfile we initializeh]hfile we initialize}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hK,hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hK,hjubj)}(hI``const struct seq_operations *op`` method table describing the sequence h](j)}(h#``const struct seq_operations *op``h]j)}(hj; h]hconst struct seq_operations *op}(hj= hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9 ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chK-hj5 ubj)}(hhh]h)}(h$method table describing the sequenceh]h$method table describing the sequence}(hjT hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjP hK-hjQ ubah}(h]h ]h"]h$]h&]uh1jhj5 ubeh}(h]h ]h"]h$]h&]uh1jhjP hK-hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjv h]h Description}(hjx hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chK/hjubjM)}(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 }(hj hhhNhNubj)}(h**file**h]hfile}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh., associating it with a sequence described by }(hj hhhNhNubj)}(h**op**h]hop}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh. }(hj hhhNhNubj)}(h**op->start\(\)**h]h op->start()}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhA sets the iterator up and returns the first element of sequence. }(hj hhhNhNubj)}(h**op->stop\(\)**h]h op->stop()}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh shuts it down. }(hj hhhNhNubj)}(h**op->next\(\)**h]h op->next()}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh( returns the next element of sequence. }(hj hhhNhNubj)}(h**op->show\(\)**h]h op->show()}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh prints element into the buffer. In case of error ->start() and ->next() return ERR_PTR(error). In the end of sequence they return }(hj hhhNhNubj)}(h``NULL``h]hNULL}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh. ->show() returns 0 in case of success and negative number in case of error. Returning SEQ_SKIP means “discard this element and move on”.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chK.hj ubah}(h]h ]h"]h$]h&]uh1jLhj!hK.hjubh)}(h**Note**h]j)}(hj%!h]hNote}(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.chK7hjubj)}(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}(hjB!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chK7hj>!ubj)}(hhh]h)}(hGpointer in **file->private_data**. This pointer should not be modified.h](h pointer in }(hjT!hhhNhNubj)}(h**file->private_data**h]hfile->private_data}(hj\!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT!ubh&. This pointer should not be modified.}(hjT!hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chK8hjQ!ubah}(h]h ]h"]h$]h&]uh1jhj>!ubeh}(h]h ]h"]h$]h&]uh1jhjP!hK7hj;!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_read (C function) c.seq_readhNtauh1hhjIhhhNhNubj)}(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 classnameNj@jC)}jF]jI)}j<seq_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&]uh1jHhj!ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj!hhhj!hKubjv)}(h@(struct file *file, char __user *buf, size_t size, loff_t *ppos)h](j|)}(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 classnameNj@jC)}jF]j! c.seq_readasbuh1hhj!ubj2)}(h h]h }(hj5"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!ubj)}(hjh]h*}(hjC"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubjI)}(hfileh]hfile}(hjP"hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj!ubj|)}(hchar __user *bufh](j)}(hcharh]hchar}(hji"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhje"ubj2)}(h h]h }(hjw"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hje"ubh__user}(hje"hhhNhNubj2)}(h h]h }(hj"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hje"ubj)}(hjh]h*}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhje"ubjI)}(hbufh]hbuf}(hj"hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhje"ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj!ubj|)}(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 classnameNj@jC)}jF]j! c.seq_readasbuh1hhj"ubj2)}(h h]h }(hj"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj"ubjI)}(hsizeh]hsize}(hj"hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj"ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj!ubj|)}(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 classnameNj@jC)}jF]j! c.seq_readasbuh1hhj#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)}(hpposh]hppos}(hjA#hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj!ubeh}(h]h ]h"]h$]h&]j`jauh1juhj!hhhj!hKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj!hhhj!hKubah}(h]j!ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj!hKhj!hhubjw)}(hhh]h)}(h%->read() method for sequential files.h]h%->read() method for sequential files.}(hjk#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chKhjh#hhubah}(h]h ]h"]h$]h&]uh1jvhj!hhhj!hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1jhhhjIhNhNubj)}(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)}(hj#h]hchar __user *buf}(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 buffer to read toh]hthe buffer to read to}(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)}(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.chKhj$ubj)}(hhh]h)}(h#the maximum number of bytes to readh]h#the maximum number of bytes to read}(hj7$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3$hKhj4$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj3$hKhj#ubj)}(h2``loff_t *ppos`` the current position in the file h](j)}(h``loff_t *ppos``h]j)}(hjW$h]h loff_t *ppos}(hjY$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU$ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chKhjQ$ubj)}(hhh]h)}(h the current position in the fileh]h the current position in the file}(hjp$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjl$hKhjm$ubah}(h]h ]h"]h$]h&]uh1jhjQ$ubeh}(h]h ]h"]h$]h&]uh1jhjl$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#ubjM)}(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&]uh1jLhj$hKhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_lseek (C function) c.seq_lseekhNtauh1hhjIhhhNhNubj)}(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}(hj$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj$modnameN classnameNj@jC)}jF]jI)}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 }(hj%hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj$hhhj%hM.ubjC)}(h seq_lseekh]jI)}(hj%h]h seq_lseek}(hj%hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj$hhhj%hM.ubjv)}(h.(struct file *file, loff_t offset, int whence)h](j|)}(hstruct file *fileh](j )}(hjh]hstruct}(hj2%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}(hjP%hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjM%ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjR%modnameN classnameNj@jC)}jF]j$ c.seq_lseekasbuh1hhj.%ubj2)}(h h]h }(hjn%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`jauh1j{hj*%ubj|)}(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 classnameNj@jC)}jF]j$ c.seq_lseekasbuh1hhj%ubj2)}(h h]h }(hj%hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%ubjI)}(hoffseth]hoffset}(hj%hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj*%ubj|)}(h int whenceh](j)}(hinth]hint}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%ubj2)}(h h]h }(hj%hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%ubjI)}(hwhenceh]hwhence}(hj&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj*%ubeh}(h]h ]h"]h$]h&]j`jauh1juhj$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'->llseek() method for sequential files.h]h'->llseek() method for sequential files.}(hj0&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&]uh1jvhj$hhhj%hM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjH&jjH&jjjuh1jhhhjIhNhNubj)}(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)}(hjR&h]h Parameters}(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.chM2hjL&ubj)}(hhh](j)}(h+``struct file *file`` the file in question h](j)}(h``struct file *file``h]j)}(hjq&h]hstruct file *file}(hjs&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo&ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM/hjk&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&]uh1jhjk&ubeh}(h]h ]h"]h$]h&]uh1jhj&hM/hjh&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&hM0hjh&ubj)}(h7``int whence`` 0 for absolute, 1 for relative position h](j)}(h``int whence``h]j)}(hj&h]h int whence}(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.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&]uh1hhj&hM1hj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hM1hjh&ubeh}(h]h ]h"]h$]h&]uh1jhjL&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.chM3hjL&ubjM)}(hReady-made ->f_op->llseek()h]h)}(hj6'h]hReady-made ->f_op->llseek()}(hj8'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM2hj4'ubah}(h]h ]h"]h$]h&]uh1jLhjE'hM2hjL&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_release (C function) c.seq_releasehNtauh1hhjIhhhNhNubj)}(hhh](j)}(h8int seq_release (struct inode *inode, struct file *file)h]j)}(h7int seq_release(struct inode *inode, struct file *file)h](j)}(hinth]hint}(hjl'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjh'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&]uh1j1hjh'hhhjz'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`jauh1jBhjh'hhhjz'hMZubjv)}(h((struct inode *inode, struct file *file)h](j|)}(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 classnameNj@jC)}jF]jI)}j<j'sb c.seq_releaseasbuh1hhj'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`jauh1j{hj'ubj|)}(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}(hj9(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6(ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj;(modnameN classnameNj@jC)}jF]j' c.seq_releaseasbuh1hhj(ubj2)}(h h]h }(hjW(hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj(ubj)}(hjh]h*}(hje(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(ubjI)}(hfileh]hfile}(hjr(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj(ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj'ubeh}(h]h ]h"]h$]h&]j`jauh1juhjh'hhhjz'hMZubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjd'hhhjz'hMZubah}(h]j_'ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjz'hMZhja'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&]uh1jvhja'hhhjz'hMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(jj(jjjuh1jhhhjIhNhNubj)}(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[hj(ubj)}(hhh]h)}(h its inodeh]h its inode}(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 file *file`` 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)}(hfile in questionh]hfile 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(ubeh}(h]h ]h"]h$]h&]uh1jhj(ubh)}(h**Description**h]j)}(hjQ)h]h Description}(hjS)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO)ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM^hj(ubjM)}(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.}(hjk)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM]hjg)ubah}(h]h ]h"]h$]h&]uh1jLhjy)hM]hj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_escape_mem (C function)c.seq_escape_memhNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)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)hMkubjv)}(hV(struct seq_file *m, const char *src, size_t len, unsigned int flags, const char *esc)h](j|)}(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 classnameNj@jC)}jF]jI)}j<j)sbc.seq_escape_memasbuh1hhj)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)}(hmh]hm}(hj6*hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj)ubj|)}(hconst char *srch](j )}(hjh]hconst}(hjO*hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjK*ubj2)}(h h]h }(hj\*hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjK*ubj)}(hcharh]hchar}(hjj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjK*ubj2)}(h h]h }(hjx*hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjK*ubj)}(hjh]h*}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjK*ubjI)}(hsrch]hsrc}(hj*hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjK*ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj)ubj|)}(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 classnameNj@jC)}jF]j*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`jauh1j{hj)ubj|)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj2)}(h h]h }(hj+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*ubj)}(hinth]hint}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*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`jauh1j{hj)ubj|)}(hconst char *esch](j )}(hjh]hconst}(hjE+hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjA+ubj2)}(h h]h }(hjR+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjA+ubj)}(hcharh]hchar}(hj`+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjA+ubj2)}(h h]h }(hjn+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjA+ubj)}(hjh]h*}(hj|+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjA+ubjI)}(hesch]hesc}(hj+hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjA+ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj)ubeh}(h]h ]h"]h$]h&]j`jauh1juhj)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+jjjuh1jhhhjIhNhNubj)}(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)}(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.chMohj+ubj)}(hhh](j)}(h%``struct seq_file *m`` target buffer h](j)}(h``struct seq_file *m``h]j)}(hj+h]hstruct seq_file *m}(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.chMlhj+ubj)}(hhh]h)}(h target bufferh]h target buffer}(hj ,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ,hMlhj ,ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj ,hMlhj+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}(hjF,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjB,hMmhjC,ubah}(h]h ]h"]h$]h&]uh1jhj',ubeh}(h]h ]h"]h$]h&]uh1jhjB,hMmhj+ubj)}(h%``size_t len`` size of source buffer h](j)}(h``size_t len``h]j)}(hjf,h]h size_t len}(hjh,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd,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{,hMnhj+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,hMohj+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.chMphj,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,hMphj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMphj+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.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}(hj1-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)-ubh and }(hj)-hhhNhNubj)}(h**esc**h]hesc}(hjC-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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j mangle_path (C function) c.mangle_pathhNtauh1hhjIhhhNhNubj)}(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-hMubjv)}(h)(char *s, const char *p, const char *esc)h](j|)}(hchar *sh](j)}(hcharh]hchar}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-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)}(hjh]hs}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj-ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj-ubj|)}(h const char *ph](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)}(hcharh]hchar}(hj1.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.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)}(hjh]hp}(hjZ.hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj.ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj-ubj|)}(hconst char *esch](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)}(hcharh]hchar}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjn.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)}(hesch]hesc}(hj.hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjn.ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj-ubeh}(h]h ]h"]h$]h&]j`jauh1juhj-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&]jjjj.jj.jjjuh1jhhhjIhNhNubj)}(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)}(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``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.chMhj/ubj)}(hhh]h)}(h buffer starth]h buffer start}(hj:/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6/hMhj7/ubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhj6/hMhj/ubj)}(h4``const char *p`` beginning of path in above buffer h](j)}(h``const char *p``h]j)}(hjZ/h]h const char *p}(hj\/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX/ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjT/ubj)}(hhh]h)}(h!beginning of path in above bufferh]h!beginning of path in above buffer}(hjs/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjo/hMhjp/ubah}(h]h ]h"]h$]h&]uh1jhjT/ubeh}(h]h ]h"]h$]h&]uh1jhjo/hMhj/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/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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj.ubjM)}(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 }(hj/hhhNhNubj)}(h**p**h]hp}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubh to }(hj/hhhNhNubj)}(h**s**h]hs}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubh., replacing each occurrence of character from }(hj/hhhNhNubj)}(h**esc**h]hesc}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubhI with usual octal escape. Returns pointer past last written character in }(hj/hhhNhNubj)}(h**s**h]hs}(hj&0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubh, or NULL in case of failure.}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj/ubah}(h]h ]h"]h$]h&]uh1jLhj>0hMhj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_path (C function) c.seq_pathhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hje0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhja0hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMubj2)}(h h]h }(hjt0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hja0hhhjs0hMubjC)}(hseq_pathh]jI)}(hseq_pathh]hseq_path}(hj0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhja0hhhjs0hMubjv)}(h>(struct seq_file *m, const struct path *path, const char *esc)h](j|)}(hstruct seq_file *mh](j )}(hjh]hstruct}(hj0hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj0ubj2)}(h h]h }(hj0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0ubh)}(hhh]jI)}(hseq_fileh]hseq_file}(hj0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj0modnameN classnameNj@jC)}jF]jI)}j<j0sb c.seq_pathasbuh1hhj0ubj2)}(h h]h }(hj0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0ubj)}(hjh]h*}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubjI)}(hj8*h]hm}(hj0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj0ubj|)}(hconst struct path *pathh](j )}(hjh]hconst}(hj1hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj1ubj2)}(h h]h }(hj 1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1ubj )}(hjh]hstruct}(hj.1hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj1ubj2)}(h h]h }(hj;1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1ubh)}(hhh]jI)}(hpathh]hpath}(hjL1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjI1ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjN1modnameN classnameNj@jC)}jF]j0 c.seq_pathasbuh1hhj1ubj2)}(h h]h }(hjj1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1ubj)}(hjh]h*}(hjx1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubjI)}(hpathh]hpath}(hj1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj0ubj|)}(hconst char *esch](j )}(hjh]hconst}(hj1hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj1ubj2)}(h h]h }(hj1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1ubj)}(hcharh]hchar}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubj2)}(h h]h }(hj1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1ubj)}(hjh]h*}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1ubjI)}(hesch]hesc}(hj1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj0ubeh}(h]h ]h"]h$]h&]j`jauh1juhja0hhhjs0hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj]0hhhjs0hMubah}(h]jX0ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjs0hMhjZ0hhubjw)}(hhh]h)}(h&seq_file interface to print a pathnameh]h&seq_file interface to print a pathname}(hj 2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj 2hhubah}(h]h ]h"]h$]h&]uh1jvhjZ0hhhjs0hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$2jj$2jjjuh1jhhhjIhNhNubj)}(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)}(hj.2h]h Parameters}(hj02hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,2ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj(2ubj)}(hhh](j)}(h+``struct seq_file *m`` the seq_file handle h](j)}(h``struct seq_file *m``h]j)}(hjM2h]hstruct seq_file *m}(hjO2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK2ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjG2ubj)}(hhh]h)}(hthe seq_file handleh]hthe seq_file handle}(hjf2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjb2hMhjc2ubah}(h]h ]h"]h$]h&]uh1jhjG2ubeh}(h]h ]h"]h$]h&]uh1jhjb2hMhjD2ubj)}(h5``const struct path *path`` the struct path to print h](j)}(h``const struct path *path``h]j)}(hj2h]hconst struct path *path}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj2ubj)}(hhh]h)}(hthe struct path to printh]hthe struct path to print}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMhj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjD2ubj)}(h>``const char *esc`` set of characters to escape in the output h](j)}(h``const char *esc``h]j)}(hj2h]hconst char *esc}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj2ubj)}(hhh]h)}(h)set of characters to escape in the outputh]h)set of characters to escape in the output}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMhj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjD2ubeh}(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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj(2ubh)}(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.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj(2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_file_path (C function)c.seq_file_pathhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hj?3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;3hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMubj2)}(h h]h }(hjN3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj;3hhhjM3hMubjC)}(h seq_file_pathh]jI)}(h seq_file_pathh]h seq_file_path}(hj`3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj\3ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj;3hhhjM3hMubjv)}(h8(struct seq_file *m, struct file *file, const char *esc)h](j|)}(hstruct seq_file *mh](j )}(hjh]hstruct}(hj|3hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjx3ubj2)}(h h]h }(hj3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjx3ubh)}(hhh]jI)}(hseq_fileh]hseq_file}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj3modnameN classnameNj@jC)}jF]jI)}j<jb3sbc.seq_file_pathasbuh1hhjx3ubj2)}(h h]h }(hj3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjx3ubj)}(hjh]h*}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjx3ubjI)}(hj8*h]hm}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjx3ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjt3ubj|)}(hstruct file *fileh](j )}(hjh]hstruct}(hj3hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj3ubj2)}(h h]h }(hj3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj3ubh)}(hhh]jI)}(hfileh]hfile}(hj 4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj 4modnameN classnameNj@jC)}jF]j3c.seq_file_pathasbuh1hhj3ubj2)}(h h]h }(hj)4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj3ubj)}(hjh]h*}(hj74hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubjI)}(hfileh]hfile}(hjD4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjt3ubj|)}(hconst char *esch](j )}(hjh]hconst}(hj]4hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjY4ubj2)}(h h]h }(hjj4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjY4ubj)}(hcharh]hchar}(hjx4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjY4ubj2)}(h h]h }(hj4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjY4ubj)}(hjh]h*}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjY4ubjI)}(hesch]hesc}(hj4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjY4ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjt3ubeh}(h]h ]h"]h$]h&]j`jauh1juhj;3hhhjM3hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj73hhhjM3hMubah}(h]j23ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjM3hMhj43hhubjw)}(hhh]h)}(h0seq_file interface to print a pathname of a fileh]h0seq_file interface to print a pathname of a file}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj4hhubah}(h]h ]h"]h$]h&]uh1jvhj43hhhjM3hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1jhhhjIhNhNubj)}(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)}(hj4h]h Parameters}(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.chMhj4ubj)}(hhh](j)}(h+``struct seq_file *m`` the seq_file handle h](j)}(h``struct seq_file *m``h]j)}(hj 5h]hstruct seq_file *m}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 5ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj5ubj)}(hhh]h)}(hthe seq_file handleh]hthe seq_file handle}(hj%5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!5hMhj"5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj!5hMhj5ubj)}(h/``struct file *file`` the struct file to print h](j)}(h``struct file *file``h]j)}(hjE5h]hstruct file *file}(hjG5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC5ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj?5ubj)}(hhh]h)}(hthe struct file to printh]hthe struct file to print}(hj^5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZ5hMhj[5ubah}(h]h ]h"]h$]h&]uh1jhj?5ubeh}(h]h ]h"]h$]h&]uh1jhjZ5hMhj5ubj)}(h>``const char *esc`` set of characters to escape in the output h](j)}(h``const char *esc``h]j)}(hj~5h]hconst char *esc}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|5ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjx5ubj)}(hhh]h)}(h)set of characters to escape in the outputh]h)set of characters to escape in the output}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjx5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhj5ubeh}(h]h ]h"]h$]h&]uh1jhj4ubh)}(h**Description**h]j)}(hj5h]h Description}(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.chMhj4ubh)}(h%return the absolute path to the file.h]h%return the absolute path to the file.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_write (C function) c.seq_writehNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM1ubj2)}(h h]h }(hj 6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj5hhhj 6hM1ubjC)}(h seq_writeh]jI)}(h seq_writeh]h seq_write}(hj6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj5hhhj 6hM1ubjv)}(h4(struct seq_file *seq, const void *data, size_t len)h](j|)}(hstruct seq_file *seqh](j )}(hjh]hstruct}(hj;6hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj76ubj2)}(h h]h }(hjH6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj76ubh)}(hhh]jI)}(hseq_fileh]hseq_file}(hjY6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjV6ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj[6modnameN classnameNj@jC)}jF]jI)}j<j!6sb c.seq_writeasbuh1hhj76ubj2)}(h h]h }(hjy6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj76ubj)}(hjh]h*}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj76ubjI)}(hseqh]hseq}(hj6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj76ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj36ubj|)}(hconst void *datah](j )}(hjh]hconst}(hj6hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj6ubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6ubj)}(hvoidh]hvoid}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6ubj)}(hjh]h*}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubjI)}(hdatah]hdata}(hj6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj36ubj|)}(h size_t lenh](h)}(hhh]jI)}(hsize_th]hsize_t}(hj 7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj 7ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj7modnameN classnameNj@jC)}jF]ju6 c.seq_writeasbuh1hhj7ubj2)}(h h]h }(hj+7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7ubjI)}(hlenh]hlen}(hj97hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj36ubeh}(h]h ]h"]h$]h&]j`jauh1juhj5hhhj 6hM1ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj5hhhj 6hM1ubah}(h]j5ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj 6hM1hj5hhubjw)}(hhh]h)}(hwrite arbitrary data to bufferh]hwrite arbitrary data to buffer}(hjc7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM1hj`7hhubah}(h]h ]h"]h$]h&]uh1jvhj5hhhj 6hM1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{7jj{7jjjuh1jhhhjIhNhNubj)}(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)}(hj7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM5hj7ubj)}(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)}(hj7h]hstruct seq_file *seq}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM2hj7ubj)}(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}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hM2hj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hM2hj7ubj)}(h"``const void *data`` data address h](j)}(h``const void *data``h]j)}(hj7h]hconst void *data}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM3hj7ubj)}(hhh]h)}(h data addressh]h data address}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hM3hj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hM3hj7ubj)}(h``size_t len`` number of bytes h](j)}(h``size_t len``h]j)}(hj8h]h size_t len}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM4hj8ubj)}(hhh]h)}(hnumber of bytesh]hnumber of bytes}(hj/8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+8hM4hj,8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj+8hM4hj7ubeh}(h]h ]h"]h$]h&]uh1jhj7ubh)}(h**Description**h]j)}(hjQ8h]h Description}(hjS8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO8ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM6hj7ubh)}(h(Return 0 on success, non-zero otherwise.h]h(Return 0 on success, non-zero otherwise.}(hjg8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM5hj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_pad (C function) c.seq_padhNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMEubj2)}(h h]h }(hj8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8hhhj8hMEubjC)}(hseq_padh]jI)}(hseq_padh]hseq_pad}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj8hhhj8hMEubjv)}(h(struct seq_file *m, char c)h](j|)}(hstruct seq_file *mh](j )}(hjh]hstruct}(hj8hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj8ubj2)}(h h]h }(hj8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8ubh)}(hhh]jI)}(hseq_fileh]hseq_file}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj8modnameN classnameNj@jC)}jF]jI)}j<j8sb c.seq_padasbuh1hhj8ubj2)}(h h]h }(hj9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8ubj)}(hjh]h*}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubjI)}(hj8*h]hm}(hj,9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj8ubj|)}(hchar ch](j)}(hcharh]hchar}(hjD9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@9ubj2)}(h h]h }(hjR9hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj@9ubjI)}(hjh]hc}(hj`9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj@9ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj8ubeh}(h]h ]h"]h$]h&]j`jauh1juhj8hhhj8hMEubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj8hhhj8hMEubah}(h]j8ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj8hMEhj8hhubjw)}(hhh]h)}(hwrite padding spaces to bufferh]hwrite padding spaces to buffer}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMEhj9hhubah}(h]h ]h"]h$]h&]uh1jvhj8hhhj8hMEubeh}(h]h ](jfunctioneh"]h$]h&]jjjj9jj9jjjuh1jhhhjIhNhNubj)}(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)}(hj9h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMIhj9ubj)}(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)}(hj9h]hstruct seq_file *m}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMFhj9ubj)}(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}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hMFhj9ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMFhj9ubj)}(h7``char c`` the byte to append after padding if non-zeroh](j)}(h ``char c``h]j)}(hj:h]hchar c}(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.chMHhj9ubj)}(hhh]h)}(h,the byte to append after padding if non-zeroh]h,the byte to append after padding if non-zero}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMGhj:ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhj:hMHhj9ubeh}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_hlist_start (C function)c.seq_hlist_starthNtauh1hhjIhhhNhNubj)}(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}(hj]:hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjY:hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMubj2)}(h h]h }(hjk:hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjY:hhhjj:hMubh)}(hhh]jI)}(h hlist_nodeh]h hlist_node}(hj|:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjy:ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj~:modnameN classnameNj@jC)}jF]jI)}j<seq_hlist_startsbc.seq_hlist_startasbuh1hhjY:hhhjj:hMubj2)}(h h]h }(hj:hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjY:hhhjj:hMubj)}(hjh]h*}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjY:hhhjj:hMubjC)}(hseq_hlist_starth]jI)}(hj:h]hseq_hlist_start}(hj:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj:ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjY:hhhjj:hMubjv)}(h%(struct hlist_head *head, loff_t pos)h](j|)}(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 classnameNj@jC)}jF]j:c.seq_hlist_startasbuh1hhj: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}(hj.;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj:ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj:ubj|)}(h loff_t posh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjJ;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjG;ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjL;modnameN classnameNj@jC)}jF]j:c.seq_hlist_startasbuh1hhjC;ubj2)}(h h]h }(hjh;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjC;ubjI)}(hposh]hpos}(hjv;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjC;ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj:ubeh}(h]h ]h"]h$]h&]j`jauh1juhjY:hhhjj:hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjU:hhhjj:hMubah}(h]jP:ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjj:hMhjR: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.chMhj;hhubah}(h]h ]h"]h$]h&]uh1jvhjR:hhhjj:hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1jhhhjIhNhNubj)}(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}(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 head of the hlisth]hthe head of the hlist}(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``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}(hj3<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/<hMhj0<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)}(hjU<h]h Description}(hjW<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS<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().}(hjk<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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !seq_hlist_start_head (C function)c.seq_hlist_start_headhNtauh1hhjIhhhNhNubj)}(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 classnameNj@jC)}jF]jI)}j<seq_hlist_start_headsbc.seq_hlist_start_headasbuh1hhj<hhhj<hMubj2)}(h h]h }(hj<hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj<hhhj<hMubj)}(hjh]h*}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj<hhhj<hMubjC)}(hseq_hlist_start_headh]jI)}(hj<h]hseq_hlist_start_head}(hj<hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj<ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj<hhhj<hMubjv)}(h%(struct hlist_head *head, loff_t pos)h](j|)}(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}(hj2=hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/=ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj4=modnameN classnameNj@jC)}jF]j<c.seq_hlist_start_headasbuh1hhj=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)}(hheadh]hhead}(hjk=hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj=ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj =ubj|)}(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 classnameNj@jC)}jF]j<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`jauh1j{hj =ubeh}(h]h ]h"]h$]h&]j`jauh1juhj<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.chMhj=hhubah}(h]h ]h"]h$]h&]uh1jvhj<hhhj<hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=jj=jjjuh1jhhhjIhNhNubj)}(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.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}(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 head of the hlisth]hthe head of the hlist}(hj7>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3>hMhj4>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj3>hMhj>ubj)}(h2``loff_t pos`` the start position of the sequence h](j)}(h``loff_t pos``h]j)}(hjW>h]h loff_t pos}(hjY>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU>ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjQ>ubj)}(hhh]h)}(h"the start position of the sequenceh]h"the start position of the sequence}(hjp>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjl>hMhjm>ubah}(h]h ]h"]h$]h&]uh1jhjQ>ubeh}(h]h ]h"]h$]h&]uh1jhjl>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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj=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.chMhj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_hlist_next (C function)c.seq_hlist_nexthNtauh1hhjIhhhNhNubj)}(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}(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 classnameNj@jC)}jF]jI)}j<seq_hlist_nextsbc.seq_hlist_nextasbuh1hhj>hhhj>hMubj2)}(h h]h }(hj?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj>hhhj>hMubj)}(hjh]h*}(hj%?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>hhhj>hMubjC)}(hseq_hlist_nexth]jI)}(hj?h]hseq_hlist_next}(hj6?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2?ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj>hhhj>hMubjv)}(h0(void *v, struct hlist_head *head, loff_t *ppos)h](j|)}(hvoid *vh](j)}(hvoidh]hvoid}(hjQ?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjM?ubj2)}(h h]h }(hj_?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjM?ubj)}(hjh]h*}(hjm?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjM?ubjI)}(hvh]hv}(hjz?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjM?ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjI?ubj|)}(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 classnameNj@jC)}jF]j?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}(hj?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj?ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjI?ubj|)}(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 classnameNj@jC)}jF]j?c.seq_hlist_nextasbuh1hhj?ubj2)}(h h]h }(hj$@hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj?ubj)}(hjh]h*}(hj2@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`jauh1j{hjI?ubeh}(h]h ]h"]h$]h&]j`jauh1juhj>hhhj>hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj>hhhj>hMubah}(h]j>ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj>hMhj>hhubjw)}(hhh]h)}(h&move to the next position of the hlisth]h&move to the next position of the hlist}(hji@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjf@hhubah}(h]h ]h"]h$]h&]uh1jvhj>hhhj>hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@jj@jjjuh1jhhhjIhNhNubj)}(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)}(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.chMhj@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&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj@ubj)}(h&``loff_t *ppos`` the current position h](j)}(h``loff_t *ppos``h]j)}(hjAh]h loff_t *ppos}(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)}(hthe current positionh]hthe current position}(hj5AhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1AhMhj2Aubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj1AhMhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@ubh)}(h**Description**h]j)}(hjWAh]h Description}(hjYAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUAubah}(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().}(hjmAhhhNhNubah}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  seq_hlist_start_rcu (C function)c.seq_hlist_start_rcuhNtauh1hhjIhhhNhNubj)}(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}(hjAhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjAhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAhhhjAhMubh)}(hhh]jI)}(h hlist_nodeh]h hlist_node}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjAmodnameN classnameNj@jC)}jF]jI)}j<seq_hlist_start_rcusbc.seq_hlist_start_rcuasbuh1hhjAhhhjAhMubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAhhhjAhMubj)}(hjh]h*}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhjAhMubjC)}(hseq_hlist_start_rcuh]jI)}(hjAh]hseq_hlist_start_rcu}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjAhhhjAhMubjv)}(h%(struct hlist_head *head, loff_t pos)h](j|)}(hstruct hlist_head *headh](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)}(h hlist_headh]h hlist_head}(hj4BhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1Bubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj6BmodnameN classnameNj@jC)}jF]jAc.seq_hlist_start_rcuasbuh1hhjBubj2)}(h h]h }(hjRBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBubj)}(hjh]h*}(hj`BhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubjI)}(hheadh]hhead}(hjmBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjBubj|)}(h loff_t posh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjBmodnameN classnameNj@jC)}jF]jAc.seq_hlist_start_rcuasbuh1hhjBubj2)}(h h]h }(hjBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBubjI)}(hposh]hpos}(hjBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjBubeh}(h]h ]h"]h$]h&]j`jauh1juhjAhhhjAhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjAhhhjAhMubah}(h]jAah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjAhMhjAhhubjw)}(hhh]h)}(h.start an iteration of a hlist protected by RCUh]h.start an iteration of a hlist protected by RCU}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjBhhubah}(h]h ]h"]h$]h&]uh1jvhjAhhhjAhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjBjjBjjjuh1jhhhjIhNhNubj)}(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)}(hjCh]h Parameters}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjBubj)}(hhh](j)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(hj Ch]hstruct hlist_head *head}(hj"ChhhNhNubah}(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}(hj9ChhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5ChMhj6Cubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj5ChMhjCubj)}(h2``loff_t pos`` the start position of the sequence h](j)}(h``loff_t pos``h]j)}(hjYCh]h loff_t pos}(hj[ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWCubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjSCubj)}(hhh]h)}(h"the start position of the sequenceh]h"the start position of the sequence}(hjrChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnChMhjoCubah}(h]h ]h"]h$]h&]uh1jhjSCubeh}(h]h ]h"]h$]h&]uh1jhjnChMhjCubeh}(h]h ]h"]h$]h&]uh1jhjBubh)}(h**Description**h]j)}(hjCh]h Description}(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.chMhjBubh)}(h Called at seq_file->op->start().h]h Called at seq_file->op->start().}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjBubh)}(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().}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j %seq_hlist_start_head_rcu (C function)c.seq_hlist_start_head_rcuhNtauh1hhjIhhhNhNubj)}(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}(hjChhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjChhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMubj2)}(h h]h }(hjChhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjChhhjChMubh)}(hhh]jI)}(h hlist_nodeh]h hlist_node}(hjDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjDubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj DmodnameN classnameNj@jC)}jF]jI)}j<seq_hlist_start_head_rcusbc.seq_hlist_start_head_rcuasbuh1hhjChhhjChMubj2)}(h h]h }(hj(DhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjChhhjChMubj)}(hjh]h*}(hj6DhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjChhhjChMubjC)}(hseq_hlist_start_head_rcuh]jI)}(hj%Dh]hseq_hlist_start_head_rcu}(hjGDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjCDubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjChhhjChMubjv)}(h%(struct hlist_head *head, loff_t pos)h](j|)}(hstruct hlist_head *headh](j )}(hjh]hstruct}(hjbDhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj^Dubj2)}(h h]h }(hjoDhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj^Dubh)}(hhh]jI)}(h hlist_headh]h hlist_head}(hjDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}Dubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjDmodnameN classnameNj@jC)}jF]j#Dc.seq_hlist_start_head_rcuasbuh1hhj^Dubj2)}(h h]h }(hjDhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj^Dubj)}(hjh]h*}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^DubjI)}(hheadh]hhead}(hjDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj^Dubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjZDubj|)}(h loff_t posh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjDubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjDmodnameN classnameNj@jC)}jF]j#Dc.seq_hlist_start_head_rcuasbuh1hhjDubj2)}(h h]h }(hjDhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjDubjI)}(hposh]hpos}(hjEhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjDubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjZDubeh}(h]h ]h"]h$]h&]j`jauh1juhjChhhjChMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjChhhjChMubah}(h]jCah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjChMhjChhubjw)}(hhh]h)}(h.start an iteration of a hlist protected by RCUh]h.start an iteration of a hlist protected by RCU}(hj+EhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj(Ehhubah}(h]h ]h"]h$]h&]uh1jvhjChhhjChMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCEjjCEjjjuh1jhhhjIhNhNubj)}(hX**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. 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)}(hjMEh]h Parameters}(hjOEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKEubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjGEubj)}(hhh](j)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(hjlEh]hstruct hlist_head *head}(hjnEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjEubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjfEubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhMhjEubah}(h]h ]h"]h$]h&]uh1jhjfEubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjcEubj)}(h2``loff_t pos`` the start position of the sequence h](j)}(h``loff_t pos``h]j)}(hjEh]h loff_t pos}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjEubj)}(hhh]h)}(h"the start position of the sequenceh]h"the start position of the sequence}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhMhjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjcEubeh}(h]h ]h"]h$]h&]uh1jhjGEubh)}(h**Description**h]j)}(hjEh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjGEubh)}(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.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjGEubh)}(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().}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjGEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j seq_hlist_next_rcu (C function)c.seq_hlist_next_rcuhNtauh1hhjIhhhNhNubj)}(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}(hj4FhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj0FhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM&ubj2)}(h h]h }(hjBFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0FhhhjAFhM&ubh)}(hhh]jI)}(h hlist_nodeh]h hlist_node}(hjSFhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPFubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjUFmodnameN classnameNj@jC)}jF]jI)}j<seq_hlist_next_rcusbc.seq_hlist_next_rcuasbuh1hhj0FhhhjAFhM&ubj2)}(h h]h }(hjtFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0FhhhjAFhM&ubj)}(hjh]h*}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0FhhhjAFhM&ubjC)}(hseq_hlist_next_rcuh]jI)}(hjqFh]hseq_hlist_next_rcu}(hjFhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj0FhhhjAFhM&ubjv)}(h0(void *v, struct hlist_head *head, loff_t *ppos)h](j|)}(hvoid *vh](j)}(hvoidh]hvoid}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubj2)}(h h]h }(hjFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubj)}(hjh]h*}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubjI)}(hj|?h]hv}(hjFhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjFubj|)}(hstruct hlist_head *headh](j )}(hjh]hstruct}(hjFhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjFubj2)}(h h]h }(hjFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubh)}(hhh]jI)}(h hlist_headh]h hlist_head}(hj GhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj Gubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjGmodnameN classnameNj@jC)}jF]joFc.seq_hlist_next_rcuasbuh1hhjFubj2)}(h h]h }(hj+GhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubj)}(hjh]h*}(hj9GhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubjI)}(hheadh]hhead}(hjFGhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjFubj|)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjbGhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_Gubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjdGmodnameN classnameNj@jC)}jF]joFc.seq_hlist_next_rcuasbuh1hhj[Gubj2)}(h h]h }(hjGhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj[Gubj)}(hjh]h*}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[GubjI)}(hpposh]hppos}(hjGhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[Gubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjFubeh}(h]h ]h"]h$]h&]j`jauh1juhj0FhhhjAFhM&ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj,FhhhjAFhM&ubah}(h]j'Fah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjAFhM&hj)Fhhubjw)}(hhh]h)}(h7move to the next position of the hlist protected by RCUh]h7move to the next position of the hlist protected by RCU}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM&hjGhhubah}(h]h ]h"]h$]h&]uh1jvhj)FhhhjAFhM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGjjGjjjuh1jhhhjIhNhNubj)}(hXy**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(). 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)}(hjGh]h Parameters}(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*hjGubj)}(hhh](j)}(h!``void *v`` the current iterator h](j)}(h ``void *v``h]j)}(hjHh]hvoid *v}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM'hjHubj)}(hhh]h)}(hthe current iteratorh]hthe current iterator}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhM'hjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhM'hjGubj)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(hj?Hh]hstruct hlist_head *head}(hjAHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=Hubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM(hj9Hubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hjXHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjTHhM(hjUHubah}(h]h ]h"]h$]h&]uh1jhj9Hubeh}(h]h ]h"]h$]h&]uh1jhjTHhM(hjGubj)}(h&``loff_t *ppos`` the current position h](j)}(h``loff_t *ppos``h]j)}(hjxHh]h loff_t *ppos}(hjzHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvHubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM)hjrHubj)}(hhh]h)}(hthe current positionh]hthe current position}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhM)hjHubah}(h]h ]h"]h$]h&]uh1jhjrHubeh}(h]h ]h"]h$]h&]uh1jhjHhM)hjGubeh}(h]h ]h"]h$]h&]uh1jhjGubh)}(h**Description**h]j)}(hjHh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM+hjGubh)}(hCalled at seq_file->op->next().h]hCalled at seq_file->op->next().}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM*hjGubh)}(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().}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM,hjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j #seq_hlist_start_percpu (C function)c.seq_hlist_start_percpuhNtauh1hhjIhhhNhNubj)}(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}(hjIhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjIhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM@ubj2)}(h h]h }(hjIhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjIhhhjIhM@ubh)}(hhh]jI)}(h hlist_nodeh]h hlist_node}(hj&IhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#Iubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj(ImodnameN classnameNj@jC)}jF]jI)}j<seq_hlist_start_percpusbc.seq_hlist_start_percpuasbuh1hhjIhhhjIhM@ubj2)}(h h]h }(hjGIhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjIhhhjIhM@ubj)}(hjh]h*}(hjUIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIhhhjIhM@ubjC)}(hseq_hlist_start_percpuh]jI)}(hjDIh]hseq_hlist_start_percpu}(hjfIhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbIubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjIhhhjIhM@ubjv)}(h8(struct hlist_head __percpu *head, int *cpu, loff_t pos)h](j|)}(h struct hlist_head __percpu *headh](j )}(hjh]hstruct}(hjIhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj}Iubj2)}(h h]h }(hjIhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}Iubh)}(hhh]jI)}(h hlist_headh]h hlist_head}(hjIhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjIubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjImodnameN classnameNj@jC)}jF]jBIc.seq_hlist_start_percpuasbuh1hhj}Iubj2)}(h h]h }(hjIhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}Iubh__percpu}(hj}IhhhNhNubj2)}(h h]h }(hjIhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}Iubj)}(hjh]h*}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}IubjI)}(hheadh]hhead}(hjIhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}Iubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjyIubj|)}(hint *cpuh](j)}(hinth]hint}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj2)}(h h]h }(hjJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjIubj)}(hjh]h*}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubjI)}(hcpuh]hcpu}(hj,JhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjIubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjyIubj|)}(h loff_t posh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjHJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEJubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjJJmodnameN classnameNj@jC)}jF]jBIc.seq_hlist_start_percpuasbuh1hhjAJubj2)}(h h]h }(hjfJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAJubjI)}(hposh]hpos}(hjtJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAJubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjyIubeh}(h]h ]h"]h$]h&]j`jauh1juhjIhhhjIhM@ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjHhhhjIhM@ubah}(h]jHah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjIhM@hjHhhubjw)}(hhh]h)}(h*start an iteration of a percpu hlist arrayh]h*start an iteration of a percpu hlist array}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM@hjJhhubah}(h]h ]h"]h$]h&]uh1jvhjHhhhjIhM@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1jhhhjIhNhNubj)}(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)}(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:65: ./fs/seq_file.chMDhjJubj)}(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)}(hjJh]h struct hlist_head __percpu *head}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMAhjJubj)}(hhh]h)}(h-pointer to percpu array of struct hlist_headsh]h-pointer to percpu array of struct hlist_heads}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMAhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMAhjJubj)}(h%``int *cpu`` pointer to cpu "cursor" h](j)}(h ``int *cpu``h]j)}(hjKh]hint *cpu}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMBhjKubj)}(hhh]h)}(hpointer to cpu "cursor"h]hpointer to cpu “cursor”}(hj1KhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-KhMBhj.Kubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhj-KhMBhjJubj)}(h*``loff_t pos`` start position of sequence h](j)}(h``loff_t pos``h]j)}(hjQKh]h loff_t pos}(hjSKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOKubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMChjKKubj)}(hhh]h)}(hstart position of sequenceh]hstart position of sequence}(hjjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfKhMChjgKubah}(h]h ]h"]h$]h&]uh1jhjKKubeh}(h]h ]h"]h$]h&]uh1jhjfKhMChjJubeh}(h]h ]h"]h$]h&]uh1jhjJubh)}(h**Description**h]j)}(hjKh]h Description}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMEhjJubh)}(h Called at seq_file->op->start().h]h Called at seq_file->op->start().}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMDhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "seq_hlist_next_percpu (C function)c.seq_hlist_next_percpuhNtauh1hhjIhhhNhNubj)}(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}(hjKhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjKhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMWubj2)}(h h]h }(hjKhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjKhhhjKhMWubh)}(hhh]jI)}(h hlist_nodeh]h hlist_node}(hjKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjKubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjKmodnameN classnameNj@jC)}jF]jI)}j<seq_hlist_next_percpusbc.seq_hlist_next_percpuasbuh1hhjKhhhjKhMWubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjKhhhjKhMWubj)}(hjh]h*}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKhhhjKhMWubjC)}(hseq_hlist_next_percpuh]jI)}(hjLh]hseq_hlist_next_percpu}(hj0LhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj,Lubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjKhhhjKhMWubjv)}(hB(void *v, struct hlist_head __percpu *head, int *cpu, loff_t *pos)h](j|)}(hvoid *vh](j)}(hvoidh]hvoid}(hjKLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGLubj2)}(h h]h }(hjYLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGLubj)}(hjh]h*}(hjgLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGLubjI)}(hj|?h]hv}(hjtLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGLubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjCLubj|)}(h struct hlist_head __percpu *headh](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 hlist_headh]h hlist_head}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjLmodnameN classnameNj@jC)}jF]j Lc.seq_hlist_next_percpuasbuh1hhjLubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLubh__percpu}(hjLhhhNhNubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLubj)}(hjh]h*}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubjI)}(hheadh]hhead}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjCLubj|)}(hint *cpuh](j)}(hinth]hint}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Mubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj Mubj)}(hjh]h*}(hj*MhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj MubjI)}(hcpuh]hcpu}(hj7MhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj Mubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjCLubj|)}(h loff_t *posh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjSMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPMubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjUMmodnameN classnameNj@jC)}jF]j Lc.seq_hlist_next_percpuasbuh1hhjLMubj2)}(h h]h }(hjqMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLMubj)}(hjh]h*}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLMubjI)}(hposh]hpos}(hjMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLMubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjCLubeh}(h]h ]h"]h$]h&]j`jauh1juhjKhhhjKhMWubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjKhhhjKhMWubah}(h]jKah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjKhMWhjKhhubjw)}(hhh]h)}(h3move to the next position of the percpu hlist arrayh]h3move to the next position of the percpu hlist array}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMWhjMhhubah}(h]h ]h"]h$]h&]uh1jvhjKhhhjKhMWubeh}(h]h ](jfunctioneh"]h$]h&]jjjjMjjMjjjuh1jhhhjIhNhNubj)}(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)}(hjMh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM[hjMubj)}(hhh](j)}(h*``void *v`` pointer to current hlist_node h](j)}(h ``void *v``h]j)}(hjMh]hvoid *v}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMXhjMubj)}(hhh]h)}(hpointer to current hlist_nodeh]hpointer to current hlist_node}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj NhMXhj Nubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhj NhMXhjMubj)}(hS``struct hlist_head __percpu *head`` pointer to percpu array of struct hlist_heads h](j)}(h$``struct hlist_head __percpu *head``h]j)}(hj0Nh]h struct hlist_head __percpu *head}(hj2NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.Nubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMYhj*Nubj)}(hhh]h)}(h-pointer to percpu array of struct hlist_headsh]h-pointer to percpu array of struct hlist_heads}(hjINhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjENhMYhjFNubah}(h]h ]h"]h$]h&]uh1jhj*Nubeh}(h]h ]h"]h$]h&]uh1jhjENhMYhjMubj)}(h%``int *cpu`` pointer to cpu "cursor" h](j)}(h ``int *cpu``h]j)}(hjiNh]hint *cpu}(hjkNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgNubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMZhjcNubj)}(hhh]h)}(hpointer to cpu "cursor"h]hpointer to cpu “cursor”}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~NhMZhjNubah}(h]h ]h"]h$]h&]uh1jhjcNubeh}(h]h ]h"]h$]h&]uh1jhj~NhMZhjMubj)}(h+``loff_t *pos`` start position of sequence h](j)}(h``loff_t *pos``h]j)}(hjNh]h loff_t *pos}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM[hjNubj)}(hhh]h)}(hstart position of sequenceh]hstart position of sequence}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhM[hjNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjNhM[hjMubeh}(h]h ]h"]h$]h&]uh1jhjMubh)}(h**Description**h]j)}(hjNh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM]hjMubh)}(hCalled at seq_file->op->next().h]hCalled at seq_file->op->next().}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM\hjMubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  register_filesystem (C function)c.register_filesystemhNtauh1hhjIhhhNhNubj)}(hhh](j)}(h6int register_filesystem (struct file_system_type * fs)h]j)}(h4int register_filesystem(struct file_system_type *fs)h](j)}(hinth]hint}(hj"OhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKah"]h$]h&]uh1j1hjOhhhj0OhKah"]h$]h&]uh1j1hj[Oubh)}(hhh]jI)}(hfile_system_typeh]hfile_system_type}(hj}OhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzOubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjOmodnameN classnameNj@jC)}jF]jI)}j<jEOsbc.register_filesystemasbuh1hhj[Oubj2)}(h h]h }(hjOhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj[Oubj)}(hjh]h*}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[OubjI)}(hfsh]hfs}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[Oubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjWOubah}(h]h ]h"]h$]h&]j`jauh1juhjOhhhj0OhK` 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)}(hjPh]h Parameters}(hjPhhhNhNubah}(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@hjOubj)}(hhh]j)}(h;``struct file_system_type * fs`` the file system structure h](j)}(h ``struct file_system_type * fs``h]j)}(hj#Ph]hstruct file_system_type * fs}(hj%PhhhNhNubah}(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.chK=hjPubj)}(hhh]h)}(hthe file system structureh]hthe file system structure}(hj` 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.}(hjxPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chK>hjtPubh)}(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 }(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 refexplicitrefwarnj@jjfile_system_typeuh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKBhjPubhw that is passed is linked into the kernel structures and must not be freed until the file system has been unregistered.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjPhKBhjtPubeh}(h]h ]h"]h$]h&]uh1jLhjPhK>hjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "unregister_filesystem (C function)c.unregister_filesystemhNtauh1hhjIhhhNhNubj)}(hhh](j)}(h8int unregister_filesystem (struct file_system_type * fs)h]j)}(h6int unregister_filesystem(struct file_system_type *fs)h](j)}(hinth]hint}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKaubj2)}(h h]h }(hjPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPhhhjPhKaubjC)}(hunregister_filesystemh]jI)}(hunregister_filesystemh]hunregister_filesystem}(hjQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjPhhhjPhKaubjv)}(h(struct file_system_type *fs)h]j|)}(hstruct file_system_type *fsh](j )}(hjh]hstruct}(hjQhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjQubj2)}(h h]h }(hj)QhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjQubh)}(hhh]jI)}(hfile_system_typeh]hfile_system_type}(hj:QhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7Qubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjah"]h$]h&]uh1j1hjQubj)}(hjh]h*}(hjhQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubjI)}(hfsh]hfs}(hjuQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjQubah}(h]h ]h"]h$]h&]j`jauh1juhjPhhhjPhKaubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjPhhhjPhKaubah}(h]jPah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjPhKahjPhhubjw)}(hhh]h)}(hunregister a file systemh]hunregister a file system}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKahjQhhubah}(h]h ]h"]h$]h&]uh1jvhjPhhhjPhKaubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQjjjuh1jhhhjIhNhNubj)}(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)}(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:68: ./fs/filesystems.chKehjQubj)}(hhh]j)}(h:``struct file_system_type * fs`` filesystem to unregister h](j)}(h ``struct file_system_type * fs``h]j)}(hjQh]hstruct file_system_type * fs}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKbhjQubj)}(hhh]h)}(hfilesystem to unregisterh]hfilesystem to unregister}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhKbhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhKbhjQubah}(h]h ]h"]h$]h&]uh1jhjQubh)}(h**Description**h]j)}(hjRh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKdhjQubjM)}(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.}(hj5RhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKchj1Rubh)}(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 }(hjDRhhhNhNubh)}(h4:c:type:`struct file_system_type `h]j)}(hjNRh]hstruct file_system_type}(hjPRhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjLRubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnj@jjfile_system_typeuh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKghjDRubh" structure may be freed or reused.}(hjDRhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjkRhKghj1Rubeh}(h]h ]h"]h$]h&]uh1jLhjCRhKchjQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j (wbc_attach_fdatawrite_inode (C function)c.wbc_attach_fdatawrite_inodehNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM1ubj2)}(h h]h }(hjRhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRhhhjRhM1ubjC)}(hwbc_attach_fdatawrite_inodeh]jI)}(hwbc_attach_fdatawrite_inodeh]hwbc_attach_fdatawrite_inode}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjRhhhjRhM1ubjv)}(h4(struct writeback_control *wbc, struct inode *inode)h](j|)}(hstruct writeback_control *wbch](j )}(hjh]hstruct}(hjRhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjRubj2)}(h h]h }(hjRhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRubh)}(hhh]jI)}(hwriteback_controlh]hwriteback_control}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjRmodnameN classnameNj@jC)}jF]jI)}j<jRsbc.wbc_attach_fdatawrite_inodeasbuh1hhjRubj2)}(h h]h }(hjShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRubj)}(hjh]h*}(hj%ShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubjI)}(hwbch]hwbc}(hj2ShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjRubj|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjKShhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjGSubj2)}(h h]h }(hjXShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGSubh)}(hhh]jI)}(hinodeh]hinode}(hjiShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjfSubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjkSmodnameN classnameNj@jC)}jF]jSc.wbc_attach_fdatawrite_inodeasbuh1hhjGSubj2)}(h h]h }(hjShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjGSubj)}(hjh]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGSubjI)}(hinodeh]hinode}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGSubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjRubeh}(h]h ]h"]h$]h&]j`jauh1juhjRhhhjRhM1ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjRhhhjRhM1ubah}(h]jRah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjRhM1hjRhhubjw)}(hhh]h)}(h&associate wbc and inode for fdatawriteh]h&associate wbc and inode for fdatawrite}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM1hjShhubah}(h]h ]h"]h$]h&]uh1jvhjRhhhjRhM1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSjjSjjjuh1jhhhjIhNhNubj)}(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)}(hjSh]h Parameters}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM5hjSubj)}(hhh](j)}(h@``struct writeback_control *wbc`` writeback_control of interest h](j)}(h!``struct writeback_control *wbc``h]j)}(hj Th]hstruct writeback_control *wbc}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Tubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM2hjTubj)}(hhh]h)}(hwriteback_control of interesth]hwriteback_control of interest}(hj&ThhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"ThM2hj#Tubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhj"ThM2hjTubj)}(h%``struct inode *inode`` target inode h](j)}(h``struct inode *inode``h]j)}(hjFTh]hstruct inode *inode}(hjHThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDTubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM3hj@Tubj)}(hhh]h)}(h target inodeh]h target inode}(hj_ThhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[ThM3hj\Tubah}(h]h ]h"]h$]h&]uh1jhj@Tubeh}(h]h ]h"]h$]h&]uh1jhj[ThM3hjTubeh}(h]h ]h"]h$]h&]uh1jhjSubh)}(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.chM5hjSubh)}(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 }(hjThhhNhNubj)}(h **inode**h]hinode}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh7 is associated with a bdi_writeback and attaches it to }(hjThhhNhNubj)}(h**wbc**h]hwbc}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh.}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM4hjSubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j wbc_detach_inode (C function)c.wbc_detach_inodehNtauh1hhjIhhhNhNubj)}(hhh](j)}(h5void wbc_detach_inode (struct writeback_control *wbc)h]j)}(h4void wbc_detach_inode(struct writeback_control *wbc)h](j)}(hvoidh]hvoid}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMCubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjThhhjThMCubjC)}(hwbc_detach_inodeh]jI)}(hwbc_detach_inodeh]hwbc_detach_inode}(hj UhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjUubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjThhhjThMCubjv)}(h(struct writeback_control *wbc)h]j|)}(hstruct writeback_control *wbch](j )}(hjh]hstruct}(hj'UhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj#Uubj2)}(h h]h }(hj4UhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#Uubh)}(hhh]jI)}(hwriteback_controlh]hwriteback_control}(hjEUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBUubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjGUmodnameN classnameNj@jC)}jF]jI)}j<j Usbc.wbc_detach_inodeasbuh1hhj#Uubj2)}(h h]h }(hjeUhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#Uubj)}(hjh]h*}(hjsUhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#UubjI)}(hwbch]hwbc}(hjUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#Uubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjUubah}(h]h ]h"]h$]h&]j`jauh1juhjThhhjThMCubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjThhhjThMCubah}(h]jTah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjThMChjThhubjw)}(hhh]h)}(h9disassociate wbc from inode and perform foreign detectionh]h9disassociate wbc from inode and perform foreign detection}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMChjUhhubah}(h]h ]h"]h$]h&]uh1jvhjThhhjThMCubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1jhhhjIhNhNubj)}(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)}(hjUh]h Parameters}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMGhjUubj)}(hhh]j)}(hS``struct writeback_control *wbc`` writeback_control of the just finished writeback h](j)}(h!``struct writeback_control *wbc``h]j)}(hjUh]hstruct writeback_control *wbc}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMDhjUubj)}(hhh]h)}(h0writeback_control of the just finished writebackh]h0writeback_control of the just finished writeback}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMDhjVubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjVhMDhjUubah}(h]h ]h"]h$]h&]uh1jhjUubh)}(h**Description**h]j)}(hj&Vh]h Description}(hj(VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Vubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMFhjUubh)}(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.}(hji_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.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMahjUubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j %wbc_account_cgroup_owner (C function)c.wbc_account_cgroup_ownerhNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMubj2)}(h h]h }(hjVhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVhhhjVhMubjC)}(hwbc_account_cgroup_ownerh]jI)}(hwbc_account_cgroup_ownerh]hwbc_account_cgroup_owner}(hjVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjVhhhjVhMubjv)}(hB(struct writeback_control *wbc, struct folio *folio, size_t bytes)h](j|)}(hstruct writeback_control *wbch](j )}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjVubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVubh)}(hhh]jI)}(hwriteback_controlh]hwriteback_control}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjWmodnameN classnameNj@jC)}jF]jI)}j<jVsbc.wbc_account_cgroup_ownerasbuh1hhjVubj2)}(h h]h }(hj4WhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVubj)}(hjh]h*}(hjBWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubjI)}(hwbch]hwbc}(hjOWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjVubj|)}(hstruct folio *folioh](j )}(hjh]hstruct}(hjhWhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjdWubj2)}(h h]h }(hjuWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdWubh)}(hhh]jI)}(hfolioh]hfolio}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjWmodnameN classnameNj@jC)}jF]j0Wc.wbc_account_cgroup_ownerasbuh1hhjdWubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdWubj)}(hjh]h*}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdWubjI)}(hfolioh]hfolio}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdWubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjVubj|)}(h size_t bytesh](h)}(hhh]jI)}(hsize_th]hsize_t}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjWmodnameN classnameNj@jC)}jF]j0Wc.wbc_account_cgroup_ownerasbuh1hhjWubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjWubjI)}(hbytesh]hbytes}(hjXhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjVubeh}(h]h ]h"]h$]h&]j`jauh1juhjVhhhjVhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjVhhhjVhMubah}(h]jVah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjVhMhjVhhubjw)}(hhh]h)}(h2account writeback to update inode cgroup ownershiph]h2account writeback to update inode cgroup ownership}(hj1XhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMhj.Xhhubah}(h]h ]h"]h$]h&]uh1jvhjVhhhjVhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIXjjIXjjjuh1jhhhjIhNhNubj)}(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)}(hjSXh]h Parameters}(hjUXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQXubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMhjMXubj)}(hhh](j)}(hQ``struct writeback_control *wbc`` writeback_control of the writeback in progress h](j)}(h!``struct writeback_control *wbc``h]j)}(hjrXh]hstruct writeback_control *wbc}(hjtXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpXubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMhjlXubj)}(hhh]h)}(h.writeback_control of the writeback in progressh]h.writeback_control of the writeback in progress}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjlXubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjiXubj)}(h0``struct folio *folio`` folio being written out h](j)}(h``struct folio *folio``h]j)}(hjXh]hstruct folio *folio}(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.chMhjXubj)}(hhh]h)}(hfolio being written outh]hfolio being written out}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjiXubj)}(h3``size_t bytes`` number of bytes being written out h](j)}(h``size_t bytes``h]j)}(hjXh]h size_t bytes}(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.chMhjXubj)}(hhh]h)}(h!number of bytes being written outh]h!number of bytes being written out}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhMhjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjiXubeh}(h]h ]h"]h$]h&]uh1jhjMXubh)}(h**Description**h]j)}(hjYh]h Description}(hj!YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMhjMXubh)}(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}(hj9YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5Yubh from }(hj5YhhhNhNubj)}(h **folio**h]hfolio}(hjKYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5Yubh= are about to written out during the writeback controlled by }(hj5YhhhNhNubj)}(h**wbc**h]hwbc}(hj]YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5YubhF. Keep the book for foreign inode detection. See wbc_detach_inode().}(hj5YhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMhjMXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j __mark_inode_dirty (C function)c.__mark_inode_dirtyhNtauh1hhjIhhhNhNubj)}(hhh](j)}(h8void __mark_inode_dirty (struct inode *inode, int flags)h]j)}(h7void __mark_inode_dirty(struct inode *inode, int flags)h](j)}(hvoidh]hvoid}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM ubj2)}(h h]h }(hjYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYhhhjYhM 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`jauh1jBhjYhhhjYhM ubjv)}(h (struct inode *inode, int flags)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jYsbc.__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}(hj,ZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjYubj|)}(h int flagsh](j)}(hinth]hint}(hjEZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAZubj2)}(h h]h }(hjSZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAZubjI)}(hflags*h]hflags}(hjaZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAZubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjYubeh}(h]h ]h"]h$]h&]j`jauh1juhjYhhhjYhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjYhhhjYhM ubah}(h]jYah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjYhM hjYhhubjw)}(hhh]h)}(h(internal function to mark an inode dirtyh]h(internal function to mark an inode dirty}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjZhhubah}(h]h ]h"]h$]h&]uh1jvhjYhhhjYhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1jhhhjIhNhNubj)}(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.chM hjZubj)}(hhh]h)}(h inode to markh]h inode to mark}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhM hjZubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjZhM 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)}(hj[h]h int flags}(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 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)}(hjA[h]h Description}(hjC[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.}(hjW[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.}(hjf[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM 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.}(hju[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM 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.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM 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.chM hjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j #writeback_inodes_sb_nr (C function)c.writeback_inodes_sb_nrhNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[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&]uh1j1hj[hhhj[hM# 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[hM# ubjv)}(hA(struct super_block *sb, unsigned long nr, enum wb_reason reason)h](j|)}(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 classnameNj@jC)}jF]jI)}j<j[sbc.writeback_inodes_sb_nrasbuh1hhj[ubj2)}(h h]h }(hj=\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj[ubj)}(hjh]h*}(hjK\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubjI)}(hsbh]hsb}(hjX\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj[ubj|)}(hunsigned long nrh](j)}(hunsignedh]hunsigned}(hjq\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjm\ubj2)}(h h]h }(hj\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjm\ubj)}(hlongh]hlong}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjm\ubj2)}(h h]h }(hj\hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjm\ubjI)}(hnrh]hnr}(hj\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjm\ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj[ubj|)}(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 classnameNj@jC)}jF]j9\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`jauh1j{hj[ubeh}(h]h ]h"]h$]h&]j`jauh1juhj[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-writeback dirty inodes from given super_blockh]h-writeback dirty inodes from given super_block}(hj6]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM# hj3]hhubah}(h]h ]h"]h$]h&]uh1jvhj[hhhj[hM# ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjN]jjN]jjjuh1jhhhjIhNhNubj)}(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)}(hjX]h]h Parameters}(hjZ]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV]ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM' hjR]ubj)}(hhh](j)}(h*``struct super_block *sb`` the superblock h](j)}(h``struct super_block *sb``h]j)}(hjw]h]hstruct super_block *sb}(hjy]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju]ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM$ hjq]ubj)}(hhh]h)}(hthe superblockh]hthe superblock}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hM$ hj]ubah}(h]h ]h"]h$]h&]uh1jhjq]ubeh}(h]h ]h"]h$]h&]uh1jhj]hM$ hjn]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% hjn]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& hjn]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&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM( hjR]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' hjR]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  writeback_inodes_sb (C function)c.writeback_inodes_sbhNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hji^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhje^hhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM5 ubj2)}(h h]h }(hjx^hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hje^hhhjw^hM5 ubjC)}(hwriteback_inodes_sbh]jI)}(hwriteback_inodes_sbh]hwriteback_inodes_sb}(hj^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj^ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhje^hhhjw^hM5 ubjv)}(h/(struct super_block *sb, enum wb_reason reason)h](j|)}(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 classnameNj@jC)}jF]jI)}j<j^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`jauh1j{hj^ubj|)}(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}(hj6_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3_ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj8_modnameN classnameNj@jC)}jF]j^c.writeback_inodes_sbasbuh1hhj_ubj2)}(h h]h }(hjT_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_ubjI)}(hreasonh]hreason}(hjb_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj^ubeh}(h]h ]h"]h$]h&]j`jauh1juhje^hhhjw^hM5 ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhja^hhhjw^hM5 ubah}(h]j\^ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjw^hM5 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.chM5 hj_hhubah}(h]h ]h"]h$]h&]uh1jvhj^^hhhjw^hM5 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_jj_jjjuh1jhhhjIhNhNubj)}(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.chM9 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.chM6 hj_ubj)}(hhh]h)}(hthe superblockh]hthe superblock}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hM6 hj_ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhj_hM6 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.chM7 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`hM7 hj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hM7 hj_ubeh}(h]h ]h"]h$]h&]uh1jhj_ubh)}(h**Description**h]j)}(hjA`h]h Description}(hjC`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.chM9 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.}(hjW`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM8 hj_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j 'try_to_writeback_inodes_sb (C function)c.try_to_writeback_inodes_sbhNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`hhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMD ubj2)}(h h]h }(hj`hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj`hhhj`hMD 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`jauh1jBhj`hhhj`hMD ubjv)}(h/(struct super_block *sb, enum wb_reason reason)h](j|)}(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 classnameNj@jC)}jF]jI)}j<j`sbc.try_to_writeback_inodes_sbasbuh1hhj`ubj2)}(h h]h }(hjahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj`ubj)}(hjh]h*}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`ubjI)}(hsbh]hsb}(hjahhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj`ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj`ubj|)}(henum wb_reason reasonh](j )}(hj#h]henum}(hj5ahhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj1aubj2)}(h h]h }(hjBahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1aubh)}(hhh]jI)}(h wb_reasonh]h wb_reason}(hjSahhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPaubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjUamodnameN classnameNj@jC)}jF]j`c.try_to_writeback_inodes_sbasbuh1hhj1aubj2)}(h h]h }(hjqahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1aubjI)}(hreasonh]hreason}(hjahhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1aubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj`ubeh}(h]h ]h"]h$]h&]j`jauh1juhj`hhhj`hMD ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj~`hhhj`hMD ubah}(h]jy`ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj`hMD hj{`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.chMD hjahhubah}(h]h ]h"]h$]h&]uh1jvhj{`hhhj`hMD ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1jhhhjIhNhNubj)}(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.chMH 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.chME hjaubj)}(hhh]h)}(hthe superblockh]hthe superblock}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahME hjbubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahME hjaubj)}(hG``enum wb_reason reason`` reason why some writeback work was initiated h](j)}(h``enum wb_reason reason``h]j)}(hj#bh]henum wb_reason reason}(hj%bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!bubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMF hjbubj)}(hhh]h)}(h,reason why some writeback work was initiatedh]h,reason why some writeback work was initiated}(hjah"]h$]h&]uh1j1hjbhhhjbhMU 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`jauh1jBhjbhhhjbhMU ubjv)}(h(struct super_block *sb)h]j|)}(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< reftargetjcmodnameN classnameNj@jC)}jF]jI)}j<jbsbc.sync_inodes_sbasbuh1hhjbubj2)}(h h]h }(hjchhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbubj)}(hjh]h*}(hj,chhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjbubjI)}(hsbh]hsb}(hj9chhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjbubah}(h]h ]h"]h$]h&]j`jauh1juhjbhhhjbhMU ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjbhhhjbhMU ubah}(h]jbah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjbhMU hjbhhubjw)}(hhh]h)}(hsync sb inode pagesh]hsync sb inode pages}(hjcchhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMU hj`chhubah}(h]h ]h"]h$]h&]uh1jvhjbhhhjbhMU ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{cjj{cjjjuh1jhhhjIhNhNubj)}(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)}(hjch]h Parameters}(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.chMY hjcubj)}(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.chMV hjcubj)}(hhh]h)}(hthe superblockh]hthe superblock}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchMV hjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchMV 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&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMX hjcubh)}(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.chMW hjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j write_inode_now (C function)c.write_inode_nowhNtauh1hhjIhhhNhNubj)}(hhh](j)}(h3int write_inode_now (struct inode *inode, int sync)h]j)}(h2int write_inode_now(struct inode *inode, int sync)h](j)}(hinth]hint}(hj$dhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj dhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM ubj2)}(h h]h }(hj3dhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj dhhhj2dhM ubjC)}(hwrite_inode_nowh]jI)}(hwrite_inode_nowh]hwrite_inode_now}(hjEdhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAdubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj dhhhj2dhM ubjv)}(h(struct inode *inode, int sync)h](j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjadhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj]dubj2)}(h h]h }(hjndhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj]dubh)}(hhh]jI)}(hinodeh]hinode}(hjdhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|dubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjdmodnameN classnameNj@jC)}jF]jI)}j<jGdsbc.write_inode_nowasbuh1hhj]dubj2)}(h h]h }(hjdhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj]dubj)}(hjh]h*}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]dubjI)}(hinodeh]hinode}(hjdhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj]dubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjYdubj|)}(hint synch](j)}(hinth]hint}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj2)}(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`jauh1j{hjYdubeh}(h]h ]h"]h$]h&]j`jauh1juhj dhhhj2dhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjdhhhj2dhM ubah}(h]jdah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj2dhM 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&]uh1jvhjdhhhj2dhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1ejj1ejjjuh1jhhhjIhNhNubj)}(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&]uh1jhj9eubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj5eubj)}(hhh](j)}(h/``struct inode *inode`` inode to write to disk h](j)}(h``struct inode *inode``h]j)}(hjZeh]hstruct inode *inode}(hj\ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXeubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjTeubj)}(hhh]h)}(hinode to write to diskh]hinode to write to disk}(hjsehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjoehM hjpeubah}(h]h ]h"]h$]h&]uh1jhjTeubeh}(h]h ]h"]h$]h&]uh1jhjoehM hjQeubj)}(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 hjeubj)}(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&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehM hjQeubeh}(h]h ]h"]h$]h&]uh1jhj5eubh)}(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 hj5eubh)}(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 hj5eubh)}(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 hj5eubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  sync_inode_metadata (C function)c.sync_inode_metadatahNtauh1hhjIhhhNhNubj)}(hhh](j)}(h7int sync_inode_metadata (struct inode *inode, int wait)h]j)}(h6int sync_inode_metadata(struct inode *inode, int wait)h](j)}(hinth]hint}(hj"fhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM ubj2)}(h h]h }(hj1fhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjfhhhj0fhM ubjC)}(hsync_inode_metadatah]jI)}(hsync_inode_metadatah]hsync_inode_metadata}(hjCfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj?fubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjfhhhj0fhM ubjv)}(h(struct inode *inode, int wait)h](j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj_fhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj[fubj2)}(h h]h }(hjlfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj[fubh)}(hhh]jI)}(hinodeh]hinode}(hj}fhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzfubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjfmodnameN classnameNj@jC)}jF]jI)}j<jEfsbc.sync_inode_metadataasbuh1hhj[fubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj[fubj)}(hjh]h*}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[fubjI)}(hinodeh]hinode}(hjfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[fubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjWfubj|)}(hint waith](j)}(hinth]hint}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj2)}(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`jauh1j{hjWfubeh}(h]h ]h"]h$]h&]j`jauh1juhjfhhhj0fhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjfhhhj0fhM ubah}(h]jfah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj0fhM 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&]uh1jvhjfhhhj0fhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/gjj/gjjjuh1jhhhjIhNhNubj)}(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)}(hj9gh]h Parameters}(hj;ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7gubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj3gubj)}(hhh](j)}(h*``struct inode *inode`` the inode to sync h](j)}(h``struct inode *inode``h]j)}(hjXgh]hstruct inode *inode}(hjZghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVgubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjRgubj)}(hhh]h)}(hthe inode to synch]hthe inode to sync}(hjqghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmghM hjngubah}(h]h ]h"]h$]h&]uh1jhjRgubeh}(h]h ]h"]h$]h&]uh1jhjmghM hjOgubj)}(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&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjgubj)}(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&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghM hjOgubeh}(h]h ]h"]h$]h&]uh1jhj3gubh)}(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 hj3gubh)}(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 hj3gubh)}(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 hj3gubh)}(hConly writes the actual inode, no associated data or other metadata.h]hConly writes the actual inode, no associated data or other metadata.}(hj hhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj3gubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j anon_inode_getfile (C function)c.anon_inode_getfilehNtauh1hhjIhhhNhNubj)}(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}(hj8hhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj4hhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKubj2)}(h h]h }(hjFhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4hhhhjEhhKubh)}(hhh]jI)}(hfileh]hfile}(hjWhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjThubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjYhmodnameN classnameNj@jC)}jF]jI)}j<anon_inode_getfilesbc.anon_inode_getfileasbuh1hhj4hhhhjEhhKubj2)}(h h]h }(hjxhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4hhhhjEhhKubj)}(hjh]h*}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4hhhhjEhhKubjC)}(hanon_inode_getfileh]jI)}(hjuhh]hanon_inode_getfile}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj4hhhhjEhhKubjv)}(hM(const char *name, const struct file_operations *fops, void *priv, int flags)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhubj2)}(h h]h }(hjhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhubj)}(hcharh]hchar}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhubj2)}(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`jauh1j{hjhubj|)}(h"const struct file_operations *fopsh](j )}(hjh]hconst}(hjihhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj iubj2)}(h h]h }(hjihhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj iubj )}(hjh]hstruct}(hj*ihhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj iubj2)}(h h]h }(hj7ihhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj iubh)}(hhh]jI)}(hfile_operationsh]hfile_operations}(hjHihhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEiubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjJimodnameN classnameNj@jC)}jF]jshc.anon_inode_getfileasbuh1hhj iubj2)}(h h]h }(hjfihhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj iubj)}(hjh]h*}(hjtihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj iubjI)}(hfopsh]hfops}(hjihhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj iubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjhubj|)}(h void *privh](j)}(hvoidh]hvoid}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj2)}(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`jauh1j{hjhubj|)}(h int flagsh](j)}(hinth]hint}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjiubj2)}(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`jauh1j{hjhubeh}(h]h ]h"]h$]h&]j`jauh1juhj4hhhhjEhhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj0hhhhjEhhKubah}(h]j+hah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjEhhKhj-hhhubjw)}(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}(hj"jhhhNhNubah}(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&]uh1jvhj-hhhhjEhhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jjj:jjjjuh1jhhhjIhNhNubj)}(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)}(hjDjh]h Parameters}(hjFjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBjubah}(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)}(hjcjh]hconst char *name}(hjejhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjajubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhj]jubj)}(hhh]h)}(h+[in] name of the "class" of the new fileh]h/[in] name of the “class” of the new file}(hj|jhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxjhKhjyjubah}(h]h ]h"]h$]h&]uh1jhj]jubeh}(h]h ]h"]h$]h&]uh1jhjxjhKhjZjubj)}(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&]uh1jhjjhKhjZjubj)}(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&]uh1jhjjhKhjZjubj)}(h``int flags`` [in] flags h](j)}(h ``int flags``h]j)}(hjkh]h int flags}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj kubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjkubj)}(hhh]h)}(h [in] flagsh]h [in] flags}(hj'khhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#khKhj$kubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhj#khKhjZjubeh}(h]h ]h"]h$]h&]uh1jhj>jubh)}(h**Description**h]j)}(hjIkh]h Description}(hjKkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGkubah}(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.}(hj_khhhNhNubah}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j %anon_inode_getfile_fmode (C function)c.anon_inode_getfile_fmodehNtauh1hhjIhhhNhNubj)}(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}(hjkhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjkhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKubj2)}(h h]h }(hjkhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkhhhjkhKubh)}(hhh]jI)}(hfileh]hfile}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjkubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjkmodnameN classnameNj@jC)}jF]jI)}j<anon_inode_getfile_fmodesbc.anon_inode_getfile_fmodeasbuh1hhjkhhhjkhKubj2)}(h h]h }(hjkhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkhhhjkhKubj)}(hjh]h*}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkhhhjkhKubjC)}(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`jauh1jBhjkhhhjkhKubjv)}(h](const char *name, const struct file_operations *fops, void *priv, int flags, fmode_t f_mode)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hjlhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjlubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjlubj)}(hcharh]hchar}(hj#lhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj2)}(h h]h }(hj1lhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjlubj)}(hjh]h*}(hj?lhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubjI)}(hnameh]hname}(hjLlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjlubj|)}(h"const struct file_operations *fopsh](j )}(hjh]hconst}(hjelhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjalubj2)}(h h]h }(hjrlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjalubj )}(hjh]hstruct}(hjlhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjalubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjalubh)}(hhh]jI)}(hfile_operationsh]hfile_operations}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjlmodnameN classnameNj@jC)}jF]jkc.anon_inode_getfile_fmodeasbuh1hhjalubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjalubj)}(hjh]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjalubjI)}(hfopsh]hfops}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjalubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjlubj|)}(h void *privh](j)}(hvoidh]hvoid}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjlubj)}(hjh]h*}(hj mhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubjI)}(hprivh]hpriv}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjlubj|)}(h int flagsh](j)}(hinth]hint}(hj2mhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.mubj2)}(h h]h }(hj@mhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.mubjI)}(hflagsh]hflags}(hjNmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj.mubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjlubj|)}(hfmode_t f_modeh](h)}(hhh]jI)}(hfmode_th]hfmode_t}(hjjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjgmubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjlmmodnameN classnameNj@jC)}jF]jkc.anon_inode_getfile_fmodeasbuh1hhjcmubj2)}(h h]h }(hjmhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcmubjI)}(hf_modeh]hf_mode}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjcmubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjlubeh}(h]h ]h"]h$]h&]j`jauh1juhjkhhhjkhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjkhhhjkhKubah}(h]jkah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjkhKhjkhhubjw)}(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&]uh1jvhjkhhhjkhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1jhhhjIhNhNubj)}(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)}(hjnh]hconst char *name}(hjnhhhNhNubah}(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}(hjnhhhNhNubah}(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}(hjah"]h$]h&]uh1j1hjaohhhjrohKubh)}(hhh]jI)}(hfileh]hfile}(hjohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjomodnameN classnameNj@jC)}jF]jI)}j<anon_inode_create_getfilesbc.anon_inode_create_getfileasbuh1hhjaohhhjrohKubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjaohhhjrohKubj)}(hjh]h*}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaohhhjrohKubjC)}(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`jauh1jBhjaohhhjrohKubjv)}(hp(const char *name, const struct file_operations *fops, void *priv, int flags, const struct inode *context_inode)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hjohhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjoubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjoubj)}(hcharh]hchar}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubj2)}(h h]h }(hjphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjoubj)}(hjh]h*}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjoubjI)}(hnameh]hname}(hj#phhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjoubj|)}(h"const struct file_operations *fopsh](j )}(hjh]hconst}(hjah"]h$]h&]uh1j1hj8pubj )}(hjh]hstruct}(hjWphhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj8pubj2)}(h h]h }(hjdphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8pubh)}(hhh]jI)}(hfile_operationsh]hfile_operations}(hjuphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjrpubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjwpmodnameN classnameNj@jC)}jF]joc.anon_inode_create_getfileasbuh1hhj8pubj2)}(h h]h }(hjphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8pubj)}(hjh]h*}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8pubjI)}(hfopsh]hfops}(hjphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8pubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjoubj|)}(h void *privh](j)}(hvoidh]hvoid}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj2)}(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`jauh1j{hjoubj|)}(h int flagsh](j)}(hinth]hint}(hj qhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubjI)}(hflagsh]hflags}(hj%qhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjoubj|)}(h!const struct inode *context_inodeh](j )}(hjh]hconst}(hj>qhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj:qubj2)}(h h]h }(hjKqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj:qubj )}(hjh]hstruct}(hjYqhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj:qubj2)}(h h]h }(hjfqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj:qubh)}(hhh]jI)}(hinodeh]hinode}(hjwqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtqubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjyqmodnameN classnameNj@jC)}jF]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`jauh1j{hjoubeh}(h]h ]h"]h$]h&]j`jauh1juhjaohhhjrohKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj]ohhhjrohKubah}(h]jXoah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjrohKhjZohhubjw)}(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&]uh1jvhjZohhhjrohKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1jhhhjIhNhNubj)}(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)}(hjrh]hconst char *name}(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] name of the "class" of the new fileh]h/[in] name of the “class” of the new file}(hj4rhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0rhKhj1rubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhj0rhKhjrubj)}(hP``const struct file_operations *fops`` [in] file operations for the new file h](j)}(h&``const struct file_operations *fops``h]j)}(hjTrh]h"const struct file_operations *fops}(hjVrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRrubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjNrubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(hjmrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjirhKhjjrubah}(h]h ]h"]h$]h&]uh1jhjNrubeh}(h]h ]h"]h$]h&]uh1jhjirhKhjrubj)}(hS``void *priv`` [in] private data for the new file (will be file's private_data) h](j)}(h``void *priv``h]j)}(hjrh]h void *priv}(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)}(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&]uh1jhjrubeh}(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}(hjshhhNhNubah}(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}(hjah"]h$]h&]uh1j1hjshhhjshM ubjC)}(hanon_inode_getfdh]jI)}(hanon_inode_getfdh]hanon_inode_getfd}(hj thhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjshhhjshM ubjv)}(hM(const char *name, const struct file_operations *fops, void *priv, int flags)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hj'thhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj#tubj2)}(h h]h }(hj4thhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#tubj)}(hcharh]hchar}(hjBthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#tubj2)}(h h]h }(hjPthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#tubj)}(hjh]h*}(hj^thhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#tubjI)}(hnameh]hname}(hjkthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#tubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjtubj|)}(h"const struct file_operations *fopsh](j )}(hjh]hconst}(hjthhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjtubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubj )}(hjh]hstruct}(hjthhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjtubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubh)}(hhh]jI)}(hfile_operationsh]hfile_operations}(hjthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjtmodnameN classnameNj@jC)}jF]jI)}j<j tsbc.anon_inode_getfdasbuh1hhjtubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubjI)}(hfopsh]hfops}(hjthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjtubj|)}(h void *privh](j)}(hvoidh]hvoid}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj uubj2)}(h h]h }(hjuhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj uubj)}(hjh]h*}(hj-uhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj uubjI)}(hprivh]hpriv}(hj:uhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj uubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjtubj|)}(h int flagsh](j)}(hinth]hint}(hjSuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOuubj2)}(h h]h }(hjauhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjOuubjI)}(hflagsh]hflags}(hjouhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjOuubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjtubeh}(h]h ]h"]h$]h&]j`jauh1juhjshhhjshM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjshhhjshM ubah}(h]jsah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjshM hjshhubjw)}(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.chM hjuhhubah}(h]h ]h"]h$]h&]uh1jvhjshhhjshM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjujjujjjuh1jhhhjIhNhNubj)}(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%hj vubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(hj,vhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(vhM%hj)vubah}(h]h ]h"]h$]h&]uh1jhj vubeh}(h]h ]h"]h$]h&]uh1jhj(vhM%hjuubj)}(hS``void *priv`` [in] private data for the new file (will be file's private_data) h](j)}(h``void *priv``h]j)}(hjLvh]h void *priv}(hjNvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJvubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chM&hjFvubj)}(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)}(hjevhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjavhM&hjbvubah}(h]h ]h"]h$]h&]uh1jhjFvubeh}(h]h ]h"]h$]h&]uh1jhjavhM&hjuubj)}(h``int flags`` [in] flags h](j)}(h ``int flags``h]j)}(hjvh]h int flags}(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'hjvubj)}(hhh]h)}(h [in] flagsh]h [in] flags}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhM'hjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j %setattr_should_drop_sgid (C function)c.setattr_should_drop_sgidhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwhhhjwhKubjC)}(hsetattr_should_drop_sgidh]jI)}(hsetattr_should_drop_sgidh]hsetattr_should_drop_sgid}(hj&whhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj"wubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjwhhhjwhKubjv)}(h4(struct mnt_idmap *idmap, const struct inode *inode)h](j|)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjBwhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj>wubj2)}(h h]h }(hjOwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj>wubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hj`whhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj]wubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjbwmodnameN classnameNj@jC)}jF]jI)}j<j(wsbc.setattr_should_drop_sgidasbuh1hhj>wubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj>wubj)}(hjh]h*}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>wubjI)}(hidmaph]hidmap}(hjwhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj>wubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj:wubj|)}(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 classnameNj@jC)}jF]j|wc.setattr_should_drop_sgidasbuh1hhjwubj2)}(h h]h }(hj xhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjwubj)}(hjh]h*}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjwubjI)}(hinodeh]hinode}(hj&xhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj:wubeh}(h]h ]h"]h$]h&]j`jauh1juhjwhhhjwhKubeh}(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}(hjPxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjMxhhubah}(h]h ]h"]h$]h&]uh1jvhjvhhhjwhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhxjjhxjjjuh1jhhhjIhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from ``const struct inode *inode`` inode to check **Description** This function determines whether the setgid bit needs to be removed. We retain backwards compatibility and require setgid bit to be removed unconditionally if S_IXGRP is set. Otherwise we have the exact same requirements as setattr_prepare() and setattr_copy(). **Return** ATTR_KILL_SGID if setgid bit needs to be removed, 0 otherwise.h](h)}(h**Parameters**h]j)}(hjrxh]h Parameters}(hjtxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpxubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjlxubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjxh]hstruct mnt_idmap *idmap}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjxubj)}(hhh]h)}(h+idmap of the mount **inode** was found fromh](hidmap of the mount }(hjxhhhNhNubj)}(h **inode**h]hinode}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh was found from}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjxhKhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhKhjxubj)}(h-``const struct inode *inode`` inode to check h](j)}(h``const struct inode *inode``h]j)}(hjxh]hconst struct inode *inode}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjxubj)}(hhh]h)}(hinode to checkh]hinode to check}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhKhjxubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjxhKhjxubeh}(h]h ]h"]h$]h&]uh1jhjlxubh)}(h**Description**h]j)}(hjyh]h Description}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjlxubh)}(hXThis function determines whether the setgid bit needs to be removed. We retain backwards compatibility and require setgid bit to be removed unconditionally if S_IXGRP is set. Otherwise we have the exact same requirements as setattr_prepare() and setattr_copy().h]hXThis function determines whether the setgid bit needs to be removed. We retain backwards compatibility and require setgid bit to be removed unconditionally if S_IXGRP is set. Otherwise we have the exact same requirements as setattr_prepare() and setattr_copy().}(hj-yhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjlxubh)}(h **Return**h]j)}(hj>yh]hReturn}(hj@yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjATTR_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.}(hjTyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjlxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j (setattr_should_drop_suidgid (C function)c.setattr_should_drop_suidgidhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chK1ubj2)}(h h]h }(hjyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjyhhhjyhK1ubjC)}(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`jauh1jBhjyhhhjyhK1ubjv)}(h.(struct mnt_idmap *idmap, struct inode *inode)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jysbc.setattr_should_drop_suidgidasbuh1hhjyubj2)}(h h]h }(hjyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjyubj)}(hjh]h*}(hj zhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubjI)}(hidmaph]hidmap}(hjzhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjyubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjyubj|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj2zhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj.zubj2)}(h h]h }(hj?zhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.zubh)}(hhh]jI)}(hinodeh]hinode}(hjPzhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMzubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjRzmodnameN classnameNj@jC)}jF]jyc.setattr_should_drop_suidgidasbuh1hhj.zubj2)}(h h]h }(hjnzhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj.zubj)}(hjh]h*}(hj|zhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.zubjI)}(hinodeh]hinode}(hjzhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj.zubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjyubeh}(h]h ]h"]h$]h&]j`jauh1juhjyhhhjyhK1ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj{yhhhjyhK1ubah}(h]jvyah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjyhK1hjxyhhubjw)}(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&]uh1jvhjxyhhhjyhK1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1jhhhjIhNhNubj)}(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 }(hj {hhhNhNubj)}(h **inode**h]hinode}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj {ubh was found from}(hj {hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj {hK3hj {ubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhj {hK3hjzubj)}(h'``struct inode *inode`` inode to check 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chK4hj9{ubj)}(hhh]h)}(hinode to checkh]hinode to check}(hjX{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjT{hK4hjU{ubah}(h]h ]h"]h$]h&]uh1jhj9{ubeh}(h]h ]h"]h$]h&]uh1jhjT{hK4hjzubeh}(h]h ]h"]h$]h&]uh1jhjzubh)}(h**Description**h]j)}(hjz{h]h Description}(hj|{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx{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{hKubjv)}(hD(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr)h](j|)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hj#|hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj|ubj2)}(h h]h }(hj0|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|ubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjA|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj>|ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjC|modnameN classnameNj@jC)}jF]jI)}j<j |sbc.setattr_prepareasbuh1hhj|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)}(hidmaph]hidmap}(hj||hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj|ubj|)}(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 classnameNj@jC)}jF]j]|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`jauh1j{hj|ubj|)}(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 classnameNj@jC)}jF]j]|c.setattr_prepareasbuh1hhj}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)}(hattrh]hattr}(hj\}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj|ubeh}(h]h ]h"]h$]h&]j`jauh1juhj{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}(hj}hhhNhNubah}(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&]uh1jvhj{hhhj{hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}jj}jjjuh1jhhhjIhNhNubj)}(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)}(hj9~h]hstruct iattr *attr}(hj;~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7~ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhj3~ubj)}(hhh]h)}(hattributes to changeh]hattributes to change}(hjR~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjN~hKhjO~ubah}(h]h ]h"]h$]h&]uh1jhj3~ubeh}(h]h ]h"]h$]h&]uh1jhjN~hKhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}ubh)}(h**Description**h]j)}(hjt~h]h Description}(hjv~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr~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 }(hj~hhhNhNubj)}(h**attr**h]hattr}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~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.}(hj~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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j inode_newsize_ok (C function)c.inode_newsize_okhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKubj2)}(h h]h }(hj.hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj-hKubjC)}(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`jauh1jBhjhhhj-hKubjv)}(h*(const struct inode *inode, loff_t offset)h](j|)}(hconst struct inode *inodeh](j )}(hjh]hconst}(hj\hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjXubj2)}(h h]h }(hjihhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXubj )}(hjh]hstruct}(hjwhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjXubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jBsbc.inode_newsize_okasbuh1hhjXubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjTubj|)}(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 classnameNj@jC)}jF]jc.inode_newsize_okasbuh1hhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjTubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhj-hKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj-hKubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj-hKhjhhubjw)}(hhh]h)}(h+may this inode be truncated to a given sizeh]h+may this inode be truncated to a given size}(hjBhhhNhNubah}(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&]uh1jvhjhhhj-hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1jhhhjIhNhNubj)}(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)}(hjdh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhj^ubj)}(hhh](j)}(h8``const struct inode *inode`` the inode to be truncated 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhj}ubj)}(hhh]h)}(hthe inode to be truncatedh]hthe inode to be truncated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjzubj)}(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&]uh1hhjрhKhjҀubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjрhKhjzubeh}(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:77: ./fs/attr.chKhj^ubh)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhj^ubh)}(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. }(hjhhhNhNubj)}(h **inode**h]hinode}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh must be a file (not directory), with appropriate permissions to allow truncate (inode_newsize_ok does NOT check these conditions).}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhj^ubh)}(h **Return**h]j)}(hj?h]hReturn}(hjAhhhNhNubah}(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^ubh)}(h"0 on success, -ve errno on failureh]h"0 on success, -ve errno on failure}(hjUhhhNhNubah}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j setattr_copy (C function)c.setattr_copyhNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chM>ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM>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`jauh1jBhjhhhjhM>ubjv)}(hH(struct mnt_idmap *idmap, struct inode *inode, const struct iattr *attr)h](j|)}(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}(hj߁hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj܁ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jsbc.setattr_copyasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(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`jauh1j{hjubj|)}(hstruct inode *inodeh](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)}(hinodeh]hinode}(hjQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjSmodnameN classnameNj@jC)}jF]jc.setattr_copyasbuh1hhj/ubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/ubj)}(hjh]h*}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 }(hj˂hhhNhNubah}(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 classnameNj@jC)}jF]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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM>ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj|hhhjhM>ubah}(h]jwah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM>hjyhhubjw)}(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&]uh1jvhjyhhhjhM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjWjjWjjjuh1jhhhjIhNhNubj)}(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)}(hjah]h Parameters}(hjchhhNhNubah}(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.chMBhj[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)}(hjh]hstruct mnt_idmap *idmap}(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.chM?hjzubj)}(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&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjwubj)}(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}(hj҃hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj΃hM@hjσubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj΃hM@hjwubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMAhjubj)}(hhh]h)}(hthe new attributesh]hthe new attributes}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjwubeh}(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&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMChj[ubh)}(h:setattr_copy must be called with i_rwsem held exclusively.h]h:setattr_copy must be called with i_rwsem held exclusively.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMBhj[ubh)}(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.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMDhj[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 }(hjahhhNhNubj)}(h **idmap**h]hidmap}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubhB. This function will then take care to map the inode according to }(hjahhhNhNubj)}(h **idmap**h]hidmap}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjahhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh.}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMKhj[ubh)}(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.chMQhj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j notify_change (C function)c.notify_changehNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjՄhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjфhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjфhhhjhMubjC)}(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`jauh1jBhjфhhhjhMubjv)}(hm(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr, struct delegated_inode *delegated_inode)h](j|)}(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}(hj0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj2modnameN classnameNj@jC)}jF]jI)}j<jsbc.notify_changeasbuh1hhjubj2)}(h h]h }(hjPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj ubj|)}(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 classnameNj@jC)}jF]jLc.notify_changeasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj΅hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdentryh]hdentry}(hjۅhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj ubj|)}(hstruct iattr *attrh](j )}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jLc.notify_changeasbuh1hhjubj2)}(h h]h }(hj0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hattrh]hattr}(hjKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj ubj|)}(h'struct delegated_inode *delegated_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)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jLc.notify_changeasbuh1hhj`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`jauh1j{hj ubeh}(h]h ]h"]h$]h&]j`jauh1juhjфhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj̈́hhhjhMubah}(h]jȄah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjʄhhubjw)}(hhh]h)}(h(modify attributes of a filesystem objecth]h(modify attributes of a filesystem object}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjʄhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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}(hj hhhNhNubah}(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)}(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.chMhj 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;hMhjubj)}(h*``struct dentry *dentry`` object affected h](j)}(h``struct dentry *dentry``h]j)}(hj_h]hstruct dentry *dentry}(hjahhhNhNubah}(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.chMhjYubj)}(hhh]h)}(hobject affectedh]hobject affected}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjubj)}(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&]uh1jhjhMhjubj)}(hU``struct delegated_inode *delegated_inode`` returns 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjˇubj)}(hhh]h)}(h(returns inode, if the inode is delegatedh]h(returns 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)}(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: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.}(hj"hhhNhNubah}(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.}(hj1hhhNhNubah}(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 }(hjOhhhNhNubj)}(h **idmap**h]hidmap}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubhB. This function will then take care to map the inode according to }(hjOhhhNhNubj)}(h **idmap**h]hidmap}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjOhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j d_path (C function)c.d_pathhNtauh1hhjIhhhNhNubj)}(hhh](j)}(h>char * d_path (const struct path *path, char *buf, int buflen)h]j)}(hah"]h$]h&]uh1j1hjhhhjˆhKubj)}(hjh]h*}(hjшhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjˆhKubjC)}(hd_pathh]jI)}(hd_pathh]hd_path}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjވubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjˆhKubjv)}(h0(const struct path *path, char *buf, int buflen)h](j|)}(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}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj9modnameN classnameNj@jC)}jF]jI)}j<jsbc.d_pathasbuh1hhjubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hpathh]hpath}(hjrhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h char *bufh](j)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h int buflenh](j)}(hinth]hint}(hj͉hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjɉubj2)}(h h]h }(hjۉhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjɉubjI)}(hbuflenh]hbuflen}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjɉubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjˆhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjˆhKubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjˆhKhjhhubjw)}(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&]uh1jvhjhhhjˆhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1jhhhjIhNhNubj)}(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)}(hj5h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/d_path.chKhj/ubj)}(hhh](j)}(h+``const struct path *path`` path to report h](j)}(h``const struct path *path``h]j)}(hjTh]hconst struct path *path}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/d_path.chKhjNubj)}(hhh]h)}(hpath to reporth]hpath to report}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihKhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihKhjKubj)}(h(``char *buf`` buffer to return value in h](j)}(h ``char *buf``h]j)}(hjh]h char *buf}(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)}(hbuffer to return value inh]hbuffer to return value in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjKubj)}(h``int buflen`` buffer length h](j)}(h``int buflen``h]j)}(hjƊh]h int buflen}(hjȊhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjĊubah}(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ۊhKhjKubeh}(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:80: ./fs/d_path.chKhj/ubh)}(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.chKhj/ubh)}(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.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/d_path.chMhj/ubh)}(h"buflen" should be positive.h]h “buflen” should be positive.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/d_path.chMhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "dax_folio_reset_order (C function)c.dax_folio_reset_orderhNtauh1hhjIhhhNhNubj)}(hhh](j)}(h/int dax_folio_reset_order (struct folio *folio)h]j)}(h.int dax_folio_reset_order(struct folio *folio)h](j)}(hinth]hint}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj`hhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM}ubj2)}(h h]h }(hjshhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj`hhhjrhM}ubjC)}(hdax_folio_reset_orderh]jI)}(hdax_folio_reset_orderh]hdax_folio_reset_order}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj`hhhjrhM}ubjv)}(h(struct folio *folio)h]j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.dax_folio_reset_orderasbuh1hhjubj2)}(h h]h }(hjߋhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfolioh]hfolio}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhj`hhhjrhM}ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj\hhhjrhM}ubah}(h]jWah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjrhM}hjYhhubjw)}(hhh]h)}(h+Reset a compound DAX folio to order-0 pagesh]h+Reset a compound DAX folio to order-0 pages}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM}hj!hhubah}(h]h ]h"]h$]h&]uh1jvhjYhhhjrhM}ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1jhhhjIhNhNubj)}(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)}(hjFh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(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)}(hjeh]hstruct folio *folio}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM~hj_ubj)}(hhh]h)}(hThe folio to reseth]hThe folio to reset}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhM~hj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhM~hj\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&]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)}(hjnjh]hReturn}(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.chMhj@ubh)}(h/the original folio order (0 if already order-0)h]h/the original folio order (0 if already order-0)}(hj݌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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j 'dax_layout_busy_page_range (C function)c.dax_layout_busy_page_rangehNtauh1hhjIhhhNhNubj)}(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}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubh)}(hhh]jI)}(hpageh]hpage}(hj+hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj-modnameN classnameNj@jC)}jF]jI)}j<dax_layout_busy_page_rangesbc.dax_layout_busy_page_rangeasbuh1hhjhhhjhMubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(hdax_layout_busy_page_rangeh]jI)}(hjIh]hdax_layout_busy_page_range}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjgubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h9(struct address_space *mapping, loff_t start, loff_t end)h](j|)}(hstruct address_space *mappingh](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 address_spaceh]h address_space}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jGc.dax_layout_busy_page_rangeasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjЍhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hmappingh]hmapping}(hjݍhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj~ubj|)}(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 classnameNj@jC)}jF]jGc.dax_layout_busy_page_rangeasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hstarth]hstart}(hj%hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj~ubj|)}(h loff_t endh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjCmodnameN classnameNj@jC)}jF]jGc.dax_layout_busy_page_rangeasbuh1hhj:ubj2)}(h h]h }(hj_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj:ubjI)}(hendh]hend}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj:ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj~ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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.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)}(hjh]hstruct address_space *mapping}(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)}(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&]uh1jhjubeh}(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}(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)}(h5Starting offset. Page containing 'start' is included.h]h9Starting offset. Page containing ‘start’ is included.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjݎ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)}(hjXh]h loff_t end}(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.chM hjRubj)}(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.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM hjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhM 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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j dax_iomap_rw (C function)c.dax_iomap_rwhNtauh1hhjIhhhNhNubj)}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j< dax_iomap_rwsbc.dax_iomap_rwasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj hMubjC)}(h dax_iomap_rwh]jI)}(hj h]h dax_iomap_rw}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj hMubjv)}(hH(struct kiocb *iocb, struct iov_iter *iter, const struct iomap_ops *ops)h](j|)}(hstruct kiocb *iocbh](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)}(hkiocbh]hkiocb}(hjXhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjUubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjZmodnameN classnameNj@jC)}jF]jc.dax_iomap_rwasbuh1hhj6ubj2)}(h h]h }(hjvhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubjI)}(hiocbh]hiocb}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj2ubj|)}(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}(hjȐhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjŐubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjʐmodnameN classnameNj@jC)}jF]jc.dax_iomap_rwasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(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`jauh1j{hj2ubj|)}(hconst struct iomap_ops *opsh](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}(hj5hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h iomap_opsh]h iomap_ops}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjUmodnameN classnameNj@jC)}jF]jc.dax_iomap_rwasbuh1hhjubj2)}(h h]h }(hjqhhhNhNubah}(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`jauh1j{hj2ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhj hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj hMubah}(h]jۏah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj hMhjݏ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ݏhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjΑjjΑjjjuh1jhhhjIhNhNubj)}(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.chMhjґubj)}(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&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h=``struct iov_iter *iter`` The addresses to do I/O from or to h](j)}(h``struct iov_iter *iter``h]j)}(hj0h]hstruct iov_iter *iter}(hj2hhhNhNubah}(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)}(h"The addresses to do I/O from or toh]h"The addresses to do I/O from or to}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjubj)}(hF``const struct iomap_ops *ops`` iomap ops passed from the file system h](j)}(h``const struct iomap_ops *ops``h]j)}(hjih]hconst struct iomap_ops *ops}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjcubj)}(hhh]h)}(h%iomap ops passed from the file systemh]h%iomap ops passed from the file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(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&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjґubh)}(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.chMhjґubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j dax_iomap_fault (C function)c.dax_iomap_faulthNtauh1hhjIhhhNhNubj)}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<dax_iomap_faultsbc.dax_iomap_faultasbuh1hhjhhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM0ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj hM0ubjC)}(hdax_iomap_faulth]jI)}(hj h]hdax_iomap_fault}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj hM0ubjv)}(hm(struct vm_fault *vmf, unsigned int order, unsigned long *pfnp, int *iomap_errp, const struct iomap_ops *ops)h](j|)}(hstruct vm_fault *vmfh](j )}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj7ubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7ubh)}(hhh]jI)}(hvm_faulth]hvm_fault}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj[modnameN classnameNj@jC)}jF]jc.dax_iomap_faultasbuh1hhj7ubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubjI)}(hvmfh]hvmf}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj3ubj|)}(hunsigned int orderh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hinth]hint}(hjǓhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjՓhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(horderh]horder}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj3ubj|)}(hunsigned long *pfnph](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj&hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hpfnph]hpfnp}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj3ubj|)}(hint *iomap_errph](j)}(hinth]hint}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj2)}(h h]h }(hjhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVubj)}(hjh]h*}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubjI)}(h iomap_errph]h iomap_errp}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj3ubj|)}(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 }(hjĔhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h iomap_opsh]h iomap_ops}(hjՔhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjҔubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjהmodnameN classnameNj@jC)}jF]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`jauh1j{hj3ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhj hM0ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj hM0ubah}(h]jܒah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj hM0hjޒhhubjw)}(hhh]h)}(h!handle a page fault on a DAX fileh]h!handle a page fault on a DAX file}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM0hj5hhubah}(h]h ]h"]h$]h&]uh1jvhjޒhhhj hM0ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1jhhhjIhNhNubj)}(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)}(hjZh]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM4hjTubj)}(hhh](j)}(h6``struct vm_fault *vmf`` The description of the fault h](j)}(h``struct vm_fault *vmf``h]j)}(hjyh]hstruct vm_fault *vmf}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM1hjsubj)}(hhh]h)}(hThe description of the faulth]hThe description of the fault}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM1hjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjpubj)}(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}(hj˕hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjǕhM2hjȕubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjǕhM2hjpubj)}(hR``unsigned long *pfnp`` PFN to insert for synchronous faults if fsync is required h](j)}(h``unsigned long *pfnp``h]j)}(hjh]hunsigned long *pfnp}(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.chM3hjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjpubj)}(hE``int *iomap_errp`` Storage for detailed error code in case of error h](j)}(h``int *iomap_errp``h]j)}(hj$h]hint *iomap_errp}(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.chM4hjubj)}(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&]uh1hhj9hM4hj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hM4hjpubj)}(hF``const struct iomap_ops *ops`` Iomap ops passed from the file system h](j)}(h``const struct iomap_ops *ops``h]j)}(hj]h]hconst struct iomap_ops *ops}(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.chM5hjWubj)}(hhh]h)}(h%Iomap ops passed from the file systemh]h%Iomap ops passed from the file system}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhM5hjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhM5hjpubeh}(h]h ]h"]h$]h&]uh1jhjTubh)}(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.chM7hjTubh)}(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.chM6hjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "dax_finish_sync_fault (C function)c.dax_finish_sync_faulthNtauh1hhjIhhhNhNubj)}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjݖubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<dax_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ٖhhhjhMzubjv)}(h=(struct vm_fault *vmf, unsigned int order, unsigned long pfn)h](j|)}(hstruct vm_fault *vmfh](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)}(hvm_faulth]hvm_fault}(hjMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjOmodnameN classnameNj@jC)}jF]jc.dax_finish_sync_faultasbuh1hhj+ubj2)}(h h]h }(hjkhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj+ubj)}(hjh]h*}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+ubjI)}(hvmfh]hvmf}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj+ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj'ubj|)}(hunsigned int orderh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hj'ubj|)}(hunsigned long pfnh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hlongh]hlong}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hpfnh]hpfn}(hj(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj'ubeh}(h]h ]h"]h$]h&]j`jauh1juhjٖhhhjhMzubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjՖhhhjhMzubah}(h]jЖah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMzhjҖhhubjw)}(hhh]h)}(hfinish synchronous page faulth]hfinish synchronous page fault}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMzhjOhhubah}(h]h ]h"]h$]h&]uh1jvhjҖhhhjhMzubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(hjth]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM~hjnubj)}(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{hjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM{hjubj)}(h5``unsigned int order`` Order of entry to be inserted h](j)}(h``unsigned int order``h]j)}(hj̘h]hunsigned int order}(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.chM|hjƘubj)}(hhh]h)}(hOrder of entry to be insertedh]hOrder of entry to be inserted}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM|hjubah}(h]h ]h"]h$]h&]uh1jhjƘubeh}(h]h ]h"]h$]h&]uh1jhjhM|hjubj)}(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}(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&]uh1jhjnubh)}(h**Description**h]j)}(hj@h]h Description}(hjBhhhNhNubah}(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.chMhjnubh)}(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.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM~hjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $simple_rename_timestamp (C function)c.simple_rename_timestamphNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM9ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM9ubjC)}(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`jauh1jBhjhhhjhM9ubjv)}(hd(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry)h](j|)}(hstruct inode *old_dirh](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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjݙubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jsbc.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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hstruct dentry *old_dentryh](j )}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj0ubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0ubh)}(hhh]jI)}(hdentryh]hdentry}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjOubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjTmodnameN classnameNj@jC)}jF]jc.simple_rename_timestampasbuh1hhj0ubj2)}(h h]h }(hjphhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0ubj)}(hjh]h*}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubjI)}(h old_dentryh]h old_dentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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}(hjšhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjĚmodnameN classnameNj@jC)}jF]jc.simple_rename_timestampasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnew_dirh]hnew_dir}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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}(hj2hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj4modnameN classnameNj@jC)}jF]jc.simple_rename_timestampasbuh1hhjubj2)}(h h]h }(hjPhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(h new_dentryh]h new_dentry}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM9ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj}hhhjhM9ubah}(h]jxah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM9hjzhhubjw)}(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&]uh1jvhjzhhhjhM9ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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:hjЛubj)}(hhh]h)}(hold parent directoryh]hold parent directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM:hjubah}(h]h ]h"]h$]h&]uh1jhjЛubeh}(h]h ]h"]h$]h&]uh1jhjhM:hj͛ubj)}(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&]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)}(hdentry that is being renamedh]hdentry that is being renamed}(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 inode *new_dir`` new parent directory h](j)}(h``struct inode *new_dir``h]j)}(hjHh]hstruct inode *new_dir}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM<hjBubj)}(hhh]h)}(hnew parent directoryh]hnew parent directory}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hM<hj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hM<hj͛ubj)}(h0``struct dentry *new_dentry`` target for rename 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:86: ./fs/libfs.chM=hj{ubj)}(hhh]h)}(htarget for renameh]htarget for rename}(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&]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 }(hjҜhhhNhNubj)}(h**old_dentry**h]h old_dentry}(hjڜhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҜubh and }(hjҜhhhNhNubj)}(h**new_dentry**h]h new_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҜubh$ (if any), have their ctime updated.}(hjҜhhhNhNubeh}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j simple_setattr (C function)c.simple_setattrhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj2)}(h h]h }(hj4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!hhhj3hMubjC)}(hsimple_setattrh]jI)}(hsimple_setattrh]hsimple_setattr}(hjFhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj!hhhj3hMubjv)}(hE(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *iattr)h](j|)}(hstruct mnt_idmap *idmaph](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)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jHsbc.simple_setattrasbuh1hhj^ubj2)}(h h]h }(hjhhhNhNubah}(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`jauh1j{hjZubj|)}(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 classnameNj@jC)}jF]jc.simple_setattrasbuh1hhjН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}(hj+hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjНubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjZubj|)}(hstruct iattr *iattrh](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)}(hiattrh]hiattr}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjdmodnameN classnameNj@jC)}jF]jc.simple_setattrasbuh1hhj@ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj@ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubjI)}(hiattrh]hiattr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj@ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjZubeh}(h]h ]h"]h$]h&]j`jauh1juhj!hhhj3hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj3hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj3hMhjhhubjw)}(hhh]h)}(hsetattr for simple filesystemh]hsetattr for simple filesystem}(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&]uh1jvhjhhhj3hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjݞjjݞjjjuh1jhhhjIhNhNubj)}(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)}(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)}(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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``struct dentry *dentry`` dentry h](j)}(h``struct dentry *dentry``h]j)}(hj?h]hstruct dentry *dentry}(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)}(hdentryh]hdentry}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhjubj)}(h(``struct iattr *iattr`` iattr structure h](j)}(h``struct iattr *iattr``h]j)}(hjxh]hstruct iattr *iattr}(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.chMhjrubj)}(hhh]h)}(hiattr structureh]hiattr structure}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(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:86: ./fs/libfs.chMhjubh)}(h(Returns 0 on success, -error on failure.h]h(Returns 0 on success, -error on failure.}(hjɟhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubh)}(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.chMhjubh)}(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.}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $simple_read_from_buffer (C function)c.simple_read_from_bufferhNtauh1hhjIhhhNhNubj)}(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< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<simple_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)}(hj7h]hsimple_read_from_buffer}(hjMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjIubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj:hMjubjv)}(hQ(void __user *to, size_t count, loff_t *ppos, const void *from, size_t available)h](j|)}(hvoid __user *toh](j)}(hvoidh]hvoid}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj2)}(h h]h }(hjvhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdubh__user}(hjdhhhNhNubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubjI)}(htoh]hto}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj`ubj|)}(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 classnameNj@jC)}jF]j5c.simple_read_from_bufferasbuh1hhjubj2)}(h h]h }(hjݠhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hcounth]hcount}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj`ubj|)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj modnameN classnameNj@jC)}jF]j5c.simple_read_from_bufferasbuh1hhjubj2)}(h h]h }(hj%hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hpposh]hppos}(hj@hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj`ubj|)}(hconst void *fromh](j )}(hjh]hconst}(hjYhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjUubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjUubj)}(hvoidh]hvoid}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjUubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjUubjI)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjUubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj`ubj|)}(hsize_t availableh](h)}(hhh]jI)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j5c.simple_read_from_bufferasbuh1hhjubj2)}(h h]h }(hjסhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(h availableh]h available}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj`ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhj:hMjubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj:hMjubah}(h]j ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj:hMjhj hhubjw)}(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.chMjhj hhubah}(h]h ]h"]h$]h&]uh1jvhj hhhj:hMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1jhhhjIhNhNubj)}(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)}(hj1h]h Parameters}(hj3hhhNhNubah}(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.chMnhj+ubj)}(hhh](j)}(h5``void __user *to`` the user space buffer to read to h](j)}(h``void __user *to``h]j)}(hjPh]hvoid __user *to}(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.chMkhjJubj)}(hhh]h)}(h the user space buffer to read toh]h the user space buffer to read to}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehMkhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMkhjGubj)}(h5``size_t count`` the 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMlhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjGubj)}(h4``loff_t *ppos`` the current position in the buffer h](j)}(h``loff_t *ppos``h]j)}(hj¢h]h loff_t *ppos}(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.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עhMmhjGubj)}(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&]uh1jhjhMnhjGubj)}(h,``size_t available`` the size of the buffer h](j)}(h``size_t available``h]j)}(hj4h]hsize_t available}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMohj.ubj)}(hhh]h)}(hthe size of the bufferh]hthe size of the buffer}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhMohjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMohjGubeh}(h]h ]h"]h$]h&]uh1jhj+ubh)}(h**Description**h]j)}(hjoh]h Description}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMqhj+ubh)}(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 }(hjhhhNhNubj)}(h **count**h]hcount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes from the buffer }(hjhhhNhNubj)}(h**from**h]hfrom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh at offset }(hjhhhNhNubj)}(h**ppos**h]hppos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) into the user space address starting at }(hjhhhNhNubj)}(h**to**h]hto}(hjãhhhNhNubah}(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.chMphj+ubh)}(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}(hjhhhNhNubah}(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.chMshj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j #simple_write_to_buffer (C function)c.simple_write_to_bufferhNtauh1hhjIhhhNhNubj)}(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}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj"modnameN classnameNj@jC)}jF]jI)}j<simple_write_to_buffersbc.simple_write_to_bufferasbuh1hhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj2)}(h h]h }(hjBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjAhMubjC)}(hsimple_write_to_bufferh]jI)}(hj>h]hsimple_write_to_buffer}(hjThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjAhMubjv)}(hQ(void *to, size_t available, loff_t *ppos, const void __user *from, size_t count)h](j|)}(hvoid *toh](j)}(hvoidh]hvoid}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj2)}(h h]h }(hj}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubjI)}(htoh]hto}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjkubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjgubj|)}(hsize_t availableh](h)}(hhh]jI)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j<c.simple_write_to_bufferasbuh1hhjubj2)}(h h]h }(hjҤhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(h availableh]h available}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjgubj|)}(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 classnameNj@jC)}jF]j<c.simple_write_to_bufferasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hpposh]hppos}(hj5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjgubj|)}(hconst void __user *fromh](j )}(hjh]hconst}(hjNhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjJubj2)}(h h]h }(hj[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJubj)}(hvoidh]hvoid}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJubh__user}(hjJhhhNhNubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubjI)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjgubj|)}(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 classnameNj@jC)}jF]j<c.simple_write_to_bufferasbuh1hhjubj2)}(h h]h }(hjޥhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hcounth]hcount}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjgubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjAhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjAhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjAhMhjhhubjw)}(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&]uh1jvhjhhhjAhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.jjjuh1jhhhjIhNhNubj)}(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)}(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:86: ./fs/libfs.chMhj2ubj)}(hhh](j)}(h$``void *to`` the buffer to write to h](j)}(h ``void *to``h]j)}(hjWh]hvoid *to}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjQubj)}(hhh]h)}(hthe buffer to write toh]hthe buffer to write to}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjNubj)}(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&]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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjNubj)}(h4``loff_t *ppos`` the current position in the buffer 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjæubj)}(hhh]h)}(h"the current position in the bufferh]h"the current position in the buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjަhMhjߦubah}(h]h ]h"]h$]h&]uh1jhjæubeh}(h]h ]h"]h$]h&]uh1jhjަhMhjNubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjNubj)}(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&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj5ubj)}(hhh]h)}(h#the maximum number of bytes to readh]h#the maximum number of bytes to read}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjNubeh}(h]h ]h"]h$]h&]uh1jhj2ubh)}(h**Description**h]j)}(hjvh]h Description}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj2ubh)}(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 }(hjhhhNhNubj)}(h **count**h]hcount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ bytes from the user space address starting at }(hjhhhNhNubj)}(h**from**h]hfrom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh into the buffer }(hjhhhNhNubj)}(h**to**h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh at offset }(hjhhhNhNubj)}(h**ppos**h]hppos}(hjʧhhhNhNubah}(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.chMhj2ubh)}(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 }(hjhhhNhNubj)}(h**ppos**h]hppos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhD is advanced by this number, or negative value is returned on error.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $memory_read_from_buffer (C function)c.memory_read_from_bufferhNtauh1hhjIhhhNhNubj)}(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}(hj'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj)modnameN classnameNj@jC)}jF]jI)}j<memory_read_from_buffersbc.memory_read_from_bufferasbuh1hhj hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj2)}(h h]h }(hjIhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj hhhjHhMubjC)}(hmemory_read_from_bufferh]jI)}(hjEh]hmemory_read_from_buffer}(hj[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj hhhjHhMubjv)}(hJ(void *to, size_t count, loff_t *ppos, const void *from, size_t available)h](j|)}(hvoid *toh](j)}(hvoidh]hvoid}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjrubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubjI)}(htoh]hto}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjrubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjnubj|)}(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 classnameNj@jC)}jF]jCc.memory_read_from_bufferasbuh1hhjubj2)}(h h]h }(hj٨hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hcounth]hcount}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjnubj|)}(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 classnameNj@jC)}jF]jCc.memory_read_from_bufferasbuh1hhjubj2)}(h h]h }(hj!hhhNhNubah}(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`jauh1j{hjnubj|)}(hconst void *fromh](j )}(hjh]hconst}(hjUhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjQubj2)}(h h]h }(hjbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjQubj)}(hvoidh]hvoid}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubj2)}(h h]h }(hj~hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjQubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubjI)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjnubj|)}(hsize_t availableh](h)}(hhh]jI)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jCc.memory_read_from_bufferasbuh1hhjubj2)}(h h]h }(hjөhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(h availableh]h available}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjnubeh}(h]h ]h"]h$]h&]j`jauh1juhj hhhjHhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjHhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjHhMhjhhubjw)}(hhh]h)}(hcopy data from the bufferh]hcopy data from the buffer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjHhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1jhhhjIhNhNubj)}(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)}(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)}(h0``void *to`` the kernel space buffer to read to h](j)}(h ``void *to``h]j)}(hjLh]hvoid *to}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjFubj)}(hhh]h)}(h"the kernel space buffer to read toh]h"the kernel space buffer to read to}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjCubj)}(h5``size_t count`` the 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjCubj)}(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ӪhMhjCubj)}(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&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjCubj)}(h,``size_t available`` the size of the buffer h](j)}(h``size_t available``h]j)}(hj0h]hsize_t available}(hj2hhhNhNubah}(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)}(hthe size of the bufferh]hthe size of the buffer}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjCubeh}(h]h ]h"]h$]h&]uh1jhj'ubh)}(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:86: ./fs/libfs.chMhj'ubh)}(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 }(hjhhhNhNubj)}(h **count**h]hcount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes from the buffer }(hjhhhNhNubj)}(h**from**h]hfrom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh at offset }(hjhhhNhNubj)}(h**ppos**h]hppos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh+ into the kernel space address starting at }(hjhhhNhNubj)}(h**to**h]hto}(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.chMhj'ubh)}(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}(hjhhhNhNubah}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $generic_encode_ino32_fh (C function)c.generic_encode_ino32_fhhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/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)}(hgeneric_encode_ino32_fhh]jI)}(hgeneric_encode_ino32_fhh]hgeneric_encode_ino32_fh}(hj:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj'hMubjv)}(hD(struct inode *inode, __u32 *fh, int *max_len, struct inode *parent)h](j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjVhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjRubj2)}(h h]h }(hjchhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRubh)}(hhh]jI)}(hinodeh]hinode}(hjthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjvmodnameN classnameNj@jC)}jF]jI)}j<j<sbc.generic_encode_ino32_fhasbuh1hhjRubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjNubj|)}(h __u32 *fhh](h)}(hhh]jI)}(h__u32h]h__u32}(hjˬhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjȬubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjͬmodnameN classnameNj@jC)}jF]jc.generic_encode_ino32_fhasbuh1hhjĬubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjĬubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjĬubjI)}(hfhh]hfh}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjĬubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjNubj|)}(h int *max_lenh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hmax_lenh]hmax_len}(hjFhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjNubj|)}(hstruct inode *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)}(hinodeh]hinode}(hj}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jc.generic_encode_ino32_fhasbuh1hhj[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`jauh1j{hjNubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhj'hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj'hMubah}(h]j ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj'hMhjhhubjw)}(hhh]h)}(h-generic export_operations->encode_fh functionh]h-generic export_operations->encode_fh function}(hjhhhNhNubah}(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&]uh1jvhjhhhj'hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(hj!h]hstruct inode *inode}(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 object to encodeh]hthe object to encode}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(h6``__u32 *fh`` where to store the file handle fragment h](j)}(h ``__u32 *fh``h]j)}(hjZh]h __u32 *fh}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjTubj)}(hhh]h)}(h'where to store the file handle fragmenth]h'where to store the file handle fragment}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohMhjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohMhjubj)}(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.chMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h;``struct inode *parent`` parent directory inode, if wanted h](j)}(h``struct inode *parent``h]j)}(hj̮h]hstruct inode *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:86: ./fs/libfs.chMhjƮubj)}(hhh]h)}(h!parent directory inode, if wantedh]h!parent directory inode, if wanted}(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}(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.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.}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !generic_fh_to_dentry (C function)c.generic_fh_to_dentryhNtauh1hhjIhhhNhNubj)}(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}(hjLhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjHhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjHhhhjYhMubh)}(hhh]jI)}(hdentryh]hdentry}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmmodnameN classnameNj@jC)}jF]jI)}j<generic_fh_to_dentrysbc.generic_fh_to_dentryasbuh1hhjHhhhjYhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjHhhhjYhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHhhhjYhMubjC)}(hgeneric_fh_to_dentryh]jI)}(hjh]hgeneric_fh_to_dentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjHhhhjYhMubjv)}(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](j|)}(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 classnameNj@jC)}jF]jc.generic_fh_to_dentryasbuh1hhj¯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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj¯ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hstruct fid *fidh](j )}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj2ubj2)}(h h]h }(hjChhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubh)}(hhh]jI)}(hfidh]hfid}(hjThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjVmodnameN classnameNj@jC)}jF]jc.generic_fh_to_dentryasbuh1hhj2ubj2)}(h h]h }(hjrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubjI)}(hfidh]hfid}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h int fh_lenh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hfh_lenh]hfh_len}(hj°hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h int fh_typeh](j)}(hinth]hint}(hj۰hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjװubj2)}(h h]h }(hjhhhNhNubah}(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`jauh1j{hjubj|)}(hDstruct inode *(*get_inode)(struct super_block *sb, u64 ino, u32 gen)h](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< reftargetj0modnameN classnameNj@jC)}jF]jc.generic_fh_to_dentryasbuh1hhj ubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(hjVh]h(}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(h get_inodeh]h get_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj)}(hjVh]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}(hjDZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjıubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjɱmodnameN classnameNj@jC)}jF]jc.generic_fh_to_dentryasbuh1hhj 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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubj)}(hjh]h,}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubh)}(hhh]jI)}(hu64h]hu64}(hj,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj.modnameN classnameNj@jC)}jF]jc.generic_fh_to_dentryasbuh1hhj ubj2)}(h h]h }(hjJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubjI)}(hinoh]hino}(hjXhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubj)}(hjh]h,}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj2)}(h h]h }(hjshhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubh)}(hhh]jI)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jc.generic_fh_to_dentryasbuh1hhj ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubjI)}(hgenh]hgen}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjHhhhjYhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjDhhhjYhMubah}(h]j?ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjYhMhjAhhubjw)}(hhh]h)}(h4generic helper for the fh_to_dentry export operationh]h4generic helper for the fh_to_dentry export operation}(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&]uh1jvhjAhhhjYhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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)}(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&]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.filesystem to do the file handle conversion onh]h.filesystem to do the file handle conversion on}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubj)}(h+``struct fid *fid`` file handle to convert h](j)}(h``struct fid *fid``h]j)}(hjah]hstruct fid *fid}(hjchhhNhNubah}(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 handle to converth]hfile handle to convert}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjubj)}(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}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjͳubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(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.chMhjubj)}(hhh]h)}(h%filesystem callback to retrieve inodeh]h%filesystem callback to retrieve inode}(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)}(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)}(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 }(hj]hhhNhNubj)}(h**fid**h]hfid}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubhJ as long as it has one of the well-known Linux filehandle types and calls }(hj]hhhNhNubj)}(h **get_inode**h]h get_inode}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubhI on it to retrieve the inode for the object specified in the file handle.}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !generic_fh_to_parent (C function)c.generic_fh_to_parenthNtauh1hhjIhhhNhNubj)}(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}(hjϴhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj̴ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjѴmodnameN classnameNj@jC)}jF]jI)}j<generic_fh_to_parentsbc.generic_fh_to_parentasbuh1hhjhhhjhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(hgeneric_fh_to_parenth]jI)}(hjh]hgeneric_fh_to_parent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(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](j|)}(hstruct super_block *sbh](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 super_blockh]h super_block}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjJmodnameN classnameNj@jC)}jF]jc.generic_fh_to_parentasbuh1hhj&ubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&ubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubjI)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj"ubj|)}(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 classnameNj@jC)}jF]jc.generic_fh_to_parentasbuh1hhjubj2)}(h h]h }(hjֵhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfidh]hfid}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj"ubj|)}(h int fh_lenh](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hfh_lenh]hfh_len}(hj&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj"ubj|)}(h int fh_typeh](j)}(hinth]hint}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj2)}(h h]h }(hjMhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj;ubjI)}(hfh_typeh]hfh_type}(hj[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj;ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj"ubj|)}(hDstruct inode *(*get_inode)(struct super_block *sb, u64 ino, u32 gen)h](j )}(hjh]hstruct}(hjthhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjpubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jc.generic_fh_to_parentasbuh1hhjpubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(hjVh]h(}(hj˶hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(hjh]h*}(hjضhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubjI)}(h get_inodeh]h get_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj)}(hjVh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj )}(hjh]hstruct}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjpubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubh)}(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 classnameNj@jC)}jF]jc.generic_fh_to_parentasbuh1hhjpubj2)}(h h]h }(hjIhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubj)}(hjh]h*}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubjI)}(hsbh]hsb}(hjdhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubj)}(hjh]h,}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubh)}(hhh]jI)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jc.generic_fh_to_parentasbuh1hhjpubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubjI)}(hinoh]hino}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubj)}(hjh]h,}(hjʷhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubj2)}(h h]h }(hj׷hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubh)}(hhh]jI)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jc.generic_fh_to_parentasbuh1hhjpubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjpubjI)}(hgenh]hgen}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjpubj)}(hjh]h)}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj"ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjHhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1jhhhjIhNhNubj)}(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)}(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:86: ./fs/libfs.chMhjgubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``struct fid *fid`` file handle to convert h](j)}(h``struct fid *fid``h]j)}(hjŸh]hstruct fid *fid}(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.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ڸhMhjubj)}(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)}(hj7h]h int fh_type}(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.chMhj1ubj)}(hhh]h)}(htype of file handleh]htype of file handle}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubj)}(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)}(hjph]hEstruct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)}(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)}(h%filesystem callback to retrieve inodeh]h%filesystem callback to retrieve inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(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:86: ./fs/libfs.chMhjgubh)}(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}(hjɹhhhNhNubah}(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.chMhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !simple_fsync_noflush (C function)c.simple_fsync_noflushhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/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_fsync_noflushh]jI)}(hsimple_fsync_noflushh]hsimple_fsync_noflush}(hj5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj"hMubjv)}(h;(struct file *file, loff_t start, loff_t end, int datasync)h](j|)}(hstruct file *fileh](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)}(hfileh]hfile}(hjohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjqmodnameN classnameNj@jC)}jF]jI)}j<j7sbc.simple_fsync_noflushasbuh1hhjMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubjI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjIubj|)}(h loff_t starth](h)}(hhh]jI)}(hloff_th]hloff_t}(hjƺhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjúubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjȺmodnameN classnameNj@jC)}jF]jc.simple_fsync_noflushasbuh1hhjubj2)}(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`jauh1j{hjIubj|)}(h loff_t endh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jc.simple_fsync_noflushasbuh1hhjubj2)}(h h]h }(hj,hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hendh]hend}(hj:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjIubj|)}(h int datasynch](j)}(hinth]hint}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj2)}(h h]h }(hjahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjOubjI)}(hdatasynch]hdatasync}(hjohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjOubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjIubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhj"hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj hhhj"hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj"hMhj hhubjw)}(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&]uh1jvhj hhhj"hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjԻubeh}(h]h ]h"]h$]h&]uh1jhjhMhjѻubj)}(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.chMhj ubj)}(hhh]h)}(hstart offset in bytesh]hstart offset in bytes}(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/``loff_t end`` end offset in bytes (inclusive) h](j)}(h``loff_t end``h]j)}(hjLh]h loff_t end}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM hjFubj)}(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&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahM hjѻubj)}(h=``int datasync`` only synchronize essential metadata if true h](j)}(h``int datasync``h]j)}(hjh]h int datasync}(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)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjѻubeh}(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&]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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j simple_fsync (C function)c.simple_fsynchNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/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}(hj&hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj"ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM*ubjv)}(h;(struct file *file, loff_t start, loff_t end, int datasync)h](j|)}(hstruct file *fileh](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)}(hfileh]hfile}(hj`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjbmodnameN classnameNj@jC)}jF]jI)}j<j(sbc.simple_fsyncasbuh1hhj>ubj2)}(h h]h }(hjhhhNhNubah}(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`jauh1j{hj:ubj|)}(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 classnameNj@jC)}jF]j|c.simple_fsyncasbuh1hhjubj2)}(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`jauh1j{hj:ubj|)}(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 classnameNj@jC)}jF]j|c.simple_fsyncasbuh1hhjubj2)}(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`jauh1j{hj:ubj|)}(h int datasynch](j)}(hinth]hint}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@ubj2)}(h h]h }(hjRhhhNhNubah}(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`jauh1j{hj:ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM*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}(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&]uh1jvhjhhhjhM*ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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.chM+hjžubj)}(hhh]h)}(hfile to synchronizeh]hfile to synchronize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM+hjubah}(h]h ]h"]h$]h&]uh1jhjžubeh}(h]h ]h"]h$]h&]uh1jhjhM+hj¾ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM,hj¾ubj)}(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-hj7ubj)}(hhh]h)}(hend offset in bytes (inclusive)h]hend offset in bytes (inclusive)}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhM-hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM-hj¾ubj)}(h=``int datasync`` only synchronize essential metadata if true h](j)}(h``int datasync``h]j)}(hjvh]h int datasync}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM.hjpubj)}(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&]uh1jhjpubeh}(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: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.}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j &generic_check_addressable (C function)c.generic_check_addressablehNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/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@ubjv)}(h)(unsigned blocksize_bits, u64 num_blocks)h](j|)}(hunsigned blocksize_bitsh](j)}(hunsignedh]hunsigned}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/ubjI)}(hblocksize_bitsh]hblocksize_bits}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj+ubj|)}(hu64 num_blocksh](h)}(hhh]jI)}(hu64h]hu64}(hjkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjhubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmmodnameN classnameNj@jC)}jF]jI)}j<jsbc.generic_check_addressableasbuh1hhjdubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdubjI)}(h num_blocksh]h num_blocks}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj+ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM@ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhM@ubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM@hjhhubjw)}(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&]uh1jvhjhhhjhM@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMAhjubah}(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.chMBhj7ubj)}(hhh]h)}(hnumber of blocks in file systemh]hnumber of blocks in file system}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhMBhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMBhjubeh}(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&]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 }(hjhhhNhNubj)}(h**num_blocks**h]h num_blocks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 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.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMChjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j simple_get_link (C function)c.simple_get_linkhNtauh1hhjIhhhNhNubj)}(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&]uh1j1hjhhhjhMubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj2)}(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`jauh1jBhjhhhjhMubjv)}(hG(struct dentry *dentry, struct inode *inode, struct delayed_call *done)h](j|)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hj4hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj0ubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0ubh)}(hhh]jI)}(hdentryh]hdentry}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjOubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjTmodnameN classnameNj@jC)}jF]jI)}j<jsbc.simple_get_linkasbuh1hhj0ubj2)}(h h]h }(hjrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubjI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj,ubj|)}(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 classnameNj@jC)}jF]jnc.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`jauh1j{hj,ubj|)}(hstruct delayed_call *doneh](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 delayed_callh]h delayed_call}(hj4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj6modnameN classnameNj@jC)}jF]jnc.simple_get_linkasbuh1hhjubj2)}(h h]h }(hjRhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdoneh]hdone}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj,ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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.chMhj ubj)}(hhh]h)}(hthe symlink inodeh]hthe symlink inode}(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 delayed_call *done`` not used here h](j)}(h``struct delayed_call *done``h]j)}(hjJh]hstruct delayed_call *done}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjDubj)}(hhh]h)}(h not used hereh]h not used here}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(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)}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !generic_ci_d_compare (C function)c.generic_ci_d_comparehNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]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&]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`jauh1jBhjhhhjhMubjv)}(hY(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name)h](j|)}(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}(hjIhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj*ubj2)}(h h]h }(hjVhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj*ubh)}(hhh]jI)}(hdentryh]hdentry}(hjghhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjimodnameN classnameNj@jC)}jF]jI)}j<jsbc.generic_ci_d_compareasbuh1hhj*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`jauh1j{hj&ubj|)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hj&ubj|)}(hconst char *strh](j )}(hjh]hconst}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj5hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hstrh]hstr}(hjPhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj&ubj|)}(hconst struct qstr *nameh](j )}(hjh]hconst}(hjihhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjeubj2)}(h h]h }(hjvhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjeubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjeubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjeubh)}(hhh]jI)}(hqstrh]hqstr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jc.generic_ci_d_compareasbuh1hhjeubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjeubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj&ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hah"]h$]h&]uh1j1hjmhhhjhM4ubjC)}(hgeneric_ci_d_hashh]jI)}(hgeneric_ci_d_hashh]hgeneric_ci_d_hash}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjmhhhjhM4ubjv)}(h/(const struct dentry *dentry, struct qstr *str)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.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}(hj"hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hstruct qstr *strh](j )}(hjh]hstruct}(hj;hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj7ubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7ubh)}(hhh]jI)}(hqstrh]hqstr}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj[modnameN classnameNj@jC)}jF]jc.generic_ci_d_hashasbuh1hhj7ubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7ubjI)}(hstrh]hstr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjmhhhjhM4ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjihhhjhM4ubah}(h]jdah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM4hjfhhubjw)}(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&]uh1jvhjfhhhjhM4ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(hj6h]hstruct qstr *str}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM6hj0ubj)}(hhh]h)}(h)qstr of name whose hash we should fill inh]h)qstr of name whose hash we should fill in}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhM6hjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhM6hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(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: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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM8hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j generic_ci_match (C function)c.generic_ci_matchhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/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`jauh1jBhjhhhjhMTubjv)}(hy(const struct inode *parent, const struct qstr *name, const struct qstr *folded_name, const u8 *de_name, u32 de_name_len)h](j|)}(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 }(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 classnameNj@jC)}jF]jI)}j<jsbc.generic_ci_matchasbuh1hhjubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hjghhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hconst struct qstr *nameh](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)}(hqstrh]hqstr}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jHc.generic_ci_matchasbuh1hhj|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`jauh1j{hjubj|)}(hconst struct qstr *folded_nameh](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)}(hqstrh]hqstr}(hjDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjFmodnameN classnameNj@jC)}jF]jHc.generic_ci_matchasbuh1hhjubj2)}(h h]h }(hjbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(h folded_nameh]h folded_name}(hj}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jHc.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`jauh1j{hjubj|)}(hu32 de_name_lenh](h)}(hhh]jI)}(hu32h]hu32}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj modnameN classnameNj@jC)}jF]jHc.generic_ci_matchasbuh1hhjubj2)}(h h]h }(hj'hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(h de_name_lenh]h de_name_len}(hj5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMTubeh}(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.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMThj\hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMTubeh}(h]h ](jfunctioneh"]h$]h&]jjjjwjjwjjjuh1jhhhjIhNhNubj)}(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)}(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.chMXhj{ubj)}(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.chMZhj ubj)}(hhh]h)}(h%Optional pre-folded name under lookuph]h%Optional pre-folded name under lookup}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hMZhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMZhjubj)}(h#``const u8 *de_name`` Dirent name. h](j)}(h``const u8 *de_name``h]j)}(hjKh]hconst u8 *de_name}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM[hjEubj)}(hhh]h)}(h Dirent name.h]h Dirent name.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hM[hjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hM[hjubj)}(h(``u32 de_name_len`` dirent name length. h](j)}(h``u32 de_name_len``h]j)}(hjh]hu32 de_name_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.chM\hj~ubj)}(hhh]h)}(hdirent name length.h]hdirent name length.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjubeh}(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.chM^hj{ubh)}(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]hj{ubh)}(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:86: ./fs/libfs.chMahj{ubh)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMbhj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !generic_set_sb_d_ops (C function)c.generic_set_sb_d_opshNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjKhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj2)}(h h]h }(hj^hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjKhhhj]hMubjC)}(hgeneric_set_sb_d_opsh]jI)}(hgeneric_set_sb_d_opsh]hgeneric_set_sb_d_ops}(hjphhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjKhhhj]hMubjv)}(h(struct super_block *sb)h]j|)}(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 classnameNj@jC)}jF]jI)}j<jrsbc.generic_set_sb_d_opsasbuh1hhjubj2)}(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`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjKhhhj]hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjGhhhj]hMubah}(h]jBah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj]hMhjDhhubjw)}(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.chMhj hhubah}(h]h ]h"]h$]h&]uh1jvhjDhhhj]hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'jj'jjjuh1jhhhjIhNhNubj)}(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)}(hj1h]h Parameters}(hj3hhhNhNubah}(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)}(h7``struct super_block *sb`` superblock to be configured h](j)}(h``struct super_block *sb``h]j)}(hjPh]hstruct super_block *sb}(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)}(hsuperblock to be configuredh]hsuperblock to be configured}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehMhjGubah}(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)}(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.chMhj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j %inode_maybe_inc_iversion (C function)c.inode_maybe_inc_iversionhNtauh1hhjIhhhNhNubj)}(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](j)}(hjh]hbool}(hjhhhNhNubah}(h]h ]jah"]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&]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`jauh1jBhjhhhjhMubjv)}(h!(struct inode *inode, bool force)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.inode_maybe_inc_iversionasbuh1hhjubj2)}(h h]h }(hjJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h bool forceh](j)}(hjh]hbool}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjzubjI)}(hforceh]hforce}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(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.chMhj7ubj)}(hhh]h)}(h1increment the counter even if it's not necessary?h]h3increment the counter even if it’s not necessary?}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjubeh}(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&]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.}(hjhhhNhNubah}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !inode_query_iversion (C function)c.inode_query_iversionhNtauh1hhjIhhhNhNubj)}(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 classnameNj@jC)}jF]jI)}j<inode_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)}(hj h]hinode_query_iversion}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h(struct inode *inode)h]j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hj<hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj8ubj2)}(h h]h }(hjIhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8ubh)}(hhh]jI)}(hinodeh]hinode}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj\modnameN classnameNj@jC)}jF]j c.inode_query_iversionasbuh1hhj8ubj2)}(h h]h }(hjxhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj4ubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(hj9h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(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.}(hjOhhhNhNubah}(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.}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !simple_inode_init_ts (C function)c.simple_inode_init_tshNtauh1hhjIhhhNhNubj)}(hhh](j)}(hah"]h$]h&]uh1j1hjhhhjhMDubh)}(hhh]jI)}(h timespec64h]h timespec64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<simple_inode_init_tssbc.simple_inode_init_tsasbuh1hhjhhhjhMDubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMDubjC)}(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`jauh1jBhjhhhjhMDubjv)}(h(struct inode *inode)h]j|)}(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 classnameNj@jC)}jF]jc.simple_inode_init_tsasbuh1hhjubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hinodeh]hinode}(hjQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMDubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMDubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMDhjhhubjw)}(hhh]h)}(h)initialize the timestamps for a new inodeh]h)initialize the timestamps for a new inode}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMDhjxhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMDubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMFhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "simple_start_creating (C function)c.simple_start_creatinghNtauh1hhjIhhhNhNubj)}(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&]uh1jhj8hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj2)}(h h]h }(hjJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8hhhjIhMubh)}(hhh]jI)}(hdentryh]hdentry}(hj[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj]modnameN classnameNj@jC)}jF]jI)}j<simple_start_creatingsbc.simple_start_creatingasbuh1hhj8hhhjIhMubj2)}(h h]h }(hj|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8hhhjIhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8hhhjIhMubjC)}(hsimple_start_creatingh]jI)}(hjyh]hsimple_start_creating}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj8hhhjIhMubjv)}(h)(struct dentry *parent, const char *name)h](j|)}(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 classnameNj@jC)}jF]jwc.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}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hconst char *nameh](j )}(hjh]hconst}(hj&hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj"ubj2)}(h h]h }(hj3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj"ubj)}(hcharh]hchar}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj2)}(h h]h }(hjOhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj"ubj)}(hjh]h*}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubjI)}(hnameh]hname}(hjjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj"ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhj8hhhjIhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj4hhhjIhMubah}(h]j/ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjIhMhj1hhubjw)}(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&]uh1jvhj1hhhjIhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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&]uh1jhj ubah}(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}(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)}(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: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.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubh)}(h **Return**h]j)}(hjph]hReturn}(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.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.}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j posix_acl_chmod (C function)c.posix_acl_chmodhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/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`jauh1jBhjhhhjhMOubjv)}(h>(struct mnt_idmap *idmap, struct dentry *dentry, umode_t mode)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.posix_acl_chmodasbuh1hhjubj2)}(h h]h }(hj0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hjKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hstruct dentry *dentryh](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)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j,c.posix_acl_chmodasbuh1hhj`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`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]j,c.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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMOubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMOubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMOhjhhubjw)}(hhh]h)}(hchmod a posix aclh]hchmod a posix acl}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMOhj*hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEjjEjjjuh1jhhhjIhNhNubj)}(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)}(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:89: ./fs/posix_acl.chMShjIubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjnh]hstruct mnt_idmap *idmap}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMQhjhubj)}(hhh]h)}(h+idmap of the mount **inode** was found fromh](hidmap of the mount }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh was found from}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjeubj)}(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&]uh1jhjhMRhjeubj)}(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 }(hj hhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1hhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShjeubeh}(h]h ]h"]h$]h&]uh1jhjIubh)}(h**Description**h]j)}(hj;h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMUhjIubh)}(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 }(hjQhhhNhNubj)}(h **idmap**h]hidmap}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubhB. This function will then take care to map the inode according to }(hjQhhhNhNubj)}(h **idmap**h]hidmap}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjQhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh.}(hjQhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMThjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "posix_acl_update_mode (C function)c.posix_acl_update_modehNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]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&]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`jauh1jBhjhhhjhMubjv)}(hW(struct mnt_idmap *idmap, struct inode *inode, umode_t *mode_p, struct posix_acl **acl)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.posix_acl_update_modeasbuh1hhjubj2)}(h h]h }(hj1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}( hidmaph]hidmap}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j-c.posix_acl_update_modeasbuh1hhjaubj2)}(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`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]j-c.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`jauh1j{hjubj|)}(hstruct posix_acl **aclh](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 posix_aclh]h posix_acl}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjEubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjJmodnameN classnameNj@jC)}jF]j-c.posix_acl_update_modeasbuh1hhj&ubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj&ubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubjI)}(haclh]hacl}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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}(hjhhhNhNubah}(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)}(hjDh]hstruct inode *inode}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(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}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjubj)}(h.``umode_t *mode_p`` mode (pointer) for update h](j)}(h``umode_t *mode_p``h]j)}(hj}h]humode_t *mode_p}(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.chMhjwubj)}(hhh]h)}(hmode (pointer) for updateh]hmode (pointer) for update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(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).}(hj(hhhNhNubah}(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 }(hj7hhhNhNubj)}(h **idmap**h]hidmap}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubhB. This function will then take care to map the inode according to }(hj7hhhNhNubj)}(h **idmap**h]hidmap}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hj7hhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh.}(hj7hhhNhNubeh}(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.}(hj|hhhNhNubah}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !posix_acl_from_xattr (C function)c.posix_acl_from_xattrhNtauh1hhjIhhhNhNubj)}(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 classnameNj@jC)}jF]jI)}j<posix_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}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h?(struct user_namespace *userns, const void *value, size_t size)h](j|)}(hstruct user_namespace *usernsh](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)}(huser_namespaceh]huser_namespace}(hjChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjEmodnameN classnameNj@jC)}jF]jc.posix_acl_from_xattrasbuh1hhj!ubj2)}(h h]h }(hjahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!ubj)}(hjh]h*}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!ubjI)}(husernsh]huserns}(hj|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hconst void *valueh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jc.posix_acl_from_xattrasbuh1hhjubj2)}(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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjHhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1jhhhjIhNhNubj)}(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)}(hjmh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjgubj)}(hhh](j)}(h=``struct user_namespace *userns`` the filesystem's idmapping h](j)}(h!``struct user_namespace *userns``h]j)}(hjh]hstruct user_namespace *userns}(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 filesystem's idmappingh]hthe filesystem’s idmapping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjgubh)}(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.chMhjgubh)}(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.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjgubh)}(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 }(hjlhhhNhNubj)}(h **userns**h]huserns}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh.}(hjlhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjgubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjgubh)}(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.chMhjgubh)}(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.chMhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_set_acl (C function) c.vfs_set_aclhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhV/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`jauh1jBhjhhhjhM6ubjv)}(h^(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name, struct posix_acl *kacl)h](j|)}(hstruct mnt_idmap *idmaph](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)}(h mnt_idmaph]h mnt_idmap}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj@modnameN classnameNj@jC)}jF]jI)}j<jsb c.vfs_set_aclasbuh1hhjubj2)}(h h]h }(hj^hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hjyhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jZ c.vfs_set_aclasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(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&]uh1j1hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hacl_nameh]hacl_name}(hjFhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hstruct posix_acl *kaclh](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)}(h posix_aclh]h posix_acl}(hj}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jZ 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)}(hkaclh]hkacl}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM6ubeh}(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&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(hj!h]hstruct mnt_idmap *idmap}(hj#hhhNhNubah}(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.chM7hjubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hM7hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hM7hjubj)}(hJ``struct dentry *dentry`` the dentry based on which to set the posix acls h](j)}(h``struct dentry *dentry``h]j)}(hjZh]hstruct dentry *dentry}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chM8hjTubj)}(hhh]h)}(h/the dentry based on which to set the posix aclsh]h/the dentry based on which to set the posix acls}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohM8hjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohM8hjubj)}(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.chM9hjubj)}(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&]uh1jhjubeh}(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}(hj hhhNhNubah}(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 }(hjhhhNhNubj)}(h**kacl**h]hkacl}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh-. The caller must all posix_acl_release() on }(hjhhhNhNubj)}(h**kacl**h]hkacl}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh afterwards.}(hjhhhNhNubeh}(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)}(hjRh]hReturn}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(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.}(hjhhhhNhNubah}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_get_acl (C function) c.vfs_get_aclhNtauh1hhjIhhhNhNubj)}(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 classnameNj@jC)}jF]jI)}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`jauh1jBhjhhhjhMubjv)}(hF(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h](j|)}(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< reftargetj1modnameN classnameNj@jC)}jF]j c.vfs_get_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`jauh1j{hj ubj|)}(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 classnameNj@jC)}jF]j c.vfs_get_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`jauh1j{hj ubj|)}(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&]uh1j1hjubj)}(hcharh]hchar}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hj ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hget posix aclsh]hget posix acls}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhj\hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjwjjwjjjuh1jhhhjIhNhNubj)}(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)}(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.chMhj{ubj)}(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.chMhj ubj)}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhjubeh}(h]h ]h"]h$]h&]uh1jhj{ubh)}(h**Description**h]j)}(hjMh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhj{ubh)}(hjThis function retrieves **kacl** from the filesystem. The caller must all posix_acl_release() on **kacl**.h](hThis function retrieves }(hjchhhNhNubj)}(h**kacl**h]hkacl}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubhA from the filesystem. The caller must all posix_acl_release() on }(hjchhhNhNubj)}(h**kacl**h]hkacl}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh.}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhj{ubh)}(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.chMhj{ubh)}(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.chMhj{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_remove_acl (C function)c.vfs_remove_aclhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]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&]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`jauh1jBhjhhhjhMubjv)}(hF(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h](j|)}(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}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj:modnameN classnameNj@jC)}jF]jI)}j<jsbc.vfs_remove_aclasbuh1hhjubj2)}(h h]h }(hjXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hjshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jTc.vfs_remove_aclasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(hconst char *acl_nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj%hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hacl_nameh]hacl_name}(hj@hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hremove posix aclsh]hremove posix acls}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjghhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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)}(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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubeh}(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubh)}(h!This function removes posix acls.h]h!This function removes posix acls.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(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.chMhjubh)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j fill_mg_cmtime (C function)c.fill_mg_cmtimehNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/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 ubjv)}(h;(struct kstat *stat, u32 request_mask, struct inode *inode)h](j|)}(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< reftargetj!modnameN classnameNj@jC)}jF]jI)}j<jsbc.fill_mg_cmtimeasbuh1hhjubj2)}(h h]h }(hj?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hstath]hstat}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hu32 request_maskh](h)}(hhh]jI)}(hu32h]hu32}(hjvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjsubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjxmodnameN classnameNj@jC)}jF]j;c.fill_mg_cmtimeasbuh1hhjoubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjoubjI)}(h request_maskh]h request_mask}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhK 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 hj9hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhK ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjTjjTjjjuh1jhhhjIhNhNubj)}(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)}(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.chK$hjXubj)}(hhh](j)}(h;``struct kstat *stat`` where to store the resulting values h](j)}(h``struct kstat *stat``h]j)}(hj}h]hstruct kstat *stat}(hjhhhNhNubah}(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.chK!hjwubj)}(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&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhK!hjtubj)}(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"hjtubj)}(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#hjtubeh}(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&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chK%hjXubh)}(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}(hjHhhhNhNubah}(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}(hjZhhhNhNubah}(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$hjXubh)}(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.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chK(hjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j generic_fillattr (C function)c.generic_fillattrhNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/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`jauh1jBhjhhhjhKBubjv)}(hT(struct mnt_idmap *idmap, u32 request_mask, struct inode *inode, struct kstat *stat)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.generic_fillattrasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hidmaph]hidmap}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hu32 request_maskh](h)}(hhh]jI)}(hu32h]hu32}(hjThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjVmodnameN classnameNj@jC)}jF]jc.generic_fillattrasbuh1hhjMubj2)}(h h]h }(hjrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjMubjI)}(h request_maskh]h request_mask}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]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`jauh1j{hjubj|)}(hstruct kstat *stath](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)}(hkstath]hkstat}(hj'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj)modnameN classnameNj@jC)}jF]jc.generic_fillattrasbuh1hhjubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hstath]hstat}(hj`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhKBubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKBhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhKBubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKDhjubah}(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.chKEhj7ubj)}(hhh]h)}(hInode to use as the sourceh]hInode to use as the source}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhKEhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhKEhjubj)}(h7``struct kstat *stat`` Where to fill in the attributes h](j)}(h``struct kstat *stat``h]j)}(hjvh]hstruct kstat *stat}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKFhjpubj)}(hhh]h)}(hWhere to fill in the attributesh]hWhere to fill in the attributes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKFhjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhKFhjubeh}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $generic_fill_statx_attr (C function)c.generic_fill_statx_attrhNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7hhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKuubj2)}(h h]h }(hjJhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj7hhhjIhKuubjC)}(hgeneric_fill_statx_attrh]jI)}(hgeneric_fill_statx_attrh]hgeneric_fill_statx_attr}(hj\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj7hhhjIhKuubjv)}(h)(struct inode *inode, struct kstat *stat)h](j|)}(hstruct inode *inodeh](j )}(hjh]hstruct}(hjxhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjtubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubh)}(hhh]jI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<j^sbc.generic_fill_statx_attrasbuh1hhjtubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubjI)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjpubj|)}(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< reftargetj modnameN classnameNj@jC)}jF]jc.generic_fill_statx_attrasbuh1hhjubj2)}(h h]h }(hj&hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hstath]hstat}(hjAhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjpubeh}(h]h ]h"]h$]h&]j`jauh1juhj7hhhjIhKuubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj3hhhjIhKuubah}(h]j.ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjIhKuhj0hhubjw)}(hhh]h)}(h1Fill in the statx attributes from the inode flagsh]h1Fill in the statx attributes from the inode flags}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKuhjhhhubah}(h]h ]h"]h$]h&]uh1jvhj0hhhjIhKuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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.chKyhjubj)}(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&]uh1jhjubh)}(h**Description**h]j)}(hj h]h Description}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKyhjubh)}(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.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKxhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j -generic_fill_statx_atomic_writes (C function)"c.generic_fill_statx_atomic_writeshNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjahhhjshKubjC)}(h generic_fill_statx_atomic_writesh]jI)}(h generic_fill_statx_atomic_writesh]h generic_fill_statx_atomic_writes}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjahhhjshKubjv)}(h](struct kstat *stat, unsigned int unit_min, unsigned int unit_max, unsigned int unit_max_opt)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jsb"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`jauh1j{hjubj|)}(hunsigned int unit_minh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj"hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hinth]hint}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hunit_minh]hunit_min}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hunsigned int unit_maxh](j)}(hunsignedh]hunsigned}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj2)}(h h]h }(hjshhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjaubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjaubjI)}(hunit_maxh]hunit_max}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjaubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hunsigned int unit_max_opth](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjahhhjshKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj]hhhjshKubah}(h]jXah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjshKhjZhhubjw)}(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&]uh1jvhjZhhhjshKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1jhhhjIhNhNubj)}(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&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhj4ubj)}(hhh](j)}(h<``struct kstat *stat`` Where to fill in the attribute flags h](j)}(h``struct kstat *stat``h]j)}(hjYh]hstruct kstat *stat}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhjSubj)}(hhh]h)}(h$Where to fill in the attribute flagsh]h$Where to fill in the attribute flags}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhKhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhKhjPubj)}(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.chKhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjPubj)}(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&]uh1jhjhKhjPubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjPubeh}(h]h ]h"]h$]h&]uh1jhj4ubh)}(h**Description**h]j)}(hj?h]h Description}(hjAhhhNhNubah}(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.chKhj4ubh)}(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.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_getattr_nosec (C function)c.vfs_getattr_nosechNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhKubjC)}(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`jauh1jBhjhhhjhKubjv)}(hY(const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.vfs_getattr_nosecasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hpathh]hpath}(hj5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hstruct kstat *stath](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)}(hkstath]hkstat}(hjlhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjnmodnameN classnameNj@jC)}jF]jc.vfs_getattr_nosecasbuh1hhjJubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubjI)}(hstath]hstat}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hu32 request_maskh](h)}(hhh]jI)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]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`jauh1j{hjubj|)}(hunsigned int query_flagsh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hinth]hint}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj0hhhNhNubah}(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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj|hhhjhKubah}(h]jwah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhKhjyhhubjw)}(hhh]h)}(hgetattr without security checksh]hgetattr without security checks}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhjehhubah}(h]h ]h"]h$]h&]uh1jvhjyhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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.chKhjubj)}(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)}(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.chKhjubj)}(hhh]h)}(h0STATX_xxx flags indicating what the caller wantsh]h0STATX_xxx flags indicating what the caller wants}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hKhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hKhjubj)}(h=``unsigned int query_flags`` Query mode (AT_STATX_SYNC_TYPE) h](j)}(h``unsigned int query_flags``h]j)}(hjTh]hunsigned int query_flags}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhjNubj)}(hhh]h)}(hQuery mode (AT_STATX_SYNC_TYPE)h]hQuery mode (AT_STATX_SYNC_TYPE)}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihKhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihKhjubeh}(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.chKhjubh)}(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.chKhjubh)}(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.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_fsync_range (C function)c.vfs_fsync_rangehNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/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`jauh1jBhjhhhjhKubjv)}(h;(struct file *file, loff_t start, loff_t end, int datasync)h](j|)}(hstruct file *fileh](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)}(hfileh]hfile}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj@modnameN classnameNj@jC)}jF]jI)}j<jsbc.vfs_fsync_rangeasbuh1hhjubj2)}(h h]h }(hj^hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfileh]hfile}(hjyhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jZc.vfs_fsync_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`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jZc.vfs_fsync_rangeasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(h int datasynch](j)}(hinth]hint}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hdatasynch]hdatasync}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhKubeh}(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}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhjehhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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.chKhjubj)}(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)}(hjh]h loff_t end}(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)}(h4offset in bytes of the end of data range (inclusive)h]h4offset in bytes of the end of data range (inclusive)}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hKhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hKhjubj)}(h'``int datasync`` perform only datasync h](j)}(h``int datasync``h]j)}(hjTh]h int datasync}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhjNubj)}(hhh]h)}(hperform only datasynch]hperform only datasync}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihKhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihKhjubeh}(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:95: ./fs/sync.chKhjubh)}(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.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_fsync (C function) c.vfs_fsynchNtauh1hhjIhhhNhNubj)}(hhh](j)}(h/int vfs_fsync (struct file *file, int datasync)h]j)}(h.int vfs_fsync(struct file *file, int datasync)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhQ/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}(hj+hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhKubjv)}(h!(struct file *file, int datasync)h](j|)}(hstruct file *fileh](j )}(hjh]hstruct}(hjGhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjCubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCubh)}(hhh]jI)}(hfileh]hfile}(hjehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjgmodnameN classnameNj@jC)}jF]jI)}j<j-sb c.vfs_fsyncasbuh1hhjCubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubjI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjCubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj?ubj|)}(h int datasynch](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hj?ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhKubeh}(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&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(hj!h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhjubj)}(hhh](j)}(h#``struct file *file`` file to sync h](j)}(h``struct file *file``h]j)}(hj@h]hstruct file *file}(hjBhhhNhNubah}(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}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhKhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhKhj7ubj)}(h4``int datasync`` only perform a fdatasync operation h](j)}(h``int datasync``h]j)}(hjyh]h int datasync}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhjsubj)}(hhh]h)}(h"only perform a fdatasync operationh]h"only perform a fdatasync operation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhKhj7ubeh}(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:95: ./fs/sync.chKhjubh)}(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.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "__vfs_setxattr_locked (C function)c.__vfs_setxattr_lockedhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMubj2)}(h h]h }(hj,hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj+hMubjC)}(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`jauh1jBhjhhhj+hMubjv)}(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](j|)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjVubj2)}(h h]h }(hjghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjuubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjzmodnameN classnameNj@jC)}jF]jI)}j<j@sbc.__vfs_setxattr_lockedasbuh1hhjVubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubjI)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjRubj|)}(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 classnameNj@jC)}jF]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}(hj#hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjRubj|)}(hconst char *nameh](j )}(hjh]hconst}(hj<hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj8ubj2)}(h h]h }(hjIhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8ubj)}(hcharh]hchar}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8ubj)}(hjh]h*}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjRubj|)}(hconst void *valueh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hjRubj|)}(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 classnameNj@jC)}jF]jc.__vfs_setxattr_lockedasbuh1hhjubj2)}(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`jauh1j{hjRubj|)}(h int flagsh](j)}(hinth]hint}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:ubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj:ubjI)}(hflagsh]hflags}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj:ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjRubj|)}(h'struct delegated_inode *delegated_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)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jc.__vfs_setxattr_lockedasbuh1hhjoubj2)}(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`jauh1j{hjRubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhj+hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj+hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj+hMhjhhubjw)}(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&]uh1jvhjhhhj+hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1jhhhjIhNhNubj)}(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.chMhjubj)}(hhh](j)}(hC``struct mnt_idmap *idmap`` idmap of the mount of the target inode h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj5h]hstruct mnt_idmap *idmap}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhj/ubj)}(hhh]h)}(h&idmap of the mount of the target inodeh]h&idmap of the mount of the target inode}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhj,ubj)}(h8``struct dentry *dentry`` object to perform setxattr on h](j)}(h``struct dentry *dentry``h]j)}(hjnh]hstruct dentry *dentry}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjhubj)}(hhh]h)}(hobject to perform setxattr onh]hobject to perform setxattr on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhj,ubj)}(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.chMhjubj)}(hhh]h)}(hxattr name to seth]hxattr name to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj,ubj)}(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.chMhjubj)}(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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj,ubj)}(h"``size_t size`` size of **value** 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhj%ubj)}(hhh]h)}(hsize of **value**h](hsize of }(hjDhhhNhNubj)}(h **value**h]hvalue}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1hhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj,ubj)}(h7``int flags`` flags to pass into filesystem operations h](j)}(h ``int flags``h]j)}(hjrh]h int flags}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM hjlubj)}(hhh]h)}(h(flags to pass into filesystem operationsh]h(flags to pass into filesystem operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhM 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)}(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!hj,ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_listxattr (C function)c.vfs_listxattrhNtauh1hhjIhhhNhNubj)}(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< reftargetj modnameN classnameNj@jC)}jF]jI)}j< vfs_listxattrsbc.vfs_listxattrasbuh1hhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMubj2)}(h h]h }(hj)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj(hMubjC)}(h vfs_listxattrh]jI)}(hj%h]h vfs_listxattr}(hj;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj(hMubjv)}(h0(struct dentry *dentry, char *list, size_t size)h](j|)}(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 classnameNj@jC)}jF]j#c.vfs_listxattrasbuh1hhjRubj2)}(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`jauh1j{hjNubj|)}(h char *listh](j)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hjNubj|)}(h size_t sizeh](h)}(hhh]jI)}(hsize_th]hsize_t}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj modnameN classnameNj@jC)}jF]j#c.vfs_listxattrasbuh1hhjubj2)}(h h]h }(hj)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hsizeh]hsize}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjNubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhj(hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj(hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj(hMhjhhubjw)}(hhh]h)}(h)retrieve \0 separated list of xattr namesh]h)retrieve 0 separated list of xattr names}(hjahhhNhNubah}(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&]uh1jvhjhhhj(hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1jhhhjIhNhNubj)}(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)}(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.chMhj}ubj)}(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}(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&]uh1jhj}ubh)}(h**Description**h]j)}(hjOh]h Description}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhj}ubh)}(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 }(hjehhhNhNubj)}(h **dentry**h]hdentry}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh.}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhj}ubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhj}ubh)}(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.chMhj}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:98: ./fs/xattr.chMhj}ubh)}(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.chMhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j %__vfs_removexattr_locked (C function)c.__vfs_removexattr_lockedhNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]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&]uh1j1hjhhhjhMubjC)}(h__vfs_removexattr_lockedh]jI)}(h__vfs_removexattr_lockedh]h__vfs_removexattr_locked}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(hk(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, struct delegated_inode *delegated_inode)h](j|)}(hstruct mnt_idmap *idmaph](j )}(hjh]hstruct}(hj( hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj$ ubj2)}(h h]h }(hj5 hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj$ ubh)}(hhh]jI)}(h mnt_idmaph]h mnt_idmap}(hjF hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjC ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjH modnameN classnameNj@jC)}jF]jI)}j<j sbc.__vfs_removexattr_lockedasbuh1hhj$ 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)}(hidmaph]hidmap}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$ ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj ubj|)}(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 classnameNj@jC)}jF]jb 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`jauh1j{hj ubj|)}(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 ubj)}(hcharh]hchar}(hj% hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubj2)}(h h]h }(hj3 hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hjA hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(hnameh]hname}(hjN hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj ubj|)}(h'struct delegated_inode *delegated_inodeh](j )}(hjh]hstruct}(hjg hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjc ubj2)}(h h]h }(hjt hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjc ubh)}(hhh]jI)}(hdelegated_inodeh]hdelegated_inode}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj modnameN classnameNj@jC)}jF]jb c.__vfs_removexattr_lockedasbuh1hhjc 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)}(hdelegated_inodeh]hdelegated_inode}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjc ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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}(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&]jjjj jj jjjuh1jhhhjIhNhNubj)}(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}(hjB 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)}(hjb h]hstruct dentry *dentry}(hjd 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)}(hobject to perform setxattr onh]hobject to perform setxattr on}(hj{ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjw hM"hjx ubah}(h]h ]h"]h$]h&]uh1jhj\ ubeh}(h]h ]h"]h$]h&]uh1jhjw 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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j generic_listxattr (C function)c.generic_listxattrhNtauh1hhjIhhhNhNubj)}(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}(hj0 hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj- ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj2 modnameN classnameNj@jC)}jF]jI)}j<generic_listxattrsbc.generic_listxattrasbuh1hhj) hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMkubj2)}(h h]h }(hjR hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj) hhhjQ hMkubjC)}(hgeneric_listxattrh]jI)}(hjN h]hgeneric_listxattr}(hjd hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj` ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj) hhhjQ hMkubjv)}(h9(struct dentry *dentry, char *buffer, size_t buffer_size)h](j|)}(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 classnameNj@jC)}jF]jL c.generic_listxattrasbuh1hhj{ 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`jauh1j{hjw ubj|)}(h char *bufferh](j)}(hcharh]hchar}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 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`jauh1j{hjw ubj|)}(hsize_t buffer_sizeh](h)}(hhh]jI)}(hsize_th]hsize_t}(hj4 hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1 ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj6 modnameN classnameNj@jC)}jF]jL c.generic_listxattrasbuh1hhj- ubj2)}(h h]h }(hjR hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj- ubjI)}(h buffer_sizeh]h buffer_size}(hj` hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj- ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjw ubeh}(h]h ]h"]h$]h&]j`jauh1juhj) hhhjQ hMkubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj% hhhjQ hMkubah}(h]j ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjQ hMkhj" hhubjw)}(hhh]h)}(h.run through a dentry's xattr list() operationsh]h0run through a dentry’s xattr list() operations}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMkhj hhubah}(h]h ]h"]h$]h&]uh1jvhj" hhhjQ hMkubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1jhhhjIhNhNubj)}(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.chMohj 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.chMlhj ubj)}(hhh]h)}(hdentry to list the xattrsh]hdentry to list the xattrs}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMlhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMlhj ubj)}(h``char *buffer`` result buffer h](j)}(h``char *buffer``h]j)}(hjh]h char *buffer}(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.chMmhj ubj)}(hhh]h)}(h result bufferh]h result buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjhMmhj 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.chMnhj7ubj)}(hhh]h)}(hsize of **buffer**h](hsize of }(hjVhhhNhNubj)}(h **buffer**h]hbuffer}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1hhjRhMnhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMnhj 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:98: ./fs/xattr.chMphj 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.chMohj 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.chMrhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j xattr_full_name (C function)c.xattr_full_namehNtauh1hhjIhhhNhNubj)}(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&]uh1j1hjhhhjhMubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj2)}(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}(hj#hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h7(const struct xattr_handler *handler, const char *name)h](j|)}(h#const struct xattr_handler *handlerh](j )}(hjh]hconst}(hj?hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj;ubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj;ubj )}(hjh]hstruct}(hjZhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj;ubj2)}(h h]h }(hjghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj;ubh)}(hhh]jI)}(h xattr_handlerh]h xattr_handler}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjuubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjzmodnameN classnameNj@jC)}jF]jI)}j<j%sbc.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`jauh1j{hj7ubj|)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hj7ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1jhhhjIhNhNubj)}(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)}(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:98: ./fs/xattr.chMhjVubj)}(hhh](j)}(hO``const struct xattr_handler *handler`` handler of the xattr_handler operation h](j)}(h'``const struct xattr_handler *handler``h]j)}(hj{h]h#const struct xattr_handler *handler}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjuubj)}(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&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMhjrubj)}(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&]uh1jhjhMhjrubeh}(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:98: ./fs/xattr.chMhjVubh)}(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.chMhjVubh)}(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.chMhjVubh)}(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.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !mnt_get_write_access (C function)c.mnt_get_write_accesshNtauh1hhjIhhhNhNubj)}(hhh](j)}(h-int mnt_get_write_access (struct vfsmount *m)h]j)}(h,int mnt_get_write_access(struct vfsmount *m)h](j)}(hinth]hint}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjWhhhjihMubjC)}(hmnt_get_write_accessh]jI)}(hmnt_get_write_accessh]hmnt_get_write_access}(hj|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjWhhhjihMubjv)}(h(struct vfsmount *m)h]j|)}(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 classnameNj@jC)}jF]jI)}j<j~sbc.mnt_get_write_accessasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hj8*h]hm}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjWhhhjihMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjShhhjihMubah}(h]jNah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjihMhjPhhubjw)}(hhh]h)}(h5get write access to a mount without freeze protectionh]h5get write access to a mount without freeze protection}(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&]uh1jvhjPhhhjihMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2jj2jjjuh1jhhhjIhNhNubj)}(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.chMhj6ubj)}(hhh]j)}(h:``struct vfsmount *m`` the mount on which to take a write h](j)}(h``struct vfsmount *m``h]j)}(hj[h]hstruct vfsmount *m}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjUubj)}(hhh]h)}(h"the mount on which to take a writeh]h"the mount on which to take a write}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubh)}(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.chMhj6ubh)}(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.chMhj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j mnt_want_write (C function)c.mnt_want_writehNtauh1hhjIhhhNhNubj)}(hhh](j)}(h'int mnt_want_write (struct vfsmount *m)h]j)}(h&int mnt_want_write(struct vfsmount *m)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]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&]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`jauh1jBhjhhhjhMubjv)}(h(struct vfsmount *m)h]j|)}(hstruct vfsmount *mh](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)}(hvfsmounth]hvfsmount}(hj6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj8modnameN classnameNj@jC)}jF]jI)}j<jsbc.mnt_want_writeasbuh1hhjubj2)}(h h]h }(hjVhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hj8*h]hm}(hjqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  mnt_want_write_file (C function)c.mnt_want_write_filehNtauh1hhjIhhhNhNubj)}(hhh](j)}(h+int mnt_want_write_file (struct file *file)h]j)}(h*int mnt_want_write_file(struct file *file)h](j)}(hinth]hint}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM ubj2)}(h h]h }(hjjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjWhhhjihM ubjC)}(hmnt_want_write_fileh]jI)}(hmnt_want_write_fileh]hmnt_want_write_file}(hj|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjWhhhjihM ubjv)}(h(struct file *file)h]j|)}(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 classnameNj@jC)}jF]jI)}j<j~sbc.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`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjWhhhjihM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjShhhjihM ubah}(h]jNah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjihM hjPhhubjw)}(hhh]h)}(h"get write access to a file's mounth]h$get write access to a file’s 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&]uh1jvhjPhhhjihM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1jhhhjIhNhNubj)}(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.chMhj7ubj)}(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)}(hj\h]hstruct file *file}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjVubj)}(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}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjSubah}(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&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhj7ubh)}(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.chMhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !mnt_put_write_access (C function)c.mnt_put_write_accesshNtauh1hhjIhhhNhNubj)}(hhh](j)}(h0void mnt_put_write_access (struct vfsmount *mnt)h]j)}(h/void mnt_put_write_access(struct vfsmount *mnt)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhW/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"ubjv)}(h(struct vfsmount *mnt)h]j|)}(hstruct vfsmount *mnth](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)}(hvfsmounth]hvfsmount}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj9modnameN classnameNj@jC)}jF]jI)}j<jsbc.mnt_put_write_accessasbuh1hhjubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hmnth]hmnt}(hjrhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM"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&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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}(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%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.}(hj.hhhNhNubah}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j mnt_drop_write (C function)c.mnt_drop_writehNtauh1hhjIhhhNhNubj)}(hhh](j)}(h*void mnt_drop_write (struct vfsmount *mnt)h]j)}(h)void mnt_drop_write(struct vfsmount *mnt)h](j)}(hvoidh]hvoid}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM2ubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYhhhjkhM2ubjC)}(hmnt_drop_writeh]jI)}(hmnt_drop_writeh]hmnt_drop_write}(hj~hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjYhhhjkhM2ubjv)}(h(struct vfsmount *mnt)h]j|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.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`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjYhhhjkhM2ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjUhhhjkhM2ubah}(h]jPah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjkhM2hjRhhubjw)}(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.chM2hjhhubah}(h]h ]h"]h$]h&]uh1jvhjRhhhjkhM2ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1jhhhjIhNhNubj)}(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}(hjAhhhNhNubah}(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.chM6hj9ubj)}(hhh]j)}(hD``struct vfsmount *mnt`` the mount on which to give up write access 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.chM3hjXubj)}(hhh]h)}(h*the mount on which to give up write accessh]h*the mount on which to give up write access}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshM3hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshM3hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubh)}(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.chM5hj9ubh)}(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.chM4hj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j vfs_create_mount (C function)c.vfs_create_mounthNtauh1hhjIhhhNhNubj)}(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 classnameNj@jC)}jF]jI)}j<vfs_create_mountsbc.vfs_create_mountasbuh1hhjhhhjhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(hvfs_create_mounth]jI)}(hjh]hvfs_create_mount}(hj=hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj9ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h(struct fs_context *fc)h]j|)}(hstruct fs_context *fch](j )}(hjh]hstruct}(hjXhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjTubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjTubh)}(hhh]jI)}(h fs_contexth]h fs_context}(hjvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjsubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjxmodnameN classnameNj@jC)}jF]jc.vfs_create_mountasbuh1hhjTubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjTubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubjI)}(hfch]hfc}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjTubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjPubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(hjh]hstruct fs_context *fc}(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)}(h6The configuration context with the superblock attachedh]h6The configuration context with the superblock attached}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjubah}(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&]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.}(hjkhhhNhNubah}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j path_is_mountpoint (C function)c.path_is_mountpointhNtauh1hhjIhhhNhNubj)}(hhh](j)}(h1bool path_is_mountpoint (const struct path *path)h]j)}(h0bool path_is_mountpoint(const struct path *path)h](j)}(hjh]hbool}(hjhhhNhNubah}(h]h ]jah"]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&]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`jauh1jBhjhhhjhMubjv)}(h(const struct path *path)h]j|)}(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 }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj modnameN classnameNj@jC)}jF]jI)}j<jsbc.path_is_mountpointasbuh1hhjubj2)}(h h]h }(hj>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hpathh]hpath}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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.}(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&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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.chMhjubjM)}(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&]uh1jLhj'hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j may_umount_tree (C function)c.may_umount_treehNtauh1hhjIhhhNhNubj)}(hhh](j)}(h(int may_umount_tree (struct vfsmount *m)h]j)}(h'int may_umount_tree(struct vfsmount *m)h](j)}(hinth]hint}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM1ubj2)}(h h]h }(hj]hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJhhhj\hM1ubjC)}(hmay_umount_treeh]jI)}(hmay_umount_treeh]hmay_umount_tree}(hjohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjkubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjJhhhj\hM1ubjv)}(h(struct vfsmount *m)h]j|)}(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 classnameNj@jC)}jF]jI)}j<jqsbc.may_umount_treeasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hj8*h]hm}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjJhhhj\hM1ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjFhhhj\hM1ubah}(h]jAah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj\hM1hjChhubjw)}(hhh]h)}(hcheck if a mount tree is busyh]hcheck if a mount tree is busy}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM1hj hhubah}(h]h ]h"]h$]h&]uh1jvhjChhhj\hM1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%jj%jjjuh1jhhhjIhNhNubj)}(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)}(hj/h]h Parameters}(hj1hhhNhNubah}(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.chM5hj)ubj)}(hhh]j)}(h*``struct vfsmount *m`` root of mount tree h](j)}(h``struct vfsmount *m``h]j)}(hjNh]hstruct vfsmount *m}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM2hjHubj)}(hhh]h)}(hroot of mount treeh]hroot of mount tree}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchM2hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM2hjEubah}(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.chM4hj)ubh)}(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.chM3hj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j may_umount (C function) c.may_umounthNtauh1hhjIhhhNhNubj)}(hhh](j)}(h%int may_umount (struct vfsmount *mnt)h]j)}(h$int may_umount(struct vfsmount *mnt)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMMubjC)}(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`jauh1jBhjhhhjhMMubjv)}(h(struct vfsmount *mnt)h]j|)}(hstruct vfsmount *mnth](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)}(hvfsmounth]hvfsmount}(hj)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj+modnameN classnameNj@jC)}jF]jI)}j<jsb c.may_umountasbuh1hhjubj2)}(h h]h }(hjIhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hmnth]hmnt}(hjdhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMMhjhhubjw)}(hhh]h)}(hcheck if a mount point is busyh]hcheck if a mount point is busy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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.chMQhjubj)}(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.chMNhjubj)}(hhh]h)}(h root of mounth]h root of mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjubah}(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&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMPhjubh)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMOhjubh)}(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.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMThjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  clone_private_mount (C function)c.clone_private_mounthNtauh1hhjIhhhNhNubj)}(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}(hj^hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjZhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM8 ubj2)}(h h]h }(hjlhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjZhhhjkhM8 ubh)}(hhh]jI)}(hvfsmounth]hvfsmount}(hj}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<clone_private_mountsbc.clone_private_mountasbuh1hhjZhhhjkhM8 ubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjZhhhjkhM8 ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZhhhjkhM8 ubjC)}(hclone_private_mounth]jI)}(hjh]hclone_private_mount}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjZhhhjkhM8 ubjv)}(h(const struct path *path)h]j|)}(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 }(hj hhhNhNubah}(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 classnameNj@jC)}jF]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}(hjJ hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjZhhhjkhM8 ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjVhhhjkhM8 ubah}(h]jQah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjkhM8 hjShhubjw)}(hhh]h)}(h create a private clone of a pathh]h create a private clone of a path}(hjt hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM8 hjq hhubah}(h]h ]h"]h$]h&]uh1jvhjShhhjkhM8 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1jhhhjIhNhNubj)}(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.chM< 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.chM9 hj ubj)}(hhh]h)}(h path to cloneh]h path to clone}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM9 hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM9 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.chM> hj ubh)}(hRelease with mntput().h]hRelease with mntput().}(hj6!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM@ hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j mnt_set_expiry (C function)c.mnt_set_expiryhNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hje!hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhja!hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMAubj2)}(h h]h }(hjt!hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hja!hhhjs!hMAubjC)}(hmnt_set_expiryh]jI)}(hmnt_set_expiryh]hmnt_set_expiry}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhja!hhhjs!hMAubjv)}(h5(struct vfsmount *mnt, struct list_head *expiry_list)h](j|)}(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 classnameNj@jC)}jF]jI)}j<j!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`jauh1j{hj!ubj|)}(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}(hj2"hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/"ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj4"modnameN classnameNj@jC)}jF]j!c.mnt_set_expiryasbuh1hhj"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)}(h expiry_listh]h expiry_list}(hjk"hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj"ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj!ubeh}(h]h ]h"]h$]h&]j`jauh1juhja!hhhjs!hMAubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj]!hhhjs!hMAubah}(h]jX!ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjs!hMAhjZ!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.chMAhj"hhubah}(h]h ]h"]h$]h&]uh1jvhjZ!hhhjs!hMAubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1jhhhjIhNhNubj)}(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.chMEhj"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.chMBhj"ubj)}(hhh]h)}(hThe mount to list.h]hThe mount to list.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"hMBhj"ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"hMBhj"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.chMDhj #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.chMChj%#ubah}(h]h ]h"]h$]h&]uh1jhj #ubeh}(h]h ]h"]h$]h&]uh1jhj$#hMDhj"ubeh}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubeh}(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}(hjc#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`#hhhhhKiubh)}(hhh](h)}(hsysctl interfaceh]hsysctl interface}(hjt#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjq#hhhhhKlubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j proc_dostring (C function)c.proc_dostringhNtauh1hhjq#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](j)}(hinth]hint}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#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#hKubjv)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](j|)}(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 classnameNj@jC)}jF]jI)}j<j#sbc.proc_dostringasbuh1hhj#ubj2)}(h h]h }(hj1$hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj#ubj)}(hjh]h*}(hj?$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubjI)}(htableh]htable}(hjL$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj#ubj|)}(hint dirh](j)}(hinth]hint}(hje$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhja$ubj2)}(h h]h }(hjs$hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hja$ubjI)}(hdirh]hdir}(hj$hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhja$ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj#ubj|)}(h void *bufferh](j)}(hvoidh]hvoid}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$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`jauh1j{hj#ubj|)}(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 classnameNj@jC)}jF]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`jauh1j{hj#ubj|)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hj4%hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1%ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj6%modnameN classnameNj@jC)}jF]j-$c.proc_dostringasbuh1hhj-%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)}(hpposh]hppos}(hjm%hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj-%ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj#ubeh}(h]h ]h"]h$]h&]j`jauh1juhj#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%jjjuh1jhhhjq#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)}(hjX&h]h void *buffer}(hjZ&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV&ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chKhjR&ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjq&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjm&hKhjn&ubah}(h]h ]h"]h$]h&]uh1jhjR&ubeh}(h]h ]h"]h$]h&]uh1jhjm&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.chKhj&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&]uh1jhj&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&]uh1jhjq#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j proc_dobool (C function) c.proc_doboolhNtauh1hhjq#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](j)}(hinth]hint}(hjk'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjg'hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMubj2)}(h h]h }(hjz'hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjg'hhhjy'hMubjC)}(h proc_doboolh]jI)}(h proc_doboolh]h proc_dobool}(hj'hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjg'hhhjy'hMubjv)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](j|)}(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 classnameNj@jC)}jF]jI)}j<j'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`jauh1j{hj'ubj|)}(hint dirh](j)}(hinth]hint}(hj5(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1(ubj2)}(h h]h }(hjC(hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1(ubjI)}(hdirh]hdir}(hjQ(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1(ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj'ubj|)}(h void *bufferh](j)}(hvoidh]hvoid}(hjj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjf(ubj2)}(h h]h }(hjx(hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjf(ubj)}(hjh]h*}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjf(ubjI)}(hbufferh]hbuffer}(hj(hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjf(ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj'ubj|)}(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 classnameNj@jC)}jF]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`jauh1j{hj'ubj|)}(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 classnameNj@jC)}jF]j' c.proc_doboolasbuh1hhj(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)}(hpposh]hppos}(hj=)hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj(ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj'ubeh}(h]h ]h"]h$]h&]j`jauh1juhjg'hhhjy'hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjc'hhhjy'hMubah}(h]j^'ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjy'hMhj`'hhubjw)}(hhh]h)}(hread/write a boolh]hread/write a bool}(hjg)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjd)hhubah}(h]h ]h"]h$]h&]uh1jvhj`'hhhjy'hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)jj)jjjuh1jhhhjq#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)}(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)}(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}(hjA*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)}(hja*h]h size_t *lenp}(hjc*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 size of the user bufferh]hthe size of the user buffer}(hjz*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjv*hMhjw*ubah}(h]h ]h"]h$]h&]uh1jhj[*ubeh}(h]h ]h"]h$]h&]uh1jhjv*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&]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.chMhj)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.chMhj)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.chMhj)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 hj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjq#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j proc_dointvec (C function)c.proc_dointvechNtauh1hhjq#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](j)}(hinth]hint}(hj8+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4+hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM<ubj2)}(h h]h }(hjG+hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4+hhhjF+hM<ubjC)}(h proc_dointvech]jI)}(h proc_dointvech]h proc_dointvec}(hjY+hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjU+ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj4+hhhjF+hM<ubjv)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](j|)}(hconst struct ctl_table *tableh](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+ubj )}(hjh]hstruct}(hj+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 ctl_tableh]h ctl_table}(hj+hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj+modnameN classnameNj@jC)}jF]jI)}j<j[+sbc.proc_dointvecasbuh1hhjq+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)}(htableh]htable}(hj+hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjq+ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjm+ubj|)}(hint dirh](j)}(hinth]hint}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+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`jauh1j{hjm+ubj|)}(h void *bufferh](j)}(hvoidh]hvoid}(hj7,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3,ubj2)}(h h]h }(hjE,hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj3,ubj)}(hjh]h*}(hjS,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3,ubjI)}(hbufferh]hbuffer}(hj`,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3,ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjm+ubj|)}(h size_t *lenph](h)}(hhh]jI)}(hsize_th]hsize_t}(hj|,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjy,ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj~,modnameN classnameNj@jC)}jF]j+c.proc_dointvecasbuh1hhju,ubj2)}(h h]h }(hj,hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hju,ubj)}(hjh]h*}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhju,ubjI)}(hlenph]hlenp}(hj,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhju,ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjm+ubj|)}(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 classnameNj@jC)}jF]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`jauh1j{hjm+ubeh}(h]h ]h"]h$]h&]j`jauh1juhj4+hhhjF+hM<ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj0+hhhjF+hM<ubah}(h]j++ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjF+hM<hj-+hhubjw)}(hhh]h)}(hread a vector of integersh]hread a vector of integers}(hj4-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM<hj1-hhubah}(h]h ]h"]h$]h&]uh1jvhj-+hhhjF+hM<ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjL-jjL-jjjuh1jhhhjq#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)}(hjV-h]h Parameters}(hjX-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjT-ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM@hjP-ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hju-h]hconst struct ctl_table *table}(hjw-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs-ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM=hjo-ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(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=hjl-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>hjl-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?hjl-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}(hj0.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}(hjG.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjC.hM@hjD.ubah}(h]h ]h"]h$]h&]uh1jhj(.ubeh}(h]h ]h"]h$]h&]uh1jhjC.hM@hjl-ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjg.h]h loff_t *ppos}(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.chMAhja.ubj)}(hhh]h)}(h file positionh]h file position}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|.hMAhj}.ubah}(h]h ]h"]h$]h&]uh1jhja.ubeh}(h]h ]h"]h$]h&]uh1jhj|.hMAhjl-ubeh}(h]h ]h"]h$]h&]uh1jhjP-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.chMChjP-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.chMBhjP-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.chMEhjP-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjq#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j proc_douintvec (C function)c.proc_douintvechNtauh1hhjq#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](j)}(hinth]hint}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj.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/hMOubjv)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](j|)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hj3/hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj//ubj2)}(h h]h }(hj@/hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj//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 ctl_tableh]h ctl_table}(hjl/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhji/ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjn/modnameN classnameNj@jC)}jF]jI)}j<j/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`jauh1j{hj+/ubj|)}(hint dirh](j)}(hinth]hint}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/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`jauh1j{hj+/ubj|)}(h void *bufferh](j)}(hvoidh]hvoid}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubj2)}(h h]h }(hj0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/ubj)}(hjh]h*}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubjI)}(hbufferh]hbuffer}(hj0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj+/ubj|)}(h size_t *lenph](h)}(hhh]jI)}(hsize_th]hsize_t}(hj:0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj70ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj<0modnameN classnameNj@jC)}jF]j/c.proc_douintvecasbuh1hhj30ubj2)}(h h]h }(hjX0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj30ubj)}(hjh]h*}(hjf0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj30ubjI)}(hlenph]hlenp}(hjs0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj30ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj+/ubj|)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hj0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj0modnameN classnameNj@jC)}jF]j/c.proc_douintvecasbuh1hhj0ubj2)}(h h]h }(hj0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj0ubj)}(hjh]h*}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj0ubjI)}(hpposh]hppos}(hj0hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj+/ubeh}(h]h ]h"]h$]h&]j`jauh1juhj.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&]jjjj 1jj 1jjjuh1jhhhjq#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.chMShj1ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hj31h]hconst struct ctl_table *table}(hj51hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj11ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMPhj-1ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjL1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjH1hMPhjI1ubah}(h]h ]h"]h$]h&]uh1jhj-1ubeh}(h]h ]h"]h$]h&]uh1jhjH1hMPhj*1ubj)}(h;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hjl1h]hint dir}(hjn1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj1ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMQhjf1ubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh& if this is a write to the sysctl file}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj1hMQhj1ubah}(h]h ]h"]h$]h&]uh1jhjf1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMQhj*1ubj)}(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&]uh1jhj1hMRhj*1ubj)}(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}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMShj2ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj2hMShj*1ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hj%2h]h loff_t *ppos}(hj'2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#2ubah}(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:2hMThj*1ubeh}(h]h ]h"]h$]h&]uh1jhj1ubh)}(h**Description**h]j)}(hj`2h]h Description}(hjb2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^2ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMVhj1ubh)}(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.}(hjv2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMUhj1ubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMXhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjq#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !proc_dointvec_minmax (C function)c.proc_dointvec_minmaxhNtauh1hhjq#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](j)}(hinth]hint}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2hhhX/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`jauh1jBhj2hhhj2hMcubjv)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](j|)}(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}(hj 3hhhNhNubah}(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}(hj*3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj'3ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj,3modnameN classnameNj@jC)}jF]jI)}j<j2sbc.proc_dointvec_minmaxasbuh1hhj2ubj2)}(h h]h }(hjJ3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubj)}(hjh]h*}(hjX3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubjI)}(htableh]htable}(hje3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj2ubj|)}(hint dirh](j)}(hinth]hint}(hj~3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjz3ubj2)}(h h]h }(hj3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjz3ubjI)}(hdirh]hdir}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjz3ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj2ubj|)}(h void *bufferh](j)}(hvoidh]hvoid}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubj2)}(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`jauh1j{hj2ubj|)}(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 classnameNj@jC)}jF]jF3c.proc_dointvec_minmaxasbuh1hhj3ubj2)}(h h]h }(hj4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj3ubj)}(hjh]h*}(hj$4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubjI)}(hlenph]hlenp}(hj14hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj2ubj|)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjM4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJ4ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjO4modnameN classnameNj@jC)}jF]jF3c.proc_dointvec_minmaxasbuh1hhjF4ubj2)}(h h]h }(hjk4hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjF4ubj)}(hjh]h*}(hjy4hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjF4ubjI)}(hpposh]hppos}(hj4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjF4ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj2ubeh}(h]h ]h"]h$]h&]j`jauh1juhj2hhhj2hMcubeh}(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&]jjjj4jj4jjjuh1jhhhjq#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}(hj 5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hMdhj5ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj5hMdhj4ubj)}(h;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hj*5h]hint dir}(hj,5hhhNhNubah}(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.chMehj$5ubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hjG5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC5ubh& if this is a write to the sysctl file}(hjC5hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj?5hMehj@5ubah}(h]h ]h"]h$]h&]uh1jhj$5ubeh}(h]h ]h"]h$]h&]uh1jhj?5hMehj4ubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hjq5h]h void *buffer}(hjs5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo5ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMfhjk5ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hMfhj5ubah}(h]h ]h"]h$]h&]uh1jhjk5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMfhj4ubj)}(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)}(hj6h]h Description}(hj 6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(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.}(hj46hhhNhNubah}(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).}(hjC6hhhNhNubah}(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}(hjR6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMohj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjq#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "proc_douintvec_minmax (C function)c.proc_douintvec_minmaxhNtauh1hhjq#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](j)}(hinth]hint}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}6hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM{ubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}6hhhj6hM{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`jauh1jBhj}6hhhj6hM{ubjv)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](j|)}(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 classnameNj@jC)}jF]jI)}j<j6sbc.proc_douintvec_minmaxasbuh1hhj6ubj2)}(h h]h }(hj7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj6ubj)}(hjh]h*}(hj%7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6ubjI)}(htableh]htable}(hj27hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj6ubj|)}(hint dirh](j)}(hinth]hint}(hjK7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjG7ubj2)}(h h]h }(hjY7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjG7ubjI)}(hdirh]hdir}(hjg7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjG7ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj6ubj|)}(h void *bufferh](j)}(hvoidh]hvoid}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|7ubj2)}(h h]h }(hj7hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|7ubj)}(hjh]h*}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|7ubjI)}(hbufferh]hbuffer}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|7ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj6ubj|)}(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 classnameNj@jC)}jF]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`jauh1j{hj6ubj|)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj8modnameN classnameNj@jC)}jF]j7c.proc_douintvec_minmaxasbuh1hhj8ubj2)}(h h]h }(hj88hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj8ubj)}(hjh]h*}(hjF8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubjI)}(hpposh]hppos}(hjS8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj8ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj6ubeh}(h]h ]h"]h$]h&]j`jauh1juhj}6hhhj6hM{ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjy6hhhj6hM{ubah}(h]jt6ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj6hM{hjv6hhubjw)}(hhh]h)}(h2read a vector of unsigned ints with min/max valuesh]h2read a vector of unsigned ints with min/max values}(hj}8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM{hjz8hhubah}(h]h ]h"]h$]h&]uh1jvhjv6hhhj6hM{ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1jhhhjq#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&]uh1jhj9ubh& if this is a write to the sysctl file}(hj9hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj 9hM}hj 9ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj 9hM}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~hj89ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjW9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjS9hM~hjT9ubah}(h]h ]h"]h$]h&]uh1jhj89ubeh}(h]h ]h"]h$]h&]uh1jhjS9hM~hj8ubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hjw9h]h size_t *lenp}(hjy9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju9ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjq9ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhjq9ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj8ubj)}(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.}(hj:hhhNhNubah}(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.}(hj:hhhNhNubah}(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&]uh1jhjq#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  proc_dou8vec_minmax (C function)c.proc_dou8vec_minmaxhNtauh1hhjq#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](j)}(hinth]hint}(hjN:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJ: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&]uh1j1hjJ:hhhj\:hMubjC)}(hproc_dou8vec_minmaxh]jI)}(hproc_dou8vec_minmaxh]hproc_dou8vec_minmax}(hjo:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjk:ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjJ:hhhj\:hMubjv)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jq:sbc.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)}(htableh]htable}(hj:hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj:ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj:ubj|)}(hint dirh](j)}(hinth]hint}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubj2)}(h h]h }(hj&;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj;ubjI)}(hdirh]hdir}(hj4;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj;ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj:ubj|)}(h void *bufferh](j)}(hvoidh]hvoid}(hjM;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjI;ubj2)}(h h]h }(hj[;hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjI;ubj)}(hjh]h*}(hji;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjI;ubjI)}(hbufferh]hbuffer}(hjv;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjI;ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj:ubj|)}(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 classnameNj@jC)}jF]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)}(hlenph]hlenp}(hj;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj;ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj:ubj|)}(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 classnameNj@jC)}jF]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`jauh1j{hj:ubeh}(h]h ]h"]h$]h&]j`jauh1juhjJ:hhhj\:hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjF:hhhj\:hMubah}(h]jA:ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj\:hMhjC:hhubjw)}(hhh]h)}(h3read a vector of unsigned chars with min/max valuesh]h3read a vector of unsigned chars with min/max values}(hjJ<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjG<hhubah}(h]h ]h"]h$]h&]uh1jvhjC:hhhj\:hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjb<jjb<jjjuh1jhhhjq#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)}(hjl<h]h Parameters}(hjn<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj<ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjf<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}(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)}(hjD=h]h size_t *lenp}(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.chMhj>=ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj]=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjY=hMhjZ=ubah}(h]h ]h"]h$]h&]uh1jhj>=ubeh}(h]h ]h"]h$]h&]uh1jhjY=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.chMhjw=ubj)}(hhh]h)}(h file positionh]h file position}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMhj=ubah}(h]h ]h"]h$]h&]uh1jhjw=ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhj<ubeh}(h]h ]h"]h$]h&]uh1jhjf<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.chMhjf<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.chMhjf<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.chMhjf<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.chMhjf<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjq#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j #proc_doulongvec_minmax (C function)c.proc_doulongvec_minmaxhNtauh1hhjq#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](j)}(hinth]hint}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>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&]uh1jHhj8>ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj>hhhj)>hMubjv)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](j|)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hjX>hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjT>ubj2)}(h h]h }(hje>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjT>ubj )}(hjh]hstruct}(hjs>hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjT>ubj2)}(h h]h }(hj>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjT>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 classnameNj@jC)}jF]jI)}j<j>>sbc.proc_doulongvec_minmaxasbuh1hhjT>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)}(htableh]htable}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjT>ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjP>ubj|)}(hint dirh](j)}(hinth]hint}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>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`jauh1j{hjP>ubj|)}(h void *bufferh](j)}(hvoidh]hvoid}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubj2)}(h h]h }(hj(?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj?ubj)}(hjh]h*}(hj6?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?ubjI)}(hbufferh]hbuffer}(hjC?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj?ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjP>ubj|)}(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< reftargetja?modnameN classnameNj@jC)}jF]j>c.proc_doulongvec_minmaxasbuh1hhjX?ubj2)}(h h]h }(hj}?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjX?ubj)}(hjh]h*}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjX?ubjI)}(hlenph]hlenp}(hj?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjX?ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjP>ubj|)}(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 classnameNj@jC)}jF]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`jauh1j{hjP>ubeh}(h]h ]h"]h$]h&]j`jauh1juhj>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/@jjjuh1jhhhjq#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)}(hj9@h]h Parameters}(hj;@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7@ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj3@ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjX@h]hconst struct ctl_table *table}(hjZ@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV@ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjR@ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjq@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjm@hMhjn@ubah}(h]h ]h"]h$]h&]uh1jhjR@ubeh}(h]h ]h"]h$]h&]uh1jhjm@hMhjO@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@hMhjO@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@hMhjO@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&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj Aubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj*AhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&AhMhj'Aubah}(h]h ]h"]h$]h&]uh1jhj Aubeh}(h]h ]h"]h$]h&]uh1jhj&AhMhjO@ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjJAh]h loff_t *ppos}(hjLAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHAubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM hjDAubj)}(hhh]h)}(h file positionh]h file position}(hjcAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_AhM hj`Aubah}(h]h ]h"]h$]h&]uh1jhjDAubeh}(h]h ]h"]h$]h&]uh1jhj_AhM hjO@ubeh}(h]h ]h"]h$]h&]uh1jhj3@ubh)}(h**Description**h]j)}(hjAh]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM"hj3@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!hj3@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$hj3@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'hj3@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjq#hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !proc_do_large_bitmap (C function)c.proc_do_large_bitmaphNtauh1hhjq#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](j)}(hinth]hint}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAhhhX/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}(hj BhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjAhhhjAhMIubjv)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](j|)}(hconst struct ctl_table *tableh](j )}(hjh]hconst}(hj%BhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj!Bubj2)}(h h]h }(hj2BhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!Bubj )}(hjh]hstruct}(hj@BhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj!Bubj2)}(h h]h }(hjMBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!Bubh)}(hhh]jI)}(h ctl_tableh]h ctl_table}(hj^BhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[Bubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj`BmodnameN classnameNj@jC)}jF]jI)}j<j Bsbc.proc_do_large_bitmapasbuh1hhj!Bubj2)}(h h]h }(hj~BhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!Bubj)}(hjh]h*}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!BubjI)}(htableh]htable}(hjBhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!Bubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjBubj|)}(hint dirh](j)}(hinth]hint}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj2)}(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`jauh1j{hjBubj|)}(h void *bufferh](j)}(hvoidh]hvoid}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubj2)}(h h]h }(hjBhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjBubj)}(hjh]h*}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubjI)}(hbufferh]hbuffer}(hjChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjBubj|)}(h size_t *lenph](h)}(hhh]jI)}(hsize_th]hsize_t}(hj,ChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)Cubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj.CmodnameN classnameNj@jC)}jF]jzBc.proc_do_large_bitmapasbuh1hhj%Cubj2)}(h h]h }(hjJChhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj%Cubj)}(hjh]h*}(hjXChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj%CubjI)}(hlenph]hlenp}(hjeChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj%Cubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjBubj|)}(h loff_t *pposh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj~Cubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjCmodnameN classnameNj@jC)}jF]jzBc.proc_do_large_bitmapasbuh1hhjzCubj2)}(h h]h }(hjChhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjzCubj)}(hjh]h*}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzCubjI)}(hpposh]hppos}(hjChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjzCubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjBubeh}(h]h ]h"]h$]h&]j`jauh1juhjAhhhjAhMIubeh}(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&]jjjjCjjCjjjuh1jhhhjq#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)}(hjDh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMMhjDubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hj%Dh]hconst struct ctl_table *table}(hj'DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#Dubah}(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:DhMJhjDubj)}(h;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hj^Dh]hint dir}(hj`DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\Dubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMKhjXDubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hj{DhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwDubh& if this is a write to the sysctl file}(hjwDhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjsDhMKhjtDubah}(h]h ]h"]h$]h&]uh1jhjXDubeh}(h]h ]h"]h$]h&]uh1jhjsDhMKhjDubj)}(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&]uh1jhjDhMLhjDubj)}(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&]uh1jhjDhMMhjDubj)}(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}(hj0EhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,EhMNhj-Eubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj,EhMNhjDubeh}(h]h ]h"]h$]h&]uh1jhjDubh)}(h**Description**h]j)}(hjREh]h Description}(hjTEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPEubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMPhjDubh)}(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.}(hjhEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMOhjDubh)}(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.}(hjwEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMRhjDubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMVhjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjq#hhhNhNubeh}(h]sysctl-interfaceah ]h"]sysctl interfaceah$]h&]uh1hhj`#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](j)}(hvoidh]hvoid}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chM ubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjEhhhjEhM 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`jauh1jBhjEhhhjEhM ubjv)}(h(struct pid *pid)h]j|)}(hstruct pid *pidh](j )}(hjh]hstruct}(hj FhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjFubj2)}(h h]h }(hjFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubh)}(hhh]jI)}(hpidh]hpid}(hj)FhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj&Fubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj+FmodnameN classnameNj@jC)}jF]jI)}j<jEsbc.proc_flush_pidasbuh1hhjFubj2)}(h h]h }(hjIFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubj)}(hjh]h*}(hjWFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubjI)}(hpidh]hpid}(hjdFhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjFubah}(h]h ]h"]h$]h&]j`jauh1juhjEhhhjEhM ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjEhhhjEhM ubah}(h]jEah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjEhM hjEhhubjw)}(hhh]h)}(h8Remove dcache entries for **pid** from the /proc dcache.h](hRemove dcache entries for }(hjFhhhNhNubj)}(h**pid**h]hpid}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh from the /proc dcache.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chM hjFhhubah}(h]h ]h"]h$]h&]uh1jvhjEhhhjEhM 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.chM 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.chM hjFubj)}(hhh]h)}(hpid that should be flushed.h]hpid that should be flushed.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhM hjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhM hjFubah}(h]h ]h"]h$]h&]uh1jhjFubh)}(h**Description**h]j)}(hjGh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chM 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.}(hj2GhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chM 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.}(hjAGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chM hjFubh)}(h**NOTE**h]j)}(hjRGh]hNOTE}(hjTGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPGubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chM 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}(hjoGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chM hjkGubj)}(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.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}GhM hj~Gubah}(h]h ]h"]h$]h&]uh1jhjkGubeh}(h]h ]h"]h$]h&]uh1jhj}GhM hjhGubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjEhhhNhNubeh}(h]proc-filesystem-interfaceah ]h"]proc filesystem interfaceah$]h&]uh1hhj`#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](j)}(hvoidh]hvoid}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjGhhhU/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}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjGubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjGhhhjGhK/ubjv)}(h((struct eventfd_ctx *ctx, __poll_t mask)h](j|)}(hstruct eventfd_ctx *ctxh](j )}(hjh]hstruct}(hjHhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjHubj2)}(h h]h }(hj,HhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjHubh)}(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 classnameNj@jC)}jF]jI)}j<jHsbc.eventfd_signal_maskasbuh1hhjHubj2)}(h h]h }(hj]HhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjHubj)}(hjh]h*}(hjkHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubjI)}(hctxh]hctx}(hjxHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjHubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjHubj|)}(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 classnameNj@jC)}jF]jYHc.eventfd_signal_maskasbuh1hhjHubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjHubjI)}(hmaskh]hmask}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjHubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjHubeh}(h]h ]h"]h$]h&]j`jauh1juhjGhhhjGhK/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&]jjjjIjjIjjjuh1jhhhjGhNhNubj)}(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)}(hj Ih]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Iubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chK3hjIubj)}(hhh](j)}(hA``struct eventfd_ctx *ctx`` [in] Pointer to the eventfd context. h](j)}(h``struct eventfd_ctx *ctx``h]j)}(hj+Ih]hstruct eventfd_ctx *ctx}(hj-IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)Iubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chK0hj%Iubj)}(hhh]h)}(h$[in] Pointer to the eventfd context.h]h$[in] Pointer to the eventfd context.}(hjDIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@IhK0hjAIubah}(h]h ]h"]h$]h&]uh1jhj%Iubeh}(h]h ]h"]h$]h&]uh1jhj@IhK0hj"Iubj)}(h!``__poll_t mask`` [in] poll mask h](j)}(h``__poll_t mask``h]j)}(hjdIh]h __poll_t mask}(hjfIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbIubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chK1hj^Iubj)}(hhh]h)}(h[in] poll maskh]h[in] poll mask}(hj}IhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyIhK1hjzIubah}(h]h ]h"]h$]h&]uh1jhj^Iubeh}(h]h ]h"]h$]h&]uh1jhjyIhK1hj"Iubeh}(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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chK3hjIubh)}(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.chK2hjIubeh}(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](j)}(hvoidh]hvoid}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIhhhU/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}(hjJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjIhhhjIhKaubjv)}(h(struct eventfd_ctx *ctx)h]j|)}(hstruct eventfd_ctx *ctxh](j )}(hjh]hstruct}(hj!JhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjJubj2)}(h h]h }(hj.JhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJubh)}(hhh]jI)}(h eventfd_ctxh]h eventfd_ctx}(hj?JhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjah"]h$]h&]uh1j1hjJubj)}(hjh]h*}(hjmJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubjI)}(hctxh]hctx}(hjzJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjJubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjJubah}(h]h ]h"]h$]h&]j`jauh1juhjIhhhjIhKaubeh}(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)}(hj Kh]h Description}(hj"KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(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().}(hj6KhhhNhNubah}(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](j)}(hinth]hint}(hjeKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaKhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKubj2)}(h h]h }(hjtKhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjaKhhhjsKhKubjC)}(heventfd_ctx_remove_wait_queueh]jI)}(heventfd_ctx_remove_wait_queueh]heventfd_ctx_remove_wait_queue}(hjKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjKubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjaKhhhjsKhKubjv)}(h?(struct eventfd_ctx *ctx, wait_queue_entry_t *wait, __u64 *cnt)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jKsbc.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`jauh1j{hjKubj|)}(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 classnameNj@jC)}jF]jKc.eventfd_ctx_remove_wait_queueasbuh1hhjLubj2)}(h h]h }(hj5LhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLubj)}(hjh]h*}(hjCLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLubjI)}(hwaith]hwait}(hjPLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjKubj|)}(h __u64 *cnth](h)}(hhh]jI)}(h__u64h]h__u64}(hjlLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjiLubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjnLmodnameN classnameNj@jC)}jF]jKc.eventfd_ctx_remove_wait_queueasbuh1hhjeLubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjeLubj)}(hjh]h*}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeLubjI)}(hcnth]hcnt}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeLubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjKubeh}(h]h ]h"]h$]h&]j`jauh1juhjaKhhhjsKhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj]KhhhjsKhKubah}(h]jXKah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjsKhKhjZKhhubjw)}(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&]uh1jvhjZKhhhjsKhKubeh}(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)}(hjMh]hstruct eventfd_ctx *ctx}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKhj Mubj)}(hhh]h)}(h [in] Pointer to eventfd context.h]h [in] Pointer to eventfd context.}(hj)MhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%MhKhj&Mubah}(h]h ]h"]h$]h&]uh1jhj Mubeh}(h]h ]h"]h$]h&]uh1jhj%MhKhjMubj)}(h<``wait_queue_entry_t *wait`` [in] Wait queue to be removed. h](j)}(h``wait_queue_entry_t *wait``h]j)}(hjIMh]hwait_queue_entry_t *wait}(hjKMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGMubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKhjCMubj)}(hhh]h)}(h[in] Wait queue to be removed.h]h[in] Wait queue to be removed.}(hjbMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^MhKhj_Mubah}(h]h ]h"]h$]h&]uh1jhjCMubeh}(h]h ]h"]h$]h&]uh1jhj^MhKhjMubj)}(h:``__u64 *cnt`` [out] Pointer to the 64-bit counter value. h](j)}(h``__u64 *cnt``h]j)}(hjMh]h __u64 *cnt}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKhj|Mubj)}(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&]uh1jhj|Mubeh}(h]h ]h"]h$]h&]uh1jhjMhKhjMubeh}(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}hj Nsbah}(h]h ]h"]h$]h&]uh1j NhjNubhoption_argument)}(hAGAINh]hAGAIN}(hjNhhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1jNhjNubeh}(h]h ]h"]h$]h&]uh1jNhjNubah}(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.}(hjah"]h$]h&]uh1j1hjNhhhjNhM:ubh)}(hhh]jI)}(hfileh]hfile}(hjNhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjNmodnameN classnameNj@jC)}jF]jI)}j< eventfd_fgetsbc.eventfd_fgetasbuh1hhjNhhhjNhM:ubj2)}(h h]h }(hjNhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjNhhhjNhM:ubj)}(hjh]h*}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNhhhjNhM:ubjC)}(h eventfd_fgeth]jI)}(hjNh]h eventfd_fget}(hjNhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjNubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjNhhhjNhM:ubjv)}(h(int fd)h]j|)}(hint fdh](j)}(hinth]hint}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj2)}(h h]h }(hjOhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjOubjI)}(hfdh]hfd}(hj"OhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjOubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjNubah}(h]h ]h"]h$]h&]j`jauh1juhjNhhhjNhM:ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjNhhhjNhM:ubah}(h]jNah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjNhM:hjNhhubjw)}(hhh]h)}(h2Acquire a reference of an eventfd file descriptor.h]h2Acquire a reference of an eventfd file descriptor.}(hjLOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chM:hjIOhhubah}(h]h ]h"]h$]h&]uh1jvhjNhhhjNhM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdOjjdOjjjuh1jhhhjGhNhNubj)}(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)}(hjnOh]h Parameters}(hjpOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlOubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chM>hjhOubj)}(hhh]j)}(h)``int fd`` [in] Eventfd file descriptor. h](j)}(h ``int fd``h]j)}(hjOh]hint fd}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chM;hjOubj)}(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&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhM;hjOubah}(h]h ]h"]h$]h&]uh1jhjhOubh)}(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=hjhOubh)}(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<hjhOubjM)}(hhh](jM)}(hhh](jM)}(hhh]jN)}(h-EBADFh](j N)}(h-Eh]h-E}hjOsbah}(h]h ]h"]h$]h&]uh1j NhjOubjN)}(hBADFh]hBADF}(hjPhhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1jNhjOubeh}(h]h ]h"]h$]h&]uh1jNhjOubah}(h]h ]h"]h$]h&]uh1jMhjOubj7N)}(h!: Invalid **fd** file descriptor.h]h)}(hj%Ph](h : Invalid }(hj'PhhhNhNubj)}(h**fd**h]hfd}(hj.PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'Pubh file descriptor.}(hj'PhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chM?hj#Pubah}(h]h ]h"]h$]h&]uh1j6NhjOubeh}(h]h ]h"]h$]h&]uh1jMhjOubjM)}(hhh](jM)}(hhh]jN)}(h-EINVALh](j N)}(h-Eh]h-E}hj]Psbah}(h]h ]h"]h$]h&]uh1j NhjYPubjN)}(hINVALh]hINVAL}(hjkPhhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1jNhjYPubeh}(h]h ]h"]h$]h&]uh1jNhjVPubah}(h]h ]h"]h$]h&]uh1jMhjSPubj7N)}(h4: The **fd** file descriptor is not an eventfd file.h]h)}(hjPh](h: The }(hjPhhhNhNubj)}(h**fd**h]hfd}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh( file descriptor is not an eventfd file.}(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&]uh1j6NhjSPubeh}(h]h ]h"]h$]h&]uh1jMhjOubeh}(h]h ]h"]h$]h&]uh1jMhjFPhM?hjhOubeh}(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 classnameNj@jC)}jF]jI)}j<eventfd_ctx_fdgetsbc.eventfd_ctx_fdgetasbuh1hhjPhhhjPhMTubj2)}(h h]h }(hjQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPhhhjPhMTubj)}(hjh]h*}(hj*QhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjPhhhjPhMTubjC)}(heventfd_ctx_fdgeth]jI)}(hjQh]heventfd_ctx_fdget}(hj;QhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj7Qubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjPhhhjPhMTubjv)}(h(int fd)h]j|)}(hint fdh](j)}(hinth]hint}(hjVQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRQubj2)}(h h]h }(hjdQhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRQubjI)}(hfdh]hfd}(hjrQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRQubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjNQubah}(h]h ]h"]h$]h&]j`jauh1juhjPhhhjPhMTubeh}(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}(hjRhhhNhNubah}(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:}(hj.RhhhNhNubah}(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&]uh1j1hjhRhhhjyRhMfubh)}(hhh]jI)}(h eventfd_ctxh]h eventfd_ctx}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjRmodnameN classnameNj@jC)}jF]jI)}j<eventfd_ctx_filegetsbc.eventfd_ctx_filegetasbuh1hhjhRhhhjyRhMfubj2)}(h h]h }(hjRhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhRhhhjyRhMfubj)}(hjh]h*}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhRhhhjyRhMfubjC)}(heventfd_ctx_filegeth]jI)}(hjRh]heventfd_ctx_fileget}(hjRhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhRhhhjyRhMfubjv)}(h(struct file *file)h]j|)}(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}(hjShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjSmodnameN classnameNj@jC)}jF]jRc.eventfd_ctx_filegetasbuh1hhjRubj2)}(h h]h }(hj"ShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRubj)}(hjh]h*}(hj0ShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubjI)}(hfileh]hfile}(hj=ShhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjRubah}(h]h ]h"]h$]h&]j`jauh1juhjhRhhhjyRhMfubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjdRhhhjyRhMfubah}(h]j_Rah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjyRhMfhjaRhhubjw)}(hhh]h)}(h5Acquires a reference to the internal eventfd context.h]h5Acquires a reference to the internal eventfd context.}(hjgShhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chMfhjdShhubah}(h]h ]h"]h$]h&]uh1jvhjaRhhhjyRhMfubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSjjSjjjuh1jhhhjGhNhNubj)}(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)}(hjSh]h Parameters}(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.chMjhjSubj)}(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&]uh1jhjSubh)}(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.chMihjSubh)}(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.chMhhjSubjM)}(hhh]jM)}(hhh](jM)}(hhh]jN)}(h-EINVALh](j N)}(h-Eh]h-E}hjTsbah}(h]h ]h"]h$]h&]uh1j NhjTubjN)}(hINVALh]hINVAL}(hj#ThhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1jNhjTubeh}(h]h ]h"]h$]h&]uh1jNhjTubah}(h]h ]h"]h$]h&]uh1jMhj Tubj7N)}(h4: The **fd** file descriptor is not an eventfd file.h]h)}(hj@Th](h: The }(hjBThhhNhNubj)}(h**fd**h]hfd}(hjIThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBTubh( file descriptor is not an eventfd file.}(hjBThhhNhNubeh}(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&]uh1j6Nhj Tubeh}(h]h ]h"]h$]h&]uh1jMhjTubah}(h]h ]h"]h$]h&]uh1jMhjaThMkhjSubeh}(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}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThhhhhK~ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  ep_events_available (C function)c.ep_events_availablehNtauh1hhjThhhNhNubj)}(hhh](j)}(h.int ep_events_available (struct eventpoll *ep)h]j)}(h-int ep_events_available(struct eventpoll *ep)h](j)}(hinth]hint}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjThhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMxubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjThhhjThMxubjC)}(hep_events_availableh]jI)}(hep_events_availableh]hep_events_available}(hjThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjTubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjThhhjThMxubjv)}(h(struct eventpoll *ep)h]j|)}(hstruct eventpoll *eph](j )}(hjh]hstruct}(hjThhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjTubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjTubh)}(hhh]jI)}(h eventpollh]h eventpoll}(hjUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjUubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj UmodnameN classnameNj@jC)}jF]jI)}j<jTsbc.ep_events_availableasbuh1hhjTubj2)}(h h]h }(hj(UhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjTubj)}(hjh]h*}(hj6UhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjTubjI)}(heph]hep}(hjCUhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjTubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjTubah}(h]h ]h"]h$]h&]j`jauh1juhjThhhjThMxubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjThhhjThMxubah}(h]jTah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjThMxhjThhubjw)}(hhh]h)}(h*Checks if ready events might be available.h]h*Checks if ready events might be available.}(hjmUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMxhjjUhhubah}(h]h ]h"]h$]h&]uh1jvhjThhhjThMxubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1jhhhjThNhNubj)}(h**Parameters** ``struct eventpoll *ep`` Pointer to the eventpoll context. **Return** a value different than ``zero`` if ready events are available, or ``zero`` 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.chM|hjUubj)}(hhh]j)}(h;``struct eventpoll *ep`` Pointer to the eventpoll context. h](j)}(h``struct eventpoll *ep``h]j)}(hjUh]hstruct eventpoll *ep}(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.chMzhjUubj)}(hhh]h)}(h!Pointer to the eventpoll context.h]h!Pointer to the eventpoll context.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhMzhjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMzhjUubah}(h]h ]h"]h$]h&]uh1jhjUubh)}(h **Return**h]j)}(hjUh]hReturn}(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.chM|hjUubh)}(hUa value different than ``zero`` if ready events are available, or ``zero`` otherwise.h](ha value different than }(hjUhhhNhNubj)}(h``zero``h]hzero}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh# if ready events are available, or }(hjUhhhNhNubj)}(h``zero``h]hzero}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh otherwise.}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chM|hjUubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !busy_loop_ep_timeout (C function)c.busy_loop_ep_timeouthNtauh1hhjThhhNhNubj)}(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](j)}(hjh]hbool}(hjRVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNVhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMubj2)}(h h]h }(hj`VhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjNVhhhj_VhMubjC)}(hbusy_loop_ep_timeouth]jI)}(hbusy_loop_ep_timeouth]hbusy_loop_ep_timeout}(hjrVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjnVubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjNVhhhj_VhMubjv)}(h0(unsigned long start_time, struct eventpoll *ep)h](j|)}(hunsigned long start_timeh](j)}(hunsignedh]hunsigned}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj2)}(h h]h }(hjVhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVubj)}(hlongh]hlong}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubj2)}(h h]h }(hjVhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVubjI)}(h start_timeh]h start_time}(hjVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjVubj|)}(hstruct eventpoll *eph](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 eventpollh]h eventpoll}(hjVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjVmodnameN classnameNj@jC)}jF]jI)}j<jtVsbc.busy_loop_ep_timeoutasbuh1hhjVubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjVubj)}(hjh]h*}(hj+WhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubjI)}(heph]hep}(hj8WhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjVubeh}(h]h ]h"]h$]h&]j`jauh1juhjNVhhhj_VhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjJVhhhj_VhMubah}(h]jEVah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj_VhMhjGVhhubjw)}(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.}(hjbWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhj_Whhubah}(h]h ]h"]h$]h&]uh1jvhjGVhhhj_VhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzWjjzWjjjuh1jhhhjThNhNubj)}(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)}(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.chMhj~Wubj)}(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)}(hjWh]hunsigned long start_time}(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)}(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.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhMhjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjWubj)}(h;``struct eventpoll *ep`` Pointer to the eventpoll context. h](j)}(h``struct eventpoll *ep``h]j)}(hjWh]hstruct eventpoll *ep}(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)}(h!Pointer to the eventpoll context.h]h!Pointer to the eventpoll context.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhMhjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjWubeh}(h]h ]h"]h$]h&]uh1jhj~Wubh)}(h **Return**h]j)}(hjXh]hReturn}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhj~Wubh)}(h1true if the timeout has expired, false otherwise.h]h1true if the timeout has expired, false otherwise.}(hj-XhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhj~Wubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j reverse_path_check (C function)c.reverse_path_checkhNtauh1hhjThhhNhNubj)}(hhh](j)}(hint reverse_path_check (void)h]j)}(hint reverse_path_check(void)h](j)}(hinth]hint}(hj\XhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXXhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMubj2)}(h h]h }(hjkXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjXXhhhjjXhMubjC)}(hreverse_path_checkh]jI)}(hreverse_path_checkh]hreverse_path_check}(hj}XhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjyXubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjXXhhhjjXhMubjv)}(h(void)h]j|)}(hvoidh]j)}(hvoidh]hvoid}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]noemphj`jauh1j{hjXubah}(h]h ]h"]h$]h&]j`jauh1juhjXXhhhjjXhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjTXhhhjjXhMubah}(h]jOXah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjjXhMhjQXhhubjw)}(hhh]h)}(hThe tfile_check_list is list of epitem_head, which have links that are proposed to be newly added. We need to make sure that those added links don't add too many paths such that we will spend all our time waking up eventpoll objects.h]hThe tfile_check_list is list of epitem_head, which have links that are proposed to be newly added. We need to make sure that those added links don’t add too many paths such that we will spend all our time waking up eventpoll objects.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhjXhhubah}(h]h ]h"]h$]h&]uh1jvhjQXhhhjjXhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXjjXjjjuh1jhhhjThNhNubj)}(h**Parameters** ``void`` no arguments **Return** ``zero`` if the proposed links don't create too many paths, ``-1`` otherwise.h](h)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhjXubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hjYh]hvoid}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chKhjXubj)}(hhh]h)}(h no argumentsh]h no arguments}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhKhjYubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjYhKhjXubah}(h]h ]h"]h$]h&]uh1jhjXubh)}(h **Return**h]j)}(hj?Yh]hReturn}(hjAYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=Yubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chKhjXubh)}(hM``zero`` if the proposed links don't create too many paths, ``-1`` otherwise.h](j)}(h``zero``h]hzero}(hjYYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUYubh6 if the proposed links don’t create too many paths, }(hjUYhhhNhNubj)}(h``-1``h]h-1}(hjkYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUYubh otherwise.}(hjUYhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j ep_poll (C function) c.ep_pollhNtauh1hhjThhhNhNubj)}(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](j)}(hinth]hint}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMubj2)}(h h]h }(hjYhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYhhhjYhMubjC)}(hep_pollh]jI)}(hep_pollh]hep_poll}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjYhhhjYhMubjv)}(hd(struct eventpoll *ep, struct epoll_event __user *events, int maxevents, struct timespec64 *timeout)h](j|)}(hstruct eventpoll *eph](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 eventpollh]h eventpoll}(hjYhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjZmodnameN classnameNj@jC)}jF]jI)}j<jYsb c.ep_pollasbuh1hhjYubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjYubj)}(hjh]h*}(hj-ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubjI)}(heph]hep}(hj:ZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjYubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjYubj|)}(h!struct epoll_event __user *eventsh](j )}(hjh]hstruct}(hjSZhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjOZubj2)}(h h]h }(hj`ZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjOZubh)}(hhh]jI)}(h epoll_eventh]h epoll_event}(hjqZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjnZubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjsZmodnameN classnameNj@jC)}jF]jZ c.ep_pollasbuh1hhjOZubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjOZubh__user}(hjOZhhhNhNubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjOZubj)}(hjh]h*}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOZubjI)}(heventsh]hevents}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjOZubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjYubj|)}(h int maxeventsh](j)}(hinth]hint}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj2)}(h h]h }(hjZhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjZubjI)}(h maxeventsh]h maxevents}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjZubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjYubj|)}(hstruct timespec64 *timeouth](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 classnameNj@jC)}jF]jZ c.ep_pollasbuh1hhj[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)}(htimeouth]htimeout}(hja[hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj[ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjYubeh}(h]h ]h"]h$]h&]j`jauh1juhjYhhhjYhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjYhhhjYhMubah}(h]jYah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjYhMhjYhhubjw)}(hhh]h)}(hNRetrieves ready events, and delivers them to the caller-supplied event buffer.h]hNRetrieves ready events, and delivers them to the caller-supplied event buffer.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhj[hhubah}(h]h ]h"]h$]h&]uh1jvhjYhhhjYhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1jhhhjThNhNubj)}(hX**Parameters** ``struct eventpoll *ep`` Pointer to the eventpoll context. ``struct epoll_event __user *events`` Pointer to the userspace buffer where the ready events should be stored. ``int maxevents`` Size (in terms of number of events) of the caller event buffer. ``struct timespec64 *timeout`` Maximum timeout for the ready events fetch operation, in timespec. If the timeout is zero, the function will not block, while if the **timeout** ptr is NULL, the function will block until at least one event has been retrieved (or an error occurred). **Return** the number of ready events which have been fetched, or an error code, in case of 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&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhj[ubj)}(hhh](j)}(h;``struct eventpoll *ep`` Pointer to the eventpoll context. 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.chMhj[ubj)}(hhh]h)}(h!Pointer to the eventpoll context.h]h!Pointer to the eventpoll 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)}(ho``struct epoll_event __user *events`` Pointer to the userspace buffer where the ready events should be stored. h](j)}(h%``struct epoll_event __user *events``h]j)}(hj\h]h!struct epoll_event __user *events}(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.chMhj[ubj)}(hhh]h)}(hHPointer to the userspace buffer where the ready events should be stored.h]hHPointer to the userspace buffer where the ready events should be stored.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhj\ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj[ubj)}(hR``int maxevents`` Size (in terms of number of events) of the caller event buffer. h](j)}(h``int maxevents``h]j)}(hj?\h]h int maxevents}(hjA\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.chMhj9\ubj)}(hhh]h)}(h?Size (in terms of number of events) of the caller event buffer.h]h?Size (in terms of number of events) of the caller event buffer.}(hjX\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjT\hMhjU\ubah}(h]h ]h"]h$]h&]uh1jhj9\ubeh}(h]h ]h"]h$]h&]uh1jhjT\hMhj[ubj)}(hX``struct timespec64 *timeout`` Maximum timeout for the ready events fetch operation, in timespec. If the timeout is zero, the function will not block, while if the **timeout** ptr is NULL, the function will block until at least one event has been retrieved (or an error occurred). h](j)}(h``struct timespec64 *timeout``h]j)}(hjx\h]hstruct timespec64 *timeout}(hjz\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv\ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhjr\ubj)}(hhh]h)}(hMaximum timeout for the ready events fetch operation, in timespec. If the timeout is zero, the function will not block, while if the **timeout** ptr is NULL, the function will block until at least one event has been retrieved (or an error occurred).h](hMaximum timeout for the ready events fetch operation, in timespec. If the timeout is zero, the function will not block, while if the }(hj\hhhNhNubj)}(h **timeout**h]htimeout}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubhi ptr is NULL, the function will block until at least one event has been retrieved (or an error occurred).}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhj\ubah}(h]h ]h"]h$]h&]uh1jhjr\ubeh}(h]h ]h"]h$]h&]uh1jhj\hMhj[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&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhj[ubh)}(hWthe number of ready events which have been fetched, or an error code, in case of error.h]hWthe number of ready events which have been fetched, or an error code, in case of error.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j ep_loop_check_proc (C function)c.ep_loop_check_prochNtauh1hhjThhhNhNubj)}(hhh](j)}(h8int ep_loop_check_proc (struct eventpoll *ep, int depth)h]j)}(h7int ep_loop_check_proc(struct eventpoll *ep, int depth)h](j)}(hinth]hint}(hj ]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]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)}(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]hM ubjv)}(h!(struct eventpoll *ep, int depth)h](j|)}(hstruct eventpoll *eph](j )}(hjh]hstruct}(hjH]hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjD]ubj2)}(h h]h }(hjU]hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjD]ubh)}(hhh]jI)}(h eventpollh]h eventpoll}(hjf]hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjc]ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjh]modnameN classnameNj@jC)}jF]jI)}j<j.]sbc.ep_loop_check_procasbuh1hhjD]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)}(heph]hep}(hj]hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjD]ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj@]ubj|)}(h int depthh](j)}(hinth]hint}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]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`jauh1j{hj@]ubeh}(h]h ]h"]h$]h&]j`jauh1juhj]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)}(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.chM hj]hhubah}(h]h ]h"]h$]h&]uh1jvhj]hhhj]hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8^jj8^jjjuh1jhhhjThNhNubj)}(hX**Parameters** ``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)}(hjB^h]h Parameters}(hjD^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@^ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhj<^ubj)}(hhh](j)}(h]``struct eventpoll *ep`` the :c:type:`struct eventpoll ` to be currently checked. h](j)}(h``struct eventpoll *ep``h]j)}(hja^h]hstruct eventpoll *ep}(hjc^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.chMhj[^ubj)}(hhh]h)}(hCthe :c:type:`struct eventpoll ` to be currently checked.h](hthe }(hjz^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 refexplicitrefwarnj@jj eventpolluh1hhjv^hMhjz^ubh to be currently checked.}(hjz^hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjv^hMhjw^ubah}(h]h ]h"]h$]h&]uh1jhj[^ubeh}(h]h ]h"]h$]h&]uh1jhjv^hMhjX^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.chMhj^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^hMhj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hMhjX^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&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhj<^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.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhj<^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j ep_loop_check (C function)c.ep_loop_checkhNtauh1hhjThhhNhNubj)}(hhh](j)}(h>int ep_loop_check (struct eventpoll *ep, struct eventpoll *to)h]j)}(h=int ep_loop_check(struct eventpoll *ep, struct eventpoll *to)h](j)}(hinth]hint}(hj=_hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9_hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMMubj2)}(h h]h }(hjL_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9_hhhjK_hMMubjC)}(h ep_loop_checkh]jI)}(h ep_loop_checkh]h ep_loop_check}(hj^_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjZ_ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj9_hhhjK_hMMubjv)}(h,(struct eventpoll *ep, struct eventpoll *to)h](j|)}(hstruct eventpoll *eph](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)}(h eventpollh]h eventpoll}(hj_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj_modnameN classnameNj@jC)}jF]jI)}j<j`_sbc.ep_loop_checkasbuh1hhjv_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)}(heph]hep}(hj_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjv_ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjr_ubj|)}(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 classnameNj@jC)}jF]j_c.ep_loop_checkasbuh1hhj_ubj2)}(h h]h }(hj(`hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj_ubj)}(hjh]h*}(hj6`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj_ubjI)}(htoh]hto}(hjC`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjr_ubeh}(h]h ]h"]h$]h&]j`jauh1juhj9_hhhjK_hMMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj5_hhhjK_hMMubah}(h]j0_ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjK_hMMhj2_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 (}(hjm`hhhNhNubj)}(h**to**h]hto}(hju`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm`ubh*) into another epoll file (represented by }(hjm`hhhNhNubj)}(h**ep**h]hep}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm`ubh2) does not create closed loops or too deep chains.}(hjm`hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMMhjj`hhubah}(h]h ]h"]h$]h&]uh1jvhj2_hhhjK_hMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1jhhhjThNhNubj)}(hX**Parameters** ``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)}(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:128: ./fs/eventpoll.chMQhj`ubj)}(hhh](j)}(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.chMQhj`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`hMQhj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hMQhj`ubj)}(h>``struct eventpoll *to`` Pointer to the epoll to be inserted. h](j)}(h``struct eventpoll *to``h]j)}(hj ah]hstruct eventpoll *to}(hj ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj aubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMRhjaubj)}(hhh]h)}(h$Pointer to the epoll to be inserted.h]h$Pointer to the epoll to be inserted.}(hj$ahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ahMRhj!aubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj ahMRhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`ubh)}(h **Return**h]j)}(hjFah]hReturn}(hjHahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDaubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMThj`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}(hj`ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\aubh if adding the epoll }(hj\ahhhNhNubj)}(h**to**h]hto}(hjrahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\aubh inside the epoll }(hj\ahhhNhNubj)}(h**from**h]hfrom}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\aubh& does not violate the constraints, or }(hj\ahhhNhNubj)}(h``-1``h]h-1}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\aubh otherwise.}(hj\ahhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMThj`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjThhhNhNubeh}(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](j)}(hinth]hint}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMgubj2)}(h h]h }(hjahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjahhhjahMgubjC)}(hsysfs_create_file_nsh]jI)}(hsysfs_create_file_nsh]hsysfs_create_file_ns}(hj bhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjahhhjahMgubjv)}(hP(struct kobject *kobj, const struct attribute *attr, const struct ns_common *ns)h](j|)}(hstruct kobject *kobjh](j )}(hjh]hstruct}(hj%bhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj!bubj2)}(h h]h }(hj2bhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!bubh)}(hhh]jI)}(hkobjecth]hkobject}(hjCbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj@bubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjEbmodnameN classnameNj@jC)}jF]jI)}j<j bsbc.sysfs_create_file_nsasbuh1hhj!bubj2)}(h h]h }(hjcbhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj!bubj)}(hjh]h*}(hjqbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!bubjI)}(hkobjh]hkobj}(hj~bhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj!bubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjbubj|)}(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 classnameNj@jC)}jF]j_bc.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}(hj chhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjbubj|)}(hconst struct ns_common *nsh](j )}(hjh]hconst}(hj"chhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjcubj2)}(h h]h }(hj/chhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubj )}(hjh]hstruct}(hj=chhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjcubj2)}(h h]h }(hjJchhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubh)}(hhh]jI)}(h ns_commonh]h ns_common}(hj[chhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjXcubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj]cmodnameN classnameNj@jC)}jF]j_bc.sysfs_create_file_nsasbuh1hhjcubj2)}(h h]h }(hjychhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubj)}(hjh]h*}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubjI)}(hnsh]hns}(hjchhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjcubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjbubeh}(h]h ]h"]h$]h&]j`jauh1juhjahhhjahMgubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjahhhjahMgubah}(h]jaah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjahMghjahhubjw)}(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.chMghjchhubah}(h]h ]h"]h$]h&]uh1jvhjahhhjahMgubeh}(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.chMkhjcubj)}(hhh](j)}(h3``struct kobject *kobj`` object we're creating for h](j)}(h``struct kobject *kobj``h]j)}(hjch]hstruct kobject *kobj}(hjdhhhNhNubah}(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.chMhhjcubj)}(hhh]h)}(hobject we're creating forh]hobject we’re creating for}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhMhhjdubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjdhMhhjcubj)}(h6``const struct attribute *attr`` attribute descriptor h](j)}(h ``const struct attribute *attr``h]j)}(hj8dh]hconst struct attribute *attr}(hj:dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6dubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMihj2dubj)}(hhh]h)}(hattribute descriptorh]hattribute descriptor}(hjQdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMdhMihjNdubah}(h]h ]h"]h$]h&]uh1jhj2dubeh}(h]h ]h"]h$]h&]uh1jhjMdhMihjcubj)}(hF``const struct ns_common *ns`` namespace the new file should belong toh](j)}(h``const struct ns_common *ns``h]j)}(hjqdh]hconst struct ns_common *ns}(hjsdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjodubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMkhjkdubj)}(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.chMjhjdubah}(h]h ]h"]h$]h&]uh1jhjkdubeh}(h]h ]h"]h$]h&]uh1jhjdhMkhjcubeh}(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](j)}(hinth]hint}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdhhhX/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`jauh1jBhjdhhhjdhMubjv)}(hG(struct kobject *kobj, const struct attribute *attr, const char *group)h](j|)}(hstruct kobject *kobjh](j )}(hjh]hstruct}(hjehhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjeubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjeubh)}(hhh]jI)}(hkobjecth]hkobject}(hj&ehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj#eubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj(emodnameN classnameNj@jC)}jF]jI)}j<jdsbc.sysfs_add_file_to_groupasbuh1hhjeubj2)}(h h]h }(hjFehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjeubj)}(hjh]h*}(hjTehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjeubjI)}(hkobjh]hkobj}(hjaehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjeubj|)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hjzehhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjveubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjveubj )}(hjh]hstruct}(hjehhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjveubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjveubh)}(hhh]jI)}(h attributeh]h attribute}(hjehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjemodnameN classnameNj@jC)}jF]jBec.sysfs_add_file_to_groupasbuh1hhjveubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjveubj)}(hjh]h*}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjveubjI)}(hattrh]hattr}(hjehhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjveubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjeubj|)}(hconst char *grouph](j )}(hjh]hconst}(hjfhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjfubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjfubj)}(hcharh]hchar}(hj fhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj2)}(h h]h }(hj.fhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjfubj)}(hjh]h*}(hjah"]h$]h&]uh1j1hj|ghhhjghMubjC)}(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`jauh1jBhj|ghhhjghMubjv)}(hB(struct kobject *kobj, const struct attribute *attr, umode_t mode)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jgsbc.sysfs_chmod_fileasbuh1hhjgubj2)}(h h]h }(hjghhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjgubj)}(hjh]h*}(hj hhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubjI)}(hkobjh]hkobj}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjgubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjgubj|)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hj/hhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj+hubj2)}(h h]h }(hjah"]h$]h&]uh1j1hj+hubj )}(hjh]hstruct}(hjJhhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj+hubj2)}(h h]h }(hjWhhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj+hubh)}(hhh]jI)}(h attributeh]h attribute}(hjhhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjehubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjjhmodnameN classnameNj@jC)}jF]jgc.sysfs_chmod_fileasbuh1hhj+hubj2)}(h h]h }(hjhhhhNhNubah}(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`jauh1j{hjgubj|)}(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 classnameNj@jC)}jF]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`jauh1j{hjgubeh}(h]h ]h"]h$]h&]j`jauh1juhj|ghhhjghMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjxghhhjghMubah}(h]jsgah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjghMhjughhubjw)}(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&]uh1jvhjughhhjghMubeh}(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)}(hj5ih]h Parameters}(hj7ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3iubah}(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)}(hjTih]hstruct kobject *kobj}(hjVihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRiubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjNiubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hjmihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjiihMhjjiubah}(h]h ]h"]h$]h&]uh1jhjNiubeh}(h]h ]h"]h$]h&]uh1jhjiihMhjKiubj)}(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.chMhjiubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihMhjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMhjKiubj)}(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&]uh1jhjihMhjKiubeh}(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}(hj jhhhNhNubah}(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}(hj?jhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjah"]h$]h&]uh1j1hjjhhhj-jhMubj)}(hjh]h*}(hjnjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjhhhj-jhMubjC)}(hsysfs_break_active_protectionh]jI)}(hj]jh]hsysfs_break_active_protection}(hjjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj{jubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjjhhhj-jhMubjv)}(h4(struct kobject *kobj, const struct attribute *attr)h](j|)}(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 classnameNj@jC)}jF]j[jc.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`jauh1j{hjjubj|)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hj khhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjkubj2)}(h h]h }(hjkhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkubj )}(hjh]hstruct}(hj%khhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjkubj2)}(h h]h }(hj2khhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkubh)}(hhh]jI)}(h attributeh]h attribute}(hjCkhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj@kubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjEkmodnameN classnameNj@jC)}jF]j[jc.sysfs_break_active_protectionasbuh1hhjkubj2)}(h h]h }(hjakhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjkubj)}(hjh]h*}(hjokhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubjI)}(hattrh]hattr}(hj|khhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjkubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjjubeh}(h]h ]h"]h$]h&]j`jauh1juhjjhhhj-jhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjjhhhj-jhMubah}(h]jjah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj-jhMhjjhhubjw)}(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&]uh1jvhjjhhhj-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 }(hjlhhhNhNubj)}(h**attr**h]hattr}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh is associated with.}(hjlhhhNhNubeh}(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)}(hj2lh]hconst struct attribute *attr}(hj4lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0lubah}(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.}(hjKlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGlhMhjHlubah}(h]h ]h"]h$]h&]uh1jhj,lubeh}(h]h ]h"]h$]h&]uh1jhjGlhMhjkubeh}(h]h ]h"]h$]h&]uh1jhjkubh)}(h**Description**h]j)}(hjmlh]h Description}(hjolhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjklubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjkubh)}(hWith 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]hWith 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.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjahhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j ,sysfs_unbreak_active_protection (C function)!c.sysfs_unbreak_active_protectionhNtauh1hhjahhhNhNubj)}(hhh](j)}(h=void sysfs_unbreak_active_protection (struct kernfs_node *kn)h]j)}(hah"]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`jauh1jBhjlhhhjlhMubjv)}(h(struct kernfs_node *kn)h]j|)}(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}(hj mhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj mubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmmodnameN classnameNj@jC)}jF]jI)}j<jlsb!c.sysfs_unbreak_active_protectionasbuh1hhjlubj2)}(h h]h }(hj-mhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjlubj)}(hjh]h*}(hj;mhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubjI)}(hknh]hkn}(hjHmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjlubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjlubah}(h]h ]h"]h$]h&]j`jauh1juhjlhhhjlhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjlhhhjlhMubah}(h]jlah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjlhMhjlhhubjw)}(hhh]h)}(hrestore "active" protectionh]hrestore “active” protection}(hjrmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjomhhubah}(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 }(hjnhhhNhNubj)}(h**kn**h]hkn}(hj nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh" after this function has returned.}(hjnhhhNhNubeh}(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](j)}(hvoidh]hvoid}(hjEnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAnhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMubj2)}(h h]h }(hjTnhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAnhhhjSnhMubjC)}(hsysfs_remove_file_nsh]jI)}(hsysfs_remove_file_nsh]hsysfs_remove_file_ns}(hjfnhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbnubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjAnhhhjSnhMubjv)}(hP(struct kobject *kobj, const struct attribute *attr, const struct ns_common *ns)h](j|)}(hstruct kobject *kobjh](j )}(hjh]hstruct}(hjnhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj~nubj2)}(h h]h }(hjnhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj~nubh)}(hhh]jI)}(hkobjecth]hkobject}(hjnhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjnubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjnmodnameN classnameNj@jC)}jF]jI)}j<jhnsbc.sysfs_remove_file_nsasbuh1hhj~nubj2)}(h h]h }(hjnhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj~nubj)}(hjh]h*}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~nubjI)}(hkobjh]hkobj}(hjnhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj~nubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjznubj|)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hjnhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjnubj2)}(h h]h }(hjohhhNhNubah}(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&]uh1jHhj*oubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj/omodnameN classnameNj@jC)}jF]jnc.sysfs_remove_file_nsasbuh1hhjnubj2)}(h h]h }(hjKohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjnubj)}(hjh]h*}(hjYohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubjI)}(hattrh]hattr}(hjfohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjnubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjznubj|)}(hconst struct ns_common *nsh](j )}(hjh]hconst}(hjohhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj{oubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj{oubj )}(hjh]hstruct}(hjohhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj{oubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj{oubh)}(hhh]jI)}(h ns_commonh]h ns_common}(hjohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjomodnameN classnameNj@jC)}jF]jnc.sysfs_remove_file_nsasbuh1hhj{oubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj{oubj)}(hjh]h*}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{oubjI)}(hnsh]hns}(hjohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj{oubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjznubeh}(h]h ]h"]h$]h&]j`jauh1juhjAnhhhjSnhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj=nhhhjSnhMubah}(h]j8nah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjSnhMhj: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.chMhjphhubah}(h]h ]h"]h$]h&]uh1jvhj:nhhhjSnhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3pjj3pjjjuh1jhhhjahNhNubj)}(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)}(hj=ph]h Parameters}(hj?phhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;pubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj7pubj)}(hhh](j)}(h1``struct kobject *kobj`` object we're acting for h](j)}(h``struct kobject *kobj``h]j)}(hj\ph]hstruct kobject *kobj}(hj^phhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZpubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjVpubj)}(hhh]h)}(hobject we're acting forh]hobject we’re acting for}(hjuphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqphMhjrpubah}(h]h ]h"]h$]h&]uh1jhjVpubeh}(h]h ]h"]h$]h&]uh1jhjqphMhjSpubj)}(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&]uh1jhjphMhjSpubj)}(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&]uh1jhjphMhjSpubeh}(h]h ]h"]h$]h&]uh1jhj7pubh)}(h**Description**h]j)}(hj qh]h Description}(hj qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj7pubh)}(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.chMhj7pubeh}(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](j)}(hjh]hbool}(hjNqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJqhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMubj2)}(h h]h }(hj\qhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjJqhhhj[qhMubjC)}(hsysfs_remove_file_selfh]jI)}(hsysfs_remove_file_selfh]hsysfs_remove_file_self}(hjnqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjjqubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjJqhhhj[qhMubjv)}(h4(struct kobject *kobj, const struct attribute *attr)h](j|)}(hstruct kobject *kobjh](j )}(hjh]hstruct}(hjqhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjqubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubh)}(hhh]jI)}(hkobjecth]hkobject}(hjqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjqmodnameN classnameNj@jC)}jF]jI)}j<jpqsbc.sysfs_remove_file_selfasbuh1hhjqubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubj)}(hjh]h*}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubjI)}(hkobjh]hkobj}(hjqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjqubj|)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hjqhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjqubj2)}(h h]h }(hj rhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubj )}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjqubj2)}(h h]h }(hj$rhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubh)}(hhh]jI)}(h attributeh]h attribute}(hj5rhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2rubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj7rmodnameN classnameNj@jC)}jF]jqc.sysfs_remove_file_selfasbuh1hhjqubj2)}(h h]h }(hjSrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjqubj)}(hjh]h*}(hjarhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubjI)}(hattrh]hattr}(hjnrhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjqubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjqubeh}(h]h ]h"]h$]h&]j`jauh1juhjJqhhhj[qhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjFqhhhj[qhMubah}(h]jAqah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj[qhMhjCqhhubjw)}(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&]uh1jvhjCqhhhj[qhMubeh}(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.chMhjrubj)}(hhh]h)}(hobject we're acting forh]hobject we’re acting for}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhMhjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjrubj)}(h6``const struct attribute *attr`` attribute descriptor h](j)}(h ``const struct attribute *attr``h]j)}(hjsh]hconst struct attribute *attr}(hjshhhNhNubah}(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.chMhj subj)}(hhh]h)}(hattribute descriptorh]hattribute descriptor}(hj+shhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'shMhj(subah}(h]h ]h"]h$]h&]uh1jhj subeh}(h]h ]h"]h$]h&]uh1jhj'shMhjrubeh}(h]h ]h"]h$]h&]uh1jhjrubh)}(h**Description**h]j)}(hjMsh]h Description}(hjOshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKsubah}(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.}(hjcshhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjrubeh}(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](j)}(hvoidh]hvoid}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjshhhX/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&ubjv)}(hG(struct kobject *kobj, const struct attribute *attr, const char *group)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jssbc.sysfs_remove_file_from_groupasbuh1hhjsubj2)}(h h]h }(hj thhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjsubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubjI)}(hkobjh]hkobj}(hj(thhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjsubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjsubj|)}(hconst struct attribute *attrh](j )}(hjh]hconst}(hjAthhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj=tubj2)}(h h]h }(hjNthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=tubj )}(hjh]hstruct}(hj\thhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj=tubj2)}(h h]h }(hjithhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=tubh)}(hhh]jI)}(h attributeh]h attribute}(hjzthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjwtubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj|tmodnameN classnameNj@jC)}jF]j tc.sysfs_remove_file_from_groupasbuh1hhj=tubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj=tubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=tubjI)}(hattrh]hattr}(hjthhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj=tubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjsubj|)}(hconst char *grouph](j )}(hjh]hconst}(hjthhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjtubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubj)}(hcharh]hchar}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubj2)}(h h]h }(hjthhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubj)}(hjh]h*}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubjI)}(hgrouph]hgroup}(hjuhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjsubeh}(h]h ]h"]h$]h&]j`jauh1juhjshhhjshM&ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjshhhjshM&ubah}(h]jsah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjshM&hjshhubjw)}(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&hj7uhhubah}(h]h ]h"]h$]h&]uh1jvhjshhhjshM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRujjRujjjuh1jhhhjahNhNubj)}(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)}(hj\uh]h Parameters}(hj^uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZuubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM*hjVuubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hj{uh]hstruct kobject *kobj}(hj}uhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyuubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM'hjuuubj)}(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&]uh1jhjuuubeh}(h]h ]h"]h$]h&]uh1jhjuhM'hjruubj)}(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(hjruubj)}(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.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM)hjvubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjvhM*hjruubeh}(h]h ]h"]h$]h&]uh1jhjVuubeh}(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](j)}(hinth]hint}(hjGvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCvhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM?ubj2)}(h h]h }(hjVvhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjCvhhhjUvhM?ubjC)}(hsysfs_create_bin_fileh]jI)}(hsysfs_create_bin_fileh]hsysfs_create_bin_file}(hjhvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdvubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjCvhhhjUvhM?ubjv)}(h8(struct kobject *kobj, const struct bin_attribute *attr)h](j|)}(hstruct kobject *kobjh](j )}(hjh]hstruct}(hjvhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjvubj2)}(h h]h }(hjvhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjvubh)}(hhh]jI)}(hkobjecth]hkobject}(hjvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjvubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjvmodnameN classnameNj@jC)}jF]jI)}j<jjvsbc.sysfs_create_bin_fileasbuh1hhjvubj2)}(h h]h }(hjvhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjvubj)}(hjh]h*}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubjI)}(hkobjh]hkobj}(hjvhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjvubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj|vubj|)}(h const struct bin_attribute *attrh](j )}(hjh]hconst}(hjvhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjvubj2)}(h h]h }(hjwhhhNhNubah}(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< reftargetj1wmodnameN classnameNj@jC)}jF]jvc.sysfs_create_bin_fileasbuh1hhjvubj2)}(h h]h }(hjMwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjvubj)}(hjh]h*}(hj[whhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubjI)}(hattrh]hattr}(hjhwhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjvubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj|vubeh}(h]h ]h"]h$]h&]j`jauh1juhjCvhhhjUvhM?ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj?vhhhjUvhM?ubah}(h]j:vah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjUvhM?hjah"]h$]h&]uh1j1hjbxhhhjtxhMSubjC)}(hsysfs_remove_bin_fileh]jI)}(hsysfs_remove_bin_fileh]hsysfs_remove_bin_file}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjbxhhhjtxhMSubjv)}(h8(struct kobject *kobj, const struct bin_attribute *attr)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jxsbc.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`jauh1j{hjxubj|)}(h const struct bin_attribute *attrh](j )}(hjh]hconst}(hjyhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjyubj2)}(h h]h }(hj"yhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjyubj )}(hjh]hstruct}(hj0yhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjyubj2)}(h h]h }(hj=yhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjyubh)}(hhh]jI)}(h bin_attributeh]h bin_attribute}(hjNyhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjKyubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjPymodnameN classnameNj@jC)}jF]jxc.sysfs_remove_bin_fileasbuh1hhjyubj2)}(h h]h }(hjlyhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjyubj)}(hjh]h*}(hjzyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubjI)}(hattrh]hattr}(hjyhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjyubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjxubeh}(h]h ]h"]h$]h&]j`jauh1juhjbxhhhjtxhMSubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj^xhhhjtxhMSubah}(h]jYxah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjtxhMShj[xhhubjw)}(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.chMShjyhhubah}(h]h ]h"]h$]h&]uh1jvhj[xhhhjtxhMSubeh}(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.chMWhjyubj)}(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.chMThjyubj)}(hhh]h)}(hobject.h]hobject.}(hj zhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhMThjzubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjzhMThjyubj)}(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&]uh1jhj)zubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMVhj%zubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hjDzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMUhjAzubah}(h]h ]h"]h$]h&]uh1jhj%zubeh}(h]h ]h"]h$]h&]uh1jhj@zhMVhjyubeh}(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](j)}(hinth]hint}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMubj2)}(h h]h }(hjzhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjzhhhjzhMubjC)}(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`jauh1jBhjzhhhjzhMubjv)}(h!(char *buf, const char *fmt, ...)h](j|)}(h char *bufh](j)}(hcharh]hchar}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjzubj2)}(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`jauh1j{hjzubj|)}(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{ubj)}(hcharh]hchar}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{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}(hjH{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj{ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjzubj|)}(h...h]j)}(h...h]h...}(hja{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]{ubah}(h]h ]h"]h$]h&]noemphj`jauh1j{hjzubeh}(h]h ]h"]h$]h&]j`jauh1juhjzhhhjzhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj}zhhhjzhMubah}(h]jxzah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjzhMhjzzhhubjw)}(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&]uh1jvhjzzhhhjzhMubeh}(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)}(hj>|h]h...}(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.chMhj8|ubj)}(hhh]h)}(h optional arguments to **format**h](hoptional arguments to }(hjW|hhhNhNubj)}(h **format**h]hformat}(hj_|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW|ubeh}(h]h ]h"]h$]h&]uh1hhjS|hMhjT|ubah}(h]h ]h"]h$]h&]uh1jhj8|ubeh}(h]h ]h"]h$]h&]uh1jhjS|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&]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](j)}(hinth]hint}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|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|hMubjv)}(h)(char *buf, int at, const char *fmt, ...)h](j|)}(h char *bufh](j)}(hcharh]hchar}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}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)}(hbufh]hbuf}(hjD}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj}ubj|)}(hint ath](j)}(hinth]hint}(hj]}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjY}ubj2)}(h h]h }(hjk}hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjY}ubjI)}(hath]hat}(hjy}hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjY}ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj}ubj|)}(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}ubj)}(hcharh]hchar}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}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`jauh1j{hj}ubj|)}(h...h]j)}(hjc{h]h...}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]noemphj`jauh1j{hj}ubeh}(h]h ]h"]h$]h&]j`jauh1juhj|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&]jjjj0~jj0~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}(hj<~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8~ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj4~ubj)}(hhh](j)}(h)``char *buf`` start of PAGE_SIZE buffer. h](j)}(h ``char *buf``h]j)}(hjY~h]h char *buf}(hj[~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW~ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjS~ubj)}(hhh]h)}(hstart of PAGE_SIZE buffer.h]hstart of PAGE_SIZE buffer.}(hjr~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjn~hMhjo~ubah}(h]h ]h"]h$]h&]uh1jhjS~ubeh}(h]h ]h"]h$]h&]uh1jhjn~hMhjP~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~hMhjP~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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjP~ubj)}(h&``...`` optional arguments to **fmt** h](j)}(h``...``h]j)}(hj)h]h...}(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)}(hoptional arguments to **fmt**h](hoptional arguments to }(hjBhhhNhNubj)}(h**fmt**h]hfmt}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1hhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjP~ubeh}(h]h ]h"]h$]h&]uh1jhj4~ubh)}(h**Description**h]j)}(hjrh]h Description}(hjthhhNhNubah}(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.chMhj4~ubh)}(hBReturns number of characters written starting at &**buf**[**at**].h](h:Returns number of characters written starting at &**buf**[}(hjhhhNhNubj)}(h**at**h]hat}(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.chMhj4~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 classnameNj@jC)}jF]jI)}j<sysfs_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`jauh1jBhjhhhjhMubjv)}(hp(struct file *file, struct kobject *kobj, const struct bin_attribute *attr, char *buf, loff_t off, size_t count)h](j|)}(hstruct file *fileh](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)}(hfileh]hfile}(hj9hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj;modnameN classnameNj@jC)}jF]jc.sysfs_bin_attr_simple_readasbuh1hhjubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfileh]hfile}(hjrhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jc.sysfs_bin_attr_simple_readasbuh1hhjubj2)}(h h]h }(hjǀhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjՀhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hkobjh]hkobj}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj#hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubh)}(hhh]jI)}(h bin_attributeh]h bin_attribute}(hj4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj6modnameN classnameNj@jC)}jF]jc.sysfs_bin_attr_simple_readasbuh1hhjubj2)}(h h]h }(hjRhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hattrh]hattr}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h char *bufh](j)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h loff_t offh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjˁhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjȁubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj́modnameN classnameNj@jC)}jF]jc.sysfs_bin_attr_simple_readasbuh1hhjāubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjāubjI)}(hoffh]hoff}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjāubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jc.sysfs_bin_attr_simple_readasbuh1hhj ubj2)}(h h]h }(hj1hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubjI)}(hcounth]hcount}(hj?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjfhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjahNhNubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjubj)}(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.}(hjÂhhhNhNubah}(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)}(hjh]hstruct kobject *kobj}(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.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.chMhjubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubj)}(h"``char *buf`` destination buffer. h](j)}(h ``char *buf``h]j)}(hjUh]h char *buf}(hjWhhhNhNubah}(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.chMhjOubj)}(hhh]h)}(hdestination buffer.h]hdestination buffer.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjubj)}(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.chMhjubj)}(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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h2``size_t count`` 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&]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.}(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)}(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"hjubh)}(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 }(hjhhhNhNubj)}(h **private**h]hprivate}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**size**h]hsize}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh~ members in struct bin_attribute must be set to the buffer’s location and size before the bin_attribute is created in sysfs.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM!hjubh)}(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 }(hjKhhhNhNubj)}(h**off**h]hoff}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh and }(hjKhhhNhNubj)}(h **count**h]hcount}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh: is done in sysfs_kf_bin_read(). Negative value check for }(hjKhhhNhNubj)}(h**off**h]hoff}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh. is done in vfs_setpos() and default_llseek().}(hjKhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM%hjubh)}(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(hjubeh}(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](j)}(hinth]hint}(hjфhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj̈́hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKTubj2)}(h h]h }(hjhhhNhNubah}(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߄hKTubjv)}(h@(struct kobject *kobj, struct kobject *target, const char *name)h](j|)}(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}(hj,hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj.modnameN classnameNj@jC)}jF]jI)}j<jsbc.sysfs_create_linkasbuh1hhj ubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(hkobjh]hkobj}(hjghhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jHc.sysfs_create_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)}(htargeth]htarget}(hjׅhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj|ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hj4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhj̈́hhhj߄hKTubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjɄhhhj߄hKTubah}(h]jĄah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj߄hKThjƄhhubjw)}(hhh]h)}(h#create symlink between two objects.h]h#create symlink between two objects.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKThj[hhubah}(h]h ]h"]h$]h&]uh1jvhjƄhhhj߄hKTubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1jhhhjahNhNubj)}(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)}(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.chKXhjzubj)}(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.chKVhj҆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&]uh1jhj҆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.chKXhj ubj)}(hhh]h)}(hname of the symlink.h]hname of the symlink.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKWhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hKXhjubeh}(h]h ]h"]h$]h&]uh1jhjzubeh}(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](j)}(hinth]hint}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjghhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKaubj2)}(h h]h }(hjzhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjghhhjyhKaubjC)}(hsysfs_create_link_nowarnh]jI)}(hsysfs_create_link_nowarnh]hsysfs_create_link_nowarn}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjghhhjyhKaubjv)}(h@(struct kobject *kobj, struct kobject *target, const char *name)h](j|)}(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&]uh1jHhjÇubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjȇmodnameN classnameNj@jC)}jF]jI)}j<jsbc.sysfs_create_link_nowarnasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(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`jauh1j{hjubj|)}(hstruct kobject *targeth](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)}(hkobjecth]hkobject}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj:modnameN classnameNj@jC)}jF]jc.sysfs_create_link_nowarnasbuh1hhjubj2)}(h h]h }(hjVhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(htargeth]htarget}(hjqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjghhhjyhKaubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjchhhjyhKaubah}(h]j^ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjyhKahj`hhubjw)}(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&]uh1jvhj`hhhjyhKaubeh}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKehjubj)}(hhh](j)}(hL``struct kobject *kobj`` object whose directory we're creating the link in. h](j)}(h``struct kobject *kobj``h]j)}(hj9h]hstruct kobject *kobj}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKbhj3ubj)}(hhh]h)}(h2object whose directory we're creating the link in.h]h4object whose directory we’re creating the link in.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhKbhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhKbhj0ubj)}(h5``struct kobject *target`` object we're pointing to. h](j)}(h``struct kobject *target``h]j)}(hjrh]hstruct kobject *target}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKchjlubj)}(hhh]h)}(hobject we're pointing to.h]hobject we’re pointing to.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKchjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhKchj0ubj)}(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.}(hjĉhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKdhj0ubeh}(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.chKfhjubjM)}(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&]uh1jLhjhKehjubeh}(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](j)}(hvoidh]hvoid}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKubj2)}(h h]h }(hjDhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1hhhjChKubjC)}(hsysfs_remove_linkh]jI)}(hsysfs_remove_linkh]hsysfs_remove_link}(hjVhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj1hhhjChKubjv)}(h((struct kobject *kobj, const char *name)h](j|)}(hstruct kobject *kobjh](j )}(hjh]hstruct}(hjrhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjnubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjnubh)}(hhh]jI)}(hkobjecth]hkobject}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jXsbc.sysfs_remove_linkasbuh1hhjnubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjnubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubjI)}(hkobjh]hkobj}(hjˊhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjnubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjjubj|)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj hhhNhNubah}(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`jauh1j{hjjubeh}(h]h ]h"]h$]h&]j`jauh1juhj1hhhjChKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj-hhhjChKubah}(h]j(ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjChKhj*hhubjw)}(hhh]h)}(h%remove symlink in object's directory.h]h'remove symlink in object’s directory.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhjOhhubah}(h]h ]h"]h$]h&]uh1jvhj*hhhjChKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjjjuh1jhhhjahNhNubj)}(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)}(hjth]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhjnubj)}(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)}(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:137: ./fs/sysfs/symlink.chKhjƋubj)}(hhh]h)}(hname of the symlink to remove.h]hname of the symlink to remove.}(hjhhhNhNubah}(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&]uh1jhjƋubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(h]h ]h"]h$]h&]uh1jhjnubeh}(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](j)}(hinth]hint}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKubj2)}(h h]h }(hj5hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj"hhhj4hKubjC)}(hsysfs_rename_link_nsh]jI)}(hsysfs_rename_link_nsh]hsysfs_rename_link_ns}(hjGhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjCubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj"hhhj4hKubjv)}(hn(struct kobject *kobj, struct kobject *targ, const char *old, const char *new, const struct ns_common *new_ns)h](j|)}(hstruct kobject *kobjh](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)}(hkobjecth]hkobject}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jIsbc.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)}(hkobjh]hkobj}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj[ubj|)}(hstruct kobject *targh](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)}(hkobjecth]hkobject}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]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`jauh1j{hj[ubj|)}(hconst char *oldh](j )}(hjh]hconst}(hjEhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjAubj2)}(h h]h }(hjRhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAubj)}(hcharh]hchar}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubj2)}(h h]h }(hjnhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjAubj)}(hjh]h*}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubjI)}(holdh]hold}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj[ubj|)}(hconst char *newh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjˍhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjٍhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnewh]hnew}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj[ubj|)}(hconst struct ns_common *new_nsh](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)}(h ns_commonh]h ns_common}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj:modnameN classnameNj@jC)}jF]jc.sysfs_rename_link_nsasbuh1hhjubj2)}(h h]h }(hjVhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnew_nsh]hnew_ns}(hjqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj[ubeh}(h]h ]h"]h$]h&]j`jauh1juhj"hhhj4hKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj4hKubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj4hKhjhhubjw)}(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&]uh1jvhjhhhj4hKubeh}(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)}(hjh]hstruct kobject *targ}(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 pointing to.h]hobject we’re pointing to.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hKhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hKhjӎubj)}(h2``const char *old`` previous name of the symlink. h](j)}(h``const char *old``h]j)}(hjNh]hconst char *old}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhjHubj)}(hhh]h)}(hprevious name of the symlink.h]hprevious name of the symlink.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchKhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchKhjӎubj)}(h-``const char *new`` new name of the symlink. h](j)}(h``const char *new``h]j)}(hjh]hconst char *new}(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 name of the symlink.h]hnew name of the symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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}(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)}(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.chKhjubjM)}(h6A helper function for the common rename symlink idiom.h]h)}(hjh]h6A helper function for the common rename symlink idiom.}(hjhhhNhNubah}(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&]uh1jLhj"hKhjubeh}(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}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hhhhhKubh)}(hhh](h)}(hdebugfs interfaceh]hdebugfs interface}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_lookup (C function)c.debugfs_lookuphNtauh1hhjIhhhNhNubj)}(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}(hjshhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjohhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMNubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjohhhjhMNubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<debugfs_lookupsbc.debugfs_lookupasbuh1hhjohhhjhMNubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjohhhjhMNubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjohhhjhMNubjC)}(hdebugfs_lookuph]jI)}(hjh]hdebugfs_lookup}(hjҐhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjΐubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjohhhjhMNubjv)}(h)(const char *name, struct dentry *parent)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hj1hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjFubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjjmodnameN classnameNj@jC)}jF]jc.debugfs_lookupasbuh1hhjFubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjohhhjhMNubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjkhhhjhMNubah}(h]jfah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMNhjhhhubjw)}(hhh]h)}(h look up an existing debugfs fileh]h look up an existing debugfs file}(hjˑhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMNhjȑhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhhjhMNubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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.chMRhjubj)}(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)}(hj h]hconst char *name}(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.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.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!hMOhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMOhjubj)}(hF``struct dentry *parent`` a pointer to the parent dentry of the file. h](j)}(h``struct dentry *parent``h]j)}(hjEh]hstruct dentry *parent}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMPhj?ubj)}(hhh]h)}(h+a pointer to the parent dentry of the file.h]h+a pointer to the parent dentry of the file.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhMPhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMPhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(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.chMRhjubh)}(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.chMQhjubh)}(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.chMUhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j 'debugfs_create_file_unsafe (C function)c.debugfs_create_file_unsafehNtauh1hhjIhhhNhNubj)}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<debugfs_create_file_unsafesbc.debugfs_create_file_unsafeasbuh1hhjhhhjhMubj2)}(h h]h }(hj8hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(hdebugfs_create_file_unsafeh]jI)}(hj5h]hdebugfs_create_file_unsafe}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(hg(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hjrhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjnubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjnubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjnubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjnubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjjubj|)}(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 classnameNj@jC)}jF]j3c.debugfs_create_file_unsafeasbuh1hhj˓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`jauh1j{hjjubj|)}(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}(hj5hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj7modnameN classnameNj@jC)}jF]j3c.debugfs_create_file_unsafeasbuh1hhjubj2)}(h h]h }(hjShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hjnhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjjubj|)}(h void *datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hjjubj|)}(h"const struct file_operations *fopsh](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}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjŔubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjŔubh)}(hhh]jI)}(hfile_operationsh]hfile_operations}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j3c.debugfs_create_file_unsafeasbuh1hhjŔ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)}(hfopsh]hfops}(hj;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjŔubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjbhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}jj}jjjuh1jhhhjIhNhNubj)}(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)}(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)}(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}(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.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)}(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 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.}(hj1hhhNhNubah}(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)}(hjRh]h void *data}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjLubj)}(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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjubj)}(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.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.}(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&]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&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubh)}(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.chMhjubh)}(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.chMhjubh)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j %debugfs_create_file_size (C function)c.debugfs_create_file_sizehNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'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'hhhj9hMubjC)}(hdebugfs_create_file_sizeh]jI)}(hdebugfs_create_file_sizeh]hdebugfs_create_file_size}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjHubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj'hhhj9hMubjv)}(hy(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops, loff_t file_size)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjdubj2)}(h h]h }(hjuhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubj2)}(h h]h }(hjhhhNhNubah}(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`jauh1j{hj`ubj|)}(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 classnameNj@jC)}jF]jI)}j<jNsbc.debugfs_create_file_sizeasbuh1hhjubj2)}(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`jauh1j{hj`ubj|)}(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}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj/modnameN classnameNj@jC)}jF]jc.debugfs_create_file_sizeasbuh1hhj ubj2)}(h h]h }(hjKhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(hparenth]hparent}(hjfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj`ubj|)}(h void *datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj{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`jauh1j{hj`ubj|)}(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 classnameNj@jC)}jF]jc.debugfs_create_file_sizeasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfopsh]hfops}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj`ubj|)}(hloff_t file_sizeh](h)}(hhh]jI)}(hloff_th]hloff_t}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjLubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjQmodnameN classnameNj@jC)}jF]jc.debugfs_create_file_sizeasbuh1hhjHubj2)}(h h]h }(hjmhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjHubjI)}(h file_sizeh]h file_size}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjHubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj`ubeh}(h]h ]h"]h$]h&]j`jauh1juhj'hhhj9hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj#hhhj9hMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj9hMhj hhubjw)}(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&]uh1jvhj hhhj9hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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.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&]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&]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}(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)}(h)the permission that the file should have.h]h)the permission that the file should have.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjݙ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)}(hjXh]hstruct dentry *parent}(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.chM hjRubj)}(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.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhM 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)}(hj̚h]h"const struct file_operations *fops}(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)}(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.chM hjubah}(h]h ]h"]h$]h&]uh1jhjƚubeh}(h]h ]h"]h$]h&]uh1jhjhMhjݙ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)}(hjAh]h Description}(hjChhhNhNubah}(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.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.)}(hjWhhhNhNubah}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_create_dir (C function)c.debugfs_create_dirhNtauh1hhjIhhhNhNubj)}(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}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjhhh[/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&]uh1j1hjhhhjhM#ubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<debugfs_create_dirsbc.debugfs_create_dirasbuh1hhjhhhjhM#ubj2)}(h h]h }(hjƛhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhM#ubj)}(hjh]h*}(hjԛhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhM#ubjC)}(hdebugfs_create_dirh]jI)}(hjÛh]hdebugfs_create_dir}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM#ubjv)}(h)(const char *name, struct dentry *parent)h](j|)}(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&]uh1j1hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj)hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hjDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jc.debugfs_create_dirasbuh1hhjYubj2)}(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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM#ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj~hhhjhM#ubah}(h]jyah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM#hj{hhubjw)}(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&]uh1jvhj{hhhjhM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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}(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.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.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM$hj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hM%hjubj)}(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)}(hjYh]hstruct dentry *parent}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM(hjSubj)}(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.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM&hjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhM(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&]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 -}(hjɝhhhNhNubj)}(h ``ENODEV``h]hENODEV}(hjѝhhhNhNubah}(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.chM1hjubh)}(h**NOTE**h]j)}(hjh]hNOTE}(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.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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j %debugfs_create_automount (C function)c.debugfs_create_automounthNtauh1hhjIhhhNhNubj)}(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}(hj1hhhNhNubah}(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 }(hj?hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj-hhhj>hMWubh)}(hhh]jI)}(hdentryh]hdentry}(hjPhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjMubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjRmodnameN classnameNj@jC)}jF]jI)}j<debugfs_create_automountsbc.debugfs_create_automountasbuh1hhj-hhhj>hMWubj2)}(h h]h }(hjqhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj-hhhj>hMWubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj-hhhj>hMWubjC)}(hdebugfs_create_automounth]jI)}(hjnh]hdebugfs_create_automount}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj-hhhj>hMWubjv)}(hL(const char *name, struct dentry *parent, debugfs_automount_t f, void *data)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hjƞhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hjubj|)}(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< reftargetj(modnameN classnameNj@jC)}jF]jlc.debugfs_create_automountasbuh1hhjubj2)}(h h]h }(hjDhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hj_hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hdebugfs_automount_t fh](h)}(hhh]jI)}(hdebugfs_automount_th]hdebugfs_automount_t}(hj{hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjxubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj}modnameN classnameNj@jC)}jF]jlc.debugfs_create_automountasbuh1hhjtubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubjI)}(hjh]hf}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h void *datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj͟hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj۟hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhj-hhhj>hMWubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj)hhhj>hMWubah}(h]j$ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj>hMWhj&hhubjw)}(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&]uh1jvhj&hhhj>hMWubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1jhhhjIhNhNubj)}(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)}(hj4h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(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)}(hjSh]hconst char *name}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMXhjMubj)}(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.}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMXhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMXhjJubj)}(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[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]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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[hjJubj)}(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)}(hjƠh]hdebugfs_automount_t f}(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.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\hjJubj)}(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().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjJubeh}(h]h ]h"]h$]h&]uh1jhj.ubh)}(h**Description**h]j)}(hj:h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(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}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubh* should return what ->d_automount() would.}(hjPhhhNhNubeh}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j #debugfs_create_symlink (C function)c.debugfs_create_symlinkhNtauh1hhjIhhhNhNubj)}(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&]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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<debugfs_create_symlinksbc.debugfs_create_symlinkasbuh1hhjhhhjhMubj2)}(h h]h }(hj͡hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMubj)}(hjh]h*}(hjۡhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjC)}(hdebugfs_create_symlinkh]jI)}(hjʡh]hdebugfs_create_symlink}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h=(const char *name, struct dentry *parent, const char *target)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj0hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hjKhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hstruct dentry *parenth](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)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jȡc.debugfs_create_symlinkasbuh1hhj`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`jauh1j{hjubj|)}(hconst char *targeth](j )}(hjh]hconst}(hjԢhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjТubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjТubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjТubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjТubj)}(hjh]h*}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjТubjI)}(htargeth]htarget}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjТubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(h0create a symbolic link in the debugfs filesystemh]h0create a symbolic link in the debugfs filesystem}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1h˕h[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhj?hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjZjjZjjjuh1jhhhjIhNhNubj)}(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)}(hjdh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhj^ubj)}(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)}(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.chMhj}ubj)}(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&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjzubj)}(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ңhMhjzubj)}(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.chMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjzubeh}(h]h ]h"]h$]h&]uh1jhj^ubh)}(h**Description**h]j)}(hj3h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhj^ubh)}(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.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhj^ubh)}(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.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhj^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 -}(hjghhhNhNubj)}(h ``ENODEV``h]hENODEV}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubh will be returned.}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_remove (C function)c.debugfs_removehNtauh1hhjIhhhNhNubj)}(hhh](j)}(h+void debugfs_remove (struct dentry *dentry)h]j)}(h*void debugfs_remove(struct dentry *dentry)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]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&]uh1j1hjhhhjhMubjC)}(hdebugfs_removeh]jI)}(hdebugfs_removeh]hdebugfs_remove}(hjɤhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjŤubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(h(struct dentry *dentry)h]j|)}(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 classnameNj@jC)}jF]jI)}j<jˤsbc.debugfs_removeasbuh1hhjubj2)}(h h]h }(hj#hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hdentryh]hdentry}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjݤubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjhhubjw)}(hhh]h)}(hrecursively removes a directoryh]hrecursively removes a directory}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjehhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubj)}(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.}(hj¥hhhNhNubah}(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&]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.chMhjubh)}(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.chMhjubh)}(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.}(hj hhhNhNubah}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j &debugfs_lookup_and_remove (C function)c.debugfs_lookup_and_removehNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMubj2)}(h h]h }(hjHhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj5hhhjGhMubjC)}(hdebugfs_lookup_and_removeh]jI)}(hdebugfs_lookup_and_removeh]hdebugfs_lookup_and_remove}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjVubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj5hhhjGhMubjv)}(h)(const char *name, struct dentry *parent)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hjvhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjrubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjrubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjrubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjrubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjnubj|)}(hstruct dentry *parenth](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 classnameNj@jC)}jF]jI)}j<j\sbc.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`jauh1j{hjnubeh}(h]h ]h"]h$]h&]j`jauh1juhj5hhhjGhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj1hhhjGhMubah}(h]j,ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjGhMhj.hhubjw)}(hhh]h)}(h4lookup a directory or file and recursively remove ith]h4lookup a directory or file and recursively remove it}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjShhubah}(h]h ]h"]h$]h&]uh1jvhj.hhhjGhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1jhhhjIhNhNubj)}(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)}(hjxh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjrubj)}(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.chMhjʧubj)}(hhh]h)}(h+a pointer to the parent dentry of the item.h]h+a pointer to the parent dentry of the item.}(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&]uh1jhjrubh)}(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.chMhjrubh)}(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.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  debugfs_change_name (C function)c.debugfs_change_namehNtauh1hhjIhhhNhNubj)}(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](j)}(hinth]hint}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjLhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM)ubj2)}(h h]h }(hj_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjLhhhj^hM)ubjC)}(hdebugfs_change_nameh]jI)}(hdebugfs_change_nameh]hdebugfs_change_name}(hjqhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjmubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjLhhhj^hM)ubjv)}(h-(struct dentry *dentry, const char *fmt, ...)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jssbc.debugfs_change_nameasbuh1hhjubj2)}(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`jauh1j{hjubj|)}(hconst char *fmth](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj(hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hfmth]hfmt}(hjChhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h...h]j)}(hjc{h]h...}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjLhhhj^hM)ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjHhhhj^hM)ubah}(h]jCah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj^hM)hjEhhubjw)}(hhh]h)}(h1rename a file/directory in the debugfs filesystemh]h1rename a file/directory in the debugfs filesystem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM)hjhhubah}(h]h ]h"]h$]h&]uh1jvhjEhhhj^hM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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: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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM+hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM+hjubj)}(h``...`` variable arguments h](j)}(h``...``h]j)}(hj8h]h...}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chKhj2ubj)}(hhh]h)}(hvariable argumentsh]hvariable arguments}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhKhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjsh]h Description}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM,hjubh)}(hah"]h$]h&]uh1j1hjhhhjhMjubjC)}(hdebugfs_initializedh]jI)}(hdebugfs_initializedh]hdebugfs_initialized}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMjubjv)}(h(void)h]j|)}(hvoidh]j)}(hvoidh]hvoid}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMjubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMjubah}(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}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMjhjKhhubah}(h]h ]h"]h$]h&]uh1jvhjݪhhhjhMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1jhhhjIhNhNubj)}(h'**Parameters** ``void`` no argumentsh](h)}(h**Parameters**h]j)}(hjph]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMnhjjubj)}(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.chMphjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMphjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_file_get (C function)c.debugfs_file_gethNtauh1hhjIhhhNhNubj)}(hhh](j)}(h,int debugfs_file_get (struct dentry *dentry)h]j)}(h+int debugfs_file_get(struct dentry *dentry)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/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_file_geth]jI)}(hdebugfs_file_geth]hdebugfs_file_get}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhKubjv)}(h(struct dentry *dentry)h]j|)}(hstruct dentry *dentryh](j )}(hjh]hstruct}(hj&hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj"ubj2)}(h h]h }(hj3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj"ubh)}(hhh]jI)}(hdentryh]hdentry}(hjDhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjAubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjFmodnameN classnameNj@jC)}jF]jI)}j<j sbc.debugfs_file_getasbuh1hhj"ubj2)}(h h]h }(hjdhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj"ubj)}(hjh]h*}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubjI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj"ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhKubah}(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&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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.chKhjŬubj)}(hhh]j)}(hJ``struct dentry *dentry`` the dentry object whose data is being accessed. 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.chKhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(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:149: ./fs/debugfs/file.chKhjŬubh)}(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.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjŬubh)}(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 -}(hjJhhhNhNubj)}(h``EIO``h]hEIO}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubh 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.}(hjJhhhNhNubeh}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_file_put (C function)c.debugfs_file_puthNtauh1hhjIhhhNhNubj)}(hhh](j)}(h-void debugfs_file_put (struct dentry *dentry)h]j)}(h,void debugfs_file_put(struct dentry *dentry)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/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_file_puth]jI)}(hdebugfs_file_puth]hdebugfs_file_put}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhKubjv)}(h(struct dentry *dentry)h]j|)}(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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jsbc.debugfs_file_putasbuh1hhjĭ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}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjĭubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubah}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhKubah}(h]j~ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhKhjhhubjw)}(hhh]h)}(h mark the end of file data accessh]h mark the end of file data access}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjHhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1jhhhjIhNhNubj)}(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)}(hjmh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjgubj)}(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.chKhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjgubh)}(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.chKhjgubh)}(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.chKhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j 'debugfs_enter_cancellation (C function)c.debugfs_enter_cancellationhNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj 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_enter_cancellationh]jI)}(hdebugfs_enter_cancellationh]hdebugfs_enter_cancellation}(hj.hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj hhhjhKubjv)}(h>(struct file *file, struct debugfs_cancellation *cancellation)h](j|)}(hstruct file *fileh](j )}(hjh]hstruct}(hjJhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjFubj2)}(h h]h }(hjWhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubh)}(hhh]jI)}(hfileh]hfile}(hjhhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjeubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjjmodnameN classnameNj@jC)}jF]jI)}j<j0sbc.debugfs_enter_cancellationasbuh1hhjFubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjFubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjFubjI)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjFubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjBubj|)}(h)struct debugfs_cancellation *cancellationh](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)}(hdebugfs_cancellationh]hdebugfs_cancellation}(hjگhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjׯubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjܯmodnameN classnameNj@jC)}jF]jc.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`jauh1j{hjBubeh}(h]h ]h"]h$]h&]j`jauh1juhj hhhjhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhKubah}(h]jah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhKhjhhubjw)}(hhh]h)}(henter a debugfs cancellationh]henter a debugfs cancellation}(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&]uh1jvhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1jhhhjIhNhNubj)}(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)}(hj_h]h Parameters}(hjahhhNhNubah}(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.chKhjYubj)}(hhh](j)}(h.``struct file *file`` the file being accessed h](j)}(h``struct file *file``h]j)}(hj~h]hstruct file *file}(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.chKhjxubj)}(hhh]h)}(hthe file being accessedh]hthe file being accessed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhKhjuubj)}(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&]uh1jhj̰hKhjuubeh}(h]h ]h"]h$]h&]uh1jhjYubh)}(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.chKhjYubh)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjYubh)}(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().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjYubh)}(h?This function must be paired with debugfs_leave_cancellation().h]h?This function must be paired with debugfs_leave_cancellation().}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j 'debugfs_leave_cancellation (C function)c.debugfs_leave_cancellationhNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRhhhjdhKubjC)}(hdebugfs_leave_cancellationh]jI)}(hdebugfs_leave_cancellationh]hdebugfs_leave_cancellation}(hjwhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjsubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjRhhhjdhKubjv)}(h>(struct file *file, struct debugfs_cancellation *cancellation)h](j|)}(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 classnameNj@jC)}jF]jI)}j<jysbc.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`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jͱc.debugfs_leave_cancellationasbuh1hhjubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(h cancellationh]h cancellation}(hj\hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjRhhhjdhKubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjNhhhjdhKubah}(h]jIah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjdhKhjKhhubjw)}(hhh]h)}(hleave cancellation sectionh]hleave cancellation section}(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&]uh1jvhjKhhhjdhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(hjDzh]hstruct 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:149: ./fs/debugfs/file.chKhjubj)}(hhh]h)}(hthe file being accessedh]hthe file being accessed}(hjhhhNhNubah}(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.chKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(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.chKhjubh)}(h6See the documentation of debugfs_enter_cancellation().h]h6See the documentation of debugfs_enter_cancellation().}(hjRhhhNhNubah}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_create_u8 (C function)c.debugfs_create_u8hNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj}hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMQubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj}hhhjhMQubjC)}(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`jauh1jBhj}hhhjhMQubjv)}(hB(const char *name, umode_t mode, struct dentry *parent, u8 *value)h](j|)}(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&]uh1j1hjubj)}(hcharh]hchar}(hjٳhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.debugfs_create_u8asbuh1hhjubj2)}(h h]h }(hj>hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hjLhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hstruct dentry *parenth](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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j:c.debugfs_create_u8asbuh1hhjaubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjaubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjaubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhj}hhhjhMQubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjyhhhjhMQubah}(h]jtah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMQhjvhhubjw)}(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}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMQhj8hhubah}(h]h ]h"]h$]h&]uh1jvhjvhhhjhMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSjjSjjjuh1jhhhjIhNhNubj)}(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)}(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.chMUhjWubj)}(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&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMRhjvubj)}(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&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjsubj)}(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&]uh1hhjʵhMShj˵ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjʵhMShjsubj)}(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.chMVhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMVhjsubj)}(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}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMXhj4ubj)}(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.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMWhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMXhjsubeh}(h]h ]h"]h$]h&]uh1jhjWubh)}(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.chMZhjWubh)}(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.chMYhjWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_create_u16 (C function)c.debugfs_create_u16hNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hj߶hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj۶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۶hhhjhMuubjv)}(hC(const char *name, umode_t mode, struct dentry *parent, u16 *value)h](j|)}(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&]uh1j1hjubj)}(hcharh]hchar}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hj`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hj|hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjyubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj~modnameN classnameNj@jC)}jF]jI)}j<jsbc.debugfs_create_u16asbuh1hhjuubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjuubjI)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjuubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hstruct dentry *parenth](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 classnameNj@jC)}jF]jc.debugfs_create_u16asbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(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`jauh1j{hjubj|)}(h u16 *valueh](h)}(hhh]jI)}(hu16h]hu16}(hj6hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj8modnameN classnameNj@jC)}jF]jc.debugfs_create_u16asbuh1hhj/ubj2)}(h h]h }(hjThhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj/ubj)}(hjh]h*}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj/ubjI)}(hvalueh]hvalue}(hjohhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj/ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhj۶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&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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}(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.chMwhj ubj)}(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(hMwhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMwhjѸ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)}(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.chMzhjFubj)}(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.chMxhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMzhjѸ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 }(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.chM}hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_create_u32 (C function)c.debugfs_create_u32hNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMubj2)}(h h]h }(hjLhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj9hhhjKhMubjC)}(hdebugfs_create_u32h]jI)}(hdebugfs_create_u32h]hdebugfs_create_u32}(hj^hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjZubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj9hhhjKhMubjv)}(hC(const char *name, umode_t mode, struct dentry *parent, u32 *value)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hjzhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjvubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjvubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjvubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjvubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjrubj|)}(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 classnameNj@jC)}jF]jI)}j<j`sbc.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`jauh1j{hjrubj|)}(hstruct dentry *parenth](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}(hj?hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjAmodnameN classnameNj@jC)}jF]jc.debugfs_create_u32asbuh1hhjubj2)}(h h]h }(hj]hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hjxhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjrubj|)}(h u32 *valueh](h)}(hhh]jI)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]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`jauh1j{hjrubeh}(h]h ]h"]h$]h&]j`jauh1juhj9hhhjKhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj5hhhjKhMubah}(h]j0ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjKhMhj2hhubjw)}(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&]uh1jvhj2hhhjKhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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&]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)}(hj8h]hconst char *name}(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)}(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.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhj/ubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjqh]h umode_t mode}(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.chMhjkubj)}(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&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMhj/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 }(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.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.chMhj 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)}(hj2h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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 }(hjHhhhNhNubj)}(h **value**h]hvalue}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh . If the }(hjHhhhNhNubj)}(h**mode**h]hmode}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh9 variable is so set, it can be read from, and written to.}(hjHhhhNhNubeh}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_create_u64 (C function)c.debugfs_create_u64hNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/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`jauh1jBhjhhhjhMubjv)}(hC(const char *name, umode_t mode, struct dentry *parent, u64 *value)h](j|)}(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Խubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjԽ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`jauh1j{hjнubj|)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj:modnameN classnameNj@jC)}jF]jI)}j<jsbc.debugfs_create_u64asbuh1hhj1ubj2)}(h h]h }(hjXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj1ubjI)}(hmodeh]hmode}(hjfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj1ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjнubj|)}(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 classnameNj@jC)}jF]jTc.debugfs_create_u64asbuh1hhj{ubj2)}(h h]h }(hjhhhNhNubah}(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`jauh1j{hjнubj|)}(h u64 *valueh](h)}(hhh]jI)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jTc.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`jauh1j{hjнubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjRhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjmjjmjjjuh1jhhhjIhNhNubj)}(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)}(hjwh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjqubj)}(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.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&]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)}(hjh]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.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 }(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.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)}(hjTh]h u64 *value}(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.chMhjNubj)}(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.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjubeh}(h]h ]h"]h$]h&]uh1jhjqubh)}(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.chMhjqubh)}(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.chMhjqubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !debugfs_create_ulong (C function)c.debugfs_create_ulonghNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/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&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(hM(const char *name, umode_t mode, struct dentry *parent, unsigned long *value)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hj6hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj2ubj2)}(h h]h }(hjChhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubj)}(hcharh]hchar}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubj2)}(h h]h }(hj_hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubj)}(hjh]h*}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubjI)}(hnameh]hname}(hjzhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj.ubj|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.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`jauh1j{hj.ubj|)}(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 classnameNj@jC)}jF]jc.debugfs_create_ulongasbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hj4hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj.ubj|)}(hunsigned long *valueh](j)}(hunsignedh]hunsigned}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj2)}(h h]h }(hj[hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjIubj)}(hlongh]hlong}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjIubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubjI)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjIubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj.ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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.}(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)}(hj6h]h umode_t mode}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj0ubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhMhjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMhjubj)}(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)}(hjoh]hstruct dentry *parent}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjiubj)}(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&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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 }(hj hhhNhNubj)}(h **value**h]hvalue}(hjhhhNhNubah}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_create_x8 (C function)c.debugfs_create_x8hNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMubj2)}(h h]h }(hjohhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj\hhhjnhMubjC)}(hdebugfs_create_x8h]jI)}(hdebugfs_create_x8h]hdebugfs_create_x8}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj}ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj\hhhjnhMubjv)}(hB(const char *name, umode_t mode, struct dentry *parent, u8 *value)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jI)}j<jsbc.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`jauh1j{hjubj|)}(hstruct dentry *parenth](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)}(hdentryh]hdentry}(hjbhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjdmodnameN classnameNj@jC)}jF]jc.debugfs_create_x8asbuh1hhj@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`jauh1j{hjubj|)}(h u8 *valueh](h)}(hhh]jI)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhj\hhhjnhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjXhhhjnhMubah}(h]jSah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjnhMhjUhhubjw)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jvhjUhhhjnhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2jj2jjjuh1jhhhjIhNhNubj)}(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)}(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.chMhj6ubj)}(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&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjUubj)}(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.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjRubj)}(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&]uh1jhjhMhjRubj)}(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&]uh1jhjhMhjRubj)}(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&]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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjRubeh}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_create_x16 (C function)c.debugfs_create_x16hNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjnhhhZ/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&]uh1j1hjnhhhjhM(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`jauh1jBhjnhhhjhM(ubjv)}(hC(const char *name, umode_t mode, struct dentry *parent, u16 *value)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hjubj|)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jI)}j<jsbc.debugfs_create_x16asbuh1hhjubj2)}(h h]h }(hj/hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hj=hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hstruct dentry *parenth](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 classnameNj@jC)}jF]j+c.debugfs_create_x16asbuh1hhjRubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjRubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjRubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h u16 *valueh](h)}(hhh]jI)}(hu16h]hu16}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjnhhhjhM(ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjjhhhjhM(ubah}(h]jeah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM(hjghhubjw)}(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(hj)hhubah}(h]h ]h"]h$]h&]uh1jvhjghhhjhM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1jhhhjIhNhNubj)}(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)}(hjNh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM,hjHubj)}(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)}(hjmh]hconst char *name}(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.chM)hjgubj)}(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&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjdubj)}(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*hjdubj)}(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-hjdubj)}(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&]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)}(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.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hM.hjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hM.hjdubeh}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_create_x32 (C function)c.debugfs_create_x32hNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/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_create_x32h]jI)}(hdebugfs_create_x32h]hdebugfs_create_x32}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhM:ubjv)}(hC(const char *name, umode_t mode, struct dentry *parent, u32 *value)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hjubj|)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj#modnameN classnameNj@jC)}jF]jI)}j<jsbc.debugfs_create_x32asbuh1hhjubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjdubj2)}(h h]h }(hjuhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j=c.debugfs_create_x32asbuh1hhjdubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h u32 *valueh](h)}(hhh]jI)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j=c.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}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM:ubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj|hhhjhM:ubah}(h]jwah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhM:hjyhhubjw)}(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}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM:hj;hhubah}(h]h ]h"]h$]h&]uh1jvhjyhhhjhM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1jhhhjIhNhNubj)}(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)}(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:149: ./fs/debugfs/file.chM>hjZubj)}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM;hjyubj)}(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&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhM;hjvubj)}(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<hjvubj)}(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 }(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.chM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjvubj)}(hU``u32 *value`` a pointer to the variable that the file should read to and write from.h](j)}(h``u32 *value``h]j)}(hj=h]h u32 *value}(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.chM@hj7ubj)}(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.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhM@hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM@hjvubeh}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_create_x64 (C function)c.debugfs_create_x64hNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/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`jauh1jBhjhhhjhMLubjv)}(hC(const char *name, umode_t mode, struct dentry *parent, u64 *value)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(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`jauh1j{hjubj|)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hj3hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj5modnameN classnameNj@jC)}jF]jI)}j<jsbc.debugfs_create_x64asbuh1hhj,ubj2)}(h h]h }(hjShhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj,ubjI)}(hmodeh]hmode}(hjahhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj,ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjzhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjvubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjvubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jOc.debugfs_create_x64asbuh1hhjvubj2)}(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`jauh1j{hjubj|)}(h u64 *valueh](h)}(hhh]jI)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jOc.debugfs_create_x64asbuh1hhjubj2)}(h h]h }(hj hhhNhNubah}(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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMLubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhjhMLubah}(h]jah ](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}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMLhjMhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1jhhhjIhNhNubj)}(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)}(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.chMPhjlubj)}(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&]uh1jhjhMMhjubj)}(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&]uh1jhjhMNhjubj)}(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}(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.chMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubj)}(hU``u64 *value`` a pointer to the variable that the file should read to and write from.h](j)}(h``u64 *value``h]j)}(hjOh]h u64 *value}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMRhjIubj)}(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&]uh1hhjdhMRhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMRhjubeh}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j "debugfs_create_size_t (C function)c.debugfs_create_size_thNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/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`jauh1jBhjhhhjhMnubjv)}(hF(const char *name, umode_t mode, struct dentry *parent, size_t *value)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hjubj|)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjEhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjBubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjGmodnameN classnameNj@jC)}jF]jI)}j<jsbc.debugfs_create_size_tasbuh1hhj>ubj2)}(h h]h }(hjehhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj>ubjI)}(hmodeh]hmode}(hjshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj>ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jac.debugfs_create_size_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`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jac.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}(hj8hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMnubeh}(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}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMnhj_hhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMnubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1jhhhjIhNhNubj)}(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)}(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.chMrhj~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)}(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)}(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.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}(hj6hhhNhNubah}(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&]uh1jhj*hMshjubj)}(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)}(hjah]h size_t *value}(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.chMthj[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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhMthjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMthjubeh}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $debugfs_create_atomic_t (C function)c.debugfs_create_atomic_thNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/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`jauh1jBhjhhhjhMubjv)}(hH(const char *name, umode_t mode, struct dentry *parent, atomic_t *value)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hj;hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjWhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjTubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjYmodnameN classnameNj@jC)}jF]jI)}j<jsbc.debugfs_create_atomic_tasbuh1hhjPubj2)}(h h]h }(hjwhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjPubjI)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjPubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jsc.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`jauh1j{hjubj|)}(hatomic_t *valueh](h)}(hhh]jI)}(hatomic_th]hatomic_t}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jsc.debugfs_create_atomic_tasbuh1hhj 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)}(hvalueh]hvalue}(hjJhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjqhhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(hj'h]hstruct dentry *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: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}(hjHhhhNhNubah}(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.chMhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjubj)}(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)}(hjsh]hatomic_t *value}(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.chMhjmubj)}(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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  debugfs_create_bool (C function)c.debugfs_create_boolhNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/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`jauh1jBhjhhhjhMubjv)}(hD(const char *name, umode_t mode, struct dentry *parent, bool *value)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hj hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj2hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hjMhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjihhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjfubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjkmodnameN classnameNj@jC)}jF]jI)}j<jsbc.debugfs_create_boolasbuh1hhjbubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjbubjI)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjbubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jc.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`jauh1j{hjubj|)}(h bool *valueh](j)}(hjh]hbool}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj-hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hvalueh]hvalue}(hjHhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjohhubah}(h]h ]h"]h$]h&]uh1jvhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(hj%h]hstruct dentry *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: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 }(hj>hhhNhNubj)}(h``NULL``h]hNULL}(hjFhhhNhNubah}(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.chMhj;ubah}(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)}(hjqh]h bool *value}(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.chMhjkubj)}(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&]uh1jhjkubeh}(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}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j debugfs_create_str (C function)c.debugfs_create_strhNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMbubj2)}(h h]h }(hj%hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhj$hMbubjC)}(hdebugfs_create_strh]jI)}(hdebugfs_create_strh]hdebugfs_create_str}(hj7hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj3ubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhj$hMbubjv)}(hE(const char *name, umode_t mode, struct dentry *parent, char **value)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hjShhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjOubj2)}(h h]h }(hj`hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjOubj)}(hcharh]hchar}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubj2)}(h h]h }(hj|hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjOubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubjI)}(hnameh]hname}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjOubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjKubj|)}(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 classnameNj@jC)}jF]jI)}j<j9sbc.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`jauh1j{hjKubj|)}(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 classnameNj@jC)}jF]jc.debugfs_create_strasbuh1hhjubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hjQhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjKubj|)}(h char **valueh](j)}(hcharh]hchar}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj2)}(h h]h }(hjxhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjfubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjfubjI)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjfubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjKubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhj$hMbubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjhhhj$hMbubah}(h]j ah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj$hMbhj hhubjw)}(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&]uh1jvhj hhhj$hMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(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.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.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMchj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMchjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjDh]h umode_t mode}(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.chMdhj>ubj)}(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&]uh1hhjYhMdhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMdhjubj)}(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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMghjwubj)}(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&]uh1jhjwubeh}(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)}(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.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}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh . If the }(hj-hhhNhNubj)}(h**mode**h]hmode}(hjGhhhNhNubah}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j  debugfs_create_blob (C function)c.debugfs_create_blobhNtauh1hhjIhhhNhNubj)}(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}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj|hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.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 classnameNj@jC)}jF]jI)}j<debugfs_create_blobsbc.debugfs_create_blobasbuh1hhj|hhhjhMubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj|hhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj|hhhjhMubjC)}(hdebugfs_create_blobh]jI)}(hjh]hdebugfs_create_blob}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhj|hhhjhMubjv)}(hZ(const char *name, umode_t mode, struct dentry *parent, struct debugfs_blob_wrapper *blob)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hj#hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hnameh]hname}(hj>hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hjZhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjWubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj\modnameN classnameNj@jC)}jF]jc.debugfs_create_blobasbuh1hhjSubj2)}(h h]h }(hjxhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjSubjI)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjSubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]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`jauh1j{hjubj|)}(h!struct debugfs_blob_wrapper *blobh](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)}(hdebugfs_blob_wrapperh]hdebugfs_blob_wrapper}(hj-hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj/modnameN classnameNj@jC)}jF]jc.debugfs_create_blobasbuh1hhj ubj2)}(h h]h }(hjKhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj ubj)}(hjh]h*}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjI)}(hblobh]hblob}(hjfhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhj|hhhjhMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjxhhhjhMubah}(h]jsah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMhjuhhubjw)}(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&]uh1jvhjuhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(hj h]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.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&]uh1hhjhMhj ubah}(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)}(hjCh]hstruct dentry *parent}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(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}(hjdhhhNhNubah}(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.chMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjubj)}(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.chMhjubj)}(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&]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 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.}(hjhhhNhNubah}(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.}(hj#hhhNhNubah}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j %debugfs_create_u32_array (C function)c.debugfs_create_u32_arrayhNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMubj2)}(h h]h }(hjahhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjNhhhj`hMubjC)}(hdebugfs_create_u32_arrayh]jI)}(hdebugfs_create_u32_arrayh]hdebugfs_create_u32_array}(hjshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjoubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjNhhhj`hMubjv)}(hX(const char *name, umode_t mode, struct dentry *parent, struct debugfs_u32_array *array)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]jI)}j<jusbc.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`jauh1j{hjubj|)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hj6hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj2ubj2)}(h h]h }(hjChhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubh)}(hhh]jI)}(hdentryh]hdentry}(hjThhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjQubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjVmodnameN classnameNj@jC)}jF]j c.debugfs_create_u32_arrayasbuh1hhj2ubj2)}(h h]h }(hjrhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj2ubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj2ubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj2ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]j c.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`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjNhhhj`hMubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhjJhhhj`hMubah}(h]jEah ](jnjoeh"]h$]h&]jsjt)juhuh1jhj`hMhjGhhubjw)}(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.}(hj'hhhNhNubah}(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&]uh1jvhjGhhhj`hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1jhhhjIhNhNubj)}(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)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjCubj)}(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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjbubj)}(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&]uh1hhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj_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.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&]uh1jhjhMhj_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.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 hj_ubj)}(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)}(hj&h]hstruct debugfs_u32_array *array}(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.chM hj ubj)}(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.}(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&]uh1jhjCubh)}(h**Description**h]j)}(hjah]h Description}(hjchhhNhNubah}(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 hjCubh)}(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 }(hjwhhhNhNubj)}(h **array**h]harray}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh as data. If the }(hjwhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh 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.}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM hjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j !debugfs_print_regs32 (C function)c.debugfs_print_regs32hNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/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"ubjv)}(hc(struct seq_file *s, const struct debugfs_reg32 *regs, int nregs, void __iomem *base, char *prefix)h](j|)}(hstruct seq_file *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)}(hseq_fileh]hseq_file}(hj%hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj'modnameN classnameNj@jC)}jF]jI)}j<jsbc.debugfs_print_regs32asbuh1hhjubj2)}(h h]h }(hjEhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hjh]hs}(hj`hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h const struct debugfs_reg32 *regsh](j )}(hjh]hconst}(hjxhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjtubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubj )}(hjh]hstruct}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjtubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubh)}(hhh]jI)}(h debugfs_reg32h]h debugfs_reg32}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jAc.debugfs_print_regs32asbuh1hhjtubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjtubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtubjI)}(hregsh]hregs}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjtubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h int nregsh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hjubj|)}(hvoid __iomem *baseh](j)}(hvoidh]hvoid}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubj2)}(h h]h }(hjFhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4ubh__iomem}(hj4hhhNhNubj2)}(h h]h }(hjXhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj4ubj)}(hjh]h*}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj4ubjI)}(hbaseh]hbase}(hjshhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj4ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(h char *prefixh](j)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hprefixh]hprefix}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhM"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&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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)}(hj h]hstruct seq_file *s}(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)}(h4the seq_file structure being used to generate outputh]h4the seq_file structure being used to generate output}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hM#hj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hM#hjubj)}(hQ``const struct debugfs_reg32 *regs`` an array if struct debugfs_reg32 structures h](j)}(h$``const struct debugfs_reg32 *regs``h]j)}(hjYh]h const struct debugfs_reg32 *regs}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM$hjSubj)}(hhh]h)}(h+an array if struct debugfs_reg32 structuresh]h+an array if struct debugfs_reg32 structures}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhM$hjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhM$hjubj)}(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%hjubj)}(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&hjubj)}(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'hjubeh}(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&]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}(hjUhhhNhNubah}(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&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j $debugfs_create_regset32 (C function)c.debugfs_create_regset32hNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMRubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjhhhjhMRubjC)}(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`jauh1jBhjhhhjhMRubjv)}(hX(const char *name, umode_t mode, struct dentry *parent, struct debugfs_regset32 *regset)h](j|)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hjubj|)}(h umode_t modeh](h)}(hhh]jI)}(humode_th]humode_t}(hj!hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetj#modnameN classnameNj@jC)}jF]jI)}j<jsbc.debugfs_create_regset32asbuh1hhjubj2)}(h h]h }(hjAhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubjI)}(hmodeh]hmode}(hjOhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(hstruct dentry *parenth](j )}(hjh]hstruct}(hjhhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjdubj2)}(h h]h }(hjuhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdubh)}(hhh]jI)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]j=c.debugfs_create_regset32asbuh1hhjdubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjdubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjdubjI)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjdubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubj|)}(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 classnameNj@jC)}jF]j=c.debugfs_create_regset32asbuh1hhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hregseth]hregset}(hj/hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hjubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMRubeh}(h]h ]h"]h$]h&]j`jajhuh1jjijjhj|hhhjhMRubah}(h]jwah ](jnjoeh"]h$]h&]jsjt)juhuh1jhjhMRhjyhhubjw)}(hhh]h)}(h2create a debugfs file that returns register valuesh]h2create a debugfs file that returns register values}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMRhjVhhubah}(h]h ]h"]h$]h&]uh1jvhjyhhhjhMRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1jhhhjIhNhNubj)}(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)}(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:149: ./fs/debugfs/file.chMVhjuubj)}(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)}(hj h]hstruct dentry *parent}(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.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 }(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.chMUhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMWhjubj)}(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)}(hjXh]hstruct debugfs_regset32 *regset}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMZhjRubj)}(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.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMXhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMZhjubeh}(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&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM\hjuubh)}(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[hjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](j (debugfs_create_devm_seqfile (C function)c.debugfs_create_devm_seqfilehNtauh1hhjIhhhNhNubj)}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhZ/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}(hj hhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ](j[j\eh"]h$]h&]j`jauh1jBhjhhhjhMubjv)}(hm(struct device *dev, const char *name, struct dentry *parent, int (*read_fn)(struct seq_file *s, void *data))h](j|)}(hstruct device *devh](j )}(hjh]hstruct}(hj(hhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhj$ubj2)}(h h]h }(hj5hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj$ubh)}(hhh]jI)}(hdeviceh]hdevice}(hjFhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjCubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjHmodnameN classnameNj@jC)}jF]jI)}j<jsbc.debugfs_create_devm_seqfileasbuh1hhj$ubj2)}(h h]h }(hjfhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hj$ubj)}(hjh]h*}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubjI)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhj$ubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj ubj|)}(hconst char *nameh](j )}(hjh]hconst}(hjhhhNhNubah}(h]h ]j,ah"]h$]h&]uh1jhjubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj2)}(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`jauh1j{hj ubj|)}(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 classnameNj@jC)}jF]jbc.debugfs_create_devm_seqfileasbuh1hhjubj2)}(h h]h }(hj3hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjubj)}(hjh]h*}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjI)}(hparenth]hparent}(hjNhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj ubj|)}(h.int (*read_fn)(struct seq_file *s, void *data)h](j)}(hinth]hint}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj2)}(h h]h }(hjuhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubj)}(hjVh]h(}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubjI)}(hread_fnh]hread_fn}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjcubj)}(hjh]h)}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj)}(hjVh]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)}(hseq_fileh]hseq_file}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjubah}(h]h ]h"]h$]h&] refdomainjreftypej< reftargetjmodnameN classnameNj@jC)}jF]jbc.debugfs_create_devm_seqfileasbuh1hhjcubj2)}(h h]h }(hjhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubjI)}(hjh]hs}(hjhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjcubj)}(hjh]h,}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj2)}(h h]h }(hj6hhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubj)}(hvoidh]hvoid}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubj2)}(h h]h }(hjRhhhNhNubah}(h]h ]j>ah"]h$]h&]uh1j1hjcubj)}(hjh]h*}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubjI)}(hdatah]hdata}(hjmhhhNhNubah}(h]h ]jTah"]h$]h&]uh1jHhjcubj)}(hjh]h)}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]noemphj`jauh1j{hj ubeh}(h]h ]h"]h$]h&]j`jauh1juhjhhhjhMubeh}(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&]jjjjjjjjjuh1jhhhjIhNhNubj)}(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}(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.chMhjubj)}(hhh]h)}(hname of the debugfs file.h]hname of the debugfs file.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(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)}(hjWh]hstruct dentry *parent}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjQubj)}(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 }(hjphhhNhNubj)}(h``NULL``h]hNULL}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubhF, then the file will be created in the root of the debugfs filesystem.}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjubj)}(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&]uh1jhjIhhhNhNubeh}(h]debugfs-interfaceah ]h"]debugfs interfaceah$]h&]uh1hhj8hhhhhKubeh}(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}(jjj]#jZ#jCjCj~j~j9j6j&j#jIjIjU#jR#jGjGjEjEjGjGjTj}Tjajaj5j2jjjju nametypes}(jj]#jCj~j9j&jIjU#jGjEjGjTjaj5jjuh}(jhjZ#hjChj jjjjjj j! jjjjjjjj jnjsjjj!j!j+$j0$jy&j~&j(j(j+j+j\-ja-j.j.jV1j[1j2j2j4j4jj6jo6j7j7jl9jq9j:j:j<j<j >j>j?j?j AjAj~jCjCjCjpEjuEj>GjCGj IjIjBKjGKjLjLj_NjdNjOjOjLRjQRjTjTjVjVjXjXj[j[j_j_jajajXcj]cjdjdjgjgjijijkjkjmjmjojojbqjgqjsj#sjtjtjvjvjxjxjnzjszj|j|j6j~j~j~jjjjjjjjjjjkjpjyj~jjjjjJjOjˑjБjjjjjjj0j5jvj{jԨj٨jjjݯjj9j>jjj!j&jjjvj{jjjkjpjjjjj&j+jjjjj4j9jjjjjwj|jjjjjjjjj j%jPjUjjjjj6j;jjj#j<jYj^jjjjj)j.jjjGjLj"j'jVj[j jj j j j jjjNjSjj jIj)jFjKjjj?jDj!j&j6!j;!j`#je#j&j&j)j)j,j,jn.js.j 2j2j44j94j5j5j7j7j :j:j<j<j?j?j_BjdBjDjDjrGjwGjR#jIjIjIjLjLj QjQjBTjGTj1Wj6WjXjXjiZjnZj[j[j``je`j-dj2djQgjVgjijijljljpjpjsjsjVwj[wjzjzjh}jm}j̀jҀj2j7jjjAjFjjjjj?jDj+j0j*j/jjj#j(jVj[jjjpjuj3j8jjjjjjjjj_jdjjj8j=jjjjj*j/jjj%j*jUjZjjjjj"j'jjjMjRjjjOjTjjjzjjjjjjjj^jcj)j.jjj j j j jjjjjsjxjPjUjjjijnj!j!j$j$j_'jd'j)j)j~-j-jX0j]0j23j73j5j5j8j8jP:jU:j<j<j>j>jAjAjCjCj'Fj,FjHjHjKjKjOjOjPjPjRjRjTjTjVjVjYjYj[j[j\^ja^jy`j~`jbjbjdjdjfjfj+hj0hjkjkjXoj]ojsjsjvjvjvyj{yj{j{jjjwj|jȄj̈́jjjWj\jjjۏjjܒjjЖjՖjxj}jjj jjjjjj jj?jDjjjj jjjjjjjjjdjijjjBjGjjjjjjj/j4jjjjjjjjjjjjjjjjj.j3jXj]jwj|jjjjjjjjjjj j% jjjNjSjjjNjSjjjPjUjjjjjAjFjjjQjVjX!j]!jGj`#jEjq#j#j#j^'jc'j++j0+j.j.j2j2jt6jy6jA:jF:j>j>jAjAjGjEjEjEj}TjGjGjGjIjIjXKj]KjNjNjPjPj_RjdRjajTjTjTjEVjJVjOXjTXjYjYj\j]j0_j5_j2jajajajdjdjsgjxgjjjjjljlj8nj=njAqjFqjsjsj:vj?vjYxj^xjxzj}zj|j|jjjĄjɄj^jcj(j-jjjj8jjIjfjkjjjj#jyj~j$j)jjjjj,j1jCjHj۪jjܫjj~jjjjIjNjtjyjҶj׶j0j5jjjjjSjXjejjjwj|jjjjjjjjj jjsjxjEjJjjjwj|jju 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.