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]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&]uh1j hjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhKubhdesc_sig_space)}(h h]h }(hjhhhNhNubah}(h]h ]wah"]h$]h&]uh1jhjhhhjhKubh desc_name)}(hpositive_aop_returnsh]h desc_sig_name)}(hjh]hpositive_aop_returns}(hj6hhhNhNubah}(h]h ]nah"]h$]h&]uh1j4hj0ubah}(h]h ](sig-namedescnameeh"]h$]h&] xml:spacepreserveuh1j.hjhhhjhKubeh}(h]h ]h"]h$]h&]jLjM add_permalinkuh1jsphinx_line_type declaratorhjhhhjhKubah}(h]hah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1hhjhKhhhhubh desc_content)}(hhh]h)}(h(aop return codes with specific semanticsh]h(aop return codes with specific semantics}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM.hjdhhubah}(h]h ]h"]h$]h&]uh1jbhhhhhjhKubeh}(h]h ](cenumeh"]h$]h&]domainjobjtypejdesctypejnoindex noindexentrynocontentsentryuh1hhhhhhNhNubh 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.hhM2hjubhdefinition_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.hhM5hjubah}(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)}(hjh]hAOP_TRUNCATED_PAGE}(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.hhMDhjubj)}(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().}(hjhhhNhNubah}(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 hMDhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(h**Description**h]j)}(hj:h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMGhhhhubh)}(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.}(hjPhhhNhNubah}(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](haddress_space (C struct)c.address_spacehNtauh1hhhhhhNhNubh)}(hhh](j)}(h address_spaceh]j)}(hstruct address_spaceh](j )}(hstructh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMHubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjthhhjhMHubj/)}(h address_spaceh]j5)}(hjrh]h address_space}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjthhhjhMHubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjphhhjhMHubah}(h]jkah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMHhjmhhubjc)}(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&]uh1jbhjmhhhjhMHubeh}(h]h ](jstructeh"]h$]h&]jjjjjjjjjuh1hhhhhhNhNubj)}(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 list_head i_private_list; struct rw_semaphore i_mmap_rwsem; void * i_private_data; }; **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_private_list`` For use by the owner of the address_space. ``i_mmap_rwsem`` Protects **i_mmap** and **i_mmap_writable**. ``i_private_data`` For use by the owner of the address_space.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)}(hXsstruct 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 list_head i_private_list; struct rw_semaphore i_mmap_rwsem; void * i_private_data; };h]hXsstruct 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 list_head i_private_list; struct rw_semaphore i_mmap_rwsem; void * i_private_data; };}hjsbah}(h]h ]h"]h$]h&]jLjMuh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubh)}(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.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.hhMhj$ubj)}(hhh]h)}(h,Owner, either the inode or the block_device.h]h,Owner, either the inode or the block_device.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhj!ubj)}(h``i_pages`` Cached pages. h](j)}(h ``i_pages``h]j)}(hjch]hi_pages}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(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 pages.h]h Cached pages.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhMhjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhj!ubj)}(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&]uh1jhjhMhj!ubj)}(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&]uh1jhjhMhj!ubj)}(h?``i_mmap_writable`` Number of VM_SHARED, VM_MAYWRITE mappings. h](j)}(h``i_mmap_writable``h]j)}(hjh]hi_mmap_writable}(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)}(h*Number of VM_SHARED, VM_MAYWRITE mappings.h]h*Number of VM_SHARED, VM_MAYWRITE mappings.}(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>``nr_thps`` Number of THPs in the pagecache (non-shmem only). h](j)}(h ``nr_thps``h]j)}(hjHh]hnr_thps}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjBubj)}(hhh]h)}(h1Number of THPs in the pagecache (non-shmem only).h]h1Number of THPs in the pagecache (non-shmem only).}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhj!ubj)}(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.hhMhj{ubj)}(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&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj!ubj)}(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&]uh1jhjhMhj!ubj)}(h+``writeback_index`` Writeback starts here. h](j)}(h``writeback_index``h]j)}(hjh]hwriteback_index}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hWriteback starts here.h]hWriteback starts here.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj!ubj)}(h``a_ops`` Methods. h](j)}(h ``a_ops``h]j)}(hj,h]ha_ops}(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)}(hMethods.h]hMethods.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj!ubj)}(h'``flags`` Error bits and flags (AS_*). h](j)}(h ``flags``h]j)}(hjeh]hflags}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj_ubj)}(hhh]h)}(hError bits and flags (AS_*).h]hError bits and flags (AS_*).}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj!ubj)}(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&]uh1jhjhMhj!ubj)}(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&]uh1jhjhMhj!ubj)}(h>``i_private_list`` For use by the owner of the address_space. h](j)}(h``i_private_list``h]j)}(hjh]hi_private_list}(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)}(h*For use by the owner of the address_space.h]h*For use by the owner of the address_space.}(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>``i_mmap_rwsem`` Protects **i_mmap** and **i_mmap_writable**. h](j)}(h``i_mmap_rwsem``h]j)}(hjIh]h i_mmap_rwsem}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjCubj)}(hhh]h)}(h,Protects **i_mmap** and **i_mmap_writable**.h](h Protects }(hjbhhhNhNubj)}(h **i_mmap**h]hi_mmap}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh and }(hjbhhhNhNubj)}(h**i_mmap_writable**h]hi_mmap_writable}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh.}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhj!ubj)}(h=``i_private_data`` For use by the owner of the address_space.h](j)}(h``i_private_data``h]j)}(hjh]hi_private_data}(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&]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&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfile_ra_state (C struct)c.file_ra_statehNtauh1hhhhhhNhNubh)}(hhh](j)}(h file_ra_stateh]j)}(hstruct file_ra_stateh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMubj/)}(h file_ra_stateh]j5)}(hjh]h file_ra_state}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhjhhubjc)}(hhh]h)}(hTrack a file's readahead state.h]h!Track a file’s readahead state.}(hjBhhhNhNubah}(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&]uh1jbhjhhhj hMubeh}(h]h ](jstructeh"]h$]h&]jjjjZjjZjjjuh1hhhhhhNhNubj)}(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}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh:}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj^ubj)}(hstruct file_ra_state { pgoff_t start; unsigned int size; unsigned int async_size; unsigned int ra_pages; unsigned short order; unsigned short mmap_miss; loff_t prev_pos; };h]hstruct file_ra_state { pgoff_t start; unsigned int size; unsigned int async_size; unsigned int ra_pages; unsigned short order; unsigned short mmap_miss; loff_t prev_pos; };}hjsbah}(h]h ]h"]h$]h&]jLjMuh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj^ubh)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj^ubj)}(hhh](j)}(h3``start`` Where the most recent readahead started. h](j)}(h ``start``h]j)}(hjh]hstart}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h(Where the most recent readahead started.h]h(Where the most recent readahead started.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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&]uh1jhjhMhjubj)}(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)}(hj!h]h async_size}(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)}(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.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(hG``ra_pages`` Maximum size of a readahead request, copied from the bdi. h](j)}(h ``ra_pages``h]j)}(hj[h]hra_pages}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjUubj)}(hhh]h)}(h9Maximum size of a readahead request, copied from the bdi.h]h9Maximum size of a readahead request, copied from the bdi.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMhjubj)}(h@``order`` Preferred folio order used for most recent readahead. h](j)}(h ``order``h]j)}(hjh]horder}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(h5Preferred folio order used for most recent readahead.h]h5Preferred folio order used for most recent readahead.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h?``mmap_miss`` How many mmap accesses missed in the page cache. h](j)}(h ``mmap_miss``h]j)}(hjh]h mmap_miss}(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)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h;``prev_pos`` The last byte in the most recent read request.h](j)}(h ``prev_pos``h]j)}(hj h]hprev_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.The last byte in the most recent read request.h]h.The last byte in the most recent read request.}(hj hhhNhNubah}(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 hMhjubeh}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(h**Description**h]j)}(hjI h]h Description}(hjK hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG ubah}(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](hfile (C struct)c.filehNtauh1hhhhhhNhNubh)}(hhh](j)}(hfileh]j)}(h struct fileh](j )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj hMubj/)}(hfileh]j5)}(hj h]hfile}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj hMubah}(h]jz ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhj| hhubjc)}(hhh]h)}(hRepresents a fileh]hRepresents a file}(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&]uh1jbhj| hhhj hMubeh}(h]h ](jstructeh"]h$]h&]jjjj jj jjjuh1hhhhhhNhNubj)}(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&]jLjMuh1jhZ/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)}(hj6 h]hf_lock}(hj8 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4 ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj0 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.}(hjO hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjK hMhjL ubah}(h]h ]h"]h$]h&]uh1jhj0 ubeh}(h]h ]h"]h$]h&]uh1jhjK hMhj- ubj)}(h0``f_mode`` FMODE_* flags often used in hotpaths h](j)}(h ``f_mode``h]j)}(hjo h]hf_mode}(hjq hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhji 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&]uh1jhji ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj- ubj)}(h``f_op`` file operations h](j)}(h``f_op``h]j)}(hj h]hf_op}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(hfile operationsh]hfile operations}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj- ubj)}(h8``f_mapping`` Contents of a cacheable, mappable object. h](j)}(h ``f_mapping``h]j)}(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}(hj3 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/ hMhj0 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)}(hjS h]hf_inode}(hjU hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjM ubj)}(hhh]h)}(h cached inodeh]h cached inode}(hjl hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjh hMhji ubah}(h]h ]h"]h$]h&]uh1jhjM ubeh}(h]h ]h"]h$]h&]uh1jhjh hMhj- ubj)}(h``f_flags`` file flags h](j)}(h ``f_flags``h]j)}(hj h]hf_flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(h file flagsh]h file flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj- ubj)}(h``f_iocb_flags`` iocb flags h](j)}(h``f_iocb_flags``h]j)}(hj h]h f_iocb_flags}(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 iocb flagsh]h iocb flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj- ubj)}(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)}(hj7 h]hf_owner}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5 ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj1 ubj)}(hhh]h)}(h file ownerh]h file owner}(hjP hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjL hMhjM ubah}(h]h ]h"]h$]h&]uh1jhj1 ubeh}(h]h ]h"]h$]h&]uh1jhjL hMhj- ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hjp h]h{unnamed_union}}(hjr hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhKhjj ubj)}(hhh]h)}(h anonymoush]h anonymous}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhjj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj- ubj)}(h``f_path`` path of the file h](j)}(h ``f_path``h]j)}(hj h]hf_path}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(hpath of the fileh]hpath of the file}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj- ubj)}(hc``__f_path`` writable alias for **f_path**; *ONLY* for core VFS and only before the file gets open h](j)}(h ``__f_path``h]j)}(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)}(hjB h]h{unnamed_union}}(hjD 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&]uh1hhjW hKhjX ubah}(h]h ]h"]h$]h&]uh1jhj< ubeh}(h]h ]h"]h$]h&]uh1jhjW 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&]uh1jhjy ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhju ubj)}(hhh]h)}(hlock protecting file positionh]hlock protecting file position}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhju ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj- ubj)}(h``f_pipe`` specific to pipes h](j)}(h ``f_pipe``h]j)}(hj h]hf_pipe}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(hspecific to pipesh]hspecific to pipes}(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_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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjhMhj- ubj)}(h1``f_security`` LSM security context of this file h](j)}(h``f_security``h]j)}(hj&h]h f_security}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj ubj)}(hhh]h)}(h!LSM security context of this fileh]h!LSM security context of this file}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhj- ubj)}(h``f_wb_err`` writeback error h](j)}(h ``f_wb_err``h]j)}(hj_h]hf_wb_err}(hjahhhNhNubah}(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)}(hwriteback errorh]hwriteback error}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhj- ubj)}(h%``f_sb_err`` per sb writeback errors h](j)}(h ``f_sb_err``h]j)}(hjh]hf_sb_err}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hper sb writeback errorsh]hper sb writeback errors}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj- ubj)}(h/``f_ep`` link of all epoll hooks for this file h](j)}(h``f_ep``h]j)}(hjh]hf_ep}(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%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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj- ubj)}(h``{unnamed_union}`` anonymous h](j)}(h``{unnamed_union}``h]j)}(hj h]h{unnamed_union}}(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.hhKhjubj)}(hhh]h)}(h anonymoush]h anonymous}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhj ubah}(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)}(hjCh]h f_task_work}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj=ubj)}(hhh]h)}(htask work entry pointh]htask work entry point}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhj- ubj)}(h"``f_llist`` work queue entrypoint h](j)}(h ``f_llist``h]j)}(hj|h]hf_llist}(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)}(hwork queue entrypointh]hwork queue entrypoint}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMhj- ubj)}(h ``f_ra`` file's readahead state h](j)}(h``f_ra``h]j)}(hjh]hf_ra}(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)}(hfile's readahead stateh]hfile’s readahead state}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj- 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)}(hj'h]hf_ref}(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)}(hreference counth]hreference count}(hj@hhhNhNubah}(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- ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hi_uid_into_vfsuid (C function)c.i_uid_into_vfsuidhNtauh1hhhhhhNhNubh)}(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]j5)}(hvfsuid_th]hvfsuid_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftype identifier reftargetjmodnameN classnameN c:parent_keysphinx.domains.c LookupKey)}data]j ASTIdentifier)}ji_uid_into_vfsuidsbc.i_uid_into_vfsuidasbuh1hhj}hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}hhhjhMubj/)}(hi_uid_into_vfsuidh]j5)}(hjh]hi_uid_into_vfsuid}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj}hhhjhMubhdesc_parameterlist)}(h4(struct mnt_idmap *idmap, const struct inode *inode)h](hdesc_parameter)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.i_uid_into_vfsuidasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubhdesc_sig_punctuation)}(h*h]h*}(hj+hhhNhNubah}(h]h ]pah"]h$]h&]uh1j)hjubj5)}(hidmaph]hidmap}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst struct inode *inodeh](j )}(hconsth]hconst}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubj )}(hjzh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.i_uid_into_vfsuidasbuh1hhjOubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjOubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj}hhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjyhhhjhMubah}(h]jtah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjvhhubjc)}(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&]uh1jbhjvhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhhhNhNubj)}(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.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)}(hj1h]hstruct mnt_idmap *idmap}(hj3hhhNhNubah}(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}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhj(ubj)}(h+``const struct inode *inode`` inode to map h](j)}(h``const struct inode *inode``h]j)}(hjjh]hconst struct inode *inode}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjdubj)}(hhh]h)}(h inode to maph]h inode to map}(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 **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.hhMhj ubh)}(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 }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhC. If the inode’s i_uid has no mapping INVALID_VFSUID is returned.}(hjhhhNhNubeh}(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](hi_uid_needs_update (C function)c.i_uid_needs_updatehNtauh1hhhhhhNhNubh)}(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.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMubj/)}(hi_uid_needs_updateh]j5)}(hi_uid_needs_updateh]hi_uid_needs_update}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hMubj)}(hN(struct mnt_idmap *idmap, const struct iattr *attr, const struct inode *inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj)}j]j)}jj"sbc.i_uid_needs_updateasbuh1hhj8ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj8ubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj4ubj)}(hconst struct iattr *attrh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hiattrh]hiattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jvc.i_uid_needs_updateasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hattrh]hattr}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj4ubj)}(hconst struct inode *inodeh](j )}(hjUh]hconst}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubj )}(hjzh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubh)}(hhh]j5)}(hinodeh]hinode}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj)}j]jvc.i_uid_needs_updateasbuh1hhj5ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj5ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj4ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhjhhubjc)}(hhh]h)}(h/check whether inode's i_uid needs to be updatedh]h1check whether inode’s i_uid needs to be updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhhhNhNubj)}(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}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+hMhj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hMhj ubj)}(h=``const struct iattr *attr`` the new attributes of **inode** h](j)}(h``const struct iattr *attr``h]j)}(hjOh]hconst struct iattr *attr}(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)}(hthe new attributes of **inode**h](hthe new attributes of }(hjhhhhNhNubj)}(h **inode**h]hinode}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1hhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhj ubj)}(h2``const struct inode *inode`` the inode to update h](j)}(h``const struct inode *inode``h]j)}(hjh]hconst struct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hthe inode to updateh]hthe inode to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]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&]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](hi_uid_update (C function)c.i_uid_updatehNtauh1hhhhhhNhNubh)}(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}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjKhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKhhhj]hMubj/)}(h i_uid_updateh]j5)}(h i_uid_updateh]h i_uid_update}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjKhhhj]hMubj)}(hH(struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjrsbc.i_uid_updateasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst struct iattr *attrh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hiattrh]hiattr}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj)}j]jc.i_uid_updateasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjchhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hattrh]hattr}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.i_uid_updateasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjKhhhj]hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjGhhhj]hMubah}(h]jBah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj]hMhjDhhubjc)}(hhh]h)}(hupdate **inode**'s i_uid fieldh](hupdate }(hj hhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh’s i_uid field}(hj hhhNhNubeh}(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&]uh1jbhjDhhhj]hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhhhNhNubj)}(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)}(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.hhMhj8ubj)}(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.hhMhjWubj)}(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&]uh1hhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjTubj)}(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&]uh1jhjhMhjTubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubj)}(hhh]h)}(hthe inode to updateh]hthe inode to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjTubeh}(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&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj8ubh)}(hlSafely update **inode**'s i_uid field translating the vfsuid of any idmapped mount into the filesystem kuid.h](hSafely update }(hj.hhhNhNubj)}(h **inode**h]hinode}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubhW’s i_uid field translating the vfsuid of any idmapped mount into the filesystem kuid.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hi_gid_into_vfsgid (C function)c.i_gid_into_vfsgidhNtauh1hhhhhhNhNubh)}(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]j5)}(hvfsgid_th]hvfsgid_t}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj)}j]j)}ji_gid_into_vfsgidsbc.i_gid_into_vfsgidasbuh1hhjkhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkhhhjhMubj/)}(hi_gid_into_vfsgidh]j5)}(hjh]hi_gid_into_vfsgid}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjkhhhjhMubj)}(h4(struct mnt_idmap *idmap, const struct inode *inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.i_gid_into_vfsgidasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst struct inode *inodeh](j )}(hjUh]hconst}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubj )}(hjzh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubh)}(hhh]j5)}(hinodeh]hinode}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj)}j]jc.i_gid_into_vfsgidasbuh1hhj-ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj-ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjkhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjghhhjhMubah}(h]jbah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjdhhubjc)}(hhh]h)}(h3map an inode's i_gid down according to an idmappingh]h5map an inode’s i_gid 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&]uh1jbhjdhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhhhNhNubj)}(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&]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+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjubj)}(h+``const struct inode *inode`` inode to map h](j)}(h``const struct inode *inode``h]j)}(hjGh]hconst struct inode *inode}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjAubj)}(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&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(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)}(huthe inode's i_gid mapped down according to **idmap**. If the inode's i_gid has no mapping INVALID_VFSGID is returned.h](h-the inode’s i_gid mapped down according to }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhC. If the inode’s i_gid has no mapping INVALID_VFSGID is returned.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hi_gid_needs_update (C function)c.i_gid_needs_updatehNtauh1hhhhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hi_gid_needs_updateh]j5)}(hi_gid_needs_updateh]hi_gid_needs_update}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hN(struct mnt_idmap *idmap, const struct iattr *attr, const struct inode *inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNjj)}j]j)}jjsbc.i_gid_needs_updateasbuh1hhjubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjahhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hidmaph]hidmap}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hconst struct iattr *attrh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hiattrh]hiattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jOc.i_gid_needs_updateasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hattrh]hattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hconst struct inode *inodeh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNjj)}j]jOc.i_gid_needs_updateasbuh1hhjubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjwhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h/check whether inode's i_gid needs to be updatedh]h1check whether inode’s i_gid needs to be updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhhhNhNubj)}(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)}(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)}(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 }(hjAhhhNhNubj)}(h **inode**h]hinode}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1hhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubj)}(h2``const struct inode *inode`` the inode to update h](j)}(h``const struct inode *inode``h]j)}(hjoh]hconst struct inode *inode}(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)}(hthe inode to updateh]hthe inode to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(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)}(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.}(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_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.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hi_gid_update (C function)c.i_gid_updatehNtauh1hhhhhhNhNubh)}(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}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj$hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$hhhj6hMubj/)}(h i_gid_updateh]j5)}(h i_gid_updateh]h i_gid_update}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj$hhhj6hMubj)}(hH(struct mnt_idmap *idmap, const struct iattr *attr, struct inode *inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjKsbc.i_gid_updateasbuh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjaubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj]ubj)}(hconst struct iattr *attrh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hiattrh]hiattr}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jc.i_gid_updateasbuh1hhjubj)}(h h]h }(hj. hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj< hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hattrh]hattr}(hjI hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj]ubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjb hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ ubj)}(h h]h }(hjo hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ ubh)}(hhh]j5)}(hinodeh]hinode}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj} ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jc.i_gid_updateasbuh1hhj^ ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj^ ubj5)}(hinodeh]hinode}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj]ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj$hhhj6hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj6hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj6hMhjhhubjc)}(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&]uh1jbhjhhhj6hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj !jj !jjjuh1hhhhhhNhNubj)}(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)}(hj6!h]hstruct mnt_idmap *idmap}(hj8!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4!ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj0!ubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjO!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjK!hMhjL!ubah}(h]h ]h"]h$]h&]uh1jhj0!ubeh}(h]h ]h"]h$]h&]uh1jhjK!hMhj-!ubj)}(h=``const struct iattr *attr`` the new attributes of **inode** h](j)}(h``const struct iattr *attr``h]j)}(hjo!h]hconst struct iattr *attr}(hjq!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm!ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhji!ubj)}(hhh]h)}(hthe new attributes of **inode**h](hthe new attributes of }(hj!hhhNhNubj)}(h **inode**h]hinode}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1hhj!hMhj!ubah}(h]h ]h"]h$]h&]uh1jhji!ubeh}(h]h ]h"]h$]h&]uh1jhj!hMhj-!ubj)}(h,``struct inode *inode`` the inode to update h](j)}(h``struct inode *inode``h]j)}(hj!h]hstruct inode *inode}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj!ubj)}(hhh]h)}(hthe inode to updateh]hthe inode to update}(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)}(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](hinode_fsuid_set (C function)c.inode_fsuid_sethNtauh1hhhhhhNhNubh)}(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}(hjH"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjD"hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hjW"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjD"hhhjV"hMubj/)}(hinode_fsuid_seth]j5)}(hinode_fsuid_seth]hinode_fsuid_set}(hji"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hje"ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjD"hhhjV"hMubj)}(h.(struct inode *inode, struct mnt_idmap *idmap)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"ubh)}(hhh]j5)}(hinodeh]hinode}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNjj)}j]j)}jjk"sbc.inode_fsuid_setasbuh1hhj"ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"ubj*)}(hj-h]h*}(hj"hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj"ubj5)}(hinodeh]hinode}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj}"ubj)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNjj)}j]j"c.inode_fsuid_setasbuh1hhj"ubj)}(h h]h }(hj3#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"ubj*)}(hj-h]h*}(hjA#hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj"ubj5)}(hidmaph]hidmap}(hjN#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj}"ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjD"hhhjV"hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj@"hhhjV"hMubah}(h]j;"ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjV"hMhj="hhubjc)}(hhh]h)}(h1initialize inode's i_uid field with callers fsuidh]h3initialize inode’s i_uid field with callers fsuid}(hjx#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhju#hhubah}(h]h ]h"]h$]h&]uh1jbhj="hhhjV"hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1hhhhhhNhNubj)}(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 hj#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.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 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&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj#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 }(hjC$hhhNhNubj)}(h **inode**h]hinode}(hjK$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC$ubh]. If the inode was found/created via an idmapped mount map the caller’s fsuid according to }(hjC$hhhNhNubj)}(h **idmap**h]hidmap}(hj]$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC$ubh.}(hjC$hhhNhNubeh}(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](hinode_fsgid_set (C function)c.inode_fsgid_sethNtauh1hhhhhhNhNubh)}(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}(hj$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj$hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$hhhj$hMubj/)}(hinode_fsgid_seth]j5)}(hinode_fsgid_seth]hinode_fsgid_set}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj$hhhj$hMubj)}(h.(struct inode *inode, struct mnt_idmap *idmap)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubh)}(hhh]j5)}(hinodeh]hinode}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNjj)}j]j)}jj$sbc.inode_fsgid_setasbuh1hhj$ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubj*)}(hj-h]h*}(hj%hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj$ubj5)}(hinodeh]hinode}(hj,%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj$ubj)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjE%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjA%ubj)}(h h]h }(hjR%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjA%ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjc%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetje%modnameN classnameNjj)}j]j %c.inode_fsgid_setasbuh1hhjA%ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjA%ubj*)}(hj-h]h*}(hj%hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjA%ubj5)}(hidmaph]hidmap}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjA%ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj$ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj$hhhj$hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj$hhhj$hMubah}(h]j$ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj$hMhj$hhubjc)}(hhh]h)}(h1initialize inode's i_gid field with callers fsgidh]h3initialize inode’s i_gid field with callers fsgid}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj%hhubah}(h]h ]h"]h$]h&]uh1jbhj$hhhj$hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%jj%jjjuh1hhhhhhNhNubj)}(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}(hjB&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}(hjY&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjU&hMhjV&ubah}(h]h ]h"]h$]h&]uh1jhj:&ubeh}(h]h ]h"]h$]h&]uh1jhjU&hMhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%ubh)}(h**Description**h]j)}(hj{&h]h Description}(hj}&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy&ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj%ubh)}(hInitialize the i_gid field of **inode**. If the inode was found/created via an idmapped mount map the caller's fsgid according to **idmap**.h](hInitialize the i_gid field of }(hj&hhhNhNubj)}(h **inode**h]hinode}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh]. If the inode was found/created via an idmapped mount map the caller’s fsgid according to }(hj&hhhNhNubj)}(h **idmap**h]hidmap}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh.}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!fsuidgid_has_mapping (C function)c.fsuidgid_has_mappinghNtauh1hhhhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhj&hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM#ubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&hhhj&hM#ubj/)}(hfsuidgid_has_mappingh]j5)}(hfsuidgid_has_mappingh]hfsuidgid_has_mapping}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj&hhhj&hM#ubj)}(h1(struct super_block *sb, struct mnt_idmap *idmap)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj 'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj)}(h h]h }(hj-'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj>'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@'modnameN classnameNjj)}j]j)}jj'sbc.fsuidgid_has_mappingasbuh1hhj'ubj)}(h h]h }(hj^'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubj*)}(hj-h]h*}(hjl'hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj'ubj5)}(hsbh]hsb}(hjy'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj'ubj)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNjj)}j]jZ'c.fsuidgid_has_mappingasbuh1hhj'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubj*)}(hj-h]h*}(hj'hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj'ubj5)}(hidmaph]hidmap}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj'ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj&hhhj&hM#ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj&hhhj&hM#ubah}(h]j&ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj&hM#hj&hhubjc)}(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&]uh1jbhj&hhhj&hM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+(jj+(jjjuh1hhhhhhNhNubj)}(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)}(hj5(h]h Parameters}(hj7(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3(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)}(hjT(h]hstruct super_block *sb}(hjV(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR(ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM$hjN(ubj)}(hhh]h)}(h#the superblock we want a mapping inh]h#the superblock we want a mapping in}(hjm(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhji(hM$hjj(ubah}(h]h ]h"]h$]h&]uh1jhjN(ubeh}(h]h ]h"]h$]h&]uh1jhji(hM$hjK(ubj)}(h8``struct mnt_idmap *idmap`` idmap of the relevant mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj(h]hstruct mnt_idmap *idmap}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM%hj(ubj)}(hhh]h)}(hidmap of the relevant mounth]hidmap of the relevant mount}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hM%hj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hM%hjK(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.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](hinode_set_ctime (C function)c.inode_set_ctimehNtauh1hhhhhhNhNubh)}(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 )}(hjzh]hstruct}(hjX)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjT)hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hjf)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjT)hhhje)hMubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjw)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjt)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjy)modnameN classnameNjj)}j]j)}jinode_set_ctimesbc.inode_set_ctimeasbuh1hhjT)hhhje)hMubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjT)hhhje)hMubj/)}(hinode_set_ctimeh]j5)}(hj)h]hinode_set_ctime}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjT)hhhje)hMubj)}(h.(struct inode *inode, time64_t sec, long nsec)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)ubh)}(hhh]j5)}(hinodeh]hinode}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNjj)}j]j)c.inode_set_ctimeasbuh1hhj)ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)ubj*)}(hj-h]h*}(hj*hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj)ubj5)}(hinodeh]hinode}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj)ubj)}(h time64_t sech](h)}(hhh]j5)}(htime64_th]htime64_t}(hj8*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:*modnameN classnameNjj)}j]j)c.inode_set_ctimeasbuh1hhj1*ubj)}(h h]h }(hjV*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1*ubj5)}(hsech]hsec}(hjd*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj)ubj)}(h long nsech](j)}(hlongh]hlong}(hj}*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjy*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjy*ubj5)}(hnsech]hnsec}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjy*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj)ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjT)hhhje)hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjP)hhhje)hMubah}(h]jK)ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhje)hMhjM)hhubjc)}(hhh]h)}(hset the ctime in the inodeh]hset the ctime in the inode}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj*hhubah}(h]h ]h"]h$]h&]uh1jbhjM)hhhje)hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1hhhhhhNhNubj)}(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.hhMhj7+ubj)}(hhh]h)}(htv_sec value to seth]htv_sec value to set}(hjV+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjR+hMhjS+ubah}(h]h ]h"]h$]h&]uh1jhj7+ubeh}(h]h ]h"]h$]h&]uh1jhjR+hMhj*ubj)}(h#``long nsec`` tv_nsec value to set h](j)}(h ``long nsec``h]j)}(hjv+h]h long nsec}(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)}(htv_nsec value to seth]htv_nsec value to set}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjp+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)}(h3Set the ctime in **inode** to { **sec**, **nsec** }h](hSet the ctime in }(hj+hhhNhNubj)}(h **inode**h]hinode}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh to { }(hj+hhhNhNubj)}(h**sec**h]hsec}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh, }(hj+hhhNhNubj)}(h**nsec**h]hnsec}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh }}(hj+hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfile_write_started (C function)c.file_write_startedhNtauh1hhhhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhj(,hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hj:,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(,hhhj9,hMubj/)}(hfile_write_startedh]j5)}(hfile_write_startedh]hfile_write_started}(hjL,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjH,ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj(,hhhj9,hMubj)}(h(const struct file *file)h]j)}(hconst struct file *fileh](j )}(hjUh]hconst}(hjh,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjd,ubj)}(h h]h }(hju,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjd,ubj )}(hjzh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjd,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjd,ubh)}(hhh]j5)}(hfileh]hfile}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNjj)}j]j)}jjN,sbc.file_write_startedasbuh1hhjd,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjd,ubj*)}(hj-h]h*}(hj,hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjd,ubj5)}(hfileh]hfile}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjd,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj`,ubah}(h]h ]h"]h$]h&]jLjMuh1jhj(,hhhj9,hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj$,hhhj9,hMubah}(h]j,ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj9,hMhj!,hhubjc)}(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&]uh1jbhj!,hhhj9,hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-jj-jjjuh1hhhhhhNhNubj)}(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)}(hjG-h]hconst struct file *file}(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)}(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&]uh1jhjA-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](h#file_write_not_started (C function)c.file_write_not_startedhNtauh1hhhhhhNhNubh)}(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}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj-hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-hhhj-hMubj/)}(hfile_write_not_startedh]j5)}(hfile_write_not_startedh]hfile_write_not_started}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj-hhhj-hMubj)}(h(const struct file *file)h]j)}(hconst struct file *fileh](j )}(hjUh]hconst}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubj )}(hjzh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj)}(h h]h }(hj+.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubh)}(hhh]j5)}(hfileh]hfile}(hj<.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>.modnameN classnameNjj)}j]j)}jj-sbc.file_write_not_startedasbuh1hhj-ubj)}(h h]h }(hj\.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubj*)}(hj-h]h*}(hjj.hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj-ubj5)}(hfileh]hfile}(hjw.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj-ubah}(h]h ]h"]h$]h&]jLjMuh1jhj-hhhj-hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj-hhhj-hMubah}(h]j-ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj-hMhj-hhubjc)}(hhh]h)}(h$check if SB_FREEZE_WRITE is not heldh]h$check if SB_FREEZE_WRITE is not held}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj.hhubah}(h]h ]h"]h$]h&]uh1jbhj-hhhj-hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.jjjuh1hhhhhhNhNubj)}(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.}(hj3/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](hrenamedata (C struct) c.renamedatahNtauh1hhhhhhNhNubh)}(hhh](j)}(h renamedatah]j)}(hstruct renamedatah](j )}(hjzh]hstruct}(hjb/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^/hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMubj)}(h h]h }(hjp/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^/hhhjo/hMubj/)}(h renamedatah]j5)}(hj\/h]h renamedata}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~/ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj^/hhhjo/hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjZ/hhhjo/hMubah}(h]jU/ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjo/hMhjW/hhubjc)}(hhh]h)}(h.contains all information required for renamingh]h.contains all information required for renaming}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj/hhubah}(h]h ]h"]h$]h&]uh1jbhjW/hhhjo/hMubeh}(h]h ](jstructeh"]h$]h&]jjjj/jj/jjjuh1hhhhhhNhNubj)}(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}(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)}(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&]jLjMuh1jhZ/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)}(hC``mnt_idmap`` idmap of the mount in which the rename is happening. h](j)}(h ``mnt_idmap``h]j)}(hj0h]h mnt_idmap}(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.hhMhj 0ubj)}(hhh]h)}(h4idmap of the mount in which the rename is happening.h]h4idmap of the mount in which the rename is happening.}(hj*0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&0hMhj'0ubah}(h]h ]h"]h$]h&]uh1jhj 0ubeh}(h]h ]h"]h$]h&]uh1jhj&0hMhj0ubj)}(h ``old_parent`` parent of source h](j)}(h``old_parent``h]j)}(hjJ0h]h old_parent}(hjL0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH0ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhjD0ubj)}(hhh]h)}(hparent of sourceh]hparent of source}(hjc0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_0hMhj`0ubah}(h]h ]h"]h$]h&]uh1jhjD0ubeh}(h]h ]h"]h$]h&]uh1jhj_0hMhj0ubj)}(h``old_dentry`` source h](j)}(h``old_dentry``h]j)}(hj0h]h old_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.hhMhj}0ubj)}(hhh]h)}(hsourceh]hsource}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj}0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj0ubj)}(h%``new_parent`` parent of destination h](j)}(h``new_parent``h]j)}(hj0h]h new_parent}(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)}(hparent of destinationh]hparent of destination}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMhj0ubj)}(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}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj 1hMhj 1ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj 1hMhj0ubj)}(h@``delegated_inode`` returns an inode needing a delegation break h](j)}(h``delegated_inode``h]j)}(hj.1h]hdelegated_inode}(hj01hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,1ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj(1ubj)}(hhh]h)}(h+returns an inode needing a delegation breakh]h+returns an inode needing a delegation break}(hjG1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjC1hMhjD1ubah}(h]h ]h"]h$]h&]uh1jhj(1ubeh}(h]h ]h"]h$]h&]uh1jhjC1hMhj0ubj)}(h``flags`` rename flagsh](j)}(h ``flags``h]j)}(hjg1h]hflags}(hji1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje1ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhja1ubj)}(hhh]h)}(h rename flagsh]h rename flags}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMhj}1ubah}(h]h ]h"]h$]h&]uh1jhja1ubeh}(h]h ]h"]h$]h&]uh1jhj|1hMhj0ubeh}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_mgtime (C function) c.is_mgtimehNtauh1hhhhhhNhNubh)}(hhh](j)}(h*bool is_mgtime (const struct inode *inode)h]j)}(h)bool is_mgtime(const struct inode *inode)h](j)}(hjh]hbool}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj1hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1hhhj1hM ubj/)}(h is_mgtimeh]j5)}(h is_mgtimeh]h is_mgtime}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj1hhhj1hM ubj)}(h(const struct inode *inode)h]j)}(hconst struct inode *inodeh](j )}(hjUh]hconst}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj)}(h h]h }(hj 2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubj )}(hjzh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj)}(h h]h }(hj%2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubh)}(hhh]j5)}(hinodeh]hinode}(hj62hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj32ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj82modnameN classnameNjj)}j]j)}jj1sb c.is_mgtimeasbuh1hhj1ubj)}(h h]h }(hjV2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubj*)}(hj-h]h*}(hjd2hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj1ubj5)}(hinodeh]hinode}(hjq2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj1ubah}(h]h ]h"]h$]h&]jLjMuh1jhj1hhhj1hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj1hhhj1hM ubah}(h]j1ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj1hM hj1hhubjc)}(hhh]h)}(h)is this inode using multigrain timestampsh]h)is this inode using multigrain timestamps}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj2hhubah}(h]h ]h"]h$]h&]uh1jbhj1hhhj1hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2jj2jjjuh1hhhhhhNhNubj)}(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)}(hj2h]h Parameters}(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 hj2ubj)}(hhh]j)}(hF``const struct inode *inode`` inode to test for multigrain timestamps h](j)}(h``const struct inode *inode``h]j)}(hj2h]hconst struct inode *inode}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj2ubj)}(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&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hM hj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubh)}(h**Description**h]j)}(hj3h]h Description}(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 hj2ubh)}(hEReturn true if the inode uses multigrain timestamps, false otherwise.h]hEReturn true if the inode uses multigrain timestamps, false otherwise.}(hj-3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_idmapped_mnt (C function)c.is_idmapped_mnthNtauh1hhhhhhNhNubh)}(hhh](j)}(h1bool is_idmapped_mnt (const struct vfsmount *mnt)h]j)}(h0bool is_idmapped_mnt(const struct vfsmount *mnt)h](j)}(hjh]hbool}(hj\3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjX3hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hjj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjX3hhhji3hM ubj/)}(his_idmapped_mnth]j5)}(his_idmapped_mnth]his_idmapped_mnt}(hj|3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjx3ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjX3hhhji3hM ubj)}(h(const struct vfsmount *mnt)h]j)}(hconst struct vfsmount *mnth](j )}(hjUh]hconst}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj )}(hjzh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj)}j]j)}jj~3sbc.is_idmapped_mntasbuh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj*)}(hj-h]h*}(hj3hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj5)}(hmnth]hmnt}(hj 4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj3ubah}(h]h ]h"]h$]h&]jLjMuh1jhjX3hhhji3hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjT3hhhji3hM ubah}(h]jO3ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhji3hM hjQ3hhubjc)}(hhh]h)}(hcheck whether a mount is mappedh]hcheck whether a mount is mapped}(hj64hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj34hhubah}(h]h ]h"]h$]h&]uh1jbhjQ3hhhji3hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjN4jjN4jjjuh1hhhhhhNhNubj)}(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)}(hjX4h]h Parameters}(hjZ4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV4ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjR4ubj)}(hhh]j)}(h2``const struct vfsmount *mnt`` the mount to check h](j)}(h``const struct vfsmount *mnt``h]j)}(hjw4h]hconst struct vfsmount *mnt}(hjy4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju4ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjq4ubj)}(hhh]h)}(hthe mount to checkh]hthe mount to check}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hM hj4ubah}(h]h ]h"]h$]h&]uh1jhjq4ubeh}(h]h ]h"]h$]h&]uh1jhj4hM hjn4ubah}(h]h ]h"]h$]h&]uh1jhjR4ubh)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjR4ubh)}(hNIf **mnt** has an non **nop_mnt_idmap** attached to it then **mnt** is mapped.h](hIf }(hj4hhhNhNubj)}(h**mnt**h]hmnt}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh has an non }(hj4hhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh attached to it then }(hj4hhhNhNubj)}(h**mnt**h]hmnt}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh is mapped.}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjR4ubh)}(h **Return**h]j)}(hj5h]hReturn}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 5ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjR4ubh)}(h&true if mount is mapped, false if not.h]h&true if mount is mapped, false if not.}(hj%5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjR4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfile_start_write (C function)c.file_start_writehNtauh1hhhhhhNhNubh)}(hhh](j)}(h)void file_start_write (struct file *file)h]j)}(h(void file_start_write(struct file *file)h](j)}(hvoidh]hvoid}(hjT5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjP5hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hjc5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjP5hhhjb5hM ubj/)}(hfile_start_writeh]j5)}(hfile_start_writeh]hfile_start_write}(hju5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjq5ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjP5hhhjb5hM ubj)}(h(struct file *file)h]j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubh)}(hhh]j5)}(hfileh]hfile}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNjj)}j]j)}jjw5sbc.file_start_writeasbuh1hhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubj*)}(hj-h]h*}(hj5hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj5ubj5)}(hfileh]hfile}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj5ubah}(h]h ]h"]h$]h&]jLjMuh1jhjP5hhhjb5hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjL5hhhjb5hM ubah}(h]jG5ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjb5hM hjI5hhubjc)}(hhh]h)}(h4get write access to a superblock for regular file ioh]h4get write access to a superblock for regular file io}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj6hhubah}(h]h ]h"]h$]h&]uh1jbhjI5hhhjb5hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,6jj,6jjjuh1hhhhhhNhNubj)}(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)}(hj66h]h Parameters}(hj86hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj46ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj06ubj)}(hhh]j)}(h3``struct file *file`` the file we want to write to h](j)}(h``struct file *file``h]j)}(hjU6h]hstruct file *file}(hjW6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS6ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjO6ubj)}(hhh]h)}(hthe file we want to write toh]hthe file we want to write to}(hjn6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjj6hM hjk6ubah}(h]h ]h"]h$]h&]uh1jhjO6ubeh}(h]h ]h"]h$]h&]uh1jhjj6hM hjL6ubah}(h]h ]h"]h$]h&]uh1jhj06ubh)}(h**Description**h]j)}(hj6h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj06ubh)}(h}This is a variant of sb_start_write() which is a noop on non-regular file. Should be matched with a call to file_end_write().h]h}This is a variant of sb_start_write() which is a noop on non-regular file. Should be matched with a call to file_end_write().}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj06ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfile_end_write (C function)c.file_end_writehNtauh1hhhhhhNhNubh)}(hhh](j)}(h'void file_end_write (struct file *file)h]j)}(h&void file_end_write(struct file *file)h](j)}(hvoidh]hvoid}(hj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj6hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6hhhj6hM ubj/)}(hfile_end_writeh]j5)}(hfile_end_writeh]hfile_end_write}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj6hhhj6hM ubj)}(h(struct file *file)h]j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubh)}(hhh]j5)}(hfileh]hfile}(hj07hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj27modnameN classnameNjj)}j]j)}jj6sbc.file_end_writeasbuh1hhj7ubj)}(h h]h }(hjP7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj*)}(hj-h]h*}(hj^7hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7ubj5)}(hfileh]hfile}(hjk7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj 7ubah}(h]h ]h"]h$]h&]jLjMuh1jhj6hhhj6hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj6hhhj6hM ubah}(h]j6ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj6hM hj6hhubjc)}(hhh]h)}(h3drop write access to a superblock of a regular fileh]h3drop write access to a superblock of a regular file}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj7hhubah}(h]h ]h"]h$]h&]uh1jbhj6hhhj6hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhhhNhNubj)}(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)}(hj7h]h Parameters}(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 hj7ubj)}(hhh]j)}(h+``struct file *file`` the file we wrote to h](j)}(h``struct file *file``h]j)}(hj7h]hstruct file *file}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj7ubj)}(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&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hM hj7ubah}(h]h ]h"]h$]h&]uh1jhj7ubh)}(h**Description**h]j)}(hj8h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj7ubh)}(h4Should be matched with a call to file_start_write().h]h4Should be matched with a call to file_start_write().}(hj'8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkiocb_start_write (C function)c.kiocb_start_writehNtauh1hhhhhhNhNubh)}(hhh](j)}(h+void kiocb_start_write (struct kiocb *iocb)h]j)}(h*void kiocb_start_write(struct kiocb *iocb)h](j)}(hvoidh]hvoid}(hjV8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjR8hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hje8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjR8hhhjd8hM ubj/)}(hkiocb_start_writeh]j5)}(hkiocb_start_writeh]hkiocb_start_write}(hjw8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjs8ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjR8hhhjd8hM ubj)}(h(struct kiocb *iocb)h]j)}(hstruct kiocb *iocbh](j )}(hjzh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubh)}(hhh]j5)}(hkiocbh]hkiocb}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj)}j]j)}jjy8sbc.kiocb_start_writeasbuh1hhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubj*)}(hj-h]h*}(hj8hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj8ubj5)}(hiocbh]hiocb}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj8ubah}(h]h ]h"]h$]h&]jLjMuh1jhjR8hhhjd8hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjN8hhhjd8hM ubah}(h]jI8ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjd8hM hjK8hhubjc)}(hhh]h)}(h2get write access to a superblock for async file ioh]h2get write access to a superblock for async file io}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj9hhubah}(h]h ]h"]h$]h&]uh1jbhjK8hhhjd8hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.9jj.9jjjuh1hhhhhhNhNubj)}(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)}(hj89h]h Parameters}(hj:9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj69ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj29ubj)}(hhh]j)}(hG``struct kiocb *iocb`` the io context we want to submit the write with h](j)}(h``struct kiocb *iocb``h]j)}(hjW9h]hstruct kiocb *iocb}(hjY9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU9ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjQ9ubj)}(hhh]h)}(h/the io context we want to submit the write withh]h/the io context we want to submit the write with}(hjp9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjl9hM hjm9ubah}(h]h ]h"]h$]h&]uh1jhjQ9ubeh}(h]h ]h"]h$]h&]uh1jhjl9hM hjN9ubah}(h]h ]h"]h$]h&]uh1jhj29ubh)}(h**Description**h]j)}(hj9h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj29ubh)}(hrThis is a variant of sb_start_write() for async io submission. Should be matched with a call to kiocb_end_write().h]hrThis is a variant of sb_start_write() for async io submission. Should be matched with a call to kiocb_end_write().}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj29ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkiocb_end_write (C function)c.kiocb_end_writehNtauh1hhhhhhNhNubh)}(hhh](j)}(h)void kiocb_end_write (struct kiocb *iocb)h]j)}(h(void kiocb_end_write(struct kiocb *iocb)h](j)}(hvoidh]hvoid}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj9hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9hhhj9hM ubj/)}(hkiocb_end_writeh]j5)}(hkiocb_end_writeh]hkiocb_end_write}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj9hhhj9hM ubj)}(h(struct kiocb *iocb)h]j)}(hstruct kiocb *iocbh](j )}(hjzh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj)}(h h]h }(hj!:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubh)}(hhh]j5)}(hkiocbh]hkiocb}(hj2:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4:modnameN classnameNjj)}j]j)}jj9sbc.kiocb_end_writeasbuh1hhj:ubj)}(h h]h }(hjR:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubj*)}(hj-h]h*}(hj`:hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj:ubj5)}(hiocbh]hiocb}(hjm:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj :ubah}(h]h ]h"]h$]h&]jLjMuh1jhj9hhhj9hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj9hhhj9hM ubah}(h]j9ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj9hM hj9hhubjc)}(hhh]h)}(h5drop write access to a superblock after async file ioh]h5drop write access to a superblock after async file io}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj:hhubah}(h]h ]h"]h$]h&]uh1jbhj9hhhj9hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jj:jjjuh1hhhhhhNhNubj)}(h**Parameters** ``struct kiocb *iocb`` the io context we sumbitted the write with **Description** Should be matched with a call to kiocb_start_write().h](h)}(h**Parameters**h]j)}(hj:h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj:ubj)}(hhh]j)}(hB``struct kiocb *iocb`` the io context we sumbitted the write with h](j)}(h``struct kiocb *iocb``h]j)}(hj:h]hstruct kiocb *iocb}(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 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&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj:hM hj:ubah}(h]h ]h"]h$]h&]uh1jhj:ubh)}(h**Description**h]j)}(hj;h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj:ubh)}(h5Should be matched with a call to kiocb_start_write().h]h5Should be matched with a call to kiocb_start_write().}(hj);hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hname_is_dot_dotdot (C function)c.name_is_dot_dotdothNtauh1hhhhhhNhNubh)}(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}(hjX;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjT;hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMF ubj)}(h h]h }(hjf;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjT;hhhje;hMF ubj/)}(hname_is_dot_dotdoth]j5)}(hname_is_dot_dotdoth]hname_is_dot_dotdot}(hjx;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjt;ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjT;hhhje;hMF ubj)}(h(const char *name, size_t len)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;ubj)}(hcharh]hchar}(hj;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;ubj*)}(hj-h]h*}(hj;hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj;ubj5)}(hnameh]hname}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj;ubj)}(h size_t lenh](h)}(hhh]j5)}(hsize_th]hsize_t}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNjj)}j]j)}jjz;sbc.name_is_dot_dotdotasbuh1hhj;ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;ubj5)}(hlenh]hlen}(hj"<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj;ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjT;hhhje;hMF ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjP;hhhje;hMF ubah}(h]jK;ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhje;hMF hjM;hhubjc)}(hhh]h)}(h,returns true only if **name** is "." or ".."h](hreturns true only if }(hjL<hhhNhNubj)}(h**name**h]hname}(hjT<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL<ubh is “.” or “..”}(hjL<hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMF hjI<hhubah}(h]h ]h"]h$]h&]uh1jbhjM;hhhje;hMF ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjv<jjv<jjjuh1hhhhhhNhNubj)}(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.hhMJ hjz<ubj)}(hhh](j)}(h(``const char *name`` file name to check h](j)}(h``const char *name``h]j)}(hj<h]hconst char *name}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMG hj<ubj)}(hhh]h)}(hfile name to checkh]hfile name to check}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<hMG hj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hMG hj<ubj)}(h,``size_t len`` length of file name, in bytesh](j)}(h``size_t len``h]j)}(hj<h]h size_t len}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMI hj<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.hhMH hj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hMI hj<ubeh}(h]h ]h"]h$]h&]uh1jhjz<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!name_contains_dotdot (C function)c.name_contains_dotdothNtauh1hhhhhhNhNubh)}(hhh](j)}(h,bool name_contains_dotdot (const char *name)h]j)}(h+bool name_contains_dotdot(const char *name)h](j)}(hjh]hbool}(hj2=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj.=hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhMQ ubj)}(h h]h }(hj@=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.=hhhj?=hMQ ubj/)}(hname_contains_dotdoth]j5)}(hname_contains_dotdoth]hname_contains_dotdot}(hjR=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjN=ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj.=hhhj?=hMQ ubj)}(h(const char *name)h]j)}(hconst char *nameh](j )}(hjUh]hconst}(hjn=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjj=ubj)}(h h]h }(hj{=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjj=ubj)}(hcharh]hchar}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjj=ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjj=ubj*)}(hj-h]h*}(hj=hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjj=ubj5)}(hnameh]hname}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjj=ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjf=ubah}(h]h ]h"]h$]h&]jLjMuh1jhj.=hhhj?=hMQ ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj*=hhhj?=hMQ ubah}(h]j%=ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj?=hMQ hj'=hhubjc)}(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.hhMQ hj=hhubah}(h]h ]h"]h$]h&]uh1jbhj'=hhhj?=hMQ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=jj=jjjuh1hhhhhhNhNubj)}(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.hhMU 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.hhMR 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.}(hj6>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2>hMR hj3>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj2>hMR hj>ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_dio_begin (C function)c.inode_dio_beginhNtauh1hhhhhhNhNubh)}(hhh](j)}(h*void inode_dio_begin (struct inode *inode)h]j)}(h)void inode_dio_begin(struct inode *inode)h](j)}(hvoidh]hvoid}(hjv>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjr>hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM4 ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjr>hhhj>hM4 ubj/)}(hinode_dio_beginh]j5)}(hinode_dio_beginh]hinode_dio_begin}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjr>hhhj>hM4 ubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubh)}(hhh]j5)}(hinodeh]hinode}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNjj)}j]j)}jj>sbc.inode_dio_beginasbuh1hhj>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubj*)}(hj-h]h*}(hj>hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj>ubj5)}(hinodeh]hinode}(hj ?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubah}(h]h ]h"]h$]h&]jLjMuh1jhjr>hhhj>hM4 ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjn>hhhj>hM4 ubah}(h]ji>ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj>hM4 hjk>hhubjc)}(hhh]h)}(h%signal start of a direct I/O requestsh]h%signal start of a direct I/O requests}(hj6?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM4 hj3?hhubah}(h]h ]h"]h$]h&]uh1jbhjk>hhhj>hM4 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjN?jjN?jjjuh1hhhhhhNhNubj)}(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)}(hjX?h]h Parameters}(hjZ?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV?ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM8 hjR?ubj)}(hhh]j)}(h8``struct inode *inode`` inode the direct I/O happens on h](j)}(h``struct inode *inode``h]j)}(hjw?h]hstruct inode *inode}(hjy?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM5 hjq?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?hM5 hj?ubah}(h]h ]h"]h$]h&]uh1jhjq?ubeh}(h]h ]h"]h$]h&]uh1jhj?hM5 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&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM7 hjR?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.hhM6 hjR?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhhhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_dio_end (C function)c.inode_dio_endhNtauh1hhhhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhj?hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.h0hM@ ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?hhhj@hM@ ubj/)}(h inode_dio_endh]j5)}(h inode_dio_endh]h inode_dio_end}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj?hhhj@hM@ ubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj4@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0@ubj)}(h h]h }(hjA@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0@ubh)}(hhh]j5)}(hinodeh]hinode}(hjR@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjO@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjT@modnameN classnameNjj)}j]j)}jj@sbc.inode_dio_endasbuh1hhj0@ubj)}(h h]h }(hjr@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0@ubj*)}(hj-h]h*}(hj@hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj0@ubj5)}(hinodeh]hinode}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0@ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj,@ubah}(h]h ]h"]h$]h&]jLjMuh1jhj?hhhj@hM@ ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj?hhhj@hM@ ubah}(h]j?ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj@hM@ hj?hhubjc)}(hhh]h)}(h&signal finish of a direct I/O requestsh]h&signal finish of a direct I/O requests}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM@ hj@hhubah}(h]h ]h"]h$]h&]uh1jbhj?hhhj@hM@ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@jj@jjjuh1hhhhhhNhNubj)}(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}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj AhMA hjAubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj AhMA hj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubh)}(h**Description**h]j)}(hj3Ah]h Description}(hj5AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1Aubah}(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.}(hjIAhhhNhNubah}(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](h,generic_ci_validate_strict_name (C function)!c.generic_ci_validate_strict_namehNtauh1hhhhhhNhNubh)}(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}(hjxAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjtAhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtAhhhjAhM ubj/)}(hgeneric_ci_validate_strict_nameh]j5)}(hgeneric_ci_validate_strict_nameh]hgeneric_ci_validate_strict_name}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjtAhhhjAhM ubj)}(h,(struct inode *dir, const struct qstr *name)h](j)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubh)}(hhh]j5)}(hinodeh]hinode}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNjj)}j]j)}jjAsb!c.generic_ci_validate_strict_nameasbuh1hhjAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubj*)}(hj-h]h*}(hjBhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjAubj5)}(hdirh]hdir}(hj BhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjAubj)}(hconst struct qstr *nameh](j )}(hjUh]hconst}(hj&BhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"Bubj)}(h h]h }(hj3BhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"Bubj )}(hjzh]hstruct}(hjABhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"Bubj)}(h h]h }(hjNBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"Bubh)}(hhh]j5)}(hqstrh]hqstr}(hj_BhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\Bubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjaBmodnameN classnameNjj)}j]jA!c.generic_ci_validate_strict_nameasbuh1hhj"Bubj)}(h h]h }(hj}BhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"Bubj*)}(hj-h]h*}(hjBhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj"Bubj5)}(hnameh]hname}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"Bubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjAubeh}(h]h ]h"]h$]h&]jLjMuh1jhjtAhhhjAhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjpAhhhjAhM ubah}(h]jkAah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjAhM hjmAhhubjc)}(hhh]h)}(h1Check if a given name is suitable for a directoryh]h1Check if a given name is suitable for a directory}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjBhhubah}(h]h ]h"]h$]h&]uh1jbhjmAhhhjAhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjBjjBjjjuh1hhhhhhNhNubj)}(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)}(hjCh]hstruct inode *dir}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(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}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChM hjCubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjChM hjBubj)}(h1``const struct qstr *name`` name of the new file h](j)}(h``const struct qstr *name``h]j)}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:Cubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hj6Cubj)}(hhh]h)}(hname of the new fileh]hname of the new file}(hjUChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQChM hjRCubah}(h]h ]h"]h$]h&]uh1jhj6Cubeh}(h]h ]h"]h$]h&]uh1jhjQChM hjBubeh}(h]h ]h"]h$]h&]uh1jhjBubh)}(h**Description**h]j)}(hjwCh]h Description}(hjyChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuCubah}(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.}(hjChhhNhNubah}(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)}(hjCh]hReturn}(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 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}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjCubah}(h]h ]h"]h$]h&]uh1jChjCubjC)}(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.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM hjCubah}(h]h ]h"]h$]h&]uh1jChjCubeh}(h]h ]h"]h$]h&]bulletj-uh1jChjChM 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}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_drop (C function)c.d_drophNtauh1hhjDhhhNhNubh)}(hhh](j)}(h#void d_drop (struct dentry *dentry)h]j)}(h"void d_drop(struct dentry *dentry)h](j)}(hvoidh]hvoid}(hj-DhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj)DhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMGubj)}(h h]h }(hjd_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)}(hjEh]h Parameters}(hjEhhhNhNubah}(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.chMKhj Eubj)}(hhh]j)}(h)``struct dentry *dentry`` dentry to drop h](j)}(h``struct dentry *dentry``h]j)}(hj.Eh]hstruct dentry *dentry}(hj0EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,Eubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMHhj(Eubj)}(hhh]h)}(hdentry to droph]hdentry to drop}(hjGEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjCEhMHhjDEubah}(h]h ]h"]h$]h&]uh1jhj(Eubeh}(h]h ]h"]h$]h&]uh1jhjCEhMHhj%Eubah}(h]h ]h"]h$]h&]uh1jhj Eubh)}(h**Description**h]j)}(hjiEh]h Description}(hjkEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgEubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMJhj Eubh)}(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.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMIhj Eubh)}(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).}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMOhj Eubh)}(h __d_drop requires dentry->d_lockh]h __d_drop requires dentry->d_lock}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMRhj Eubh)}(hb___d_drop doesn't mark dentry as "unhashed" (dentry->d_hash.pprev will be LIST_POISON2, not NULL).h]hh___d_drop doesn’t mark dentry as “unhashed” (dentry->d_hash.pprev will be LIST_POISON2, not NULL).}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMThj Eubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_find_any_alias (C function)c.d_find_any_aliashNtauh1hhjDhhhNhNubh)}(hhh](j)}(h6struct dentry * d_find_any_alias (struct inode *inode)h]j)}(h4struct dentry *d_find_any_alias(struct inode *inode)h](j )}(hjzh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEhhhjEhMubh)}(hhh]j5)}(hdentryh]hdentry}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj)}j]j)}jd_find_any_aliassbc.d_find_any_aliasasbuh1hhjEhhhjEhMubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEhhhjEhMubj*)}(hj-h]h*}(hj)FhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjEhhhjEhMubj/)}(hd_find_any_aliash]j5)}(hjFh]hd_find_any_alias}(hj:FhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6Fubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjEhhhjEhMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjUFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQFubj)}(h h]h }(hjbFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQFubh)}(hhh]j5)}(hinodeh]hinode}(hjsFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjuFmodnameN classnameNjj)}j]jFc.d_find_any_aliasasbuh1hhjQFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQFubj*)}(hj-h]h*}(hjFhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjQFubj5)}(hinodeh]hinode}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMFubah}(h]h ]h"]h$]h&]jLjMuh1jhjEhhhjEhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjEhhhjEhMubah}(h]jEah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjEhMhjEhhubjc)}(hhh]h)}(h find any alias for a given inodeh]h find any alias for a given inode}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjFhhubah}(h]h ]h"]h$]h&]uh1jbhjEhhhjEhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1hhhhjDhNhNubj)}(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.chMhjFubj)}(hhh]j)}(h3``struct inode *inode`` inode to find an alias for h](j)}(h``struct inode *inode``h]j)}(hjGh]hstruct inode *inode}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjGubj)}(hhh]h)}(hinode to find an alias forh]hinode to find an alias for}(hj0GhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,GhMhj-Gubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhj,GhMhjGubah}(h]h ]h"]h$]h&]uh1jhjFubh)}(h**Description**h]j)}(hjRGh]h Description}(hjTGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPGubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjFubh)}(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 }(hjhGhhhNhNubj)}(h``NULL``h]hNULL}(hjpGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhGubh.}(hjhGhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_find_alias (C function)c.d_find_aliashNtauh1hhjDhhhNhNubh)}(hhh](j)}(h2struct dentry * d_find_alias (struct inode *inode)h]j)}(h0struct dentry *d_find_alias(struct inode *inode)h](j )}(hjzh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGhhhjGhM ubh)}(hhh]j5)}(hdentryh]hdentry}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNjj)}j]j)}j d_find_aliassbc.d_find_aliasasbuh1hhjGhhhjGhM ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGhhhjGhM ubj*)}(hj-h]h*}(hjGhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjGhhhjGhM ubj/)}(h d_find_aliash]j5)}(hjGh]h d_find_alias}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjGhhhjGhM ubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj#HhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHubj)}(h h]h }(hj0HhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHubh)}(hhh]j5)}(hinodeh]hinode}(hjAHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>Hubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCHmodnameN classnameNjj)}j]jGc.d_find_aliasasbuh1hhjHubj)}(h h]h }(hj_HhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHubj*)}(hj-h]h*}(hjmHhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjHubj5)}(hinodeh]hinode}(hjzHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjHubah}(h]h ]h"]h$]h&]jLjMuh1jhjGhhhjGhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjGhhhjGhM ubah}(h]jGah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjGhM hjGhhubjc)}(hhh]h)}(hgrab a hashed alias of inodeh]hgrab a hashed alias of inode}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjHhhubah}(h]h ]h"]h$]h&]uh1jbhjGhhhjGhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHjjHjjjuh1hhhhjDhNhNubj)}(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)}(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.chM$hjHubj)}(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.chM!hjHubj)}(hhh]h)}(hinode in questionh]hinode in question}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhM!hjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjHhM!hjHubah}(h]h ]h"]h$]h&]uh1jhjHubh)}(h**Description**h]j)}(hj Ih]h Description}(hj"IhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM#hjHubh)}(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.}(hj6IhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM"hjHubh)}(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.}(hjEIhhhNhNubah}(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&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h d_dispose_if_unused (C function)c.d_dispose_if_unusedhNtauh1hhjDhhhNhNubh)}(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}(hjtIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjpIhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMTubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpIhhhjIhMTubj/)}(hd_dispose_if_unusedh]j5)}(hd_dispose_if_unusedh]hd_dispose_if_unused}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjpIhhhjIhMTubj)}(h2(struct dentry *dentry, struct list_head *dispose)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubh)}(hhh]j5)}(hdentryh]hdentry}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNjj)}j]j)}jjIsbc.d_dispose_if_unusedasbuh1hhjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubj*)}(hj-h]h*}(hjIhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjIubj5)}(hdentryh]hdentry}(hj JhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjIubj)}(hstruct list_head *disposeh](j )}(hjzh]hstruct}(hj#JhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj)}(h h]h }(hj0JhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubh)}(hhh]j5)}(h list_headh]h list_head}(hjAJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>Jubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCJmodnameN classnameNjj)}j]jIc.d_dispose_if_unusedasbuh1hhjJubj)}(h h]h }(hj_JhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubj*)}(hj-h]h*}(hjmJhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjJubj5)}(hdisposeh]hdispose}(hjzJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjIubeh}(h]h ]h"]h$]h&]jLjMuh1jhjpIhhhjIhMTubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjlIhhhjIhMTubah}(h]jgIah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjIhMThjiIhhubjc)}(hhh]h)}(h)move unreferenced dentries to shrink listh]h)move unreferenced dentries to shrink list}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMThjJhhubah}(h]h ]h"]h$]h&]uh1jbhjiIhhhjIhMTubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1hhhhjDhNhNubj)}(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)}(hjJh]h Parameters}(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.chMXhjJubj)}(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.chMUhjJubj)}(hhh]h)}(hdentry in questionh]hdentry in question}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMUhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMUhjJubj)}(h2``struct list_head *dispose`` head of shrink list h](j)}(h``struct list_head *dispose``h]j)}(hjKh]hstruct list_head *dispose}(hj KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMVhjKubj)}(hhh]h)}(hhead of shrink listh]hhead of shrink list}(hj7KhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3KhMVhj4Kubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhj3KhMVhjJubeh}(h]h ]h"]h$]h&]uh1jhjJubh)}(h**Description**h]j)}(hjYKh]h Description}(hj[KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWKubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMXhjJubh)}(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.}(hjoKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMWhjJubh)}(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.chMYhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hshrink_dcache_sb (C function)c.shrink_dcache_sbhNtauh1hhjDhhhNhNubh)}(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}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjKhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKhhhjKhMubj/)}(hshrink_dcache_sbh]j5)}(hshrink_dcache_sbh]hshrink_dcache_sb}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjKhhhjKhMubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubh)}(hhh]j5)}(h super_blockh]h super_block}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj LmodnameN classnameNjj)}j]j)}jjKsbc.shrink_dcache_sbasbuh1hhjKubj)}(h h]h }(hj(LhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubj*)}(hj-h]h*}(hj6LhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjKubj5)}(hsbh]hsb}(hjCLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjKubah}(h]h ]h"]h$]h&]jLjMuh1jhjKhhhjKhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjKhhhjKhMubah}(h]jKah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjKhMhjKhhubjc)}(hhh]h)}(hshrink dcache for a superblockh]hshrink dcache for a superblock}(hjmLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjjLhhubah}(h]h ]h"]h$]h&]uh1jbhjKhhhjKhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhjDhNhNubj)}(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)}(hjLh]h Parameters}(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.chMhjLubj)}(hhh]j)}(h&``struct super_block *sb`` superblock h](j)}(h``struct super_block *sb``h]j)}(hjLh]hstruct super_block *sb}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjLubj)}(hhh]h)}(h superblockh]h superblock}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhMhjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjLubah}(h]h ]h"]h$]h&]uh1jhjLubh)}(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.chMhjLubh)}(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.chMhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpath_has_submounts (C function)c.path_has_submountshNtauh1hhjDhhhNhNubh)}(hhh](j)}(h2int path_has_submounts (const struct path *parent)h]j)}(h1int path_has_submounts(const struct path *parent)h](j)}(hinth]hint}(hj.MhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj*MhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hj=MhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*MhhhjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:RhMhj;Rubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhj:RhMhjQubeh}(h]h ]h"]h$]h&]uh1jhjQubh)}(h**Description**h]j)}(hj`Rh]h Description}(hjbRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^Rubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjQubh)}(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 }(hjvRhhhNhNubj)}(h``NULL``h]hNULL}(hj~RhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvRubh 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.}(hjvRhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_instantiate (C function)c.d_instantiatehNtauh1hhjDhhhNhNubh)}(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}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjRhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRhhhjRhMubj/)}(h d_instantiateh]j5)}(h d_instantiateh]h d_instantiate}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjRhhhjRhMubj)}(h+(struct dentry *entry, struct inode *inode)h](j)}(hstruct dentry *entryh](j )}(hjzh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRubh)}(hhh]j5)}(hdentryh]hdentry}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj)}j]j)}jjRsbc.d_instantiateasbuh1hhjRubj)}(h h]h }(hj2ShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRubj*)}(hj-h]h*}(hj@ShhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjRubj5)}(hentryh]hentry}(hjMShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjRubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjfShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbSubj)}(h h]h }(hjsShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbSubh)}(hhh]j5)}(hinodeh]hinode}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj)}j]j.Sc.d_instantiateasbuh1hhjbSubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbSubj*)}(hj-h]h*}(hjShhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjbSubj5)}(hinodeh]hinode}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbSubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjRubeh}(h]h ]h"]h$]h&]jLjMuh1jhjRhhhjRhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjRhhhjRhMubah}(h]jRah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjRhMhjRhhubjc)}(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.chMhjShhubah}(h]h ]h"]h$]h&]uh1jbhjRhhhjRhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSjjSjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct dentry *entry`` dentry to complete ``struct inode * inode`` inode to attach to this dentry **Description** Fill in inode information in the entry. This turns negative dentries into productive full members of society. NOTE! This assumes that the inode count has been incremented (or otherwise set) by the caller to indicate that it is now in use by the dcache.h](h)}(h**Parameters**h]j)}(hj Th]h Parameters}(hj ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjTubj)}(hhh](j)}(h,``struct dentry *entry`` dentry to complete h](j)}(h``struct dentry *entry``h]j)}(hj(Th]hstruct dentry *entry}(hj*ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&Tubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj"Tubj)}(hhh]h)}(hdentry to completeh]hdentry to complete}(hjAThhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=ThMhj>Tubah}(h]h ]h"]h$]h&]uh1jhj"Tubeh}(h]h ]h"]h$]h&]uh1jhj=ThMhjTubj)}(h8``struct inode * inode`` inode to attach to this dentry h](j)}(h``struct inode * inode``h]j)}(hjaTh]hstruct inode * inode}(hjcThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_Tubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj[Tubj)}(hhh]h)}(hinode to attach to this dentryh]hinode to attach to this dentry}(hjzThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvThMhjwTubah}(h]h ]h"]h$]h&]uh1jhj[Tubeh}(h]h ]h"]h$]h&]uh1jhjvThMhjTubeh}(h]h ]h"]h$]h&]uh1jhjTubh)}(h**Description**h]j)}(hjTh]h Description}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjTubh)}(h'Fill in inode information in the entry.h]h'Fill in inode information in the entry.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjTubh)}(hEThis turns negative dentries into productive full members of society.h]hEThis turns negative dentries into productive full members of society.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjTubh)}(hNOTE! This assumes that the inode count has been incremented (or otherwise set) by the caller to indicate that it is now in use by the dcache.h]hNOTE! This assumes that the inode count has been incremented (or otherwise set) by the caller to indicate that it is now in use by the dcache.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_obtain_alias (C function)c.d_obtain_aliashNtauh1hhjDhhhNhNubh)}(hhh](j)}(h4struct dentry * d_obtain_alias (struct inode *inode)h]j)}(h2struct dentry *d_obtain_alias(struct inode *inode)h](j )}(hjzh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM?ubj)}(h h]h }(hj UhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjThhhj UhM?ubh)}(hhh]j5)}(hdentryh]hdentry}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj UmodnameN classnameNjj)}j]j)}jd_obtain_aliassbc.d_obtain_aliasasbuh1hhjThhhj UhM?ubj)}(h h]h }(hj?UhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjThhhj UhM?ubj*)}(hj-h]h*}(hjMUhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjThhhj UhM?ubj/)}(hd_obtain_aliash]j5)}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;Yubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@YmodnameN classnameNjj)}j]j)}jd_add_cisb c.d_add_ciasbuh1hhjYhhhj,YhMlubj)}(h h]h }(hj_YhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYhhhj,YhMlubj*)}(hj-h]h*}(hjmYhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjYhhhj,YhMlubj/)}(hd_add_cih]j5)}(hj\Yh]hd_add_ci}(hj~YhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzYubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjYhhhj,YhMlubj)}(h?(struct dentry *dentry, struct inode *inode, struct qstr *name)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubh)}(hhh]j5)}(hdentryh]hdentry}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj)}j]jZY c.d_add_ciasbuh1hhjYubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj*)}(hj-h]h*}(hjYhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjYubj5)}(hdentryh]hdentry}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjYubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubh)}(hhh]j5)}(hinodeh]hinode}(hj'ZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$Zubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)ZmodnameN classnameNjj)}j]jZY c.d_add_ciasbuh1hhjZubj)}(h h]h }(hjEZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubj*)}(hj-h]h*}(hjSZhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjZubj5)}(hinodeh]hinode}(hj`ZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjYubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hjyZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuZubh)}(hhh]j5)}(hqstrh]hqstr}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNjj)}j]jZY c.d_add_ciasbuh1hhjuZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuZubj*)}(hj-h]h*}(hjZhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjuZubj5)}(hnameh]hname}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuZubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjYubeh}(h]h ]h"]h$]h&]jLjMuh1jhjYhhhj,YhMlubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjYhhhj,YhMlubah}(h]jYah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj,YhMlhjYhhubjc)}(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.chMlhjZhhubah}(h]h ]h"]h$]h&]uh1jbhjYhhhj,YhMlubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct dentry *dentry`` the negative dentry that was passed to the parent's lookup func ``struct inode *inode`` the inode case-insensitive lookup has found ``struct qstr *name`` the case-exact name to be associated with the returned dentry **Description** This is to avoid filling the dcache with case-insensitive names to the same inode, only the actual correct case is stored in the dcache for case-insensitive filesystems. For a case-insensitive lookup match and if the case-exact dentry already exists in the dcache, use it and return it. If no entry exists with the exact case name, allocate new dentry with the exact case, and return the spliced entry.h](h)}(h**Parameters**h]j)}(hj[h]h Parameters}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMphj[ubj)}(hhh](j)}(hZ``struct dentry *dentry`` the negative dentry that was passed to the parent's lookup func h](j)}(h``struct dentry *dentry``h]j)}(hj;[h]hstruct dentry *dentry}(hj=[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9[ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMmhj5[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}(hjT[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjP[hMmhjQ[ubah}(h]h ]h"]h$]h&]uh1jhj5[ubeh}(h]h ]h"]h$]h&]uh1jhjP[hMmhj2[ubj)}(hD``struct inode *inode`` the inode case-insensitive lookup has found h](j)}(h``struct inode *inode``h]j)}(hjt[h]hstruct inode *inode}(hjv[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr[ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMnhjn[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[hMnhj[ubah}(h]h ]h"]h$]h&]uh1jhjn[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMnhj2[ubj)}(hT``struct qstr *name`` the case-exact name to be associated with the returned dentry h](j)}(h``struct qstr *name``h]j)}(hj[h]hstruct qstr *name}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMohj[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[hMohj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hMohj2[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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMqhj[ubh)}(hThis is to avoid filling the dcache with case-insensitive names to the same inode, only the actual correct case is stored in the dcache for case-insensitive filesystems.h]hThis is to avoid filling the dcache with case-insensitive names to the same inode, only the actual correct case is stored in the dcache for case-insensitive filesystems.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMphj[ubh)}(htFor a case-insensitive lookup match and if the case-exact dentry already exists in the dcache, use it and return it.h]htFor a case-insensitive lookup match and if the case-exact dentry already exists in the dcache, use it and return it.}(hj \hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMthj[ubh)}(hsIf no entry exists with the exact case name, allocate new dentry with the exact case, and return the spliced entry.h]hsIf no entry exists with the exact case name, allocate new dentry with the exact case, and return the spliced entry.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMwhj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_same_name (C function) c.d_same_namehNtauh1hhjDhhhNhNubh)}(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}(hjK\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjG\hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjY\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjG\hhhjX\hMubj/)}(h d_same_nameh]j5)}(h d_same_nameh]h d_same_name}(hjk\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjg\ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjG\hhhjX\hMubj)}(hS(const struct dentry *dentry, const struct dentry *parent, const struct qstr *name)h](j)}(hconst struct dentry *dentryh](j )}(hjUh]hconst}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubj )}(hjzh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubh)}(hhh]j5)}(hdentryh]hdentry}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj)}j]j)}jjm\sb c.d_same_nameasbuh1hhj\ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubj*)}(hj-h]h*}(hj\hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj\ubj5)}(hdentryh]hdentry}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj\ubj)}(hconst struct dentry *parenth](j )}(hjUh]hconst}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj)}(h h]h }(hj!]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubj )}(hjzh]hstruct}(hj/]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj)}(h h]h }(hj<]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubh)}(hhh]j5)}(hdentryh]hdentry}(hjM]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJ]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjO]modnameN classnameNjj)}j]j\ c.d_same_nameasbuh1hhj]ubj)}(h h]h }(hjk]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubj*)}(hj-h]h*}(hjy]hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj]ubj5)}(hparenth]hparent}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj\ubj)}(hconst struct qstr *nameh](j )}(hjUh]hconst}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubj )}(hjzh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubh)}(hhh]j5)}(hqstrh]hqstr}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNjj)}j]j\ c.d_same_nameasbuh1hhj]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubj*)}(hj-h]h*}(hj^hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj]ubj5)}(hnameh]hname}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj\ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjG\hhhjX\hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjC\hhhjX\hMubah}(h]j>\ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjX\hMhj@\hhubjc)}(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.chMhj8^hhubah}(h]h ]h"]h$]h&]uh1jbhj@\hhhjX\hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjS^jjS^jjjuh1hhhhjDhNhNubj)}(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.chMhjW^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&]uh1jhjz^ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjv^ubj)}(hhh]h)}(h?the negative dentry that was passed to the parent's lookup funch]hAthe negative dentry that was passed to the parent’s lookup func}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjv^ubeh}(h]h ]h"]h$]h&]uh1jhj^hMhjs^ubj)}(h.``const struct dentry *parent`` parent dentry h](j)}(h``const struct dentry *parent``h]j)}(hj^h]hconst struct dentry *parent}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj^ubj)}(hhh]h)}(h parent dentryh]h parent dentry}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hMhj^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^hMhjs^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_hMhjs^ubeh}(h]h ]h"]h$]h&]uh1jhjW^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.chMhjW^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.chMhjW^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_lookup (C function) c.d_lookuphNtauh1hhjDhhhNhNubh)}(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 )}(hjzh]hstruct}(hjn_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjj_hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMI ubj)}(h h]h }(hj|_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjj_hhhj{_hMI ubh)}(hhh]j5)}(hdentryh]hdentry}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNjj)}j]j)}jd_lookupsb c.d_lookupasbuh1hhjj_hhhj{_hMI ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjj_hhhj{_hMI ubj*)}(hj-h]h*}(hj_hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjj_hhhj{_hMI ubj/)}(hd_lookuph]j5)}(hj_h]hd_lookup}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjj_hhhj{_hMI ubj)}(h6(const struct dentry *parent, const struct qstr *name)h](j)}(hconst struct dentry *parenth](j )}(hjUh]hconst}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_ubj )}(hjzh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_ubh)}(hhh]j5)}(hdentryh]hdentry}(hj!`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#`modnameN classnameNjj)}j]j_ c.d_lookupasbuh1hhj_ubj)}(h h]h }(hj?`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_ubj*)}(hj-h]h*}(hjM`hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj_ubj5)}(hparenth]hparent}(hjZ`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj_ubj)}(hconst struct qstr *nameh](j )}(hjUh]hconst}(hjs`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjo`ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjo`ubj )}(hjzh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjo`ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjo`ubh)}(hhh]j5)}(hqstrh]hqstr}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNjj)}j]j_ c.d_lookupasbuh1hhjo`ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjo`ubj*)}(hj-h]h*}(hj`hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjo`ubj5)}(hnameh]hname}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjo`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj_ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjj_hhhj{_hMI ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjf_hhhj{_hMI ubah}(h]ja_ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj{_hMI hjc_hhubjc)}(hhh]h)}(hsearch for a dentryh]hsearch for a dentry}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMI hj ahhubah}(h]h ]h"]h$]h&]uh1jbhjc_hhhj{_hMI ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj'ajj'ajjjuh1hhhhjDhNhNubj)}(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)}(hj1ah]h Parameters}(hj3ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/aubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMM hj+aubj)}(hhh](j)}(h.``const struct dentry *parent`` parent dentry h](j)}(h``const struct dentry *parent``h]j)}(hjPah]hconst struct dentry *parent}(hjRahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNaubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMJ hjJaubj)}(hhh]h)}(h parent dentryh]h parent dentry}(hjiahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjeahMJ hjfaubah}(h]h ]h"]h$]h&]uh1jhjJaubeh}(h]h ]h"]h$]h&]uh1jhjeahMJ hjGaubj)}(h9``const struct qstr *name`` qstr of name we wish to find h](j)}(h``const struct qstr *name``h]j)}(hjah]hconst struct qstr *name}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMK hjaubj)}(hhh]h)}(hqstr of name we wish to findh]hqstr of name we wish to find}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahMK hjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMK hjGaubeh}(h]h ]h"]h$]h&]uh1jhj+aubh)}(h **Return**h]j)}(hjah]hReturn}(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.chMM hj+aubh)}(hdentry, or NULLh]hdentry, or NULL}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chML hj+aubh)}(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.chMN hj+aubh)}(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. }(hjbhhhNhNubj)}(h``NULL``h]hNULL}(hj bhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh* is returned if the dentry does not exist.}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMM hj+aubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_delete (C function) c.d_deletehNtauh1hhjDhhhNhNubh)}(hhh](j)}(h&void d_delete (struct dentry * dentry)h]j)}(h$void d_delete(struct dentry *dentry)h](j)}(hvoidh]hvoid}(hjBbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj>bhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj)}(h h]h }(hjQbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>bhhhjPbhM ubj/)}(hd_deleteh]j5)}(hd_deleteh]hd_delete}(hjcbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_bubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj>bhhhjPbhM ubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{bubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{bubh)}(hhh]j5)}(hdentryh]hdentry}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNjj)}j]j)}jjebsb c.d_deleteasbuh1hhj{bubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{bubj*)}(hj-h]h*}(hjbhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj{bubj5)}(hdentryh]hdentry}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{bubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwbubah}(h]h ]h"]h$]h&]jLjMuh1jhj>bhhhjPbhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj:bhhhjPbhM ubah}(h]j5bah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjPbhM hj7bhhubjc)}(hhh]h)}(hdelete a dentryh]hdelete a dentry}(hjchhhNhNubah}(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&]uh1jbhj7bhhhjPbhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhjDhNhNubj)}(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)}(hj$ch]h Parameters}(hj&chhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"cubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjcubj)}(hhh]j)}(h0``struct dentry * dentry`` The dentry to delete h](j)}(h``struct dentry * dentry``h]j)}(hjCch]hstruct dentry * dentry}(hjEchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAcubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj=cubj)}(hhh]h)}(hThe dentry to deleteh]hThe dentry to delete}(hj\chhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXchM hjYcubah}(h]h ]h"]h$]h&]uh1jhj=cubeh}(h]h ]h"]h$]h&]uh1jhjXchM hj:cubah}(h]h ]h"]h$]h&]uh1jhjcubh)}(h**Description**h]j)}(hj~ch]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|cubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjcubh)}(hwTurn the dentry into a negative dentry if possible, otherwise remove it from the hash queues so it can be deleted laterh]hwTurn the dentry into a negative dentry if possible, otherwise remove it from the hash queues so it can be deleted later}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_rehash (C function) c.d_rehashhNtauh1hhjDhhhNhNubh)}(hhh](j)}(h%void d_rehash (struct dentry * entry)h]j)}(h#void d_rehash(struct dentry *entry)h](j)}(hvoidh]hvoid}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjchhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjchhhjchM ubj/)}(hd_rehashh]j5)}(hd_rehashh]hd_rehash}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjchhhjchM ubj)}(h(struct dentry *entry)h]j)}(hstruct dentry *entryh](j )}(hjzh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj)}(h h]h }(hj dhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubh)}(hhh]j5)}(hdentryh]hdentry}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj dmodnameN classnameNjj)}j]j)}jjcsb c.d_rehashasbuh1hhjcubj)}(h h]h }(hj>dhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj*)}(hj-h]h*}(hjLdhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj5)}(hentryh]hentry}(hjYdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjcubah}(h]h ]h"]h$]h&]jLjMuh1jhjchhhjchM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjchhhjchM ubah}(h]jcah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjchM hjchhubjc)}(hhh]h)}(hadd an entry back to the hashh]hadd an entry back to the hash}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjdhhubah}(h]h ]h"]h$]h&]uh1jbhjchhhjchM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdjjdjjjuh1hhhhjDhNhNubj)}(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)}(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.chM hjdubj)}(hhh]j)}(h4``struct dentry * entry`` dentry to add to the hash h](j)}(h``struct dentry * entry``h]j)}(hjdh]hstruct dentry * entry}(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.chM hjdubj)}(hhh]h)}(hdentry to add to the hashh]hdentry to add to the hash}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhM hjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhM hjdubah}(h]h ]h"]h$]h&]uh1jhjdubh)}(h**Description**h]j)}(hjdh]h Description}(hjehhhNhNubah}(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 hjdubh)}(h0Adds a dentry to the hash according to its name.h]h0Adds a dentry to the hash according to its name.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_add (C function)c.d_addhNtauh1hhjDhhhNhNubh)}(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}(hjDehhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj@ehhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj)}(h h]h }(hjSehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ehhhjRehM ubj/)}(hd_addh]j5)}(hd_addh]hd_add}(hjeehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaeubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj@ehhhjRehM ubj)}(h+(struct dentry *entry, struct inode *inode)h](j)}(hstruct dentry *entryh](j )}(hjzh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}eubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}eubh)}(hhh]j5)}(hdentryh]hdentry}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj)}j]j)}jjgesbc.d_addasbuh1hhj}eubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}eubj*)}(hj-h]h*}(hjehhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj}eubj5)}(hentryh]hentry}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}eubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjyeubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubh)}(hhh]j5)}(hinodeh]hinode}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j]jec.d_addasbuh1hhjeubj)}(h h]h }(hj/fhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubj*)}(hj-h]h*}(hj=fhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjeubj5)}(hinodeh]hinode}(hjJfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjyeubeh}(h]h ]h"]h$]h&]jLjMuh1jhj@ehhhjRehM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjlookup. 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)}(hj ih]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj iubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM/ hjiubj)}(hhh](j)}(hG``struct inode *inode`` the inode which may have a disconnected dentry h](j)}(h``struct inode *inode``h]j)}(hj,ih]hstruct inode *inode}(hj.ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*iubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM, hj&iubj)}(hhh]h)}(h.the inode which may have a disconnected dentryh]h.the inode which may have a disconnected dentry}(hjEihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAihM, hjBiubah}(h]h ]h"]h$]h&]uh1jhj&iubeh}(h]h ]h"]h$]h&]uh1jhjAihM, hj#iubj)}(hQ``struct dentry *dentry`` a negative dentry which we want to point to the inode. h](j)}(h``struct dentry *dentry``h]j)}(hjeih]hstruct dentry *dentry}(hjgihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjciubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM- hj_iubj)}(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&]uh1hhjzihM- hj{iubah}(h]h ]h"]h$]h&]uh1jhj_iubeh}(h]h ]h"]h$]h&]uh1jhjzihM- hj#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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM/ hjiubh)}(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.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM. hjiubh)}(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.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM2 hjiubh)}(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.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM5 hjiubh)}(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.chM8 hjiubh)}(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; hjiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_subdir (C function) c.is_subdirhNtauh1hhjDhhhNhNubh)}(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}(hj!jhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMN ubj)}(h h]h }(hj/jhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjhhhj.jhMN ubj/)}(h is_subdirh]j5)}(h is_subdirh]h is_subdir}(hjAjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=jubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjjhhhj.jhMN ubj)}(h6(struct dentry *new_dentry, struct dentry *old_dentry)h](j)}(hstruct dentry *new_dentryh](j )}(hjzh]hstruct}(hj]jhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYjubj)}(h h]h }(hjjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYjubh)}(hhh]j5)}(hdentryh]hdentry}(hj{jhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}jmodnameN classnameNjj)}j]j)}jjCjsb c.is_subdirasbuh1hhjYjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYjubj*)}(hj-h]h*}(hjjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjYjubj5)}(h new_dentryh]h new_dentry}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjUjubj)}(hstruct dentry *old_dentryh](j )}(hjzh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubh)}(hhh]j5)}(hdentryh]hdentry}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNjj)}j]jj c.is_subdirasbuh1hhjjubj)}(h h]h }(hj khhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubj*)}(hj-h]h*}(hjkhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjjubj5)}(h old_dentryh]h old_dentry}(hj&khhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjUjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjjhhhj.jhMN ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjjhhhj.jhMN ubah}(h]jjah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj.jhMN hjjhhubjc)}(hhh]h)}(h*is new dentry a subdirectory of old_dentryh]h*is new dentry a subdirectory of old_dentry}(hjPkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMN hjMkhhubah}(h]h ]h"]h$]h&]uh1jbhjjhhhj.jhMN ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhkjjhkjjjuh1hhhhjDhNhNubj)}(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)}(hjrkh]h Parameters}(hjtkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpkubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMR hjlkubj)}(hhh](j)}(h)``struct dentry *new_dentry`` new dentry h](j)}(h``struct dentry *new_dentry``h]j)}(hjkh]hstruct dentry *new_dentry}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMO hjkubj)}(hhh]h)}(h new dentryh]h new dentry}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMO hjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMO hjkubj)}(h)``struct dentry *old_dentry`` old dentry h](j)}(h``struct dentry *old_dentry``h]j)}(hjkh]hstruct dentry *old_dentry}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMP hjkubj)}(hhh]h)}(h old dentryh]h old dentry}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMP hjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMP hjkubeh}(h]h ]h"]h$]h&]uh1jhjlkubh)}(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.chMR hjlkubh)}(hReturns true if new_dentry is a subdirectory of the parent (at any depth). Returns false otherwise. Caller must ensure that "new_dentry" is pinned before calling is_subdir()h]hReturns true if new_dentry is a subdirectory of the parent (at any depth). Returns false otherwise. Caller must ensure that “new_dentry” is pinned before calling is_subdir()}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMQ hjlkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdget_dlock (C function) c.dget_dlockhNtauh1hhjDhhhNhNubh)}(hhh](j)}(h2struct dentry * dget_dlock (struct dentry *dentry)h]j)}(h0struct dentry *dget_dlock(struct dentry *dentry)h](j )}(hjzh]hstruct}(hjJlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFlhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM;ubj)}(h h]h }(hjXlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFlhhhjWlhM;ubh)}(hhh]j5)}(hdentryh]hdentry}(hjilhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjflubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjklmodnameN classnameNjj)}j]j)}j dget_dlocksb c.dget_dlockasbuh1hhjFlhhhjWlhM;ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFlhhhjWlhM;ubj*)}(hj-h]h*}(hjlhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjFlhhhjWlhM;ubj/)}(h dget_dlockh]j5)}(hjlh]h dget_dlock}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjFlhhhjWlhM;ubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubh)}(hhh]j5)}(hdentryh]hdentry}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj)}j]jl c.dget_dlockasbuh1hhjlubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj*)}(hj-h]h*}(hjmhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjlubj5)}(hdentryh]hdentry}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjlubah}(h]h ]h"]h$]h&]jLjMuh1jhjFlhhhjWlhM;ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjBlhhhjWlhM;ubah}(h]j=lah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjWlhM;hj?lhhubjc)}(hhh]h)}(hget a reference to a dentryh]hget a reference to a dentry}(hjEmhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM;hjBmhhubah}(h]h ]h"]h$]h&]uh1jbhj?lhhhjWlhM;ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]mjj]mjjjuh1hhhhjDhNhNubj)}(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)}(hjgmh]h Parameters}(hjimhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjemubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM?hjamubj)}(hhh]j)}(h7``struct dentry *dentry`` dentry to get a reference to h](j)}(h``struct dentry *dentry``h]j)}(hjmh]hstruct dentry *dentry}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM<hjmubj)}(hhh]h)}(hdentry to get a reference toh]hdentry to get a reference to}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhM<hjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhM<hj}mubah}(h]h ]h"]h$]h&]uh1jhjamubh)}(h**Description**h]j)}(hjmh]h Description}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM>hjamubh)}(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 }(hjmhhhNhNubj)}(h**dentry->d_lock**h]hdentry->d_lock}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubh. 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.}(hjmhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM=hjamubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdget (C function)c.dgethNtauh1hhjDhhhNhNubh)}(hhh](j)}(h,struct dentry * dget (struct dentry *dentry)h]j)}(h*struct dentry *dget(struct dentry *dentry)h](j )}(hjzh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMLubj)}(h h]h }(hj&nhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnhhhj%nhMLubh)}(hhh]j5)}(hdentryh]hdentry}(hj7nhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4nubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9nmodnameN classnameNjj)}j]j)}jdgetsbc.dgetasbuh1hhjnhhhj%nhMLubj)}(h h]h }(hjXnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnhhhj%nhMLubj*)}(hj-h]h*}(hjfnhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjnhhhj%nhMLubj/)}(hdgeth]j5)}(hjUnh]hdget}(hjwnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsnubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjnhhhj%nhMLubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubh)}(hhh]j5)}(hdentryh]hdentry}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj)}j]jSnc.dgetasbuh1hhjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj*)}(hj-h]h*}(hjnhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjnubj5)}(hdentryh]hdentry}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjnubah}(h]h ]h"]h$]h&]jLjMuh1jhjnhhhj%nhMLubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjnhhhj%nhMLubah}(h]j nah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj%nhMLhj nhhubjc)}(hhh]h)}(hget a reference to a dentryh]hget a reference to a dentry}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMLhjohhubah}(h]h ]h"]h$]h&]uh1jbhj nhhhj%nhMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+ojj+ojjjuh1hhhhjDhNhNubj)}(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)}(hj5oh]h Parameters}(hj7ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3oubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMPhj/oubj)}(hhh]j)}(h7``struct dentry *dentry`` dentry to get a reference to h](j)}(h``struct dentry *dentry``h]j)}(hjToh]hstruct dentry *dentry}(hjVohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRoubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMMhjNoubj)}(hhh]h)}(hdentry to get a reference toh]hdentry to get a reference to}(hjmohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjiohMMhjjoubah}(h]h ]h"]h$]h&]uh1jhjNoubeh}(h]h ]h"]h$]h&]uh1jhjiohMMhjKoubah}(h]h ]h"]h$]h&]uh1jhj/oubh)}(h**Description**h]j)}(hjoh]h Description}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMOhj/oubh)}(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 }(hjohhhNhNubj)}(h``NULL``h]hNULL}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubhXp 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.}(hjohhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMNhj/oubh)}(h**NOTE**h]j)}(hjoh]hNOTE}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMVhj/oubh)}(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.hhMWhj/oubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_unhashed (C function) c.d_unhashedhNtauh1hhjDhhhNhNubh)}(hhh](j)}(h,int d_unhashed (const struct dentry *dentry)h]j)}(h+int d_unhashed(const struct dentry *dentry)h](j)}(hinth]hint}(hj1phhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj-phhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMgubj)}(h h]h }(hj@phhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-phhhj?phMgubj/)}(h d_unhashedh]j5)}(h d_unhashedh]h d_unhashed}(hjRphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNpubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj-phhhj?phMgubj)}(h(const struct dentry *dentry)h]j)}(hconst struct dentry *dentryh](j )}(hjUh]hconst}(hjnphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjpubj)}(h h]h }(hj{phhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjpubj )}(hjzh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjpubh)}(hhh]j5)}(hdentryh]hdentry}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNjj)}j]j)}jjTpsb c.d_unhashedasbuh1hhjjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjpubj*)}(hj-h]h*}(hjphhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjjpubj5)}(hdentryh]hdentry}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjpubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjfpubah}(h]h ]h"]h$]h&]jLjMuh1jhj-phhhj?phMgubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj)phhhj?phMgubah}(h]j$pah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj?phMghj&phhubjc)}(hhh]h)}(his dentry hashedh]his dentry hashed}(hj qhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMghj qhhubah}(h]h ]h"]h$]h&]uh1jbhj&phhhj?phMgubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$qjj$qjjjuh1hhhhjDhNhNubj)}(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)}(hj.qh]h Parameters}(hj0qhhhNhNubah}(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.hhMkhj(qubj)}(hhh]j)}(h/``const struct dentry *dentry`` entry to check h](j)}(h``const struct dentry *dentry``h]j)}(hjMqh]hconst struct dentry *dentry}(hjOqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKqubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhhjGqubj)}(hhh]h)}(hentry to checkh]hentry to check}(hjfqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbqhMhhjcqubah}(h]h ]h"]h$]h&]uh1jhjGqubeh}(h]h ]h"]h$]h&]uh1jhjbqhMhhjDqubah}(h]h ]h"]h$]h&]uh1jhj(qubh)}(h**Description**h]j)}(hjqh]h Description}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMjhj(qubh)}(h:Returns true if the dentry passed is not currently hashed.h]h:Returns true if the dentry passed is not currently hashed.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMihj(qubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!d_really_is_negative (C function)c.d_really_is_negativehNtauh1hhjDhhhNhNubh)}(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}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjqhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqhhhjqhMubj/)}(hd_really_is_negativeh]j5)}(hd_really_is_negativeh]hd_really_is_negative}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjqhhhjqhMubj)}(h(const struct dentry *dentry)h]j)}(hconst struct dentry *dentryh](j )}(hjUh]hconst}(hj rhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubj )}(hjzh]hstruct}(hj$rhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj)}(h h]h }(hj1rhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubh)}(hhh]j5)}(hdentryh]hdentry}(hjBrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?rubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDrmodnameN classnameNjj)}j]j)}jjqsbc.d_really_is_negativeasbuh1hhjrubj)}(h h]h }(hjbrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubj*)}(hj-h]h*}(hjprhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjrubj5)}(hdentryh]hdentry}(hj}rhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjrubah}(h]h ]h"]h$]h&]jLjMuh1jhjqhhhjqhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjqhhhjqhMubah}(h]jqah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjqhMhjqhhubjc)}(hhh]h)}(h@Determine if a dentry is really negative (ignoring fallthroughs)h]h@Determine if a dentry is really negative (ignoring fallthroughs)}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjrhhubah}(h]h ]h"]h$]h&]uh1jbhjqhhhjqhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1hhhhjDhNhNubj)}(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)}(hjrh]h Parameters}(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.hhMhjrubj)}(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}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhMhjrubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjrubah}(h]h ]h"]h$]h&]uh1jhjrubh)}(h**Description**h]j)}(hj#sh]h Description}(hj%shhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!subah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjrubh)}(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.}(hj9shhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjrubh)}(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 }(hjHshhhNhNubj )}(h*only*h]honly}(hjPshhhNhNubah}(h]h ]h"]h$]h&]uh1j hjHsubhXM 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.}(hjHshhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!d_really_is_positive (C function)c.d_really_is_positivehNtauh1hhjDhhhNhNubh)}(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}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjshhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjshhhjshMubj/)}(hd_really_is_positiveh]j5)}(hd_really_is_positiveh]hd_really_is_positive}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjshhhjshMubj)}(h(const struct dentry *dentry)h]j)}(hconst struct dentry *dentryh](j )}(hjUh]hconst}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubj )}(hjzh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubh)}(hhh]j5)}(hdentryh]hdentry}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj)}j]j)}jjssbc.d_really_is_positiveasbuh1hhjsubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubj*)}(hj-h]h*}(hj,thhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjsubj5)}(hdentryh]hdentry}(hj9thhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjsubah}(h]h ]h"]h$]h&]jLjMuh1jhjshhhjshMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjshhhjshMubah}(h]j|sah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjshMhj~shhubjc)}(hhh]h)}(h@Determine if a dentry is really positive (ignoring fallthroughs)h]h@Determine if a dentry is really positive (ignoring fallthroughs)}(hjcthhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj`thhubah}(h]h ]h"]h$]h&]uh1jbhj~shhhjshMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj{tjj{tjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``const struct dentry *dentry`` The dentry in question **Description** Returns true if the dentry represents a name that maps to an inode (ie. ->d_inode is not NULL). The dentry might still represent a whiteout if that is represented on medium as a 0,0 chardev. Note! (1) This should be used *only* by a filesystem to examine its own dentries. It should not be used to look at some other filesystem's dentries. (2) It should also be used in combination with d_inode() to get the inode.h](h)}(h**Parameters**h]j)}(hjth]h Parameters}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjtubj)}(hhh]j)}(h7``const struct dentry *dentry`` The dentry in question h](j)}(h``const struct dentry *dentry``h]j)}(hjth]hconst struct dentry *dentry}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjtubj)}(hhh]h)}(hThe dentry in questionh]hThe dentry in question}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthMhjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthMhjtubah}(h]h ]h"]h$]h&]uh1jhjtubh)}(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.hhMhjtubh)}(hReturns true if the dentry represents a name that maps to an inode (ie. ->d_inode is not NULL). The dentry might still represent a whiteout if that is represented on medium as a 0,0 chardev.h]hReturns true if the dentry represents a name that maps to an inode (ie. ->d_inode is not NULL). The dentry might still represent a whiteout if that is represented on medium as a 0,0 chardev.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjtubh)}(hNote! (1) This should be used *only* by a filesystem to examine its own dentries. It should not be used to look at some other filesystem's dentries. (2) It should also be used in combination with d_inode() to get the inode.h](hNote! (1) This should be used }(hjuhhhNhNubj )}(h*only*h]honly}(hj uhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjuubh 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.}(hjuhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_inode (C function) c.d_inodehNtauh1hhjDhhhNhNubh)}(hhh](j)}(h4struct inode * d_inode (const struct dentry *dentry)h]j)}(h2struct inode *d_inode(const struct dentry *dentry)h](j )}(hjzh]hstruct}(hjEuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAuhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj)}(h h]h }(hjSuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAuhhhjRuhMubh)}(hhh]j5)}(hinodeh]hinode}(hjduhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjauubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfumodnameN classnameNjj)}j]j)}jd_inodesb c.d_inodeasbuh1hhjAuhhhjRuhMubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAuhhhjRuhMubj*)}(hj-h]h*}(hjuhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjAuhhhjRuhMubj/)}(hd_inodeh]j5)}(hjuh]hd_inode}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjAuhhhjRuhMubj)}(h(const struct dentry *dentry)h]j)}(hconst struct dentry *dentryh](j )}(hjUh]hconst}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj )}(hjzh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubh)}(hhh]j5)}(hdentryh]hdentry}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNjj)}j]ju c.d_inodeasbuh1hhjuubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj*)}(hj-h]h*}(hj$vhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjuubj5)}(hdentryh]hdentry}(hj1vhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjuubah}(h]h ]h"]h$]h&]jLjMuh1jhjAuhhhjRuhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj=uhhhjRuhMubah}(h]j8uah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjRuhMhj:uhhubjc)}(hhh]h)}(h#Get the actual inode of this dentryh]h#Get the actual inode of this dentry}(hj[vhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjXvhhubah}(h]h ]h"]h$]h&]uh1jbhj:uhhhjRuhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsvjjsvjjjuh1hhhhjDhNhNubj)}(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)}(hj}vh]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{vubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjwvubj)}(hhh]j)}(h4``const struct dentry *dentry`` The dentry to query h](j)}(h``const struct dentry *dentry``h]j)}(hjvh]hconst struct dentry *dentry}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjvubj)}(hhh]h)}(hThe dentry to queryh]hThe dentry to query}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhMhjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjvubah}(h]h ]h"]h$]h&]uh1jhjwvubh)}(h**Description**h]j)}(hjvh]h Description}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjwvubh)}(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.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjwvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_inode_rcu (C function) c.d_inode_rcuhNtauh1hhjDhhhNhNubh)}(hhh](j)}(h8struct inode * d_inode_rcu (const struct dentry *dentry)h]j)}(h6struct inode *d_inode_rcu(const struct dentry *dentry)h](j )}(hjzh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj)}(h h]h }(hj*whhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwhhhj)whMubh)}(hhh]j5)}(hinodeh]hinode}(hj;whhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8wubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=wmodnameN classnameNjj)}j]j)}j d_inode_rcusb c.d_inode_rcuasbuh1hhjwhhhj)whMubj)}(h h]h }(hj\whhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwhhhj)whMubj*)}(hj-h]h*}(hjjwhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjwhhhj)whMubj/)}(h d_inode_rcuh]j5)}(hjYwh]h d_inode_rcu}(hj{whhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwwubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjwhhhj)whMubj)}(h(const struct dentry *dentry)h]j)}(hconst struct dentry *dentryh](j )}(hjUh]hconst}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubj )}(hjzh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubh)}(hhh]j5)}(hdentryh]hdentry}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNjj)}j]jWw c.d_inode_rcuasbuh1hhjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubj*)}(hj-h]h*}(hjwhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjwubj5)}(hdentryh]hdentry}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubah}(h]h ]h"]h$]h&]jLjMuh1jhjwhhhj)whMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjwhhhj)whMubah}(h]jwah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj)whMhjwhhubjc)}(hhh]h)}(h4Get the actual inode of this dentry with READ_ONCE()h]h4Get the actual inode of this dentry with READ_ONCE()}(hj2xhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj/xhhubah}(h]h ]h"]h$]h&]uh1jbhjwhhhj)whMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJxjjJxjjjuh1hhhhjDhNhNubj)}(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)}(hjTxh]h Parameters}(hjVxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRxubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjNxubj)}(hhh]j)}(h4``const struct dentry *dentry`` The dentry to query h](j)}(h``const struct dentry *dentry``h]j)}(hjsxh]hconst struct dentry *dentry}(hjuxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqxubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjmxubj)}(hhh]h)}(hThe dentry to queryh]hThe dentry to query}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhMhjxubah}(h]h ]h"]h$]h&]uh1jhjmxubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjjxubah}(h]h ]h"]h$]h&]uh1jhjNxubh)}(h**Description**h]j)}(hjxh]h Description}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjNxubh)}(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.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjNxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_backing_inode (C function)c.d_backing_inodehNtauh1hhjDhhhNhNubh)}(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 )}(hjzh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM&ubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxhhhjyhM&ubh)}(hhh]j5)}(hinodeh]hinode}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj)}j]j)}jd_backing_inodesbc.d_backing_inodeasbuh1hhjxhhhjyhM&ubj)}(h h]h }(hj3yhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxhhhjyhM&ubj*)}(hj-h]h*}(hjAyhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjxhhhjyhM&ubj/)}(hd_backing_inodeh]j5)}(hj0yh]hd_backing_inode}(hjRyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNyubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjxhhhjyhM&ubj)}(h(const struct dentry *upper)h]j)}(hconst struct dentry *upperh](j )}(hjUh]hconst}(hjmyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiyubj)}(h h]h }(hjzyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiyubj )}(hjzh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiyubh)}(hhh]j5)}(hdentryh]hdentry}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj)}j]j.yc.d_backing_inodeasbuh1hhjiyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiyubj*)}(hj-h]h*}(hjyhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjiyubj5)}(hupperh]hupper}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeyubah}(h]h ]h"]h$]h&]jLjMuh1jhjxhhhjyhM&ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjxhhhjyhM&ubah}(h]jxah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjyhM&hjxhhubjc)}(hhh]h)}(h+Get upper or lower inode we should be usingh]h+Get upper or lower inode we should be using}(hj zhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM&hjzhhubah}(h]h ]h"]h$]h&]uh1jbhjxhhhjyhM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!zjj!zjjjuh1hhhhjDhNhNubj)}(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)}(hj+zh]h Parameters}(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.hhM*hj%zubj)}(hhh]j)}(h/``const struct dentry *upper`` The upper layer h](j)}(h``const struct dentry *upper``h]j)}(hjJzh]hconst struct dentry *upper}(hjLzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHzubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM'hjDzubj)}(hhh]h)}(hThe upper layerh]hThe upper layer}(hjczhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_zhM'hj`zubah}(h]h ]h"]h$]h&]uh1jhjDzubeh}(h]h ]h"]h$]h&]uh1jhj_zhM'hjAzubah}(h]h ]h"]h$]h&]uh1jhj%zubh)}(h**Description**h]j)}(hjzh]h Description}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM)hj%zubh)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM(hj%zubh)}(hBNormal filesystems should not use this to access their own inodes.h]hBNormal filesystems should not use this to access their own inodes.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM,hj%zubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_real (C function)c.d_realhNtauh1hhjDhhhNhNubh)}(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 )}(hjzh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM7ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzhhhjzhM7ubh)}(hhh]j5)}(hdentryh]hdentry}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNjj)}j]j)}jd_realsbc.d_realasbuh1hhjzhhhjzhM7ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzhhhjzhM7ubj*)}(hj-h]h*}(hj'{hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjzhhhjzhM7ubj/)}(hd_realh]j5)}(hj{h]hd_real}(hj8{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4{ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjzhhhjzhM7ubj)}(h.(struct dentry *dentry, enum d_real_type type)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjS{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjO{ubj)}(h h]h }(hj`{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjO{ubh)}(hhh]j5)}(hdentryh]hdentry}(hjq{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjn{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjs{modnameN classnameNjj)}j]j{c.d_realasbuh1hhjO{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjO{ubj*)}(hj-h]h*}(hj{hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjO{ubj5)}(hdentryh]hdentry}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjO{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjK{ubj)}(henum d_real_type typeh](j )}(hjh]henum}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubh)}(hhh]j5)}(h d_real_typeh]h d_real_type}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNjj)}j]j{c.d_realasbuh1hhj{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj5)}(htypeh]htype}(hj |hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjK{ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjzhhhjzhM7ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjzhhhjzhM7ubah}(h]jzah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjzhM7hjzhhubjc)}(hhh]h)}(hReturn the real dentryh]hReturn the real dentry}(hj7|hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM7hj4|hhubah}(h]h ]h"]h$]h&]uh1jbhjzhhhjzhM7ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjO|jjO|jjjuh1hhhhjDhNhNubj)}(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)}(hjY|h]h Parameters}(hj[|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW|ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM;hjS|ubj)}(hhh](j)}(h.``struct dentry *dentry`` the dentry to query h](j)}(h``struct dentry *dentry``h]j)}(hjx|h]hstruct dentry *dentry}(hjz|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv|ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM8hjr|ubj)}(hhh]h)}(hthe dentry to queryh]hthe dentry to query}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hM8hj|ubah}(h]h ]h"]h$]h&]uh1jhjr|ubeh}(h]h ]h"]h$]h&]uh1jhj|hM8hjo|ubj)}(hE``enum d_real_type type`` the type of real dentry (data or metadata) h](j)}(h``enum d_real_type type``h]j)}(hj|h]henum d_real_type type}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM9hj|ubj)}(hhh]h)}(h*the type of real dentry (data or metadata)h]h*the type of real dentry (data or metadata)}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hM9hj|ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj|hM9hjo|ubeh}(h]h ]h"]h$]h&]uh1jhjS|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.hhM;hjS|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.hhM:hjS|ubh)}(h+See also: Documentation/filesystems/vfs.rsth]h+See also: Documentation/filesystems/vfs.rst}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM=hjS|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_real_inode (C function)c.d_real_inodehNtauh1hhjDhhhNhNubh)}(hhh](j)}(h9struct inode * d_real_inode (const struct dentry *dentry)h]j)}(h7struct inode *d_real_inode(const struct dentry *dentry)h](j )}(hjzh]hstruct}(hj@}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<}hhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMIubj)}(h h]h }(hjN}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<}hhhjM}hMIubh)}(hhh]j5)}(hinodeh]hinode}(hj_}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetja}modnameN classnameNjj)}j]j)}j d_real_inodesbc.d_real_inodeasbuh1hhj<}hhhjM}hMIubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<}hhhjM}hMIubj*)}(hj-h]h*}(hj}hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj<}hhhjM}hMIubj/)}(h d_real_inodeh]j5)}(hj}}h]h d_real_inode}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj<}hhhjM}hMIubj)}(h(const struct dentry *dentry)h]j)}(hconst struct dentry *dentryh](j )}(hjUh]hconst}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubj )}(hjzh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubh)}(hhh]j5)}(hdentryh]hdentry}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj)}j]j{}c.d_real_inodeasbuh1hhj}ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubj*)}(hj-h]h*}(hj~hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj}ubj5)}(hdentryh]hdentry}(hj,~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj}ubah}(h]h ]h"]h$]h&]jLjMuh1jhj<}hhhjM}hMIubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj8}hhhjM}hMIubah}(h]j3}ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjM}hMIhj5}hhubjc)}(hhh]h)}(h&Return the real inode hosting the datah]h&Return the real inode hosting the data}(hjV~hhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMIhjS~hhubah}(h]h ]h"]h$]h&]uh1jbhj5}hhhjM}hMIubeh}(h]h ](jfunctioneh"]h$]h&]jjjjn~jjn~jjjuh1hhhhjDhNhNubj)}(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)}(hjx~h]h Parameters}(hjz~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv~ubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMMhjr~ubj)}(hhh]j)}(h4``const struct dentry *dentry`` The dentry to query h](j)}(h``const struct dentry *dentry``h]j)}(hj~h]hconst struct dentry *dentry}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMJhj~ubj)}(hhh]h)}(hThe dentry to queryh]hThe dentry to query}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hMJhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMJhj~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&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMLhjr~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.hhMKhjr~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubeh}(h]the-directory-cacheah ]h"]the directory cacheah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hInode Handlingh]hInode Handling}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"inode_init_always_gfp (C function)c.inode_init_always_gfphNtauh1hhjhhhNhNubh)}(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}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj,hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,hhhj>hKubj/)}(hinode_init_always_gfph]j5)}(hinode_init_always_gfph]hinode_init_always_gfp}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj,hhhj>hKubj)}(h8(struct super_block *sb, struct inode *inode, gfp_t gfp)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjSsbc.inode_init_always_gfpasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjiubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.inode_init_always_gfpasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj)hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubj)}(h gfp_t gfph](h)}(hhh]j5)}(hgfp_th]hgfp_t}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTmodnameN classnameNjj)}j]jc.inode_init_always_gfpasbuh1hhjKubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubj5)}(hgfph]hgfp}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubeh}(h]h ]h"]h$]h&]jLjMuh1jhj,hhhj>hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj(hhhj>hKubah}(h]j#ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj>hKhj%hhubjc)}(hhh]h)}(h&perform inode structure initialisationh]h&perform inode structure initialisation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjhhubah}(h]h ]h"]h$]h&]uh1jbhj%hhhj>hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXh**Parameters** ``struct super_block *sb`` superblock inode belongs to ``struct inode *inode`` inode to initialise ``gfp_t gfp`` allocation flags **Description** These are initializations that need to be done on every inode allocation as the fields are not initialised by slab allocation. If there are additional allocations required **gfp** is used.h](h)}(h**Parameters**h]j)}(hjʀh]h Parameters}(hj̀hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȀubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjĀubj)}(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&]uh1hhj7hKhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hKhjubj)}(h``gfp_t gfp`` allocation flags h](j)}(h ``gfp_t gfp``h]j)}(hj[h]h gfp_t gfp}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjUubj)}(hhh]h)}(hallocation flagsh]hallocation flags}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphKhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphKhjubeh}(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.chKhjĀubh)}(hThese are initializations that need to be done on every inode allocation as the fields are not initialised by slab allocation. If there are additional allocations required **gfp** is used.h](hThese are initializations that need to be done on every inode allocation as the fields are not initialised by slab allocation. If there are additional allocations required }(hjhhhNhNubj)}(h**gfp**h]hgfp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is used.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chKhjĀubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdrop_nlink (C function) c.drop_nlinkhNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h drop_nlinkh]j5)}(h drop_nlinkh]h drop_nlink}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubh)}(hhh]j5)}(hinodeh]hinode}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj)}j]j)}jjsb c.drop_nlinkasbuh1hhj&ubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj*)}(hj-h]h*}(hjvhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj&ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj"ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h#directly drop an inode's link counth]h%directly drop an inode’s link count}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjłjjłjjjuh1hhhhjhNhNubj)}(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)}(hjςh]h Parameters}(hjтhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj͂ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjɂubj)}(hhh]j)}(h``struct inode *inode`` inode 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&]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)}(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.}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hclear_nlink (C function) c.clear_nlinkhNtauh1hhjhhhNhNubh)}(hhh](j)}(h&void clear_nlink (struct inode *inode)h]j)}(h%void clear_nlink(struct inode *inode)h](j)}(hvoidh]hvoid}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjhhhj|hMubj/)}(h clear_nlinkh]j5)}(h clear_nlinkh]h clear_nlink}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjjhhhj|hMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjɃhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjƃubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj˃modnameN classnameNjj)}j]j)}jjsb c.clear_nlinkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjjhhhj|hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjfhhhj|hMubah}(h]jaah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj|hMhjchhubjc)}(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&]uh1jbhjchhhj|hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1hhhhjhNhNubj)}(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)}(hjPh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjJubj)}(hhh]j)}(h``struct inode *inode`` inode h](j)}(h``struct inode *inode``h]j)}(hjoh]hstruct inode *inode}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjiubj)}(hhh]h)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhjfubah}(h]h ]h"]h$]h&]uh1jhjJubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjJubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hset_nlink (C function) c.set_nlinkhNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h set_nlinkh]j5)}(h set_nlinkh]h set_nlink}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h)(struct inode *inode, unsigned int nlink)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubh)}(hhh]j5)}(hinodeh]hinode}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNjj)}j]j)}jjsb c.set_nlinkasbuh1hhj(ubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj*)}(hj-h]h*}(hjxhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj(ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj$ubj)}(hunsigned int nlinkh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjȅhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hnlinkh]hnlink}(hjօhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj$ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chMhj;ubj)}(hhh]h)}(hinodeh]hinode}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhj8ubj)}(h6``unsigned int nlink`` new nlink (should be non-zero) h](j)}(h``unsigned int nlink``h]j)}(hjzh]hunsigned int nlink}(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.chMhjtubj)}(hhh]h)}(hnew nlink (should be non-zero)h]hnew nlink (should be non-zero)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhMhj8ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(h_This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink.h]h_This is a low-level filesystem helper to replace any direct filesystem manipulation of i_nlink.}(hjˆhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinc_nlink (C function) c.inc_nlinkhNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h inc_nlinkh]j5)}(h inc_nlinkh]h inc_nlink}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubh)}(hhh]j5)}(hinodeh]hinode}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNjj)}j]j)}jjsb c.inc_nlinkasbuh1hhj3ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h(directly increment an inode's link counth]h*directly increment 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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj҇jj҇jjjuh1hhhhjhNhNubj)}(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}(hjއhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڇubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjևubj)}(hhh]j)}(h``struct inode *inode`` inode 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&]uh1jhjևubh)}(h**Description**h]j)}(hj6h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjևubh)}(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().}(hjLhhhNhNubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_sb_list_add (C function)c.inode_sb_list_addhNtauh1hhjhhhNhNubh)}(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}(hj{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjwhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwhhhjhMubj/)}(hinode_sb_list_addh]j5)}(hinode_sb_list_addh]hinode_sb_list_add}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjwhhhjhMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjňhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjֈhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjӈubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj؈modnameN classnameNjj)}j]j)}jjsbc.inode_sb_list_addasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjwhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjshhhjhMubah}(h]jnah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjphhubjc)}(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.chMhj8hhubah}(h]h ]h"]h$]h&]uh1jbhjphhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSjjSjjjuh1hhhhjhNhNubj)}(h6**Parameters** ``struct inode *inode`` inode to addh](h)}(h**Parameters**h]j)}(hj]h]h Parameters}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjWubj)}(hhh]j)}(h$``struct inode *inode`` inode to addh](j)}(h``struct inode *inode``h]j)}(hj|h]hstruct inode *inode}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjvubj)}(hhh]h)}(h inode to addh]h inode to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __insert_inode_hash (C function)c.__insert_inode_hashhNtauh1hhjhhhNhNubh)}(hhh](j)}(hEvoid __insert_inode_hash (struct inode *inode, unsigned long hashval)h]j)}(hDvoid __insert_inode_hash(struct inode *inode, unsigned long hashval)h](j)}(hvoidh]hvoid}(hj։hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj҉hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj҉hhhjhMubj/)}(h__insert_inode_hashh]j5)}(h__insert_inode_hashh]h__insert_inode_hash}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj҉hhhjhMubj)}(h,(struct inode *inode, unsigned long hashval)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj)}j]j)}jjsbc.__insert_inode_hashasbuh1hhjubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj_hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hunsigned long hashvalh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hhashvalh]hhashval}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj҉hhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjΉhhhjhMubah}(h]jɉah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjˉhhubjc)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjˉhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct inode *inode`` unhashed inode ``unsigned long hashval`` unsigned long 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)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h'``struct inode *inode`` unhashed 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:29: ./fs/inode.chMhj"ubj)}(hhh]h)}(hunhashed inodeh]hunhashed inode}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubj)}(ha``unsigned long hashval`` unsigned long value used to locate this object in the inode_hashtable. h](j)}(h``unsigned long hashval``h]j)}(hjah]hunsigned long hashval}(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.chMhj[ubj)}(hhh]h)}(hFunsigned long value used to locate this object in the inode_hashtable.h]hFunsigned long value used to locate this object in the inode_hashtable.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjubeh}(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 block_quote)}(h3Add an inode to the inode hash for this superblock.h]h)}(hjh]h3Add an inode to the inode hash for this superblock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubah}(h]h ]h"]h$]h&]uh1jhjƋhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __remove_inode_hash (C function)c.__remove_inode_hashhNtauh1hhjhhhNhNubh)}(hhh](j)}(h.void __remove_inode_hash (struct inode *inode)h]j)}(h-void __remove_inode_hash(struct inode *inode)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h__remove_inode_hashh]j5)}(h__remove_inode_hashh]h__remove_inode_hash}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubh)}(hhh]j5)}(hinodeh]hinode}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj)}j]j)}jjsbc.__remove_inode_hashasbuh1hhj&ubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj*)}(hj-h]h*}(hjvhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj&ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj"ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hremove an inode from the hashh]hremove an inode from the hash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjŌjjŌjjjuh1hhhhjhNhNubj)}(hu**Parameters** ``struct inode *inode`` inode to unhash **Description** Remove an inode from the superblock.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 *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&]uh1jhjhMhjubah}(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Ɍubj)}(h$Remove an inode from the superblock.h]h)}(hjAh]h$Remove an inode from the superblock.}(hjChhhNhNubah}(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&]uh1jhjPhMhjɌubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hevict_inodes (C function)c.evict_inodeshNtauh1hhjhhhNhNubh)}(hhh](j)}(h*void evict_inodes (struct super_block *sb)h]j)}(h)void evict_inodes(struct super_block *sb)h](j)}(hvoidh]hvoid}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjshhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjshhhjhM~ubj/)}(h evict_inodesh]j5)}(h evict_inodesh]h evict_inodes}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjshhhjhM~ubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjҍhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjύubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjԍmodnameN classnameNjj)}j]j)}jjsbc.evict_inodesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjshhhjhM~ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjohhhjhM~ubah}(h]jjah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM~hjlhhubjc)}(hhh]h)}(h+evict all evictable inodes for a superblockh]h+evict all evictable inodes for a superblock}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM~hj4hhubah}(h]h ]h"]h$]h&]uh1jbhjlhhhjhM~ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhjhNhNubj)}(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)}(hjYh]h Parameters}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjSubj)}(hhh]j)}(h4``struct super_block *sb`` superblock to operate on h](j)}(h``struct super_block *sb``h]j)}(hjxh]hstruct super_block *sb}(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)}(hsuperblock to operate onh]hsuperblock to operate on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjSubh)}(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.}(hjɎhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnew_inode (C function) c.new_inodehNtauh1hhjhhhNhNubh)}(hhh](j)}(h1struct inode * new_inode (struct super_block *sb)h]j)}(h/struct inode *new_inode(struct super_block *sb)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j new_inodesb c.new_inodeasbuh1hhjhhhjhMubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hjFhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(h new_inodeh]j5)}(hj5h]h new_inode}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j3 c.new_inodeasbuh1hhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjnubj5)}(hsbh]hsb}(hjɏhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(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)}(hj4h]hstruct super_block *sb}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj.ubj)}(hhh]h)}(h superblockh]h superblock}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhj+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.chMhjubj)}(hX^Allocates a new inode for given superblock. The default gfp_mask for allocations related to inode->i_mapping is GFP_HIGHUSER_MOVABLE. If HIGHMEM pages are unsuitable or it is known that pages allocated for the page cache are not reclaimable or migratable, mapping_set_gfp_mask() must be called with suitable flags on the newly created inode's mappingh]h)}(hX^Allocates a new inode for given superblock. The default gfp_mask for allocations related to inode->i_mapping is GFP_HIGHUSER_MOVABLE. If HIGHMEM pages are unsuitable or it is known that pages allocated for the page cache are not reclaimable or migratable, mapping_set_gfp_mask() must be called with suitable flags on the newly created inode's mappingh]hX`Allocates a new inode for given superblock. The default gfp_mask for allocations related to inode->i_mapping is GFP_HIGHUSER_MOVABLE. If HIGHMEM pages are unsuitable or it is known that pages allocated for the page cache are not reclaimable or migratable, mapping_set_gfp_mask() must be called with suitable flags on the newly created inode’s mapping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hunlock_new_inode (C function)c.unlock_new_inodehNtauh1hhjhhhNhNubh)}(hhh](j)}(h+void unlock_new_inode (struct inode *inode)h]j)}(h*void unlock_new_inode(struct inode *inode)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hj͐hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj̐hMubj/)}(hunlock_new_inodeh]j5)}(hunlock_new_inodeh]hunlock_new_inode}(hjߐhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjېubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj̐hMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.unlock_new_inodeasbuh1hhjubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjGhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj̐hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj̐hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj̐hMhjhhubjc)}(hhh]h)}(h-clear the I_NEW state and wake up any waitersh]h-clear the I_NEW state and wake up any waiters}(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&]uh1jbhjhhhj̐hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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`` new inode to unlock 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)}(hnew inode to unlockh]hnew inode to unlock}(hjؑhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjԑhMhjՑubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjԑhMhjubah}(h]h ]h"]h$]h&]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)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$lock_two_nondirectories (C function)c.lock_two_nondirectorieshNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhj;hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;hhhjMhMubj/)}(hlock_two_nondirectoriesh]j5)}(hlock_two_nondirectoriesh]hlock_two_nondirectories}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj;hhhjMhMubj)}(h,(struct inode *inode1, struct inode *inode2)h](j)}(hstruct inode *inode1h](j )}(hjzh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjbsbc.lock_two_nondirectoriesasbuh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubj*)}(hj-h]h*}(hjȒhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjxubj5)}(hinode1h]hinode1}(hjՒhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjtubj)}(hstruct inode *inode2h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.lock_two_nondirectoriesasbuh1hhjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj8hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinode2h]hinode2}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjtubeh}(h]h ]h"]h$]h&]jLjMuh1jhj;hhhjMhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj7hhhjMhMubah}(h]j2ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjMhMhj4hhubjc)}(hhh]h)}(h+take two i_mutexes on non-directory objectsh]h+take two i_mutexes on non-directory objects}(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&]uh1jbhj4hhhjMhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct inode *inode1`` first inode to lock ``struct inode *inode2`` second inode to lock **Description** Lock any non-NULL argument. Passed objects must not be directories. Zero, one or two objects may be locked by this function.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h-``struct inode *inode1`` first inode to lock h](j)}(h``struct inode *inode1``h]j)}(hjh]hstruct inode *inode1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hfirst inode to lockh]hfirst inode to lock}(hjɓhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjœhMhjƓubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjœhMhjubj)}(h.``struct 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.chMhjubj)}(hhh]h)}(hsecond inode to lockh]hsecond inode to lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj$h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(h|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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&unlock_two_nondirectories (C function)c.unlock_two_nondirectorieshNtauh1hhjhhhNhNubh)}(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}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjehhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjehhhjwhMubj/)}(hunlock_two_nondirectoriesh]j5)}(hunlock_two_nondirectoriesh]hunlock_two_nondirectories}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjehhhjwhMubj)}(h,(struct inode *inode1, struct inode *inode2)h](j)}(hstruct inode *inode1h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjĔhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjƔmodnameN classnameNjj)}j]j)}jjsbc.unlock_two_nondirectoriesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinode1h]hinode1}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *inode2h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj)}j]jc.unlock_two_nondirectoriesasbuh1hhjubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjbhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinode2h]hinode2}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjehhhjwhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjahhhjwhMubah}(h]j\ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjwhMhj^hhubjc)}(hhh]h)}(h,release locks from lock_two_nondirectories()h]h,release locks from lock_two_nondirectories()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj^hhhjwhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hs**Parameters** ``struct inode *inode1`` first inode to unlock ``struct inode *inode2`` second inode to unlockh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h/``struct inode *inode1`` first inode to unlock h](j)}(h``struct inode *inode1``h]j)}(hjڕh]hstruct inode *inode1}(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)}(hfirst inode to unlockh]hfirst inode to unlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjԕubeh}(h]h ]h"]h$]h&]uh1jhjhMhjѕubj)}(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.chMhj ubj)}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhjѕubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_insert5 (C function)c.inode_insert5hNtauh1hhjhhhNhNubh)}(hhh](j)}(hstruct inode * inode_insert5 (struct inode *inode, unsigned long hashval, int (*test)(struct inode *, void *), int (*set)(struct inode *, void *), void *data)h]j)}(hstruct inode *inode_insert5(struct inode *inode, unsigned long hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](j )}(hjzh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjihhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjihhhjzhMubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j inode_insert5sbc.inode_insert5asbuh1hhjihhhjzhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjihhhjzhMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjihhhjzhMubj/)}(h inode_insert5h]j5)}(hjh]h inode_insert5}(hj̖hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjȖubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjihhhjzhMubj)}(h}(struct inode *inode, unsigned long hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.inode_insert5asbuh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj1hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjߖubj)}(hunsigned long hashvalh](j)}(hunsignedh]hunsigned}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjSubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubj)}(hlongh]hlong}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjSubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubj5)}(hhashvalh]hhashval}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjߖubj)}(h!int (*test)(struct inode*, void*)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(h(h]h(}(hjėhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hjҗhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htesth]htest}(hjߗhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(h)h]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hj&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNjj)}j]jc.inode_insert5asbuh1hhjubj*)}(hj-h]h*}(hjDhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(h,h]h,}(hjQhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj{hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjߖubj)}(h int (*set)(struct inode*, void*)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hjɘhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hseth]hset}(hj֘hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.inode_insert5asbuh1hhjubj*)}(hj-h]h*}(hj:hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjSh]h,}(hjGhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjphhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h)}(hj}hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjߖubj)}(h void *datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjߖubeh}(h]h ]h"]h$]h&]jLjMuh1jhjihhhjzhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjehhhjzhMubah}(h]j`ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjzhMhjbhhubjc)}(hhh]h)}(h*obtain an inode from a mounted file systemh]h*obtain an inode from a mounted file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjbhhhjzhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct inode *inode`` pre-allocated inode to use for insert to cache ``unsigned long 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)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh](j)}(hG``struct inode *inode`` pre-allocated inode to use for insert to cache h](j)}(h``struct inode *inode``h]j)}(hj)h]hstruct inode *inode}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj#ubj)}(hhh]h)}(h.pre-allocated inode to use for insert to cacheh]h.pre-allocated inode to use for insert to cache}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhj ubj)}(hC``unsigned long hashval`` hash value (usually inode number) to get h](j)}(h``unsigned long hashval``h]j)}(hjbh]hunsigned long hashval}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj\ubj)}(hhh]h)}(h(hash value (usually inode number) to geth]h(hash value (usually inode number) to get}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhj ubj)}(hU``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hjh]h#int (*test)(struct inode *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.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&]uh1jhjhMhj ubj)}(hV``int (*set)(struct inode *, void *)`` callback used to initialize a new struct inode h](j)}(h&``int (*set)(struct inode *, void *)``h]j)}(hjԚh]h"int (*set)(struct inode *, void *)}(hj֚hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҚubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjΚubj)}(hhh]h)}(h.callback used to initialize a new struct inodeh]h.callback used to initialize a new struct inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjΚubeh}(h]h ]h"]h$]h&]uh1jhjhM hj ubj)}(hC``void *data`` opaque data pointer to pass to **test** and **set** h](j)}(h``void *data``h]j)}(hj h]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]h)}(h3opaque data pointer to pass to **test** and **set**h](hopaque data pointer to pass to }(hj&hhhNhNubj)}(h**test**h]htest}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh and }(hj&hhhNhNubj)}(h**set**h]hset}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1hhj"hM hj#ubah}(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)}(hjhh]h Description}(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.chM hjubh)}(hSearch for the inode specified by **hashval** and **data** in the inode cache, and if present return it with an increased reference count. This is a variant of iget5_locked() that doesn't allocate an inode.h](h"Search for the inode specified by }(hj~hhhNhNubj)}(h **hashval**h]hhashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh and }(hj~hhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh in the inode cache, and if present return it with an increased reference count. This is a variant of iget5_locked() that doesn’t allocate an inode.}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(hIf the inode is not present in the cache, insert the pre-allocated inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode().h]hIf the inode is not present in the cache, insert the pre-allocated inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hbNote that both **test** and **set** are called with the inode_hash_lock held, so they can't sleep.h](hNote that both }(hjhhhNhNubj)}(h**test**h]htest}(hjțhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**set**h]hset}(hjڛhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhA are called with the inode_hash_lock held, so they can’t sleep.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](higet5_locked (C function)c.iget5_lockedhNtauh1hhjhhhNhNubh)}(hhh](j)}(hstruct inode * iget5_locked (struct super_block *sb, unsigned long hashval, int (*test)(struct inode *, void *), int (*set)(struct inode *, void *), void *data)h]j)}(hstruct inode *iget5_locked(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMRubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMRubh)}(hhh]j5)}(hinodeh]hinode}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj)}j]j)}j iget5_lockedsbc.iget5_lockedasbuh1hhjhhhj hMRubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMRubj*)}(hj-h]h*}(hjahhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhj hMRubj/)}(h iget5_lockedh]j5)}(hjPh]h iget5_locked}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hMRubj)}(h(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jNc.iget5_lockedasbuh1hhjubj)}(h h]h }(hjɜhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjלhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned long hashvalh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hhashvalh]hhashval}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h!int (*test)(struct inode*, void*)h](j)}(hinth]hint}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjJubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubj*)}(hjƗh]h(}(hjjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjJubj*)}(hj-h]h*}(hjwhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjJubj5)}(htesth]htest}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjJubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjJubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubh)}(hhh]j5)}(hinodeh]hinode}(hjʝhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjǝubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj̝modnameN classnameNjj)}j]jNc.iget5_lockedasbuh1hhjJubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjJubj*)}(hjSh]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjJubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjJubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjJubj*)}(hjh]h)}(hj+hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjJubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int (*set)(struct inode*, void*)h](j)}(hinth]hint}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj?ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubj*)}(hjƗh]h(}(hj_hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj?ubj*)}(hj-h]h*}(hjlhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj?ubj5)}(hseth]hset}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj?ubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj?ubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jNc.iget5_lockedasbuh1hhj?ubj*)}(hj-h]h*}(hjݞhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj?ubj*)}(hjSh]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj?ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj?ubj*)}(hjh]h)}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj?ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *datah](j)}(hvoidh]hvoid}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj4ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj*)}(hj-h]h*}(hjThhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj4ubj5)}(hdatah]hdata}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj hMRubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj hMRubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMRhjhhubjc)}(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.chMRhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj hMRubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct super_block *sb`` super block of file system ``unsigned long hashval`` hash value (usually inode number) to get ``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes ``int (*set)(struct inode *, void *)`` callback used to initialize a new struct inode ``void *data`` opaque data pointer to pass to **test** and **set** **Description** Search for the inode specified by **hashval** and **data** in the inode cache, and if present return it with an increased reference count. This is a generalized version of iget_locked() for file systems where the inode number is not sufficient for unique identification of an inode. If the inode is not present in the cache, allocate and insert a new inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode(). Note that both **test** and **set** are called with the inode_hash_lock held, so they can't sleep.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMVhjubj)}(hhh](j)}(h6``struct super_block *sb`` super block of file system h](j)}(h``struct super_block *sb``h]j)}(hj̟h]hstruct super_block *sb}(hjΟhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjʟubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMShjƟubj)}(hhh]h)}(hsuper block of file systemh]hsuper block of file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjƟubeh}(h]h ]h"]h$]h&]uh1jhjhMShjßubj)}(hC``unsigned long hashval`` hash value (usually inode number) to get h](j)}(h``unsigned long hashval``h]j)}(hjh]hunsigned long 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.chMThjubj)}(hhh]h)}(h(hash value (usually inode number) to geth]h(hash value (usually inode number) to get}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjßubj)}(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.chMUhj8ubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMUhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMUhjßubj)}(hV``int (*set)(struct inode *, void *)`` callback used to initialize a new struct inode h](j)}(h&``int (*set)(struct inode *, void *)``h]j)}(hjwh]h"int (*set)(struct inode *, void *)}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMVhjqubj)}(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&]uh1hhjhMVhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMVhjßubj)}(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.chMWhjubj)}(hhh]h)}(h3opaque data pointer to pass to **test** and **set**h](hopaque data pointer to pass to }(hjɠhhhNhNubj)}(h**test**h]htest}(hjѠhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɠubh and }(hjɠhhhNhNubj)}(h**set**h]hset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɠubeh}(h]h ]h"]h$]h&]uh1hhjŠhMWhjƠubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjŠhMWhjßubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMYhjubh)}(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 }(hj!hhhNhNubj)}(h **hashval**h]hhashval}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh and }(hj!hhhNhNubj)}(h**data**h]hdata}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubh 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.}(hj!hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMXhjubh)}(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().}(hjThhhNhNubah}(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 }(hjchhhNhNubj)}(h**test**h]htest}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh and }(hjchhhNhNubj)}(h**set**h]hset}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubhA are called with the inode_hash_lock held, so they can’t sleep.}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMahjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](higet5_locked_rcu (C function)c.iget5_locked_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(hstruct inode * iget5_locked_rcu (struct super_block *sb, unsigned long hashval, int (*test)(struct inode *, void *), int (*set)(struct inode *, void *), void *data)h]j)}(hstruct inode *iget5_locked_rcu(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMyubj)}(h h]h }(hjġhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjáhMyubh)}(hhh]j5)}(hinodeh]hinode}(hjաhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjҡubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjסmodnameN classnameNjj)}j]j)}jiget5_locked_rcusbc.iget5_locked_rcuasbuh1hhjhhhjáhMyubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjáhMyubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjáhMyubj/)}(higet5_locked_rcuh]j5)}(hjh]higet5_locked_rcu}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjáhMyubj)}(h(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), int (*set)(struct inode*, void*), void *data)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubh)}(hhh]j5)}(h super_blockh]h super_block}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j]jc.iget5_locked_rcuasbuh1hhj,ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubj*)}(hj-h]h*}(hjzhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj,ubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj(ubj)}(hunsigned long hashvalh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjʢhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hhashvalh]hhashval}(hjآhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj(ubj)}(h!int (*test)(struct inode*, void*)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hjƗh]h(}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htesth]htest}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjh]h)}(hj5hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjƗh]h(}(hjBhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNjj)}j]jc.iget5_locked_rcuasbuh1hhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjSh]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h)}(hjΣhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj(ubj)}(h int (*set)(struct inode*, void*)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hseth]hset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjh]h)}(hj*hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjƗh]h(}(hj7hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNjj)}j]jc.iget5_locked_rcuasbuh1hhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjSh]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h)}(hjähhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj(ubj)}(h void *datah](j)}(hvoidh]hvoid}(hjۤhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjפubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjפubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjפubj5)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjפubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj(ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjáhMyubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjáhMyubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjáhMyhjhhubjc)}(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.chMyhj+hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjáhMyubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct super_block *sb`` super block of file system ``unsigned long 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)}(hjPh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM}hjJubj)}(hhh](j)}(h6``struct super_block *sb`` super block of file system h](j)}(h``struct super_block *sb``h]j)}(hjoh]hstruct super_block *sb}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMzhjiubj)}(hhh]h)}(hsuper block of file systemh]hsuper block of file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjfubj)}(hC``unsigned long hashval`` hash value (usually inode number) to get h](j)}(h``unsigned long hashval``h]j)}(hjh]hunsigned long 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.chM{hjubj)}(hhh]h)}(h(hash value (usually inode number) to geth]h(hash value (usually inode number) to get}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM{hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM{hjfubj)}(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&]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,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&]uh1jhjۥubeh}(h]h ]h"]h$]h&]uh1jhjhM|hjfubj)}(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.chM}hjubj)}(hhh]h)}(h.callback used to initialize a new struct inodeh]h.callback used to initialize a new struct inode}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hM}hj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hM}hjfubj)}(hC``void *data`` opaque data pointer to pass to **test** and **set** h](j)}(h``void *data``h]j)}(hjSh]h void *data}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM~hjMubj)}(hhh]h)}(h3opaque data pointer to pass to **test** and **set**h](hopaque data pointer to pass to }(hjlhhhNhNubj)}(h**test**h]htest}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh and }(hjlhhhNhNubj)}(h**set**h]hset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1hhjhhM~hjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhM~hjfubeh}(h]h ]h"]h$]h&]uh1jhjJubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjJubh)}(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 }(hjĦhhhNhNubj)}(h**test**h]htest}(hj̦hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjĦubhQ callback must tolerate the inode not being stable, including being mid-teardown.}(hjĦhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](higet_locked (C function) c.iget_lockedhNtauh1hhjhhhNhNubh)}(hhh](j)}(hFstruct inode * iget_locked (struct super_block *sb, unsigned long ino)h]j)}(hDstruct inode *iget_locked(struct super_block *sb, unsigned long ino)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(hinodeh]hinode}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNjj)}j]j)}j iget_lockedsb c.iget_lockedasbuh1hhjhhhjhMubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hjShhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(h iget_lockedh]j5)}(hjBh]h iget_locked}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h+(struct super_block *sb, unsigned long ino)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j@ c.iget_lockedasbuh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj*)}(hj-h]h*}(hjɧhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj{ubj5)}(hsbh]hsb}(hj֧hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubj)}(hunsigned long inoh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hlongh]hlong}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hinoh]hino}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h*obtain an inode from a mounted file systemh]h*obtain an inode from a mounted file system}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjNhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhjhNhNubj)}(hX#**Parameters** ``struct super_block *sb`` super block of file system ``unsigned long 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)}(hjsh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjmubj)}(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.chMhjubj)}(hhh]h)}(hsuper block of file systemh]hsuper block of file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h*``unsigned long ino`` inode number to get h](j)}(h``unsigned long ino``h]j)}(hj˨h]hunsigned long ino}(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)}(hinode number to geth]hinode number to get}(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&]uh1jhjmubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjmubh)}(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}(hj$hhhNhNubah}(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.chMhjmubh)}(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().}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hiunique (C function) c.iuniquehNtauh1hhjhhhNhNubh)}(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]j5)}(hino_th]hino_t}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj)}j]j)}jiuniquesb c.iuniqueasbuh1hhjhhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhhjhMubj/)}(hiuniqueh]j5)}(hjh]hiunique}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhhjhMubj)}(h,(struct super_block *sb, ino_t max_reserved)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj˩hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjܩhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj٩ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjީmodnameN classnameNjj)}j]j c.iuniqueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hino_t max_reservedh](h)}(hhh]j5)}(hino_th]hino_t}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj)}j]j c.iuniqueasbuh1hhj*ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubj5)}(h max_reservedh]h max_reserved}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjdhhhjhMubah}(h]j_ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjahhubjc)}(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&]uh1jbhjahhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct super_block *sb`` superblock ``ino_t max_reserved`` highest reserved inode number **Description** Obtain an inode number that is unique on the system for a given superblock. This is used by file systems that have no natural permanent inode numbering system. An inode number is returned that is higher than the reserved limit but unique. BUGS: With a large number of inodes live on the file system this function currently becomes quite slow.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(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&]uh1hhjݪhMhjުubah}(h]h ]h"]h$]h&]uh1jhjªubeh}(h]h ]h"]h$]h&]uh1jhjݪhMhjubj)}(h5``ino_t max_reserved`` highest reserved inode number h](j)}(h``ino_t max_reserved``h]j)}(hjh]hino_t max_reserved}(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)}(hhighest reserved inode numberh]hhighest reserved inode number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj<h]h Description}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(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.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjRubh)}(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.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjRubeh}(h]h ]h"]h$]h&]uh1jhjdhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hilookup5_nowait (C function)c.ilookup5_nowaithNtauh1hhjhhhNhNubh)}(hhh](j)}(hstruct inode * ilookup5_nowait (struct super_block *sb, unsigned long hashval, int (*test)(struct inode *, void *), void *data, bool *isnew)h]j)}(hstruct inode *ilookup5_nowait(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), void *data, bool *isnew)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMAubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMAubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jilookup5_nowaitsbc.ilookup5_nowaitasbuh1hhjhhhjhMAubj)}(h h]h }(hjګhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMAubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMAubj/)}(hilookup5_nowaith]j5)}(hj׫h]hilookup5_nowait}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMAubj)}(hk(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), void *data, bool *isnew)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj)}j]jիc.ilookup5_nowaitasbuh1hhjubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj^hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hunsigned long hashvalh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hhashvalh]hhashval}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h!int (*test)(struct inode*, void*)h](j)}(hinth]hint}(hjլhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjѬubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjѬubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjѬubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjѬubj5)}(htesth]htest}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjѬubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjѬubj*)}(hjƗh]h(}(hj&hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjѬubj )}(hjzh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjѬubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjѬubh)}(hhh]j5)}(hinodeh]hinode}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj)}j]jիc.ilookup5_nowaitasbuh1hhjѬubj*)}(hj-h]h*}(hjohhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjѬubj*)}(hjSh]h,}(hj|hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjѬubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjѬubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjѬubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjѬubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjѬubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h void *datah](j)}(hvoidh]hvoid}(hjʭhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjƭubj)}(h h]h }(hjحhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjƭubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjƭubj5)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjƭubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h bool *isnewh](j)}(hjh]hbool}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj'hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hisnewh]hisnew}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMAubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMAubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMAhjhhubjc)}(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.chMAhj[hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMAubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhjhNhNubj)}(hXb**Parameters** ``struct super_block *sb`` super block of file system to search ``unsigned long 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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMEhjzubj)}(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.chMBhjubj)}(hhh]h)}(h$super block of file system to searchh]h$super block of file system to search}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubj)}(hJ``unsigned long hashval`` hash value (usually inode number) to search for h](j)}(h``unsigned long hashval``h]j)}(hjخh]hunsigned long 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.chMChjҮ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&]uh1hhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjҮubeh}(h]h ]h"]h$]h&]uh1jhjhMChjubj)}(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.chMDhj ubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hMDhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMDhjubj)}(h7``void *data`` opaque data pointer to pass to **test** h](j)}(h``void *data``h]j)}(hjJh]h void *data}(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.chMEhjDubj)}(hhh]h)}(h'opaque data pointer to pass to **test**h](hopaque data pointer to pass to }(hjchhhNhNubj)}(h**test**h]htest}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1hhj_hMEhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMEhjubj)}(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.chMHhjubj)}(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.chMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhjubeh}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMJhjzubh)}(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 }(hjhhhNhNubj)}(h **hashval**h]hhashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhm in the inode cache. If the inode is in the cache, the inode is returned with an incremented reference count.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMIhjzubh)}(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.chMMhjzubh)}(hI_NEW is not waited upon so you have to be very careful what you do with the returned inode. You probably should be using ilookup5() instead.h]hI_NEW is not waited upon so you have to be very careful what you do with the returned inode. You probably should be using ilookup5() instead.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMNhjzubh)}(hHNote2: **test** is called with the inode_hash_lock held, so can't sleep.h](hNote2: }(hj=hhhNhNubj)}(h**test**h]htest}(hjEhhhNhNubah}(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.chMQhjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hilookup5 (C function) c.ilookup5hNtauh1hhjhhhNhNubh)}(hhh](j)}(hxstruct inode * ilookup5 (struct super_block *sb, unsigned long hashval, int (*test)(struct inode *, void *), void *data)h]j)}(htstruct inode *ilookup5(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), void *data)h](j )}(hjzh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMbubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzhhhjhMbubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jilookup5sb c.ilookup5asbuh1hhjzhhhjhMbubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzhhhjhMbubj*)}(hj-h]h*}(hj̰hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjzhhhjhMbubj/)}(hilookup5h]j5)}(hjh]hilookup5}(hjݰhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjٰubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjzhhhjhMbubj)}(h^(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), void *data)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.ilookup5asbuh1hhjubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjBhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned long hashvalh](j)}(hunsignedh]hunsigned}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjdubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj5)}(hhashvalh]hhashval}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h!int (*test)(struct inode*, void*)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjDZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hjƗh]h(}(hjձhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htesth]htest}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjƗh]h(}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNjj)}j]j c.ilookup5asbuh1hhjubj*)}(hj-h]h*}(hjShhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjSh]h,}(hj`hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hj{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjʲhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdatah]hdata}(hjײhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjzhhhjhMbubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjvhhhjhMbubah}(h]jqah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMbhjshhubjc)}(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.chMbhjhhubah}(h]h ]h"]h$]h&]uh1jbhjshhhjhMbubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct super_block *sb`` super block of file system to search ``unsigned long 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)}(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.chMfhjubj)}(hhh](j)}(h@``struct super_block *sb`` super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hjBh]hstruct super_block *sb}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMchj<ubj)}(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&]uh1hhjWhMchjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMchj9ubj)}(hJ``unsigned long hashval`` hash value (usually inode number) to search for h](j)}(h``unsigned long hashval``h]j)}(hj{h]hunsigned long hashval}(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.chMdhjuubj)}(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&]uh1hhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMdhj9ubj)}(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.chMehjubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hjͳhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjɳhMehjʳubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjɳhMehj9ubj)}(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.chMfhjubj)}(hhh]h)}(h'opaque data pointer to pass to **test**h](hopaque data pointer to pass to }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMfhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMfhj9ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj6h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhhjubh)}(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 }(hjLhhhNhNubj)}(h **hashval**h]hhashval}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh and }(hjLhhhNhNubj)}(h**data**h]hdata}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh 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.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMghjubh)}(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.chMlhjubh)}(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.chMohjubh)}(hA**test** is called with the inode_hash_lock held, so can't sleep.h](j)}(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.chMphjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hilookup (C function) c.ilookuphNtauh1hhjhhhNhNubh)}(hhh](j)}(hBstruct inode * ilookup (struct super_block *sb, unsigned long ino)h]j)}(h@struct inode *ilookup(struct super_block *sb, unsigned long ino)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjߴhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjߴhhhjhMubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jilookupsb c.ilookupasbuh1hhjߴhhhjhMubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjߴhhhjhMubj*)}(hj-h]h*}(hj1hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjߴhhhjhMubj/)}(hilookuph]j5)}(hj h]hilookup}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjߴhhhjhMubj)}(h+(struct super_block *sb, unsigned long ino)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubh)}(hhh]j5)}(h super_blockh]h super_block}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj)}j]j c.ilookupasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjYubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjUubj)}(hunsigned long inoh](j)}(hunsignedh]hunsigned}(hj͵hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjɵubj)}(h h]h }(hj۵hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjɵubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjɵubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjɵubj5)}(hinoh]hino}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjɵubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjUubeh}(h]h ]h"]h$]h&]jLjMuh1jhjߴhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj۴hhhjhMubah}(h]jִah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjشhhubjc)}(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.chMhj,hhubah}(h]h ]h"]h$]h&]uh1jbhjشhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGjjGjjjuh1hhhhjhNhNubj)}(hX%**Parameters** ``struct super_block *sb`` super block of file system to search ``unsigned long 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)}(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 super_block *sb`` super block of file system to search 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:29: ./fs/inode.chMhjjubj)}(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&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjgubj)}(h1``unsigned long ino`` inode number to search for h](j)}(h``unsigned long ino``h]j)}(hjh]hunsigned long 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}(hj¶hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjgubeh}(h]h ]h"]h$]h&]uh1jhjKubh)}(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.chMhjKubh)}(hSearch for the inode **ino** in the inode cache, and if the inode is in the cache, the inode is returned with an incremented reference count.h](hSearch for the inode }(hjhhhNhNubj)}(h**ino**h]hino}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhq in the inode cache, and if the inode is in the cache, the inode is returned with an incremented reference count.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfind_inode_nowait (C function)c.find_inode_nowaithNtauh1hhjhhhNhNubh)}(hhh](j)}(hstruct inode * find_inode_nowait (struct super_block *sb, unsigned long hashval, int (*match)(struct inode *, unsigned long, void *), void *data)h]j)}(hstruct inode *find_inode_nowait(struct super_block *sb, unsigned long hashval, int (*match)(struct inode*, unsigned long, void*), void *data)h](j )}(hjzh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7hhhjHhMubh)}(hhh]j5)}(hinodeh]hinode}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj)}j]j)}jfind_inode_nowaitsbc.find_inode_nowaitasbuh1hhj7hhhjHhMubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7hhhjHhMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7hhhjHhMubj/)}(hfind_inode_nowaith]j5)}(hjxh]hfind_inode_nowait}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj7hhhjHhMubj)}(hn(struct super_block *sb, unsigned long hashval, int (*match)(struct inode*, unsigned long, void*), void *data)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj·hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjӷhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjзubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjշmodnameN classnameNjj)}j]jvc.find_inode_nowaitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned long hashvalh](j)}(hunsignedh]hunsigned}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj!ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubj)}(hlongh]hlong}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj!ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubj5)}(hhashvalh]hhashval}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h1int (*match)(struct inode*, unsigned long, void*)h](j)}(hinth]hint}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjrubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjrubj5)}(hmatchh]hmatch}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjrubj*)}(hjƗh]h(}(hjǸhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjrubj )}(hjzh]hstruct}(hjԸhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jvc.find_inode_nowaitasbuh1hhjrubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjrubj*)}(hjSh]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjrubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubj)}(hunsignedh]hunsigned}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjrubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubj)}(hlongh]hlong}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjrubj*)}(hjSh]h,}(hjbhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjrubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubj)}(hvoidh]hvoid}(hj}hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjrubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjrubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj̹hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdatah]hdata}(hjٹhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj7hhhjHhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj3hhhjHhMubah}(h]j.ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjHhMhj0hhubjc)}(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&]uh1jbhj0hhhjHhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct super_block *sb`` super block of file system to search ``unsigned long hashval`` hash value (usually inode number) to search for ``int (*match)(struct inode *, unsigned long, 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)}(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 super_block *sb`` super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hjDh]hstruct super_block *sb}(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$super block of file system to searchh]h$super block of file system to search}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhj;ubj)}(hJ``unsigned long hashval`` hash value (usually inode number) to search for h](j)}(h``unsigned long hashval``h]j)}(hj}h]hunsigned long 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.chMhjwubj)}(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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhj;ubj)}(he``int (*match)(struct inode *, unsigned long, void *)`` callback used for comparisons between inodes h](j)}(h7``int (*match)(struct inode *, unsigned long, void *)``h]j)}(hjh]h3int (*match)(struct inode *, unsigned long, 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}(hjϺhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj˺hMhj̺ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˺hMhj;ubj)}(h8``void *data`` opaque data pointer to pass to **match** 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)}(h(opaque data pointer to pass to **match**h](hopaque data pointer to pass to }(hjhhhNhNubj)}(h **match**h]hmatch}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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)}(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.chMhjubh)}(hXSearch for the inode specified by **hashval** and **data** in the inode cache, where the helper function **match** will return 0 if the inode does not match, 1 if the inode does match, and -1 if the search should be stopped. The **match** function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized, and incrementing the reference count before returning 1. It also must not sleep, since it is called with the inode_hash_lock spinlock held.h](h"Search for the inode specified by }(hjNhhhNhNubj)}(h **hashval**h]hhashval}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh and }(hjNhhhNhNubj)}(h**data**h]hdata}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh/ in the inode cache, where the helper function }(hjNhhhNhNubj)}(h **match**h]hmatch}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubht will return 0 if the inode does not match, 1 if the inode does match, and -1 if the search should be stopped. The }(hjNhhhNhNubj)}(h **match**h]hmatch}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubhX 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.}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hXYThis is a even more generalized version of ilookup5() when the function must never block --- find_inode() can block in __wait_on_freeing_inode() --- or when the caller can not increment the reference count because the resulting iput() might cause an inode eviction. The tradeoff is that the **match** funtion must be very carefully implemented.h](hX$This is a even more generalized version of ilookup5() when the function must never block --- find_inode() can block in __wait_on_freeing_inode() --- or when the caller can not increment the reference count because the resulting iput() might cause an inode eviction. The tradeoff is that the }(hjhhhNhNubj)}(h **match**h]hmatch}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfind_inode_rcu (C function)c.find_inode_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(h~struct inode * find_inode_rcu (struct super_block *sb, unsigned long hashval, int (*test)(struct inode *, void *), void *data)h]j)}(hzstruct inode *find_inode_rcu(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), void *data)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jfind_inode_rcusbc.find_inode_rcuasbuh1hhjhhhjhMubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hj4hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hfind_inode_rcuh]j5)}(hj#h]hfind_inode_rcu}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h^(struct super_block *sb, unsigned long hashval, int (*test)(struct inode*, void*), void *data)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j!c.find_inode_rcuasbuh1hhj\ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj\ubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubj)}(hunsigned long hashvalh](j)}(hunsignedh]hunsigned}(hjмhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj̼ubj)}(h h]h }(hj޼hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj̼ubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj̼ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj̼ubj5)}(hhashvalh]hhashval}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj̼ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubj)}(h!int (*test)(struct inode*, void*)h](j)}(hinth]hint}(hj!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hjƗh]h(}(hj=hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hjJhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htesth]htest}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjh]h)}(hjehhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjƗh]h(}(hjrhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j!c.find_inode_rcuasbuh1hhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjSh]h,}(hjȽhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hjսhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubj)}(h void *datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj2hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdatah]hdata}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj޻hhhjhMubah}(h]jٻah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjۻhhubjc)}(hhh]h)}(h find an inode in the inode cacheh]h find an inode in the inode cache}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjfhhubah}(h]h ]h"]h$]h&]uh1jbhjۻhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXD**Parameters** ``struct super_block *sb`` Super block of file system to search ``unsigned long hashval`` Key to hash ``int (*test)(struct inode *, void *)`` Function to test match on an inode ``void *data`` Data for test function **Description** Search for the inode specified by **hashval** and **data** in the inode cache, where the helper function **test** will return 0 if the inode does not match and 1 if it does. The **test** function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized. If successful, this will return the inode for which the **test** function returned 1 and NULL otherwise. The **test** function is not permitted to take a ref on any inode presented. It is also not permitted to sleep. The caller must hold the RCU read lock.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h@``struct super_block *sb`` Super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h$Super block of file system to searchh]h$Super block of file system to search}(hjþhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h&``unsigned long hashval`` Key to hash h](j)}(h``unsigned long hashval``h]j)}(hjh]hunsigned long 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.chMhjݾubj)}(hhh]h)}(h Key to hashh]h Key to hash}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjݾubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hK``int (*test)(struct inode *, void *)`` Function to test match on an inode h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hjh]h#int (*test)(struct inode *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h"Function to test match on an inodeh]h"Function to test match on an inode}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubj)}(h&``void *data`` Data for test function h](j)}(h``void *data``h]j)}(hjUh]h void *data}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjOubj)}(hhh]h)}(hData for test functionh]hData for test function}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hX<Search for the inode specified by **hashval** and **data** in the inode cache, where the helper function **test** will return 0 if the inode does not match and 1 if it does. The **test** function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized.h](h"Search for the inode specified by }(hjhhhNhNubj)}(h **hashval**h]hhashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ in the inode cache, where the helper function }(hjhhhNhNubj)}(h**test**h]htest}(hjҿhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB will return 0 if the inode does not match and 1 if it does. The }(hjhhhNhNubj)}(h**test**h]htest}(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.chMhjubh)}(hhIf successful, this will return the inode for which the **test** function returned 1 and NULL otherwise.h](h8If successful, this will return the inode for which the }(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.chMhjubh)}(hoThe **test** function is not permitted to take a ref on any inode presented. It is also not permitted to sleep.h](hThe }(hjhhhNhNubj)}(h**test**h]htest}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhc function is not permitted to take a ref on any inode presented. It is also not permitted to sleep.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(h'The caller must hold the RCU read lock.h]h'The caller must hold the RCU read lock.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"find_inode_by_ino_rcu (C function)c.find_inode_by_ino_rcuhNtauh1hhjhhhNhNubh)}(hhh](j)}(hPstruct inode * find_inode_by_ino_rcu (struct super_block *sb, unsigned long ino)h]j)}(hNstruct inode *find_inode_by_ino_rcu(struct super_block *sb, unsigned long ino)h](j )}(hjzh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjhhhj{hMubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jfind_inode_by_ino_rcusbc.find_inode_by_ino_rcuasbuh1hhjjhhhj{hMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjhhhj{hMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjjhhhj{hMubj/)}(hfind_inode_by_ino_rcuh]j5)}(hjh]hfind_inode_by_ino_rcu}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjjhhhj{hMubj)}(h+(struct super_block *sb, unsigned long ino)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.find_inode_by_ino_rcuasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj2hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned long inoh](j)}(hunsignedh]hunsigned}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjTubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj)}(hlongh]hlong}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj5)}(hinoh]hino}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjjhhhj{hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjfhhhj{hMubah}(h]jaah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj{hMhjchhubjc)}(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&]uh1jbhjchhhj{hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct super_block *sb`` Super block of file system to search ``unsigned long 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.chMhjubj)}(hhh](j)}(h@``struct super_block *sb`` Super block of file system to search h](j)}(h``struct super_block *sb`` h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h$Super block of file system to searchh]h$Super block of file system to search}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``unsigned long ino`` The inode number to match h](j)}(h``unsigned long ino``h]j)}(hj4h]hunsigned long ino}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj.ubj)}(hhh]h)}(hThe inode number to matchh]hThe inode number to match}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjubeh}(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.chMhjubh)}(hX<Search for the inode specified by **hashval** and **data** in the inode cache, where the helper function **test** will return 0 if the inode does not match and 1 if it does. The **test** function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized.h](h"Search for the inode specified by }(hjhhhNhNubj)}(h **hashval**h]hhashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**data**h]hdata}(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.chMhjubh)}(hhIf successful, this will return the inode for which the **test** function returned 1 and NULL otherwise.h](h8If successful, this will return the inode for which the }(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.chM hjubh)}(hoThe **test** function is not permitted to take a ref on any inode presented. It is also not permitted to sleep.h](hThe }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhc function is not permitted to take a ref on any inode presented. It is also not permitted to sleep.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(h'The caller must hold the RCU read lock.h]h'The caller must hold the RCU read lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hiput (C function)c.iputhNtauh1hhjhhhNhNubh)}(hhh](j)}(hvoid iput (struct inode *inode)h]j)}(hvoid iput(struct inode *inode)h](j)}(hvoidh]hvoid}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjIhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIhhhj[hMubj/)}(hiputh]j5)}(hiputh]hiput}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjIhhhj[hMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjpsbc.iputasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjIhhhj[hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjEhhhj[hMubah}(h]j@ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj[hMhjBhhubjc)}(hhh]h)}(h put an inodeh]h put an inode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj hhubah}(h]h ]h"]h$]h&]uh1jbhjBhhhj[hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%jj%jjjuh1hhhhjhNhNubj)}(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)}(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:29: ./fs/inode.chMhj)ubj)}(hhh]j)}(h%``struct inode *inode`` inode to put h](j)}(h``struct inode *inode``h]j)}(hjNh]hstruct inode *inode}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjHubj)}(hhh]h)}(h inode to puth]h inode to put}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhjEubah}(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)ubj)}(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&]uh1jhjhMhj)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hiput_not_last (C function)c.iput_not_lasthNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h iput_not_lasth]j5)}(h iput_not_lasth]h iput_not_last}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(hinodeh]hinode}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNjj)}j]j)}jj sbc.iput_not_lastasbuh1hhj ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hjphhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hinodeh]hinode}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h inode to puth]h inode to put}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbmap (C function)c.bmaphNtauh1hhjhhhNhNubh)}(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}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj>hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>hhhjPhMubj/)}(hbmaph]j5)}(hbmaph]hbmap}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj>hhhjPhMubj)}(h&(struct inode *inode, sector_t *block)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjesbc.bmapasbuh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj{ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubj)}(hsector_t *blockh](h)}(hhh]j5)}(hsector_th]hsector_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.bmapasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hblockh]hblock}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubeh}(h]h ]h"]h$]h&]jLjMuh1jhj>hhhjPhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj:hhhjPhMubah}(h]j5ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjPhMhj7hhubjc)}(hhh]h)}(hfind a block number in a fileh]hfind a block number in a file}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjThhubah}(h]h ]h"]h$]h&]uh1jbhj7hhhjPhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjojjojjjuh1hhhhjhNhNubj)}(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)}(hjyh]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjsubj)}(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}(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$pointer containing the block to findh]h$pointer containing the block to find}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjsubh)}(h**Description**h]j)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjsubj)}(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}(hj.hhhNhNubah}(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}(hj@hhhNhNubah}(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.chMhj"ubh)}(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 }(hjYhhhNhNubj)}(h ``*block``h]h*block}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubh is also set to 0.}(hjYhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj"ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_update_time (C function)c.inode_update_timehNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM`ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM`ubj/)}(hinode_update_timeh]j5)}(hinode_update_timeh]hinode_update_time}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM`ubj)}(hC(struct inode *inode, enum fs_update_time type, unsigned int flags)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.inode_update_timeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj)hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(henum fs_update_time typeh](j )}(hjh]henum}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubh)}(hhh]j5)}(hfs_update_timeh]hfs_update_time}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNjj)}j]jc.inode_update_timeasbuh1hhjKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubj5)}(htypeh]htype}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM`ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM`ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM`hjhhubjc)}(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}(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&]uh1jbhjhhhjhM`ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1hhhhjhNhNubj)}(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)}(hj6h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMdhj0ubj)}(hhh](j)}(h,``struct inode *inode`` inode to be updated h](j)}(h``struct inode *inode``h]j)}(hjUh]hstruct inode *inode}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMahjOubj)}(hhh]h)}(hinode to be updatedh]hinode to be updated}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMahjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMahjLubj)}(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.chMbhjubj)}(hhh]h)}(htimestamp to be updatedh]htimestamp to be updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjLubj)}(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.chMchjubj)}(hhh]h)}(hflags for the updateh]hflags for the update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMchjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMchjLubeh}(h]h ]h"]h$]h&]uh1jhj0ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMehj0ubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMdhj0ubh)}(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.chMhhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h generic_update_time (C function)c.generic_update_timehNtauh1hhjhhhNhNubh)}(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}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjRhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM}ubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRhhhjdhM}ubj/)}(hgeneric_update_timeh]j5)}(hgeneric_update_timeh]hgeneric_update_time}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjRhhhjdhM}ubj)}(hC(struct inode *inode, enum fs_update_time type, unsigned int flags)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjysbc.generic_update_timeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(henum fs_update_time typeh](j )}(hjh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfs_update_timeh]hfs_update_time}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNjj)}j]jc.generic_update_timeasbuh1hhjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(htypeh]htype}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjdubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj5)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjRhhhjdhM}ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjNhhhjdhM}ubah}(h]jIah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjdhM}hjKhhubjc)}(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.chM}hjhhubah}(h]h ]h"]h$]h&]uh1jbhjKhhhjdhM}ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh](j)}(h,``struct inode *inode`` inode to be updated h](j)}(h``struct inode *inode``h]j)}(hj h]hstruct inode *inode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM~hjubj)}(hhh]h)}(hinode to be updatedh]hinode 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~hjubj)}(h5``enum fs_update_time type`` timestamp to be updated h](j)}(h``enum fs_update_time type``h]j)}(hjDh]henum fs_update_time type}(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)}(htimestamp to be updatedh]htimestamp to be updated}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjubj)}(h,``unsigned int flags`` flags for the update h](j)}(h``unsigned int flags``h]j)}(hj}h]hunsigned int flags}(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.chMhjwubj)}(hhh]h)}(hflags for the updateh]hflags for the update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(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)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfile_remove_privs (C function)c.file_remove_privshNtauh1hhjhhhNhNubh)}(hhh](j)}(h)int file_remove_privs (struct file *file)h]j)}(h(int file_remove_privs(struct file *file)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM( ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hM( ubj/)}(hfile_remove_privsh]j5)}(hfile_remove_privsh]hfile_remove_privs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hM( ubj)}(h(struct file *file)h]j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubh)}(hhh]j5)}(hfileh]hfile}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNjj)}j]j)}jj sbc.file_remove_privsasbuh1hhj6ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj6ubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj2ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj hM( ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj hM( ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hM( hjhhubjc)}(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&]uh1jbhjhhhj hM( ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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)}(hfile to remove privileges fromh]hfile to remove privileges from}(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)}(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.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.}(hjOhhhNhNubah}(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}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM- hjubh)}(h(0 on success, negative errno on failure.h]h(0 on success, negative errno on failure.}(hjvhhhNhNubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hcurrent_time (C function)c.current_timehNtauh1hhjhhhNhNubh)}(hhh](j)}(h4struct timespec64 current_time (struct inode *inode)h]j)}(h3struct timespec64 current_time(struct inode *inode)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM7 ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM7 ubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j current_timesbc.current_timeasbuh1hhjhhhjhM7 ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM7 ubj/)}(h current_timeh]j5)}(hjh]h current_time}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM7 ubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j]jc.current_timeasbuh1hhjubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj\hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM7 ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM7 ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM7 hjhhubjc)}(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.chM7 hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM7 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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.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.chM8 hjubj)}(hhh]h)}(hinode.h]hinode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM8 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8 hjubah}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM: 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.chM9 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().}(hj4hhhNhNubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfile_update_time (C function)c.file_update_timehNtauh1hhjhhhNhNubh)}(hhh](j)}(h(int file_update_time (struct file *file)h]j)}(h'int file_update_time(struct file *file)h](j)}(hinth]hint}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj_hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_hhhjqhM ubj/)}(hfile_update_timeh]j5)}(hfile_update_timeh]hfile_update_time}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj_hhhjqhM ubj)}(h(struct file *file)h]j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.file_update_timeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhj_hhhjqhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj[hhhjqhM ubah}(h]jVah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjqhM hjXhhubjc)}(hhh]h)}(hupdate mtime and ctime timeh]hupdate mtime and ctime time}(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&]uh1jbhjXhhhjqhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhjhNhNubj)}(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)}(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.chM hj?ubj)}(hhh]j)}(h$``struct file *file`` file accessed h](j)}(h``struct file *file``h]j)}(hjdh]hstruct file *file}(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 file accessedh]h file accessed}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhM hjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhM 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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj?ubh)}(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 hj?ubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj?ubh)}(h(0 on success, negative errno on failure.h]h(0 on success, negative errno on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfile_modified (C function)c.file_modifiedhNtauh1hhjhhhNhNubh)}(hhh](j)}(h%int file_modified (struct file *file)h]j)}(h$int file_modified(struct file *file)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj/)}(h file_modifiedh]j5)}(h file_modifiedh]h file_modified}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj)}(h(struct file *file)h]j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubh)}(hhh]j5)}(hfileh]hfile}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj)}j]j)}jj.sbc.file_modifiedasbuh1hhjDubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjDubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj@ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(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&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]j)}(h-``struct file *file`` file that was modified 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]h)}(hfile that was modifiedh]hfile that was modified}(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)}(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: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.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(h **Context**h]j)}(hjnh]hContext}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM 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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkiocb_modified (C function)c.kiocb_modifiedhNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj/)}(hkiocb_modifiedh]j5)}(hkiocb_modifiedh]hkiocb_modified}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj)}(h(struct kiocb *iocb)h]j)}(hstruct kiocb *iocbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hkiocbh]hkiocb}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNjj)}j]j)}jjsbc.kiocb_modifiedasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjchhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hiocbh]hiocb}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(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&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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 hjubj)}(hhh]h)}(hiocb that was modifiedh]hiocb that was modified}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(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.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(h **Context**h]j)}(hj=h]hContext}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(h'Caller must hold the file's inode lock.h]h)Caller must hold the file’s inode lock.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(h **Return**h]j)}(hjdh]hReturn}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(h(0 on success, negative errno on failure.h]h(0 on success, negative errno on failure.}(hjzhhhNhNubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_init_owner (C function)c.inode_init_ownerhNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM] ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM] ubj/)}(hinode_init_ownerh]j5)}(hinode_init_ownerh]hinode_init_owner}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM] ubj)}(hU(struct mnt_idmap *idmap, struct inode *inode, const struct inode *dir, umode_t mode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.inode_init_ownerasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj2hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hidmaph]hidmap}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubh)}(hhh]j5)}(hinodeh]hinode}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj)}j]j c.inode_init_ownerasbuh1hhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjTubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst struct inode *dirh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.inode_init_ownerasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj-hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdirh]hdir}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNjj)}j]j c.inode_init_ownerasbuh1hhjOubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM] ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM] ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM] hjhhubjc)}(hhh]h)}(hi_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&]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 wait forh]hinode to wait for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(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.}(hj8hhhNhNubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](htimestamp_truncate (C function)c.timestamp_truncatehNtauh1hhjhhhNhNubh)}(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 )}(hjzh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjchhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjchhhjthM ubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jtimestamp_truncatesbc.timestamp_truncateasbuh1hhjchhhjthM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjchhhjthM ubj/)}(htimestamp_truncateh]j5)}(hjh]htimestamp_truncate}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjchhhjthM ubj)}(h*(struct timespec64 t, struct inode *inode)h](j)}(hstruct timespec64 th](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.timestamp_truncateasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hth]ht}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubh)}(hhh]j5)}(hinodeh]hinode}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNjj)}j]jc.timestamp_truncateasbuh1hhj3ubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjchhhjthM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj_hhhjthM ubah}(h]jZah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjthM hj\hhubjc)}(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&]uh1jbhj\hhhjthM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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 hjubj)}(hhh](j)}(h!``struct timespec64 t`` Timespec h](j)}(h``struct timespec64 t``h]j)}(hjh]hstruct timespec64 t}(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)}(hTimespech]hTimespec}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h,``struct inode *inode`` inode being updated h](j)}(h``struct inode *inode``h]j)}(hj2h]hstruct inode *inode}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj,ubj)}(hhh]h)}(hinode being updatedh]hinode being updated}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhM hjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjmh]h Description}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(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 hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$inode_set_ctime_current (C function)c.inode_set_ctime_currenthNtauh1hhjhhhNhNubh)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jinode_set_ctime_currentsbc.inode_set_ctime_currentasbuh1hhjhhhjhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj/)}(hinode_set_ctime_currenth]j5)}(hjh]hinode_set_ctime_current}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNjj)}j]jc.inode_set_ctime_currentasbuh1hhjubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjihhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(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&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubh)}(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.}(hj2hhhNhNubah}(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.}(hjAhhhNhNubah}(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.}(hjPhhhNhNubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"inode_set_ctime_deleg (C function)c.inode_set_ctime_deleghNtauh1hhjhhhNhNubh)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMR ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{hhhjhMR ubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jinode_set_ctime_delegsbc.inode_set_ctime_delegasbuh1hhj{hhhjhMR ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{hhhjhMR ubj/)}(hinode_set_ctime_delegh]j5)}(hjh]hinode_set_ctime_deleg}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj{hhhjhMR ubj)}(h/(struct inode *inode, struct timespec64 update)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jc.inode_set_ctime_delegasbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj6hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct timespec64 updateh](j )}(hjzh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj)}j]jc.inode_set_ctime_delegasbuh1hhjXubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubj5)}(hupdateh]hupdate}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj{hhhjhMR ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjwhhhjhMR ubah}(h]jrah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMR hjthhubjc)}(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.chMR hjhhubah}(h]h ]h"]h$]h&]uh1jbhjthhhjhMR ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMV hjubj)}(hhh](j)}(h(``struct inode *inode`` inode to update 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.chMS hj ubj)}(hhh]h)}(hinode to updateh]hinode to update}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hMS hj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMS hjubj)}(h9``struct timespec64 update`` timespec64 to set the ctime h](j)}(h``struct timespec64 update``h]j)}(hjJh]hstruct timespec64 update}(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.chMT hjDubj)}(hhh]h)}(htimespec64 to set the ctimeh]htimespec64 to set the ctime}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hMT hj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMT 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.chMV hjubh)}(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.chMU hjubh)}(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.chMW hjubh)}(hXThis can race with concurrent updates to the inode, in which case the update is skipped.h]hXThis can race with concurrent updates to the inode, in which case the update is skipped.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM[ hjubh)}(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.chM^ hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h in_group_or_capable (C function)c.in_group_or_capablehNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj/)}(hin_group_or_capableh]j5)}(hin_group_or_capableh]hin_group_or_capable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj)}(hE(struct mnt_idmap *idmap, const struct inode *inode, vfsgid_t vfsgid)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj)}j]j)}jjsbc.in_group_or_capableasbuh1hhj/ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj/ubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj+ubj)}(hconst struct inode *inodeh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jmc.in_group_or_capableasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj+ubj)}(hvfsgid_t vfsgidh](h)}(hhh]j5)}(hvfsgid_th]hvfsgid_t}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNjj)}j]jmc.in_group_or_capableasbuh1hhj,ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubj5)}(hvfsgidh]hvfsgid}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj+ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(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&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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}(hjhhhNhNubah}(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)}(hjh]hconst struct 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 checkh]hinode to check}(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)}(h8``vfsgid_t vfsgid`` the new/current vfsgid of **inode** h](j)}(h``vfsgid_t vfsgid``h]j)}(hjNh]hvfsgid_t vfsgid}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjHubj)}(hhh]h)}(h#the new/current vfsgid of **inode**h](hthe new/current vfsgid of }(hjghhhNhNubj)}(h **inode**h]hinode}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1hhjchM hjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchM 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)}(hhMubj/)}(hdeactivate_locked_superh]j5)}(hdeactivate_locked_superh]hdeactivate_locked_super}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj,hhhj>hMubj)}(h(struct super_block *s)h]j)}(hstruct super_block *sh](j )}(hjzh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjSsbc.deactivate_locked_superasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjiubj5)}(hsh]hs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubah}(h]h ]h"]h$]h&]jLjMuh1jhj,hhhj>hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj(hhhj>hMubah}(h]j#ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj>hMhj%hhubjc)}(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&]uh1jbhj%hhhj>hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chMhj ubj)}(hhh]j)}(h3``struct super_block *s`` superblock to deactivate h](j)}(h``struct super_block *s``h]j)}(hj1h]hstruct super_block *s}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj+ubj)}(hhh]h)}(hsuperblock to deactivateh]hsuperblock to deactivate}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubh)}(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:38: ./fs/super.chMhj ubj)}(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&]uh1jhjhMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdeactivate_super (C function)c.deactivate_superhNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hdeactivate_superh]j5)}(hdeactivate_superh]hdeactivate_super}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h(struct super_block *s)h]j)}(hstruct super_block *sh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNjj)}j]j)}jjsbc.deactivate_superasbuh1hhjubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjShhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hjh]hs}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chMhjubj)}(hVariant of deactivate_locked_super(), except that superblock is *not* locked by caller. If we are going to drop the final active reference, lock will be acquired prior to that.h]h)}(hVariant of deactivate_locked_super(), except that superblock is *not* locked by caller. If we are going to drop the final active reference, lock will be acquired prior to that.h](h@Variant of deactivate_locked_super(), except that superblock is }(hjhhhNhNubj )}(h*not*h]hnot}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1j hjubhl locked by caller. If we are going to drop the final active reference, lock will be acquired prior to that.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubah}(h]h ]h"]h$]h&]uh1jhj?hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hretire_super (C function)c.retire_superhNtauh1hhjhhhNhNubh)}(hhh](j)}(h*void retire_super (struct super_block *sb)h]j)}(h)void retire_super(struct super_block *sb)h](j)}(hvoidh]hvoid}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjbhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM@ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbhhhjthM@ubj/)}(h retire_superh]j5)}(h retire_superh]h retire_super}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjbhhhjthM@ubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.retire_superasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjbhhhjthM@ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj^hhhjthM@ubah}(h]jYah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjthM@hj[hhubjc)}(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@hj#hhubah}(h]h ]h"]h$]h&]uh1jbhj[hhhjthM@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhjhNhNubj)}(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)}(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.chMDhjBubj)}(hhh]j)}(h0``struct super_block *sb`` superblock to retire h](j)}(h``struct super_block *sb``h]j)}(hjgh]hstruct super_block *sb}(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.chMAhjaubj)}(hhh]h)}(hsuperblock to retireh]hsuperblock to retire}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hMAhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMAhj^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.chMChjBubj)}(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&]uh1jhjhMBhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#generic_shutdown_super (C function)c.generic_shutdown_superhNtauh1hhjhhhNhNubh)}(hhh](j)}(h4void generic_shutdown_super (struct super_block *sb)h]j)}(h3void generic_shutdown_super(struct super_block *sb)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM]ubj/)}(hgeneric_shutdown_superh]j5)}(hgeneric_shutdown_superh]hgeneric_shutdown_super}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM]ubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNjj)}j]j)}jj#sbc.generic_shutdown_superasbuh1hhj9ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj9ubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj5ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM]ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM]ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM]hjhhubjc)}(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&]uh1jbhjhhhjhM]ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chM^hjubj)}(hhh]h)}(hsuperblock to killh]hsuperblock to kill}(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)}(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.chM`hjubj)}(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.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM_hjRubh)}(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.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMehjRubeh}(h]h ]h"]h$]h&]uh1jhjdhM_hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsget_fc (C function) c.sget_fchNtauh1hhjhhhNhNubh)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jsget_fcsb c.sget_fcasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hsget_fch]j5)}(hjh]hsget_fc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj)}j]j c.sget_fcasbuh1hhjubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj^hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfch]hfc}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h4int (*test)(struct super_block*, struct fs_context*)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htesth]htest}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.sget_fcasbuh1hhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjSh]h,}(hj+hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j]j c.sget_fcasbuh1hhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h3int (*set)(struct super_block*, struct fs_context*)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hseth]hset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNjj)}j]j c.sget_fcasbuh1hhjubj*)}(hj-h]h*}(hjAhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjSh]h,}(hjNhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.sget_fcasbuh1hhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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`` 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.chMhjubj)}(hhh]h)}(hFilesystem context.h]hFilesystem context.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubj)}(hO``int (*test)(struct super_block *, struct fs_context *)`` Comparison callback h](j)}(h:``int (*test)(struct super_block *, struct fs_context *)``h]j)}(hjUh]h6int (*test)(struct super_block *, struct fs_context *)}(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)}(hComparison callbackh]hComparison callback}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjubj)}(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&]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)}(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.chMhjubh)}(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 }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhe callback is used to find a matching existing superblock. Whether or not the requested parameters in }(hjhhhNhNubj)}(h**fc**h]hfc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh+ are taken into account is specific to the }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh< callback that is used. They may even be completely ignored.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(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:}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubhenumerated_list)}(hhh](jC)}(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 }(hjKhhhNhNubj)}(h**fc**h]hfc}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh/ and the extant superblock’s namespace differ}(hjKhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjGubah}(h]h ]h"]h$]h&]uh1jChjDubjC)}(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 }(hjvhhhNhNubj)}(h**fc**h]hfc}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh? has requested that reusing an extant superblock is not allowed}(hjvhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjrubah}(h]h ]h"]h$]h&]uh1jChjDubeh}(h]h ]h"]h$]h&]enumtypearabicprefixjƗsuffixjuh1jBhjubh)}(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.chMhjubh)}(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.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)}(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.}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsget (C function)c.sgethNtauh1hhjhhhNhNubh)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj+hM,ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNjj)}j]j)}jsgetsbc.sgetasbuh1hhjhhhj+hM,ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj+hM,ubj*)}(hj-h]h*}(hjlhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhj+hM,ubj/)}(hsgeth]j5)}(hj[h]hsget}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj+hM,ubj)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfile_system_typeh]hfile_system_type}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jYc.sgetasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htypeh]htype}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h'int (*test)(struct super_block*, void*)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hjƗh]h(}(hj$hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hj1hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htesth]htest}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjh]h)}(hjLhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjƗh]h(}(hjYhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jYc.sgetasbuh1hhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjSh]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h&int (*set)(struct super_block*, void*)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hj&hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hseth]hset}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjh]h)}(hjAhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjƗh]h(}(hjNhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNjj)}j]jYc.sgetasbuh1hhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjSh]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int flagsh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *datah](j)}(hvoidh]hvoid}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj#ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubj*)}(hj-h]h*}(hjChhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj#ubj5)}(hdatah]hdata}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj+hM,ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj+hM,ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj+hM,hjhhubjc)}(hhh]h)}(hfind or create a superblockh]-hfind or create a superblock}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM,hjwhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj+hM,ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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}(hjhhhNhNubah}(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)}(hjh]h(int (*test)(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.chM.hjubj)}(hhh]h)}(hcomparison callbackh]hcomparison callback}(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;``int (*set)(struct super_block *,void *)`` setup callback h](j)}(h+``int (*set)(struct super_block *,void *)``h]j)}(hj-h]h'int (*set)(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)}(hsetup callbackh]hsetup callback}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhM/hjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhM/hjubj)}(h``int flags`` mount flags h](j)}(h ``int flags``h]j)}(hjfh]h int flags}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM0hj`ubj)}(hhh]h)}(h mount flagsh]h mount flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hM0hj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hM0hjubj)}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h iterate_supers_type (C function)c.iterate_supers_typehNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hiterate_supers_typeh]j5)}(hiterate_supers_typeh]hiterate_supers_type}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hQ(struct file_system_type *type, void (*f)(struct super_block*, void*), void *arg)h](j)}(hstruct file_system_type *typeh](j )}(hjzh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubh)}(hhh]j5)}(hfile_system_typeh]hfile_system_type}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNjj)}j]j)}jjsbc.iterate_supers_typeasbuh1hhj2ubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj2ubj5)}(htypeh]htype}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj.ubj)}(h%void (*f)(struct super_block*, void*)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfh]hf}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNjj)}j]jpc.iterate_supers_typeasbuh1hhjubj*)}(hj-h]h*}(hjBhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjSh]h,}(hjOhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hjjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjxhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj.ubj)}(h void *argh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hargh]harg}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj.ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h+call function for superblocks of given typeh]h+call function for superblocks of given type}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX$**Parameters** ``struct file_system_type *type`` fs type ``void (*f)(struct super_block *, void *)`` function to call ``void *arg`` argument to pass to it **Description** Scans the superblock list and calls given function, passing it locked superblock and given argument.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj ubj)}(hhh](j)}(h*``struct file_system_type *type`` fs type h](j)}(h!``struct file_system_type *type``h]j)}(hj1h]hstruct file_system_type *type}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj+ubj)}(hhh]h)}(hfs typeh]hfs type}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhj(ubj)}(h=``void (*f)(struct super_block *, void *)`` function to call h](j)}(h+``void (*f)(struct super_block *, void *)``h]j)}(hjjh]h'void (*f)(struct super_block *, void *)}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjdubj)}(hhh]h)}(hfunction to callh]hfunction to call}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(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&]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 ubj)}(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.}(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&]uh1jhjhMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_anon_bdev (C function)c.get_anon_bdevhNtauh1hhjhhhNhNubh)}(hhh](j)}(hint get_anon_bdev (dev_t *p)h]j)}(hint get_anon_bdev(dev_t *p)h](j)}(hinth]hint}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj)hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)hhhj;hMubj/)}(h get_anon_bdevh]j5)}(h get_anon_bdevh]h get_anon_bdev}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj)hhhj;hMubj)}(h (dev_t *p)h]j)}(hdev_t *ph](h)}(hhh]j5)}(hdev_th]hdev_t}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNjj)}j]j)}jjPsbc.get_anon_bdevasbuh1hhjfubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjfubj5)}(hj6h]hp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbubah}(h]h ]h"]h$]h&]jLjMuh1jhj)hhhj;hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj%hhhj;hMubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj;hMhj"hhubjc)}(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&]uh1jbhj"hhhj;hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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!``dev_t *p`` Pointer to a dev_t. h](j)}(h ``dev_t *p``h]j)}(hjh]hdev_t *p}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj ubj)}(hhh]h)}(hPointer to a dev_t.h]hPointer to a dev_t.}(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&]uh1jhjubh)}(h**Description**h]j)}(hjMh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(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.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(h **Context**h]j)}(hjth]hContext}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(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.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)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsget_dev (C function) c.sget_devhNtauh1hhjhhhNhNubh)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jsget_devsb c.sget_devasbuh1hhjhhhjhMjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMjubj*)}(hj-h]h*}(hj.hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMjubj/)}(hsget_devh]j5)}(hjh]hsget_dev}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMjubj)}(h"(struct fs_context *fc, dev_t dev)h](j)}(hstruct fs_context *fch](j )}(hjzh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNjj)}j]j c.sget_devasbuh1hhjVubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjVubj5)}(hfch]hfc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjRubj)}(h dev_t devh](h)}(hhh]j5)}(hdev_th]hdev_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.sget_devasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjRubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMjubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMjubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMjhjhhubjc)}(hhh]h)}(h,Find or create a superblock by device numberh]h,Find or create a superblock by device number}(hj# hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMjhj hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjj; jj; jjjuh1hhhhjhNhNubj)}(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)}(hjE h]h Parameters}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMnhj? ubj)}(hhh](j)}(h.``struct fs_context *fc`` Filesystem context. h](j)}(h``struct fs_context *fc``h]j)}(hjd h]hstruct fs_context *fc}(hjf hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMkhj^ ubj)}(hhh]h)}(hFilesystem context.h]hFilesystem context.}(hj} hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjy hMkhjz ubah}(h]h ]h"]h$]h&]uh1jhj^ ubeh}(h]h ]h"]h$]h&]uh1jhjy hMkhj[ ubj)}(h``dev_t dev`` device number h](j)}(h ``dev_t dev``h]j)}(hj h]h dev_t dev}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMlhj ubj)}(hhh]h)}(h device numberh]h device number}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMlhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMlhj[ 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:38: ./fs/super.chMnhj? ubh)}(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.chMmhj? ubh)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMphj? ubh)}(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.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMshj? ubh)}(h **Return**h]j)}(hj h]hReturn}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMyhj? ubh)}(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.}(hj3 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMzhj? ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h get_tree_bdev_flags (C function)c.get_tree_bdev_flagshNtauh1hhjhhhNhNubh)}(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}(hjb hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj^ hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMyubj)}(h h]h }(hjq hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ hhhjp hMyubj/)}(hget_tree_bdev_flagsh]j5)}(hget_tree_bdev_flagsh]hget_tree_bdev_flags}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj^ hhhjp hMyubj)}(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 )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j)}jj sbc.get_tree_bdev_flagsasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hfch]hfc}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h@int (*fill_super)(struct super_block *sb, struct fs_context *fc)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hjƗh]h(}(hj- hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj*)}(hj-h]h*}(hj: hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(h fill_superh]h fill_super}(hjG hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubj*)}(hjh]h)}(hjU hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj*)}(hjƗh]h(}(hjb hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj )}(hjzh]hstruct}(hjo hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj| hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j c.get_tree_bdev_flagsasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hsbh]hsb}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubj*)}(hjSh]h,}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j c.get_tree_bdev_flagsasbuh1hhj ubj)}(h h]h }(hj+ hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hj9 hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hfch]hfc}(hjF hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubj*)}(hjh]h)}(hjT hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hjl hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjh ubj)}(h h]h }(hjz hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjh ubj)}(hinth]hint}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjh ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjh ubj5)}(hflagsh]hflags}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjh ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj^ hhhjp hMyubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjZ hhhjp hMyubah}(h]jU ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjp hMyhjW hhubjc)}(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&]uh1jbhjW hhhjp hMyubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(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)}(hj h]hstruct fs_context *fc}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.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&]uh1hhj$ hMzhj% ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$ 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)}(hjH h]h@int (*fill_super)(struct super_block *sb, struct fs_context *fc)}(hjJ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM{hjB ubj)}(hhh]h)}(h%Helper to initialise a new superblockh]h%Helper to initialise a new superblock}(hja 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,``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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_tree_bdev (C function)c.get_tree_bdevhNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhj hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj hMubj/)}(h get_tree_bdevh]j5)}(h get_tree_bdevh]h get_tree_bdev}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj hMubj)}(hS(struct fs_context *fc, int (*fill_super)(struct super_block*, struct fs_context*))h](j)}(hstruct fs_context *fch](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj)}j]j)}jj sbc.get_tree_bdevasbuh1hhjubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjdhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfch]hfc}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h:int (*fill_super)(struct super_block*, struct fs_context*)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(h fill_superh]h fill_super}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jRc.get_tree_bdevasbuh1hhjubj*)}(hj-h]h*}(hj$hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjSh]h,}(hj1hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj)}j]jRc.get_tree_bdevasbuh1hhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj hhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj hMubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhj hhubjc)}(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&]uh1jbhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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 filesystem context holding the parametersh]h-The filesystem context holding the parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hj8h]hroot**.h](h)}(h**Parameters**h]j)}(hjth]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjnubj)}(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&]uh1jhjnubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjnubh)}(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}(hjhhhNhNubah}(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.chMhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfreeze_super (C function)c.freeze_superhNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhj!hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!hhhj3hMubj/)}(h freeze_superh]j5)}(h freeze_superh]h freeze_super}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj!hhhj3hMubj)}(hJ(struct super_block *sb, enum freeze_holder who, const void *freeze_owner)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjHsbc.freeze_superasbuh1hhj^ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj^ubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZubj)}(henum freeze_holder whoh](j )}(hjh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h freeze_holderh]h freeze_holder}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.freeze_superasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hwhoh]hwho}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZubj)}(hconst void *freeze_ownerh](j )}(hjUh]hconst}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj)}(hvoidh]hvoid}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj3ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj*)}(hj-h]h*}(hjnhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj5)}(h freeze_ownerh]h freeze_owner}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZubeh}(h]h ]h"]h$]h&]jLjMuh1jhj!hhhj3hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj3hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj3hMhjhhubjc)}(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&]uh1jbhjhhhj3hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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}(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)}(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}(hjhhhNhNubah}(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 }(hj hhhNhNubj)}(h**who**h]hwho}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhX[ 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.}(hj hhhNhNubeh}(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.}(hj,hhhNhNubah}(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:}(hj;hhhNhNubah}(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.}(hjJhhhNhNubah}(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.}(hjYhhhNhNubah}(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).}(hjhhhhNhNubah}(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.}(hjwhhhNhNubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hthaw_super (C function) c.thaw_superhNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h thaw_superh]j5)}(h thaw_superh]h thaw_super}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hJ(struct super_block *sb, enum freeze_holder who, const void *freeze_owner)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj)}j]j)}jjsb c.thaw_superasbuh1hhjubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjehhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(henum freeze_holder whoh](j )}(hjh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h freeze_holderh]h freeze_holder}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jS c.thaw_superasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hwhoh]hwho}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst void *freeze_ownerh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj%hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(h freeze_ownerh]h freeze_owner}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]jC)}(hhh]jC)}(hunlock filesystemh]h)}(hjah]hunlock filesystem}(hjchhhNhNubah}(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&]uh1jChj\hhhjphNubah}(h]h ]h"]h$]h&]jC-uh1jChjphMhjYhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hcontext that wants to freezeh]hcontext that wants to freeze}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h1``const void *freeze_owner`` owner of the freeze h](j)}(h``const void *freeze_owner``h]j)}(hj"h]hconst void *freeze_owner}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(howner of the freezeh]howner of the freeze}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj]h]h Description}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.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.}(hjshhhNhNubah}(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.}(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&]uh1jhjhhhNhNubeh}(h]registration-and-superblocksah ]h"]registration and superblocksah$]h&]uh1hhhhhhhhK$ubh)}(hhh](h)}(h File Locksh]h File Locks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK*ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%locks_owner_has_blockers (C function)c.locks_owner_has_blockershNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMMubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj*hMMubj/)}(hlocks_owner_has_blockersh]j5)}(hlocks_owner_has_blockersh]hlocks_owner_has_blockers}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj*hMMubj)}(h3(struct file_lock_context *flctx, fl_owner_t owner)h](j)}(hstruct file_lock_context *flctxh](j )}(hjzh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubh)}(hhh]j5)}(hfile_lock_contexth]hfile_lock_context}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj)}j]j)}jj?sbc.locks_owner_has_blockersasbuh1hhjUubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjUubj5)}(hflctxh]hflctx}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjQubj)}(hfl_owner_t ownerh](h)}(hhh]j5)}(h fl_owner_th]h fl_owner_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.locks_owner_has_blockersasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hownerh]howner}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjQubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj*hMMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj*hMMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj*hMMhjhhubjc)}(hhh]h)}(h Check for blocking lock requestsh]h Check for blocking lock requests}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMMhj!hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj*hMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhjhNhNubj)}(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)}(hjFh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMQhj@ubj)}(hhh](j)}(h6``struct file_lock_context *flctx`` file lock context h](j)}(h#``struct file_lock_context *flctx``h]j)}(hjeh]hstruct file_lock_context *flctx}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMNhj_ubj)}(hhh]h)}(hfile lock contexth]hfile lock context}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhMNhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMNhj\ubj)}(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&]uh1jhjhMOhj\ubeh}(h]h ]h"]h$]h&]uh1jhj@ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMQhj@ubj)}(hhh]j)}(h`Return values: ``true``: **owner** has at least one blocker ``false``: **owner** has no blockersh](j)}(hReturn values:h]hReturn values:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMQhjubj)}(hhh]h)}(hQ``true``: **owner** has at least one blocker ``false``: **owner** has no blockersh](j)}(h``true``h]htrue}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: }(hjhhhNhNubj)}(h **owner**h]howner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh has at least one blocker }(hjhhhNhNubj)}(h ``false``h]hfalse}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: }hjsbj)}(h **owner**h]howner}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh has no blockers}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlocks_delete_block (C function)c.locks_delete_blockhNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM>ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM>ubj/)}(hlocks_delete_blockh]j5)}(hlocks_delete_blockh]hlocks_delete_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM>ubj)}(h(struct file_lock *waiter)h]j)}(hstruct file_lock *waiterh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h file_lockh]h file_lock}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.locks_delete_blockasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hwaiterh]hwaiter}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM>ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM>ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM>hjhhubjc)}(hhh]h)}(hstop waiting for a file lockh]hstop waiting for a file lock}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM>hjIhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdjjdjjjuh1hhhhjhNhNubj)}(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)}(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:44: ./fs/locks.chMBhjhubj)}(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&]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:44: ./fs/locks.chMAhjhubj)}(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&]uh1jhjhM@hjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hposix_lock_file (C function)c.posix_lock_filehNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj$hMubj/)}(hposix_lock_fileh]j5)}(hposix_lock_fileh]hposix_lock_file}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj$hMubj)}(hE(struct file *filp, struct file_lock *fl, struct file_lock *conflock)h](j)}(hstruct file *filph](j )}(hjzh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubh)}(hhh]j5)}(hfileh]hfile}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNjj)}j]j)}jj9sbc.posix_lock_fileasbuh1hhjOubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjOubj5)}(hfilph]hfilp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjKubj)}(hstruct file_lock *flh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h file_lockh]h file_lock}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.posix_lock_fileasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hflh]hfl}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjKubj)}(hstruct file_lock *conflockh](j )}(hjzh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubh)}(hhh]j5)}(h file_lockh]h file_lock}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj)}j]jc.posix_lock_fileasbuh1hhj1ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj1ubj5)}(hconflockh]hconflock}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjKubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj$hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj$hMubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj$hMhj hhubjc)}(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&]uh1jbhj hhhj$hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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&]uh1jhjubah}(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)}(hjh]hstruct file *filp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjubj)}(hhh]h)}(hThe file to apply the lock toh]hThe file to apply the lock to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hj0h]hstruct file_lock *fl}(hj2hhhNhNubah}(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}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhjubj)}(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)}(hjih]hstruct file_lock *conflock}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjcubj)}(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&]uh1hhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(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: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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__break_lease (C function)c.__break_leasehNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM5ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hM5ubj/)}(h __break_leaseh]j5)}(h __break_leaseh]h __break_lease}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hM5ubj)}(h)(struct inode *inode, unsigned int flags)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj5 hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1 ubj)}(h h]h }(hjB hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1 ubh)}(hhh]j5)}(hinodeh]hinode}(hjS hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjP ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjU modnameN classnameNjj)}j]j)}jj sbc.__break_leaseasbuh1hhj1 ubj)}(h h]h }(hjs hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1 ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj1 ubj5)}(hinodeh]hinode}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1 ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj- ubj)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj)}(hinth]hint}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj5)}(hflagsh]hflags}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj- ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj hM5ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj hM5ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hM5hjhhubjc)}(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.chM5hj!hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj hM5ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!!jj!!jjjuh1hhhhjhNhNubj)}(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)}(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.chM9hj%!ubj)}(hhh](j)}(h8``struct inode *inode`` the inode of the file to return h](j)}(h``struct inode *inode``h]j)}(hjJ!h]hstruct inode *inode}(hjL!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH!ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM6hjD!ubj)}(hhh]h)}(hthe inode of the file to returnh]hthe inode of the file to return}(hjc!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_!hM6hj`!ubah}(h]h ]h"]h$]h&]uh1jhjD!ubeh}(h]h ]h"]h$]h&]uh1jhj_!hM6hjA!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.chM7hj}!ubj)}(hhh]h)}(hLEASE_BREAK_* flagsh]hLEASE_BREAK_* flags}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!hM7hj!ubah}(h]h ]h"]h$]h&]uh1jhj}!ubeh}(h]h ]h"]h$]h&]uh1jhj!hM7hjA!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.chM9hj%!ubj)}(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.chM8hj!ubah}(h]h ]h"]h$]h&]uh1jhj!hM8hj%!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlease_get_mtime (C function)c.lease_get_mtimehNtauh1hhjhhhNhNubh)}(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}(hj "hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj "hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj)}(h h]h }(hj"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj "hhhj"hMubj/)}(hlease_get_mtimeh]j5)}(hlease_get_mtimeh]hlease_get_mtime}(hj."hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*"ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj "hhhj"hMubj)}(h.(struct inode *inode, struct timespec64 *time)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjJ"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjF"ubj)}(h h]h }(hjW"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjF"ubh)}(hhh]j5)}(hinodeh]hinode}(hjh"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hje"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjj"modnameN classnameNjj)}j]j)}jj0"sbc.lease_get_mtimeasbuh1hhjF"ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjF"ubj*)}(hj-h]h*}(hj"hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjF"ubj5)}(hinodeh]hinode}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjF"ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjB"ubj)}(hstruct timespec64 *timeh](j )}(hjzh]hstruct}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"ubh)}(hhh]j5)}(h timespec64h]h timespec64}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNjj)}j]j"c.lease_get_mtimeasbuh1hhj"ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"ubj*)}(hj-h]h*}(hj#hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj"ubj5)}(htimeh]htime}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjB"ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj "hhhj"hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj"hhhj"hMubah}(h]j"ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj"hMhj"hhubjc)}(hhh]h)}(h5update modified time of an inode with exclusive leaseh]h5update modified time of an inode with exclusive lease}(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&]uh1jbhj"hhhj"hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjU#jjU#jjjuh1hhhhjhNhNubj)}(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}(hja#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.chMhjY#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.chMhjx#ubj)}(hhh]h)}(h the inodeh]h the inode}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjx#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhju#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#hMhju#ubeh}(h]h ]h"]h$]h&]uh1jhjY#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.chMhjY#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.chMhjY#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_setlease (C function)c.generic_setleasehNtauh1hhjhhhNhNubh)}(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}(hj7$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj3$hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj)}(h h]h }(hjF$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3$hhhjE$hMubj/)}(hgeneric_setleaseh]j5)}(hgeneric_setleaseh]hgeneric_setlease}(hjX$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjT$ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj3$hhhjE$hMubj)}(hB(struct file *filp, int arg, struct file_lease **flp, void **priv)h](j)}(hstruct file *filph](j )}(hjzh]hstruct}(hjt$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjp$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjp$ubh)}(hhh]j5)}(hfileh]hfile}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNjj)}j]j)}jjZ$sbc.generic_setleaseasbuh1hhjp$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjp$ubj*)}(hj-h]h*}(hj$hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjp$ubj5)}(hfilph]hfilp}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjp$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjl$ubj)}(hint argh](j)}(hinth]hint}(hj$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubj5)}(hargh]harg}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjl$ubj)}(hstruct file_lease **flph](j )}(hjzh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj%ubj)}(h h]h }(hj(%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%ubh)}(hhh]j5)}(h file_leaseh]h file_lease}(hj9%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;%modnameN classnameNjj)}j]j$c.generic_setleaseasbuh1hhj%ubj)}(h h]h }(hjW%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%ubj*)}(hj-h]h*}(hje%hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj%ubj*)}(hj-h]h*}(hjr%hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj%ubj5)}(hflph]hflp}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjl$ubj)}(h void **privh](j)}(hvoidh]hvoid}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj%ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%ubj*)}(hj-h]h*}(hj%hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj%ubj*)}(hj-h]h*}(hj%hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj%ubj5)}(hprivh]hpriv}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjl$ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj3$hhhjE$hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj/$hhhjE$hMubah}(h]j*$ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjE$hMhj,$hhubjc)}(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&]uh1jbhj,$hhhjE$hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj&jj&jjjuh1hhhhjhNhNubj)}(hXs**Parameters** ``struct file *filp`` file pointer ``int arg`` type of lease to obtain ``struct file_lease **flp`` input - file_lock to use, output - file_lock inserted ``void **priv`` private data for lm_setup (may be NULL if lm_setup doesn't require it) **Description** The (input) flp->fl_lmops->lm_break function is required by break_lease().h](h)}(h**Parameters**h]j)}(hj&h]h Parameters}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj&ubj)}(hhh](j)}(h#``struct file *filp`` file pointer h](j)}(h``struct file *filp``h]j)}(hj9&h]hstruct file *filp}(hj;&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7&ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj3&ubj)}(hhh]h)}(h file pointerh]h file pointer}(hjR&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjN&hMhjO&ubah}(h]h ]h"]h$]h&]uh1jhj3&ubeh}(h]h ]h"]h$]h&]uh1jhjN&hMhj0&ubj)}(h$``int arg`` type of lease to obtain h](j)}(h ``int arg``h]j)}(hjr&h]hint arg}(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.chMhjl&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&]uh1jhjl&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhj0&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&hMhj0&ubj)}(hW``void **priv`` private data for lm_setup (may be NULL if lm_setup doesn't require it) h](j)}(h``void **priv``h]j)}(hj&h]h void **priv}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj&ubj)}(hhh]h)}(hFprivate data for lm_setup (may be NULL if lm_setup doesn't require it)h]hHprivate data for lm_setup (may be NULL if lm_setup doesn’t require it)}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhj0&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&ubj)}(hJThe (input) flp->fl_lmops->lm_break function is required by break_lease().h]h)}(hJThe (input) flp->fl_lmops->lm_break function is required by break_lease().h]hJThe (input) flp->fl_lmops->lm_break function is required by break_lease().}(hj:'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj6'ubah}(h]h ]h"]h$]h&]uh1jhjH'hMhj&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_setlease (C function)c.vfs_setleasehNtauh1hhjhhhNhNubh)}(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}(hjo'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjk'hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj)}(h h]h }(hj~'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjk'hhhj}'hMubj/)}(h vfs_setleaseh]j5)}(h vfs_setleaseh]h vfs_setlease}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjk'hhhj}'hMubj)}(hD(struct file *filp, int arg, struct file_lease **lease, void **priv)h](j)}(hstruct file *filph](j )}(hjzh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubh)}(hhh]j5)}(hfileh]hfile}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNjj)}j]j)}jj'sbc.vfs_setleaseasbuh1hhj'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubj*)}(hj-h]h*}(hj'hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj'ubj5)}(hfilph]hfilp}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj'ubj)}(hint argh](j)}(hinth]hint}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj(ubj)}(h h]h }(hj,(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj5)}(hargh]harg}(hj:(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj'ubj)}(hstruct file_lease **leaseh](j )}(hjzh]hstruct}(hjS(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjO(ubj)}(h h]h }(hj`(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjO(ubh)}(hhh]j5)}(h file_leaseh]h file_lease}(hjq(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjn(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjs(modnameN classnameNjj)}j]j'c.vfs_setleaseasbuh1hhjO(ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjO(ubj*)}(hj-h]h*}(hj(hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjO(ubj*)}(hj-h]h*}(hj(hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjO(ubj5)}(hleaseh]hlease}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjO(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj'ubj)}(h void **privh](j)}(hvoidh]hvoid}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj(ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj*)}(hj-h]h*}(hj(hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj(ubj*)}(hj-h]h*}(hj(hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj(ubj5)}(hprivh]hpriv}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj'ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjk'hhhj}'hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjg'hhhj}'hMubah}(h]jb'ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj}'hMhjd'hhubjc)}(hhh]h)}(hsets a lease on an open fileh]hsets a lease on an open file}(hj0)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&]uh1jbhjd'hhhj}'hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjH)jjH)jjjuh1hhhhjhNhNubj)}(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)}(hjR)h]h Parameters}(hjT)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP)ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjL)ubj)}(hhh](j)}(h#``struct file *filp`` file pointer h](j)}(h``struct file *filp``h]j)}(hjq)h]hstruct file *filp}(hjs)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo)ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjk)ubj)}(hhh]h)}(h file pointerh]h file pointer}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhjk)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhjh)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)hMhjh)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}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMhjh)ubj)}(hk``void **priv`` private info for lm_setup when adding a lease (may be NULL if lm_setup doesn't require it) h](j)}(h``void **priv``h]j)}(hj*h]h void **priv}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj*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)}(hj5*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj2*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj1*hMhjh)ubeh}(h]h ]h"]h$]h&]uh1jhjL)ubh)}(h**Description**h]j)}(hjX*h]h Description}(hjZ*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV*ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjL)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 }(hjn*hhhNhNubj)}(h ``(*lease)->fl_lmops->lm_break``h]h(*lease)->fl_lmops->lm_break}(hjv*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn*ubhm operation must be set; if not, this function will return -ENOLCK (and generate a scary-looking stack trace).}(hjn*hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjL)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.chMhjL)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"locks_lock_inode_wait (C function)c.locks_lock_inode_waithNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhj*hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMpubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*hhhj*hMpubj/)}(hlocks_lock_inode_waith]j5)}(hlocks_lock_inode_waith]hlocks_lock_inode_wait}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj*hhhj*hMpubj)}(h+(struct inode *inode, struct file_lock *fl)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubh)}(hhh]j5)}(hinodeh]hinode}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+modnameN classnameNjj)}j]j)}jj*sbc.locks_lock_inode_waitasbuh1hhj*ubj)}(h h]h }(hj9+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubj*)}(hj-h]h*}(hjG+hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj*ubj5)}(hinodeh]hinode}(hjT+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj*ubj)}(hstruct file_lock *flh](j )}(hjzh]hstruct}(hjm+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hji+ubj)}(h h]h }(hjz+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhji+ubh)}(hhh]j5)}(h file_lockh]h file_lock}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+modnameN classnameNjj)}j]j5+c.locks_lock_inode_waitasbuh1hhji+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhji+ubj*)}(hj-h]h*}(hj+hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hji+ubj5)}(hflh]hfl}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hji+ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj*ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj*hhhj*hMpubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj*hhhj*hMpubah}(h]j*ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj*hMphj*hhubjc)}(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.chMphj+hhubah}(h]h ]h"]h$]h&]uh1jbhj*hhhj*hMpubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1hhhhjhNhNubj)}(h**Parameters** ``struct inode *inode`` inode of the file to apply to ``struct file_lock *fl`` The lock to be applied **Description** Apply a POSIX or FLOCK style lock request to an inode.h](h)}(h**Parameters**h]j)}(hj,h]h Parameters}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMthj ,ubj)}(hhh](j)}(h6``struct inode *inode`` inode of the file to apply to h](j)}(h``struct inode *inode``h]j)}(hj/,h]hstruct inode *inode}(hj1,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.chMqhj),ubj)}(hhh]h)}(hinode of the file to apply toh]hinode of the file to apply to}(hjH,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjD,hMqhjE,ubah}(h]h ]h"]h$]h&]uh1jhj),ubeh}(h]h ]h"]h$]h&]uh1jhjD,hMqhj&,ubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hjh,h]hstruct file_lock *fl}(hjj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf,ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMrhjb,ubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj},hMrhj~,ubah}(h]h ]h"]h$]h&]uh1jhjb,ubeh}(h]h ]h"]h$]h&]uh1jhj},hMrhj&,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.chMthj ,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.chMshj ,ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_test_lock (C function)c.vfs_test_lockhNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhj,hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,hhhj,hMubj/)}(h vfs_test_lockh]j5)}(h vfs_test_lockh]h vfs_test_lock}(hj -hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj,hhhj,hMubj)}(h)(struct file *filp, struct file_lock *fl)h](j)}(hstruct file *filph](j )}(hjzh]hstruct}(hj%-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!-ubj)}(h h]h }(hj2-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!-ubh)}(hhh]j5)}(hfileh]hfile}(hjC-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjE-modnameN classnameNjj)}j]j)}jj -sbc.vfs_test_lockasbuh1hhj!-ubj)}(h h]h }(hjc-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!-ubj*)}(hj-h]h*}(hjq-hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj!-ubj5)}(hfilph]hfilp}(hj~-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj-ubj)}(hstruct file_lock *flh](j )}(hjzh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubh)}(hhh]j5)}(h file_lockh]h file_lock}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNjj)}j]j_-c.vfs_test_lockasbuh1hhj-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubj*)}(hj-h]h*}(hj-hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj-ubj5)}(hflh]hfl}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj-ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj,hhhj,hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj,hhhj,hMubah}(h]j,ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj,hMhj,hhubjc)}(hhh]h)}(htest file byte range lockh]htest file byte range lock}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj.hhubah}(h]h ]h"]h$]h&]uh1jbhj,hhhj,hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0.jj0.jjjuh1hhhhjhNhNubj)}(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)}(hj:.h]h Parameters}(hj<.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8.ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj4.ubj)}(hhh](j)}(h0``struct file *filp`` The file to test lock for h](j)}(h``struct file *filp``h]j)}(hjY.h]hstruct file *filp}(hj[.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW.ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjS.ubj)}(hhh]h)}(hThe file to test lock forh]hThe file to test lock for}(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)}(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}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh must be NULL. Returns -ERRNO on failure. Indicates presence of conflicting lock by setting fl->fl_type to something other than F_UNLCK.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj4.ubh)}(hIf vfs_test_lock() does find a lock and return it, the caller must use locks_free_lock() or locks_release_private() on the returned lock.h]hIf vfs_test_lock() does find a lock and return it, the caller must use locks_free_lock() or locks_release_private() on the returned lock.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj4.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_lock_file (C function)c.vfs_lock_filehNtauh1hhjhhhNhNubh)}(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}(hjE/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjA/hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM] ubj)}(h h]h }(hjT/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjA/hhhjS/hM] ubj/)}(h vfs_lock_fileh]j5)}(h vfs_lock_fileh]h vfs_lock_file}(hjf/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjb/ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjA/hhhjS/hM] ubj)}(hS(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf)h](j)}(hstruct file *filph](j )}(hjzh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~/ubh)}(hhh]j5)}(hfileh]hfile}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNjj)}j]j)}jjh/sbc.vfs_lock_fileasbuh1hhj~/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~/ubj*)}(hj-h]h*}(hj/hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj~/ubj5)}(hfilph]hfilp}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjz/ubj)}(hunsigned int cmdh](j)}(hunsignedh]hunsigned}(hj/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj/ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubj)}(hinth]hint}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj/ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubj5)}(hcmdh]hcmd}(hj,0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjz/ubj)}(hstruct file_lock *flh](j )}(hjzh]hstruct}(hjE0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjA0ubj)}(h h]h }(hjR0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjA0ubh)}(hhh]j5)}(h file_lockh]h file_lock}(hjc0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetje0modnameN classnameNjj)}j]j/c.vfs_lock_fileasbuh1hhjA0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjA0ubj*)}(hj-h]h*}(hj0hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjA0ubj5)}(hflh]hfl}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjA0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjz/ubj)}(hstruct file_lock *confh](j )}(hjzh]hstruct}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubh)}(hhh]j5)}(h file_lockh]h file_lock}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNjj)}j]j/c.vfs_lock_fileasbuh1hhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubj*)}(hj-h]h*}(hj0hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj0ubj5)}(hconfh]hconf}(hj 1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjz/ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjA/hhhjS/hM] ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj=/hhhjS/hM] ubah}(h]j8/ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjS/hM] hj:/hhubjc)}(hhh]h)}(hfile byte range lockh]hfile byte range lock}(hj61hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM] hj31hhubah}(h]h ]h"]h$]h&]uh1jbhj:/hhhjS/hM] ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjN1jjN1jjjuh1hhhhjhNhNubj)}(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)}(hjX1h]h Parameters}(hjZ1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV1ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMa hjR1ubj)}(hhh](j)}(h4``struct file *filp`` The file to apply the lock to h](j)}(h``struct file *filp``h]j)}(hjw1h]hstruct file *filp}(hjy1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM^ hjq1ubj)}(hhh]h)}(hThe file to apply the lock toh]hThe file to apply the lock to}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hM^ hj1ubah}(h]h ]h"]h$]h&]uh1jhjq1ubeh}(h]h ]h"]h$]h&]uh1jhj1hM^ hjn1ubj)}(hH``unsigned int cmd`` type of locking operation (F_SETLK, F_GETLK, etc.) h](j)}(h``unsigned int cmd``h]j)}(hj1h]hunsigned int cmd}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM_ hj1ubj)}(hhh]h)}(h2type of locking operation (F_SETLK, F_GETLK, etc.)h]h2type of locking operation (F_SETLK, F_GETLK, etc.)}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hM_ hj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hM_ hjn1ubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hj1h]hstruct file_lock *fl}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM` hj1ubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hM` hj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hM` hjn1ubj)}(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)}(hj"2h]hstruct file_lock *conf}(hj$2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMa hj2ubj)}(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.}(hj;2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj72hMa hj82ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj72hMa hjn1ubeh}(h]h ]h"]h$]h&]uh1jhjR1ubh)}(h**Description**h]j)}(hj]2h]h Description}(hj_2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[2ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMc hjR1ubh)}(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.}(hjs2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMb hjR1ubh)}(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 }(hj2hhhNhNubj)}(h**conf**h]hconf}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh` will be left unchanged; so a caller that cares should initialize it to some acceptable default.}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMe hjR1ubh)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMi hjR1ubh)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMo hjR1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_cancel_lock (C function)c.vfs_cancel_lockhNtauh1hhjhhhNhNubh)}(hhh](j)}(h=int vfs_cancel_lock (struct file *filp, struct file_lock *fl)h]j)}(h3modnameN classnameNjj)}j]j)}jj3sbc.vfs_cancel_lockasbuh1hhj3ubj)}(h h]h }(hj\3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj*)}(hj-h]h*}(hjj3hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj5)}(hfilph]hfilp}(hjw3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj3ubj)}(hstruct file_lock *flh](j )}(hjzh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubh)}(hhh]j5)}(h file_lockh]h file_lock}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj)}j]jX3c.vfs_cancel_lockasbuh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj*)}(hj-h]h*}(hj3hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj5)}(hflh]hfl}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj3ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj2hhhj2hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj2hhhj2hM ubah}(h]j2ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj2hM hj2hhubjc)}(hhh]h)}(hfile byte range unblock lockh]hfile byte range unblock lock}(hj4hhhNhNubah}(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&]uh1jbhj2hhhj2hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)4jj)4jjjuh1hhhhjhNhNubj)}(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)}(hj34h]h Parameters}(hj54hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj14ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj-4ubj)}(hhh](j)}(h7``struct file *filp`` The file to apply the unblock to h](j)}(h``struct file *filp``h]j)}(hjR4h]hstruct file *filp}(hjT4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP4ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hjL4ubj)}(hhh]h)}(h The file to apply the unblock toh]h The file to apply the unblock to}(hjk4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjg4hM hjh4ubah}(h]h ]h"]h$]h&]uh1jhjL4ubeh}(h]h ]h"]h$]h&]uh1jhjg4hM hjI4ubj)}(h2``struct file_lock *fl`` The lock to be unblocked h](j)}(h``struct file_lock *fl``h]j)}(hj4h]hstruct file_lock *fl}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj4ubj)}(hhh]h)}(hThe lock to be unblockedh]hThe lock to be unblocked}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hM hj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hM hjI4ubeh}(h]h ]h"]h$]h&]uh1jhj-4ubh)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj-4ubh)}(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 hj-4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h vfs_inode_has_locks (C function)c.vfs_inode_has_lockshNtauh1hhjhhhNhNubh)}(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}(hj 5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj5hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5hhhj5hM ubj/)}(hvfs_inode_has_locksh]j5)}(hvfs_inode_has_locksh]hvfs_inode_has_locks}(hj+5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'5ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj5hhhj5hM ubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjG5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjC5ubj)}(h h]h }(hjT5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjC5ubh)}(hhh]j5)}(hinodeh]hinode}(hje5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjb5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjg5modnameN classnameNjj)}j]j)}jj-5sbc.vfs_inode_has_locksasbuh1hhjC5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjC5ubj*)}(hj-h]h*}(hj5hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjC5ubj5)}(hinodeh]hinode}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjC5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj?5ubah}(h]h ]h"]h$]h&]jLjMuh1jhj5hhhj5hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj5hhhj5hM ubah}(h]j4ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj5hM hj5hhubjc)}(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 hj5hhubah}(h]h ]h"]h$]h&]uh1jbhj5hhhj5hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhjhNhNubj)}(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)}(hj5h]h Parameters}(hj6hhhNhNubah}(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 hj5ubj)}(hhh]j)}(h1``struct inode *inode`` inode to check for locks h](j)}(h``struct inode *inode``h]j)}(hj6h]hstruct inode *inode}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj6ubj)}(hhh]h)}(hinode to check for locksh]hinode to check for locks}(hj66hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj26hM hj36ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj26hM hj6ubah}(h]h ]h"]h$]h&]uh1jhj5ubh)}(h**Description**h]j)}(hjX6h]h Description}(hjZ6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV6ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj5ubh)}(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 }(hjn6hhhNhNubj)}(h **inode**h]hinode}(hjv6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn6ubh.}(hjn6hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chM hj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h lease_open_conflict (C function)c.lease_open_conflicthNtauh1hhjhhhNhNubh)}(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}(hj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj6hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMWubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6hhhj6hMWubj/)}(hlease_open_conflicth]j5)}(hlease_open_conflicth]hlease_open_conflict}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj6hhhj6hMWubj)}(h"(struct file *filp, const int arg)h](j)}(hstruct file *filph](j )}(hjzh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubh)}(hhh]j5)}(hfileh]hfile}(hj 7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj 7modnameN classnameNjj)}j]j)}jj6sbc.lease_open_conflictasbuh1hhj6ubj)}(h h]h }(hj*7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj*)}(hj-h]h*}(hj87hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj6ubj5)}(hfilph]hfilp}(hjE7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj6ubj)}(h const int argh](j )}(hjUh]hconst}(hj^7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZ7ubj)}(h h]h }(hjk7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZ7ubj)}(hinth]hint}(hjy7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjZ7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZ7ubj5)}(hargh]harg}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZ7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj6ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj6hhhj6hMWubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj6hhhj6hMWubah}(h]j6ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj6hMWhj6hhubjc)}(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.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMWhj7hhubah}(h]h ]h"]h$]h&]uh1jbhj6hhhj6hMWubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhjhNhNubj)}(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)}(hj8h]hstruct file *filp}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMZhj7ubj)}(hhh]h)}(h file to checkh]h file to check}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hMZhj8ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj8hMZhj7ubj)}(h=``const int arg`` type of lease that we're trying to acquire h](j)}(h``const int arg``h]j)}(hj98h]h const int arg}(hj;8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj78ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM[hj38ubj)}(hhh]h)}(h*type of lease that we're trying to acquireh]h,type of lease that we’re trying to acquire}(hjR8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjN8hM[hjO8ubah}(h]h ]h"]h$]h&]uh1jhj38ubeh}(h]h ]h"]h$]h&]uh1jhjN8hM[hj7ubeh}(h]h ]h"]h$]h&]uh1jhj7ubh)}(h**Description**h]j)}(hjt8h]h Description}(hjv8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr8ubah}(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.}(hj8hhhNhNubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"posix_lock_inode_wait (C function)c.posix_lock_inode_waithNtauh1hhjhhhNhNubh)}(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}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj8hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8hhhj8hMubj/)}(hposix_lock_inode_waith]j5)}(hposix_lock_inode_waith]hposix_lock_inode_wait}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj8hhhj8hMubj)}(h+(struct inode *inode, struct file_lock *fl)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubh)}(hhh]j5)}(hinodeh]hinode}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj)}j]j)}jj8sbc.posix_lock_inode_waitasbuh1hhj8ubj)}(h h]h }(hj49hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubj*)}(hj-h]h*}(hjB9hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj8ubj5)}(hinodeh]hinode}(hjO9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj8ubj)}(hstruct file_lock *flh](j )}(hjzh]hstruct}(hjh9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjd9ubj)}(h h]h }(hju9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjd9ubh)}(hhh]j5)}(h file_lockh]h file_lock}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj)}j]j09c.posix_lock_inode_waitasbuh1hhjd9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjd9ubj*)}(hj-h]h*}(hj9hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjd9ubj5)}(hflh]hfl}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjd9ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj8ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj8hhhj8hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj8hhhj8hMubah}(h]j8ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj8hMhj8hhubjc)}(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&]uh1jbhj8hhhj8hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jj:jjjuh1hhhhjhNhNubj)}(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)}(hj :h]h Parameters}(hj :hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj :ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj:ubj)}(hhh](j)}(hN``struct inode *inode`` inode of file to which lock request should be applied 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:47: ./fs/locks.chMhj$:ubj)}(hhh]h)}(h5inode of file to which lock request should be appliedh]h5inode of file to which lock request should be applied}(hjC: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``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hjc:h]hstruct file_lock *fl}(hje:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja:ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj]:ubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hj|:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjx:hMhjy:ubah}(h]h ]h"]h$]h&]uh1jhj]:ubeh}(h]h ]h"]h$]h&]uh1jhjx:hMhj!:ubeh}(h]h ]h"]h$]h&]uh1jhj:ubh)}(h**Description**h]j)}(hj:h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj:ubh)}(h-Apply a POSIX style lock request to an inode.h]h-Apply a POSIX style lock request to an inode.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__fcntl_getlease (C function)c.__fcntl_getleasehNtauh1hhjhhhNhNubh)}(hhh](j)}(h=int __fcntl_getlease (struct file *filp, unsigned int flavor)h]j)}(h;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@;modnameN classnameNjj)}j]j)}jj;sbc.__fcntl_getleaseasbuh1hhj;ubj)}(h h]h }(hj^;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;ubj*)}(hj-h]h*}(hjl;hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj;ubj5)}(hfilph]hfilp}(hjy;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj;ubj)}(hunsigned int flavorh](j)}(hunsignedh]hunsigned}(hj;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;ubj)}(hinth]hint}(hj;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;ubj5)}(hflavorh]hflavor}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj;ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj:hhhj:hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj:hhhj:hMubah}(h]j:ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj:hMhj:hhubjc)}(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&]uh1jbhj:hhhj:hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj <jj <jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct file *filp`` the file ``unsigned int flavor`` type of lease flags to check **Description** The value returned by this function will be one of (if no lease break is pending): ``F_RDLCK`` to indicate a shared lease is held. ``F_WRLCK`` to indicate an exclusive lease is held. ``F_UNLCK`` to indicate no lease is held. (if a lease break is pending): ``F_RDLCK`` to indicate an exclusive lease needs to be changed to a shared lease (or removed). ``F_UNLCK`` to indicate the lease needs to be removed. XXX: sfr & willy disagree over whether F_INPROGRESS should be returned to userspace.h](h)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj<ubj)}(hhh](j)}(h``struct file *filp`` the file h](j)}(h``struct file *filp``h]j)}(hj5<h]hstruct file *filp}(hj7<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3<ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj/<ubj)}(hhh]h)}(hthe fileh]hthe file}(hjN<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJ<hMhjK<ubah}(h]h ]h"]h$]h&]uh1jhj/<ubeh}(h]h ]h"]h$]h&]uh1jhjJ<hMhj,<ubj)}(h5``unsigned int flavor`` type of lease flags to check h](j)}(h``unsigned int flavor``h]j)}(hjn<h]hunsigned int flavor}(hjp<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl<ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjh<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&]uh1jhjh<ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhj,<ubeh}(h]h ]h"]h$]h&]uh1jhj<ubh)}(h**Description**h]j)}(hj<h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj<ubj)}(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}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj =ubh to indicate no lease is held.}(hj =hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.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}(hjC=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?=ubh+ to indicate an exclusive lease needs to be}(hj?=hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj;=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&]uh1jhj;=ubeh}(h]h ]h"]h$]h&]uh1jhj[=hMhj8=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&]uh1jhj<hMhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfcntl_setlease (C function)c.fcntl_setleasehNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhj=hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM/ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=hhhj=hM/ubj/)}(hfcntl_setleaseh]j5)}(hfcntl_setleaseh]hfcntl_setlease}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj=hhhj=hM/ubj)}(h-(unsigned int fd, struct file *filp, int arg)h](j)}(hunsigned int fdh](j)}(hunsignedh]hunsigned}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj >ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj >ubj)}(hinth]hint}(hj*>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj >ubj)}(h h]h }(hj8>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj >ubj5)}(hfdh]hfd}(hjF>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj >ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubj)}(hstruct file *filph](j )}(hjzh]hstruct}(hj_>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[>ubj)}(h h]h }(hjl>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[>ubh)}(hhh]j5)}(hfileh]hfile}(hj}>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjz>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNjj)}j]j)}jj=sbc.fcntl_setleaseasbuh1hhj[>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[>ubj*)}(hj-h]h*}(hj>hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj[>ubj5)}(hfilph]hfilp}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubj)}(hint argh](j)}(hinth]hint}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubj5)}(hargh]harg}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj=hhhj=hM/ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj=hhhj=hM/ubah}(h]j=ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj=hM/hj=hhubjc)}(hhh]h)}(hsets a lease on an open fileh]hsets a lease on an open file}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM/hj?hhubah}(h]h ]h"]h$]h&]uh1jbhj=hhhj=hM/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/?jj/?jjjuh1hhhhjhNhNubj)}(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)}(hj9?h]h Parameters}(hj;?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7?ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM3hj3?ubj)}(hhh](j)}(h)``unsigned int fd`` open file descriptor h](j)}(h``unsigned int fd``h]j)}(hjX?h]hunsigned int fd}(hjZ?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV?ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM0hjR?ubj)}(hhh]h)}(hopen file descriptorh]hopen file descriptor}(hjq?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjm?hM0hjn?ubah}(h]h ]h"]h$]h&]uh1jhjR?ubeh}(h]h ]h"]h$]h&]uh1jhjm?hM0hjO?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.chM1hj?ubj)}(hhh]h)}(h file pointerh]h file pointer}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hM1hj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hM1hjO?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.chM2hj?ubj)}(hhh]h)}(htype of lease to obtainh]htype of lease to obtain}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hM2hj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hM2hjO?ubeh}(h]h ]h"]h$]h&]uh1jhj3?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.chM4hj3?ubj)}(hCall this fcntl to establish a lease on the file. Note that you also need to call ``F_SETSIG`` to receive a signal when the lease is broken.h]h)}(hCall this fcntl to establish a lease on the file. Note that you also need to call ``F_SETSIG`` to receive a signal when the lease is broken.h](hRCall this fcntl to establish a lease on the file. Note that you also need to call }(hj@hhhNhNubj)}(h ``F_SETSIG``h]hF_SETSIG}(hj'@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh. to receive a signal when the lease is broken.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM3hj@ubah}(h]h ]h"]h$]h&]uh1jhj?@hM3hj3?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfcntl_setdeleg (C function)c.fcntl_setdeleghNtauh1hhjhhhNhNubh)}(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}(hjf@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjb@hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMCubj)}(h h]h }(hju@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjb@hhhjt@hMCubj/)}(hfcntl_setdelegh]j5)}(hfcntl_setdelegh]hfcntl_setdeleg}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjb@hhhjt@hMCubj)}(h>(unsigned int fd, struct file *filp, struct delegation *deleg)h](j)}(hunsigned int fdh](j)}(hunsignedh]hunsigned}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubj)}(hinth]hint}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubj5)}(hfdh]hfd}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj@ubj)}(hstruct file *filph](j )}(hjzh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubh)}(hhh]j5)}(hfileh]hfile}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNjj)}j]j)}jj@sbc.fcntl_setdelegasbuh1hhj@ubj)}(h h]h }(hj2AhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubj*)}(hj-h]h*}(hj@AhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj@ubj5)}(hfilph]hfilp}(hjMAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj@ubj)}(hstruct delegation *delegh](j )}(hjzh]hstruct}(hjfAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbAubj)}(h h]h }(hjsAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbAubh)}(hhh]j5)}(h delegationh]h delegation}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNjj)}j]j.Ac.fcntl_setdelegasbuh1hhjbAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbAubj*)}(hj-h]h*}(hjAhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjbAubj5)}(hdelegh]hdeleg}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbAubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj@ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjb@hhhjt@hMCubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj^@hhhjt@hMCubah}(h]jY@ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjt@hMChj[@hhubjc)}(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.chMChjAhhubah}(h]h ]h"]h$]h&]uh1jbhj[@hhhjt@hMCubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1hhhhjhNhNubj)}(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 Bh]h Parameters}(hj BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMGhjBubj)}(hhh](j)}(h)``unsigned int fd`` open file descriptor h](j)}(h``unsigned int fd``h]j)}(hj(Bh]hunsigned int fd}(hj*BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&Bubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMDhj"Bubj)}(hhh]h)}(hopen file descriptorh]hopen file descriptor}(hjABhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=BhMDhj>Bubah}(h]h ]h"]h$]h&]uh1jhj"Bubeh}(h]h ]h"]h$]h&]uh1jhj=BhMDhjBubj)}(h#``struct file *filp`` file pointer h](j)}(h``struct file *filp``h]j)}(hjaBh]hstruct file *filp}(hjcBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_Bubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMEhj[Bubj)}(hhh]h)}(h file pointerh]h file pointer}(hjzBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvBhMEhjwBubah}(h]h ]h"]h$]h&]uh1jhj[Bubeh}(h]h ]h"]h$]h&]uh1jhjvBhMEhjBubj)}(h>``struct delegation *deleg`` delegation request from userland h](j)}(h``struct delegation *deleg``h]j)}(hjBh]hstruct delegation *deleg}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMFhjBubj)}(hhh]h)}(h delegation request from userlandh]h delegation request from userland}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhMFhjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMFhjBubeh}(h]h ]h"]h$]h&]uh1jhjBubh)}(h**Description**h]j)}(hjBh]h Description}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMHhjBubj)}(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 }(hjBhhhNhNubj)}(h ``F_SETSIG``h]hF_SETSIG}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh. to receive a signal when the lease is broken.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMGhjBubah}(h]h ]h"]h$]h&]uh1jhjChMGhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"flock_lock_inode_wait (C function)c.flock_lock_inode_waithNtauh1hhjhhhNhNubh)}(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}(hj6ChhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj2ChhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMXubj)}(h h]h }(hjEChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ChhhjDChMXubj/)}(hflock_lock_inode_waith]j5)}(hflock_lock_inode_waith]hflock_lock_inode_wait}(hjWChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSCubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj2ChhhjDChMXubj)}(h+(struct inode *inode, struct file_lock *fl)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjsChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoCubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoCubh)}(hhh]j5)}(hinodeh]hinode}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj)}j]j)}jjYCsbc.flock_lock_inode_waitasbuh1hhjoCubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoCubj*)}(hj-h]h*}(hjChhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjoCubj5)}(hinodeh]hinode}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjkCubj)}(hstruct file_lock *flh](j )}(hjzh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubh)}(hhh]j5)}(h file_lockh]h file_lock}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNjj)}j]jCc.flock_lock_inode_waitasbuh1hhjCubj)}(h h]h }(hj!DhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj*)}(hj-h]h*}(hj/DhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjCubj5)}(hflh]hfl}(hjHhhubjc)}(hhh]h)}(h6translate a file_lock's fl_pid number into a namespaceh]h8translate a file_lock’s fl_pid number into a namespace}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjIhhubah}(h]h ]h"]h$]h&]uh1jbhj>HhhhjmHhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1hhhhjhNhNubj)}(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)}(hjIh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjIubj)}(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.chMhjIubj)}(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&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjIhMhjIubj)}(hS``struct pid_namespace *ns`` The namespace into which the pid should be translated h](j)}(h``struct pid_namespace *ns``h]j)}(hjJh]hstruct pid_namespace *ns}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjJubj)}(hhh]h)}(h5The namespace into which the pid should be translatedh]h5The namespace into which the pid should be translated}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjIubeh}(h]h ]h"]h$]h&]uh1jhjIubh)}(h**Description**h]j)}(hjAJh]h Description}(hjCJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?Jubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjIubh)}(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}(hjWJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubeh}(h] file-locksah ]h"] file locksah$]h&]uh1hhhhhhhhK*ubh)}(hhh](h)}(hOther Functionsh]hOther Functions}(hjxJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuJhhhhhK3ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmpage_readahead (C function)c.mpage_readaheadhNtauh1hhjuJhhhNhNubh)}(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}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjJhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMAubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJhhhjJhMAubj/)}(hmpage_readaheadh]j5)}(hmpage_readaheadh]hmpage_readahead}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjJhhhjJhMAubj)}(h6(struct readahead_control *rac, get_block_t get_block)h](j)}(hstruct readahead_control *rach](j )}(hjzh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubh)}(hhh]j5)}(hreadahead_controlh]hreadahead_control}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj)}j]j)}jjJsbc.mpage_readaheadasbuh1hhjJubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubj*)}(hj-h]h*}(hj(KhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjJubj5)}(hrach]hrac}(hj5KhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjJubj)}(hget_block_t get_blockh](h)}(hhh]j5)}(h get_block_th]h get_block_t}(hjQKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSKmodnameN classnameNjj)}j]jKc.mpage_readaheadasbuh1hhjJKubj)}(h h]h }(hjoKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJKubj5)}(h get_blockh]h get_block}(hj}KhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJKubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjJubeh}(h]h ]h"]h$]h&]jLjMuh1jhjJhhhjJhMAubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjJhhhjJhMAubah}(h]jJah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjJhMAhjJhhubjc)}(hhh]h)}(hstart reads against pagesh]hstart reads against pages}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMAhjKhhubah}(h]h ]h"]h$]h&]uh1jbhjJhhhjJhMAubeh}(h]h ](jfunctioneh"]h$]h&]jjjjKjjKjjjuh1hhhhjuJhNhNubj)}(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)}(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:53: ./fs/mpage.chMEhjKubj)}(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}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMBhjKubj)}(hhh]h)}(hDescribes which pages to read.h]hDescribes which pages to read.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhMBhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMBhjKubj)}(hB``get_block_t get_block`` The filesystem's block mapper function. h](j)}(h``get_block_t get_block``h]j)}(hj!Lh]hget_block_t get_block}(hj#LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMChjLubj)}(hhh]h)}(h'The filesystem's block mapper function.h]h)The filesystem’s block mapper function.}(hj:LhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6LhMChj7Lubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhj6LhMChjKubeh}(h]h ]h"]h$]h&]uh1jhjKubh)}(h**Description**h]j)}(hj\Lh]h Description}(hj^LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZLubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMEhjKubh)}(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.}(hjrLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMDhjKubh)}(h%If anything unusual happens, such as:h]h%If anything unusual happens, such as:}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMGhjKubjC)}(hhh](jC)}(h%encountering a page which has buffersh]h)}(hjLh]h%encountering a page which has buffers}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMIhjLubah}(h]h ]h"]h$]h&]uh1jChjLubjC)}(h5encountering a page which has a non-hole after a holeh]h)}(hjLh]h5encountering a page which has a non-hole after a hole}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMJhjLubah}(h]h ]h"]h$]h&]uh1jChjLubjC)}(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}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMKhjLubah}(h]h ]h"]h$]h&]uh1jChjLubeh}(h]h ]h"]h$]h&]jCj}uh1jChjLhMIhjKubh)}(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.chMMhjKubh)}(hBH_Boundary explanation:h]hBH_Boundary explanation:}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMQhjKubh)}(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.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMShjKubh)}(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:}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMWhjKubj)}(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}(hj"MhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMZhjMubah}(h]h ]h"]h$]h&]uh1jhj0MhMZhjKubh)}(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.}(hj7MhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chM\hjKubh)}(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.}(hjFMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chM_hjKubh)}(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.}(hjUMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMdhjKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmpage_writepages (C function)c.mpage_writepageshNtauh1hhjuJhhhNhNubh)}(hhh](j)}(hjint mpage_writepages (struct address_space *mapping, struct writeback_control *wbc, get_block_t get_block)h]j)}(hiint mpage_writepages(struct address_space *mapping, struct writeback_control *wbc, get_block_t get_block)h](j)}(hinth]hint}(hjMhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjMhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMhhhjMhMubj/)}(hmpage_writepagesh]j5)}(hmpage_writepagesh]hmpage_writepages}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjMhhhjMhMubj)}(hU(struct address_space *mapping, struct writeback_control *wbc, get_block_t get_block)h](j)}(hstruct address_space *mappingh](j )}(hjzh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubh)}(hhh]j5)}(h address_spaceh]h address_space}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNjj)}j]j)}jjMsbc.mpage_writepagesasbuh1hhjMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubj*)}(hj-h]h*}(hj NhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjMubj5)}(hmappingh]hmapping}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubj)}(hstruct writeback_control *wbch](j )}(hjzh]hstruct}(hj3NhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/Nubj)}(h h]h }(hj@NhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/Nubh)}(hhh]j5)}(hwriteback_controlh]hwriteback_control}(hjQNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSNmodnameN classnameNjj)}j]jMc.mpage_writepagesasbuh1hhj/Nubj)}(h h]h }(hjoNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/Nubj*)}(hj-h]h*}(hj}NhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj/Nubj5)}(hwbch]hwbc}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/Nubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubj)}(hget_block_t get_blockh](h)}(hhh]j5)}(h get_block_th]h get_block_t}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNjj)}j]jMc.mpage_writepagesasbuh1hhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubj5)}(h get_blockh]h get_block}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubeh}(h]h ]h"]h$]h&]jLjMuh1jhjMhhhjMhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj|MhhhjMhMubah}(h]jwMah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjMhMhjyMhhubjc)}(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}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjNhhubah}(h]h ]h"]h$]h&]uh1jbhjyMhhhjMhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhjuJhNhNubj)}(hXg**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. **Description** This is a library function, which implements the writepages() address_space_operation.h](h)}(h**Parameters**h]j)}(hjOh]h Parameters}(hj OhhhNhNubah}(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)}(hj=Oh]hstruct address_space *mapping}(hj?OhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;Oubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhj7Oubj)}(hhh]h)}(h address space structure to writeh]h address space structure to write}(hjVOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjROhMhjSOubah}(h]h ]h"]h$]h&]uh1jhj7Oubeh}(h]h ]h"]h$]h&]uh1jhjROhMhj4Oubj)}(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)}(hjvOh]hstruct writeback_control *wbc}(hjxOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtOubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjpOubj)}(hhh]h)}(h?subtract the number of written pages from ***wbc->nr_to_write**h](h*subtract the number of written pages from }(hjOhhhNhNubj)}(h***wbc->nr_to_write**h]h*wbc->nr_to_write}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1hhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjpOubeh}(h]h ]h"]h$]h&]uh1jhjOhMhj4Oubj)}(hB``get_block_t get_block`` the filesystem's block mapper function. h](j)}(h``get_block_t get_block``h]j)}(hjOh]hget_block_t get_block}(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'the filesystem's block mapper function.h]h)the filesystem’s block mapper function.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMhj4Oubeh}(h]h ]h"]h$]h&]uh1jhjOubh)}(h**Description**h]j)}(hjOh]h Description}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjOubh)}(hVThis is a library function, which implements the writepages() address_space_operation.h]hVThis is a library function, which implements the writepages() address_space_operation.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_permission (C function)c.generic_permissionhNtauh1hhjuJhhhNhNubh)}(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}(hj=PhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj9PhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hjLPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9PhhhjKPhMubj/)}(hgeneric_permissionh]j5)}(hgeneric_permissionh]hgeneric_permission}(hj^PhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZPubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj9PhhhjKPhMubj)}(h8(struct mnt_idmap *idmap, struct inode *inode, int mask)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjzPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvPubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j]j)}jj`Psbc.generic_permissionasbuh1hhjvPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvPubj*)}(hj-h]h*}(hjPhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjvPubj5)}(hidmaph]hidmap}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjrPubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubh)}(hhh]j5)}(hinodeh]hinode}(hj QhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj QmodnameN classnameNjj)}j]jPc.generic_permissionasbuh1hhjPubj)}(h h]h }(hj(QhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj*)}(hj-h]h*}(hj6QhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjPubj5)}(hinodeh]hinode}(hjCQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjrPubj)}(hint maskh](j)}(hinth]hint}(hj\QhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjXQubj)}(h h]h }(hjjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXQubj5)}(hmaskh]hmask}(hjxQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXQubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjrPubeh}(h]h ]h"]h$]h&]jLjMuh1jhj9PhhhjKPhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj5PhhhjKPhMubah}(h]j0Pah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjKPhMhj2Phhubjc)}(hhh]h)}(h2check for access rights on a Posix-like filesystemh]h2check for access rights on a Posix-like filesystem}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjQhhubah}(h]h ]h"]h$]h&]uh1jbhj2PhhhjKPhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQjjjuh1hhhhjuJhNhNubj)}(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)}(hjQh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjQubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjQh]hstruct mnt_idmap *idmap}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjQubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhMhjQubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjQhMhjQubj)}(h9``struct inode *inode`` inode to check access rights for h](j)}(h``struct inode *inode``h]j)}(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}(hj5RhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1RhMhj2Rubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhj1RhMhjQubj)}(hc``int mask`` right to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``, ``MAY_NOT_BLOCK`` ...) h](j)}(h ``int mask``h]j)}(hjURh]hint mask}(hjWRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSRubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjORubj)}(hhh]h)}(hUright to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``, ``MAY_NOT_BLOCK`` ...)h](hright to check for (}(hjnRhhhNhNubj)}(h ``MAY_READ``h]hMAY_READ}(hjvRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnRubh, }(hjnRhhhNhNubj)}(h ``MAY_WRITE``h]h MAY_WRITE}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnRubh, }hjnRsbj)}(h ``MAY_EXEC``h]hMAY_EXEC}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnRubh, }(hjnRhhhNhNubj)}(h``MAY_NOT_BLOCK``h]h MAY_NOT_BLOCK}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnRubh ...)}(hjnRhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjkRubah}(h]h ]h"]h$]h&]uh1jhjORubeh}(h]h ]h"]h$]h&]uh1jhjjRhMhjQubeh}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjQubh)}(hUsed to check for read/write/execute permissions on a file. We use "fsuid" for this, letting us set arbitrary permissions for filesystem access without changing the "normal" uids which are used for other things.h]hUsed to check for read/write/execute permissions on a file. We use “fsuid” for this, letting us set arbitrary permissions for filesystem access without changing the “normal” uids which are used for other things.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjQubh)}(hgeneric_permission is rcu-walk aware. It returns -ECHILD in case an rcu-walk request cannot be satisfied (eg. requires blocking or too much complexity). It would then be called again in ref-walk mode.h]hgeneric_permission is rcu-walk aware. It returns -ECHILD in case an rcu-walk request cannot be satisfied (eg. requires blocking or too much complexity). It would then be called again in ref-walk mode.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjQubh)}(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 ShhhNhNubj)}(h **idmap**h]hidmap}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj SubhB. This function will then take care to map the inode according to }(hj ShhhNhNubj)}(h **idmap**h]hidmap}(hj'ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Subh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hj ShhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hj9ShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Subh.}(hj ShhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_permission (C function)c.inode_permissionhNtauh1hhjuJhhhNhNubh)}(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}(hjrShhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjnShhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMdubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnShhhjShMdubj/)}(hinode_permissionh]j5)}(hinode_permissionh]hinode_permission}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjnShhhjShMdubj)}(h8(struct mnt_idmap *idmap, struct inode *inode, int mask)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj)}j]j)}jjSsbc.inode_permissionasbuh1hhjSubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubj*)}(hj-h]h*}(hjShhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjSubj5)}(hidmaph]hidmap}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjSubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj!ThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj)}(h h]h }(hj.ThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubh)}(hhh]j5)}(hinodeh]hinode}(hj?ThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRight to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``)h](hRight to check for (}(hjUhhhNhNubj)}(h ``MAY_READ``h]hMAY_READ}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh, }(hjUhhhNhNubj)}(h ``MAY_WRITE``h]h MAY_WRITE}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh, }hjUsbj)}(h ``MAY_EXEC``h]hMAY_EXEC}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh)}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjUhMghjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMghjUubeh}(h]h ]h"]h$]h&]uh1jhjTubh)}(h**Description**h]j)}(hjUh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMihjTubh)}(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.chMhhjTubh)}(hEWhen checking for MAY_APPEND, MAY_WRITE must also be set in **mask**.h](hi_rwsem.h](h)}(h**Parameters**h]j)}(hjgh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}gubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMQ hjygubj)}(hhh](j)}(h@``struct qstr *name`` qstr storing pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjgh]hstruct qstr *name}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMN hjgubj)}(hhh]h)}(h)qstr storing pathname component to lookuph]h)qstr storing pathname component to lookup}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghMN hjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghMN hjgubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjgh]hstruct dentry *base}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMO hjgubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghMO hjgubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjghMO hjgubeh}(h]h ]h"]h$]h&]uh1jhjygubh)}(h**Description**h]j)}(hjhh]h Description}(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.chMQ hjygubh)}(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.}(hj(hhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMP hjygubh)}(h#The caller must hold base->i_rwsem.h]h#The caller must hold base->i_rwsem.}(hj7hhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMS hjygubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlookup_one (C function) c.lookup_onehNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjfhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMg ubj)}(h h]h }(hjthhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbhhhhjshhMg ubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj)}j]j)}j lookup_onesb c.lookup_oneasbuh1hhjbhhhhjshhMg ubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbhhhhjshhMg ubj*)}(hj-h]h*}(hjhhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjbhhhhjshhMg ubj/)}(h lookup_oneh]j5)}(hjhh]h lookup_one}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjbhhhhjshhMg ubj)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNjj)}j]jh c.lookup_oneasbuh1hhjhubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubj*)}(hj-h]h*}(hj*ihhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhubj5)}(hidmaph]hidmap}(hj7ihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjhubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hjPihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLiubj)}(h h]h }(hj]ihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLiubh)}(hhh]j5)}(hqstrh]hqstr}(hjnihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpimodnameN classnameNjj)}j]jh c.lookup_oneasbuh1hhjLiubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLiubj*)}(hj-h]h*}(hjihhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjLiubj5)}(hnameh]hname}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjhubj)}(hstruct dentry *baseh](j )}(hjzh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubh)}(hhh]j5)}(hdentryh]hdentry}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNjj)}j]jh c.lookup_oneasbuh1hhjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj*)}(hj-h]h*}(hj jhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjiubj5)}(hbaseh]hbase}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjhubeh}(h]h ]h"]h$]h&]jLjMuh1jhjbhhhhjshhMg ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj^hhhhjshhMg ubah}(h]jYhah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjshhMg hj[hhhubjc)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hjAjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMg hj>jhhubah}(h]h ]h"]h$]h&]uh1jbhj[hhhhjshhMg ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjjYjjjjuh1hhhhjuJhNhNubj)}(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)}(hjcjh]h Parameters}(hjejhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjajubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMk hj]jubj)}(hhh](j)}(hL``struct mnt_idmap *idmap`` idmap of the mount the lookup is performed from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjjh]hstruct mnt_idmap *idmap}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMh hj|jubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMh hjjubah}(h]h ]h"]h$]h&]uh1jhj|jubeh}(h]h ]h"]h$]h&]uh1jhjjhMh hjyjubj)}(h@``struct qstr *name`` qstr holding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjjh]hstruct qstr *name}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMi hjjubj)}(hhh]h)}(h)qstr holding pathname component to lookuph]h)qstr holding pathname component to lookup}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMi hjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMi hjyjubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjjh]hstruct dentry *base}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMj hjjubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hj khhhNhNubah}(h]h ]h"]h$]h&]uh1hhj khMj hj kubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhj khMj hjyjubeh}(h]h ]h"]h$]h&]uh1jhj]jubh)}(h**Description**h]j)}(hj/kh]h Description}(hj1khhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-kubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMl hj]jubh)}(hGThis can be used for in-kernel filesystem clients such as file servers.h]hGThis can be used for in-kernel filesystem clients such as file servers.}(hjEkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMk hj]jubh)}(h#The caller must hold base->i_rwsem.h]h#The caller must hold base->i_rwsem.}(hjTkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMm hj]jubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h lookup_one_unlocked (C function)c.lookup_one_unlockedhNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkhhhjkhM ubh)}(hhh]j5)}(hdentryh]hdentry}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNjj)}j]j)}jlookup_one_unlockedsbc.lookup_one_unlockedasbuh1hhjkhhhjkhM ubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkhhhjkhM ubj*)}(hj-h]h*}(hjkhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjkhhhjkhM ubj/)}(hlookup_one_unlockedh]j5)}(hjkh]hlookup_one_unlocked}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjkhhhjkhM ubj)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj)}(h h]h }(hj lhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj)}j]jkc.lookup_one_unlockedasbuh1hhjkubj)}(h h]h }(hj9lhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubj*)}(hj-h]h*}(hjGlhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjkubj5)}(hidmaph]hidmap}(hjTlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjkubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hjmlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjilubj)}(h h]h }(hjzlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjilubh)}(hhh]j5)}(hqstrh]hqstr}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj)}j]jkc.lookup_one_unlockedasbuh1hhjilubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjilubj*)}(hj-h]h*}(hjlhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjilubj5)}(hnameh]hname}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjilubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjkubj)}(hstruct dentry *baseh](j )}(hjzh]hstruct}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubh)}(hhh]j5)}(hdentryh]hdentry}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj)}j]jkc.lookup_one_unlockedasbuh1hhjlubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj*)}(hj-h]h*}(hj'mhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjlubj5)}(hbaseh]hbase}(hj4mhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjkubeh}(h]h ]h"]h$]h&]jLjMuh1jhjkhhhjkhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj{khhhjkhM ubah}(h]jvkah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjkhM hjxkhhubjc)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hj^mhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj[mhhubah}(h]h ]h"]h$]h&]uh1jbhjxkhhhjkhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvmjjvmjjjuh1hhhhjuJhNhNubj)}(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 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.h](h)}(h**Parameters**h]j)}(hjmh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~mubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjzmubj)}(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)}(hjmh]hstruct mnt_idmap *idmap}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjmubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhM hjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhM hjmubj)}(h?``struct qstr *name`` qstr olding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjmh]hstruct qstr *name}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjmubj)}(hhh]h)}(h(qstr olding pathname component to lookuph]h(qstr olding pathname component to lookup}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhM hjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhM hjmubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjnh]hstruct dentry *base}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj nubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hj*nhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&nhM hj'nubah}(h]h ]h"]h$]h&]uh1jhj nubeh}(h]h ]h"]h$]h&]uh1jhj&nhM hjmubeh}(h]h ]h"]h$]h&]uh1jhjzmubh)}(h**Description**h]j)}(hjLnh]h Description}(hjNnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJnubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjzmubh)}(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.}(hjbnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjzmubh)}(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.}(hjqnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjzmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)lookup_one_positive_killable (C function)c.lookup_one_positive_killablehNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnhhhjnhM ubh)}(hhh]j5)}(hdentryh]hdentry}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj)}j]j)}jlookup_one_positive_killablesbc.lookup_one_positive_killableasbuh1hhjnhhhjnhM ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnhhhjnhM ubj*)}(hj-h]h*}(hjnhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjnhhhjnhM ubj/)}(hlookup_one_positive_killableh]j5)}(hjnh]hlookup_one_positive_killable}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjnhhhjnhM ubj)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj)}(h h]h }(hj'ohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj8ohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5oubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:omodnameN classnameNjj)}j]jnc.lookup_one_positive_killableasbuh1hhjoubj)}(h h]h }(hjVohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubj*)}(hj-h]h*}(hjdohhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjoubj5)}(hidmaph]hidmap}(hjqohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjoubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubh)}(hhh]j5)}(hqstrh]hqstr}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNjj)}j]jnc.lookup_one_positive_killableasbuh1hhjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubj*)}(hj-h]h*}(hjohhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjoubj5)}(hnameh]hname}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjoubj)}(hstruct dentry *baseh](j )}(hjzh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubh)}(hhh]j5)}(hdentryh]hdentry}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNjj)}j]jnc.lookup_one_positive_killableasbuh1hhjoubj)}(h h]h }(hj6phhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubj*)}(hj-h]h*}(hjDphhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjoubj5)}(hbaseh]hbase}(hjQphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjoubeh}(h]h ]h"]h$]h&]jLjMuh1jhjnhhhjnhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjnhhhjnhM ubah}(h]jnah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjnhM hjnhhubjc)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hj{phhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjxphhubah}(h]h ]h"]h$]h&]uh1jbhjnhhhjnhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjpjjpjjjuh1hhhhjuJhNhNubj)}(hXY**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.h](h)}(h**Parameters**h]j)}(hjph]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjpubj)}(hhh](j)}(hL``struct mnt_idmap *idmap`` idmap of the mount the lookup is performed from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjph]hstruct mnt_idmap *idmap}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjpubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphM hjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphM hjpubj)}(h?``struct qstr *name`` qstr olding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjph]hstruct qstr *name}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjpubj)}(hhh]h)}(h(qstr olding pathname component to lookuph]h(qstr olding pathname component to lookup}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj qhM hj qubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhj qhM hjpubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hj.qh]hstruct dentry *base}(hj0qhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,qubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj(qubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjGqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjCqhM hjDqubah}(h]h ]h"]h$]h&]uh1jhj(qubeh}(h]h ]h"]h$]h&]uh1jhjCqhM hjpubeh}(h]h ]h"]h$]h&]uh1jhjpubh)}(h**Description**h]j)}(hjiqh]h Description}(hjkqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgqubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjpubh)}(hThis helper will yield ERR_PTR(-ENOENT) on negatives. The helper returns known positive or ERR_PTR(). This is what most of the users want.h]hThis helper will yield ERR_PTR(-ENOENT) on negatives. The helper returns known positive or ERR_PTR(). This is what most of the users want.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjpubh)}(hNote that pinned negative with unlocked parent _can_ become positive at any time, so callers of lookup_one_unlocked() need to be very careful; pinned positives have >d_inode stable, so this one avoids such problems.h]hNote that pinned negative with unlocked parent _can_ become positive at any time, so callers of lookup_one_unlocked() need to be very careful; pinned positives have >d_inode stable, so this one avoids such problems.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjpubh)}(hGThis can be used for in-kernel filesystem clients such as file servers.h]hGThis can be used for in-kernel filesystem clients such as file servers.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjpubh)}(hIt should be called without the parent i_rwsem held, and will take the i_rwsem itself if necessary. If a fatal signal is pending or delivered, it will return ``-EINTR`` if the lock is needed.h](hIt should be called without the parent i_rwsem held, and will take the i_rwsem itself if necessary. If a fatal signal is pending or delivered, it will return }(hjqhhhNhNubj)}(h ``-EINTR``h]h-EINTR}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh if the lock is needed.}(hjqhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)lookup_one_positive_unlocked (C function)c.lookup_one_positive_unlockedhNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqhhhjqhM ubh)}(hhh]j5)}(hdentryh]hdentry}(hj rhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj rubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNjj)}j]j)}jlookup_one_positive_unlockedsbc.lookup_one_positive_unlockedasbuh1hhjqhhhjqhM ubj)}(h h]h }(hj-rhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqhhhjqhM ubj*)}(hj-h]h*}(hj;rhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjqhhhjqhM ubj/)}(hlookup_one_positive_unlockedh]j5)}(hj*rh]hlookup_one_positive_unlocked}(hjLrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHrubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjqhhhjqhM ubj)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjgrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcrubj)}(h h]h }(hjtrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcrubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNjj)}j]j(rc.lookup_one_positive_unlockedasbuh1hhjcrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcrubj*)}(hj-h]h*}(hjrhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcrubj5)}(hidmaph]hidmap}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj_rubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubh)}(hhh]j5)}(hqstrh]hqstr}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNjj)}j]j(rc.lookup_one_positive_unlockedasbuh1hhjrubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubj*)}(hj-h]h*}(hj!shhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjrubj5)}(hnameh]hname}(hj.shhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj_rubj)}(hstruct dentry *baseh](j )}(hjzh]hstruct}(hjGshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCsubj)}(h h]h }(hjTshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCsubh)}(hhh]j5)}(hdentryh]hdentry}(hjeshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgsmodnameN classnameNjj)}j]j(rc.lookup_one_positive_unlockedasbuh1hhjCsubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCsubj*)}(hj-h]h*}(hjshhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjCsubj5)}(hbaseh]hbase}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj_rubeh}(h]h ]h"]h$]h&]jLjMuh1jhjqhhhjqhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjqhhhjqhM ubah}(h]jqah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjqhM hjqhhubjc)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjshhubah}(h]h ]h"]h$]h&]uh1jbhjqhhhjqhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhjuJhNhNubj)}(hX**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.h](h)}(h**Parameters**h]j)}(hjsh]h Parameters}(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 hjsubj)}(hhh](j)}(hL``struct mnt_idmap *idmap`` idmap of the mount the lookup is performed from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj th]hstruct mnt_idmap *idmap}(hj thhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjtubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hj"thhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthM hjtubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjthM hjtubj)}(h@``struct qstr *name`` qstr holding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjBth]hstruct qstr *name}(hjDthhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@tubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjd_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.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjsubh)}(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.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjsubh)}(h1The helper should be called without i_rwsem held.h]h1The helper should be called without i_rwsem held.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#lookup_noperm_unlocked (C function)c.lookup_noperm_unlockedhNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hj(uhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$uhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hj6uhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$uhhhj5uhM ubh)}(hhh]j5)}(hdentryh]hdentry}(hjGuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjIumodnameN classnameNjj)}j]j)}jlookup_noperm_unlockedsbc.lookup_noperm_unlockedasbuh1hhj$uhhhj5uhM ubj)}(h h]h }(hjhuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$uhhhj5uhM ubj*)}(hj-h]h*}(hjvuhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj$uhhhj5uhM ubj/)}(hlookup_noperm_unlockedh]j5)}(hjeuh]hlookup_noperm_unlocked}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj$uhhhj5uhM ubj)}(h((struct qstr *name, struct dentry *base)h](j)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubh)}(hhh]j5)}(hqstrh]hqstr}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNjj)}j]jcuc.lookup_noperm_unlockedasbuh1hhjuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj*)}(hj-h]h*}(hjuhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjuubj5)}(hnameh]hname}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjuubj)}(hstruct dentry *baseh](j )}(hjzh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubh)}(hhh]j5)}(hdentryh]hdentry}(hj0vhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-vubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2vmodnameN classnameNjj)}j]jcuc.lookup_noperm_unlockedasbuh1hhjvubj)}(h h]h }(hjNvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubj*)}(hj-h]h*}(hj\vhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjvubj5)}(hbaseh]hbase}(hjivhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjuubeh}(h]h ]h"]h$]h&]jLjMuh1jhj$uhhhj5uhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj uhhhj5uhM ubah}(h]juah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj5uhM hjuhhubjc)}(hhh]h)}(h5filesystem helper to lookup single pathname componenth]h5filesystem helper to lookup single pathname component}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjvhhubah}(h]h ]h"]h$]h&]uh1jbhjuhhhj5uhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhjuJhNhNubj)}(hX**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.h](h)}(h**Parameters**h]j)}(hjvh]h Parameters}(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 hjvubj)}(hhh](j)}(h3``struct qstr *name`` pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjvh]hstruct qstr *name}(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)}(hpathname component to lookuph]hpathname component to lookup}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhM hjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhM hjvubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hj wh]hstruct dentry *base}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj wubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjwubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hj&whhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"whM hj#wubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhj"whM hjvubeh}(h]h ]h"]h$]h&]uh1jhjvubh)}(h**Description**h]j)}(hjHwh]h Description}(hjJwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFwubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjvubh)}(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.}(hj^whhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjvubh)}(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.}(hjmwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjvubh)}(hQUnlike try_lookup_noperm() it *does* revalidate the dentry if it already existed.h](hUnlike try_lookup_noperm() it }(hj|whhhNhNubj )}(h*does*h]hdoes}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1j hj|wubh- revalidate the dentry if it already existed.}(hj|whhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hstart_creating (C function)c.start_creatinghNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwhhhjwhM ubh)}(hhh]j5)}(hdentryh]hdentry}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNjj)}j]j)}jstart_creatingsbc.start_creatingasbuh1hhjwhhhjwhM ubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwhhhjwhM ubj*)}(hj-h]h*}(hj xhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjwhhhjwhM ubj/)}(hstart_creatingh]j5)}(hjwh]hstart_creating}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjwhhhjwhM ubj)}(hC(struct mnt_idmap *idmap, struct dentry *parent, struct qstr *name)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj7xhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3xubj)}(h h]h }(hjDxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3xubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjUxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWxmodnameN classnameNjj)}j]jwc.start_creatingasbuh1hhj3xubj)}(h h]h }(hjsxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3xubj*)}(hj-h]h*}(hjxhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3xubj5)}(hidmaph]hidmap}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3xubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/xubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubh)}(hhh]j5)}(hdentryh]hdentry}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj)}j]jwc.start_creatingasbuh1hhjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubj*)}(hj-h]h*}(hjxhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjxubj5)}(hparenth]hparent}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/xubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj)}(h h]h }(hj$yhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubh)}(hhh]j5)}(hqstrh]hqstr}(hj5yhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2yubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7ymodnameN classnameNjj)}j]jwc.start_creatingasbuh1hhjyubj)}(h h]h }(hjSyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj*)}(hj-h]h*}(hjayhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjyubj5)}(hnameh]hname}(hjnyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/xubeh}(h]h ]h"]h$]h&]jLjMuh1jhjwhhhjwhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjwhhhjwhM ubah}(h]jwah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjwhM hjwhhubjc)}(hhh]h)}(h7prepare to create a given name with permission checkingh]h7prepare to create a given name with permission checking}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjyhhubah}(h]h ]h"]h$]h&]uh1jbhjwhhhjwhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhjuJhNhNubj)}(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)}(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.chM hjyubj)}(hhh](j)}(h/``struct mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjyh]hstruct mnt_idmap *idmap}(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.chM hjyubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhM hjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhM hjyubj)}(hK``struct dentry *parent`` directory in which to prepare to create the name h](j)}(h``struct dentry *parent``h]j)}(hjzh]hstruct dentry *parent}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj zubj)}(hhh]h)}(h0directory in which to prepare to create the nameh]h0directory in which to prepare to create the name}(hj+zhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'zhM hj(zubah}(h]h ]h"]h$]h&]uh1jhj zubeh}(h]h ]h"]h$]h&]uh1jhj'zhM hjyubj)}(h-``struct qstr *name`` the name to be created h](j)}(h``struct qstr *name``h]j)}(hjKzh]hstruct qstr *name}(hjMzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIzubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjEzubj)}(hhh]h)}(hthe name to be createdh]hthe name to be created}(hjdzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`zhM hjazubah}(h]h ]h"]h$]h&]uh1jhjEzubeh}(h]h ]h"]h$]h&]uh1jhj`zhM hjyubeh}(h]h ]h"]h$]h&]uh1jhjyubh)}(h**Description**h]j)}(hjzh]h Description}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjyubh)}(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 }(hjzhhhNhNubj)}(h **idmap**h]hidmap}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubh.}(hjzhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjyubh)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM" hjyubh)}(h **Return**h]j)}(hjzh]hReturn}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM& hjyubh)}(h+a negative or positive dentry, or an error.h]h+a negative or positive dentry, or an error.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM' hjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hstart_removing (C function)c.start_removinghNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM5 ubj)}(h h]h }(hj!{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{hhhj {hM5 ubh)}(hhh]j5)}(hdentryh]hdentry}(hj2{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4{modnameN classnameNjj)}j]j)}jstart_removingsbc.start_removingasbuh1hhj{hhhj {hM5 ubj)}(h h]h }(hjS{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{hhhj {hM5 ubj*)}(hj-h]h*}(hja{hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj{hhhj {hM5 ubj/)}(hstart_removingh]j5)}(hjP{h]hstart_removing}(hjr{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjn{ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj{hhhj {hM5 ubj)}(hC(struct mnt_idmap *idmap, struct dentry *parent, struct qstr *name)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNjj)}j]jN{c.start_removingasbuh1hhj{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj*)}(hj-h]h*}(hj{hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj{ubj5)}(hidmaph]hidmap}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj{ubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj)}(h h]h }(hj |hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubh)}(hhh]j5)}(hdentryh]hdentry}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj)}j]jN{c.start_removingasbuh1hhj{ubj)}(h h]h }(hj9|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj*)}(hj-h]h*}(hjG|hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj{ubj5)}(hparenth]hparent}(hjT|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj{ubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hjm|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hji|ubj)}(h h]h }(hjz|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhji|ubh)}(hhh]j5)}(hqstrh]hqstr}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj)}j]jN{c.start_removingasbuh1hhji|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhji|ubj*)}(hj-h]h*}(hj|hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hji|ubj5)}(hnameh]hname}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hji|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj{ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj{hhhj {hM5 ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj {hhhj {hM5 ubah}(h]j{ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj {hM5 hj{hhubjc)}(hhh]h)}(h7prepare to remove a given name with permission checkingh]h7prepare to remove a given name with permission checking}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM5 hj|hhubah}(h]h ]h"]h$]h&]uh1jbhj{hhhj {hM5 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}jj}jjjuh1hhhhjuJhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount ``struct dentry *parent`` directory in which to find the name ``struct qstr *name`` the name to be removed **Description** Locks are taken and a lookup in performed prior to removing an object from a directory. Permission checking (MAY_EXEC) is performed against **idmap**. If the name doesn't exist, an error is returned. end_removing() should be called when removal is complete, or aborted. **Return** a positive dentry, or an error.h](h)}(h**Parameters**h]j)}(hj}h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM9 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}(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.chM6 hj)}ubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjH}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjD}hM6 hjE}ubah}(h]h ]h"]h$]h&]uh1jhj)}ubeh}(h]h ]h"]h$]h&]uh1jhjD}hM6 hj&}ubj)}(h>``struct dentry *parent`` directory in which to find the name h](j)}(h``struct dentry *parent``h]j)}(hjh}h]hstruct dentry *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.chM7 hjb}ubj)}(hhh]h)}(h#directory in which to find the nameh]h#directory in which to find the name}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}}hM7 hj~}ubah}(h]h ]h"]h$]h&]uh1jhjb}ubeh}(h]h ]h"]h$]h&]uh1jhj}}hM7 hj&}ubj)}(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.chM8 hj}ubj)}(hhh]h)}(hthe name to be removedh]hthe name to be removed}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hM8 hj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hM8 hj&}ubeh}(h]h ]h"]h$]h&]uh1jhj }ubh)}(h**Description**h]j)}(hj}h]h Description}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM: hj }ubh)}(hLocks are taken and a lookup in performed prior to removing an object from a directory. Permission checking (MAY_EXEC) is performed against **idmap**.h](hLocks are taken and a lookup in performed prior to removing an object from a directory. Permission checking (MAY_EXEC) is performed against }(hj}hhhNhNubj)}(h **idmap**h]hidmap}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubh.}(hj}hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM9 hj }ubh)}(h0If the name doesn't exist, an error is returned.h]h2If the name doesn’t exist, an error is returned.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM= hj }ubh)}(hEend_removing() should be called when removal is complete, or aborted.h]hEend_removing() should be called when removal is complete, or aborted.}(hj"~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM? hj }ubh)}(h **Return**h]j)}(hj3~h]hReturn}(hj5~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1~ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMA hj }ubh)}(ha positive dentry, or an error.h]ha positive dentry, or an error.}(hjI~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMB hj }ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$start_creating_killable (C function)c.start_creating_killablehNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjx~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjt~hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMP ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjt~hhhj~hMP ubh)}(hhh]j5)}(hdentryh]hdentry}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~modnameN classnameNjj)}j]j)}jstart_creating_killablesbc.start_creating_killableasbuh1hhjt~hhhj~hMP ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjt~hhhj~hMP ubj*)}(hj-h]h*}(hj~hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjt~hhhj~hMP ubj/)}(hstart_creating_killableh]j5)}(hj~h]hstart_creating_killable}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjt~hhhj~hMP ubj)}(hC(struct mnt_idmap *idmap, struct dentry *parent, struct qstr *name)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j~c.start_creating_killableasbuh1hhj~ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~ubj*)}(hj-h]h*}(hj<hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj~ubj5)}(hidmaph]hidmap}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj~ubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^ubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j~c.start_creating_killableasbuh1hhj^ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj^ubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj~ubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hqstrh]hqstr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j~c.start_creating_killableasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj~ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjt~hhhj~hMP ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjp~hhhj~hMP ubah}(h]jk~ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj~hMP hjm~hhubjc)}(hhh]h)}(h7prepare to create a given name with permission checkingh]h7prepare to create a given name with permission checking}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMP hjPhhubah}(h]h ]h"]h$]h&]uh1jbhjm~hhhj~hMP ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhjuJhNhNubj)}(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)}(hjuh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMT hjoubj)}(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.chMQ hjubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMQ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQ 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}(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.chMR hjǀubj)}(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&]uh1hhjhMR hjubah}(h]h ]h"]h$]h&]uh1jhjǀubeh}(h]h ]h"]h$]h&]uh1jhjhMR hjubj)}(h-``struct qstr *name`` the name to be created h](j)}(h``struct qstr *name``h]j)}(hjh]hstruct qstr *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMS hjubj)}(hhh]h)}(hthe name to be createdh]hthe name to be created}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMS hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMS hjubeh}(h]h ]h"]h$]h&]uh1jhjoubh)}(h**Description**h]j)}(hjAh]h Description}(hjChhhNhNubah}(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.chMU hjoubh)}(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 }(hjWhhhNhNubj)}(h **idmap**h]hidmap}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubh.}(hjWhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMT hjoubh)}(h:If the name already exists, a positive dentry is returned.h]h:If the name already exists, a positive dentry is returned.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMX hjoubh)}(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.chMZ hjoubh)}(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] hjoubh)}(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^ hjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$start_removing_killable (C function)c.start_removing_killablehNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hj݁hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjفhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMm ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjفhhhjhMm ubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jstart_removing_killablesbc.start_removing_killableasbuh1hhjفhhhjhMm ubj)}(h h]h }(hjhhhNhNubah}(hL]h ]j*ah"]h$]h&]uh1jhjفhhhjhMm ubj*)}(hj-h]h*}(hj+hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjفhhhjhMm ubj/)}(hstart_removing_killableh]j5)}(hjh]hstart_removing_killable}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjفhhhjhMm ubj)}(hC(struct mnt_idmap *idmap, struct dentry *parent, struct qstr *name)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNjj)}j]jc.start_removing_killableasbuh1hhjSubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjSubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjOubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjǂhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjÂubj)}(h h]h }(hjԂhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjÂubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.start_removing_killableasbuh1hhjÂubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjÂubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjÂubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjÂubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjOubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubh)}(hhh]j5)}(hqstrh]hqstr}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNjj)}j]jc.start_removing_killableasbuh1hhj3ubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjOubeh}(h]h ]h"]h$]h&]jLjMuh1jhjفhhhjhMm ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjՁhhhjhMm ubah}(h]jЁah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMm hjҁhhubjc)}(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.chMm hjhhubah}(h]h ]h"]h$]h&]uh1jbhjҁhhhjhMm ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjЃjjЃjjjuh1hhhhjuJhNhNubj)}(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.chMq 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.chMn hjubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMn hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMn hjubj)}(h>``struct dentry *parent`` directory in which to find the name h](j)}(h``struct dentry *parent``h]j)}(hj2h]hstruct dentry *parent}(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.chMo hj,ubj)}(hhh]h)}(h#directory in which to find the nameh]h#directory in which to find the name}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhMo hjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMo hjubj)}(h-``struct qstr *name`` the name to be removed h](j)}(h``struct qstr *name``h]j)}(hjkh]hstruct qstr *name}(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.chMp hjeubj)}(hhh]h)}(hthe name to be removedh]hthe name to be removed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMp hjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMp 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.chMr hjԃubh)}(hLocks are taken and a lookup in performed prior to removing an object from a directory. Permission checking (MAY_EXEC) is performed against **idmap**.h](hLocks are taken and a lookup in performed prior to removing an object from a directory. Permission checking (MAY_EXEC) is performed against }(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.chMq hjԃubh)}(h0If the name doesn't exist, an error is returned.h]h2If the name doesn’t exist, an error is returned.}(hj݄hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMu 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.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)}(hj h]hReturn}(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.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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"start_creating_noperm (C function)c.start_creating_nopermhNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMhhhj^hM ubh)}(hhh]j5)}(hdentryh]hdentry}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNjj)}j]j)}jstart_creating_nopermsbc.start_creating_nopermasbuh1hhjMhhhj^hM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMhhhj^hM ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjMhhhj^hM ubj/)}(hstart_creating_nopermh]j5)}(hjh]hstart_creating_noperm}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjMhhhj^hM ubj)}(h*(struct dentry *parent, struct qstr *name)h](j)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj˅hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDžubj)}(h h]h }(hj؅hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDžubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.start_creating_nopermasbuh1hhjDžubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDžubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjDžubj5)}(hparenth]hparent}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDžubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjÅubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubh)}(hhh]j5)}(hqstrh]hqstr}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNjj)}j]jc.start_creating_nopermasbuh1hhj7ubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7ubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjÅubeh}(h]h ]h"]h$]h&]jLjMuh1jhjMhhhj^hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjIhhhj^hM ubah}(h]jDah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj^hM hjFhhubjc)}(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&]uh1jbhjFhhhj^hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjԆjjԆjjjuh1hhhhjuJhNhNubj)}(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}(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.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)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh]h)}(h0directory in which to prepare to create the nameh]h0directory in which to prepare to create the name}(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 created h](j)}(h``struct qstr *name``h]j)}(hj6h]hstruct qstr *name}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj0ubj)}(hhh]h)}(hthe name to be createdh]hthe name to be created}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhM hjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhM hjubeh}(h]h ]h"]h$]h&]uh1jhj؆ubh)}(h**Description**h]j)}(hjqh]h Description}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.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)}(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"start_removing_noperm (C function)c.start_removing_nopermhNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubh)}(hhh]j5)}(hdentryh]hdentry}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j)}jstart_removing_nopermsbc.start_removing_nopermasbuh1hhjhhhjhM ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj*)}(hj-h]h*}(hj:hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhM ubj/)}(hstart_removing_nopermh]j5)}(hj)h]hstart_removing_noperm}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj)}(h*(struct dentry *parent, struct qstr *name)h](j)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j'c.start_removing_nopermasbuh1hhjbubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjbubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj^ubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hjֈhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj҈ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj҈ubh)}(hhh]j5)}(hqstrh]hqstr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j'c.start_removing_nopermasbuh1hhj҈ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj҈ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj҈ubj5)}(hnameh]hname}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj҈ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj^ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]j߇ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(hhh]h)}(h:prepare to remove a given name without permission checkingh]h:prepare to remove a given name without permission checking}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjThhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjojjojjjuh1hhhhjuJhNhNubj)}(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)}(hjyh]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjsubj)}(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)}(hjщh]hstruct qstr *name}(hjӉhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjωubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjˉubj)}(hhh]h)}(hthe name to be removedh]hthe name to be removed}(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&]uh1jhjsubh)}(h**Description**h]j)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjsubh)}(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.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjsubh)}(h0If the name doesn't exist, an error is returned.h]h2If the name doesn’t exist, an error is returned.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjsubh)}(hEend_removing() should be called when removal is complete, or aborted.h]hEend_removing() should be called when removal is complete, or aborted.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjsubh)}(h **Return**h]j)}(hjQh]hReturn}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjsubh)}(ha positive dentry, or an error.h]ha positive dentry, or an error.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"start_creating_dentry (C function)c.start_creating_dentryhNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jstart_creating_dentrysbc.start_creating_dentryasbuh1hhjhhhjhM ubj)}(h h]h }(hj֊hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhM ubj/)}(hstart_creating_dentryh]j5)}(hjӊh]hstart_creating_dentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj)}(h-(struct dentry *parent, struct dentry *child)h](j)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(hdentryh]hdentry}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNjj)}j]jъc.start_creating_dentryasbuh1hhj ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hjZhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hparenth]hparent}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *childh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jъc.start_creating_dentryasbuh1hhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubj*)}(hj-h]h*}(hjʋhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj|ubj5)}(hchildh]hchild}(hj׋hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(hhh]h)}(h prepare to create a given dentryh]h prepare to create a given dentry}(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&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(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)}(hH``struct dentry *parent`` directory from which dentry should be removed h](j)}(h``struct dentry *parent``h]j)}(hjBh]hstruct dentry *parent}(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.chM hj<ubj)}(hhh]h)}(h-directory from which dentry should be removedh]h-directory from which dentry should be removed}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhM hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhM hj9ubj)}(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&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjuubj)}(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&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhM hj9ubeh}(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.}(hǰ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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(h **Return**h]j)}(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 hjubh)}(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.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"start_removing_dentry (C function)c.start_removing_dentryhNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<hhhjMhM ubh)}(hhh]j5)}(hdentryh]hdentry}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNjj)}j]j)}jstart_removing_dentrysbc.start_removing_dentryasbuh1hhj<hhhjMhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<hhhjMhM ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj<hhhjMhM ubj/)}(hstart_removing_dentryh]j5)}(hj}h]hstart_removing_dentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj<hhhjMhM ubj)}(h-(struct dentry *parent, struct dentry *child)h](j)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjǍhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hj؍hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjՍubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjڍmodnameN classnameNjj)}j]j{c.start_removing_dentryasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *childh](j )}(hjzh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubh)}(hhh]j5)}(hdentryh]hdentry}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj)}j]j{c.start_removing_dentryasbuh1hhj&ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj*)}(hj-h]h*}(hjthhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj&ubj5)}(hchildh]hchild}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj<hhhjMhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj8hhhjMhM ubah}(h]j3ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjMhM hj5hhubjc)}(hhh]h)}(h prepare to remove a given dentryh]h prepare to remove a given dentry}(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&]uh1jbhj5hhhjMhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjÎjjÎjjjuh1hhhhjuJhNhNubj)}(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}(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)}(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 hjubj)}(hhh]h)}(hthe dentry to be removedh]hthe dentry to be removed}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hM hj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hM hjubeh}(h]h ]h"]h$]h&]uh1jhjǎubh)}(h**Description**h]j)}(hj`h]h Description}(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ǎ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.}(hjvhhhNhNubah}(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.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)}(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.chM hjǎubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hstart_renaming (C function)c.start_renaminghNtauh1hhjuJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM:ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM:ubj/)}(hstart_renamingh]j5)}(hstart_renamingh]hstart_renaming}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM:ubj)}(hW(struct renamedata *rd, int lookup_flags, struct qstr *old_last, struct qstr *new_last)h](j)}(hstruct renamedata *rdh](j )}(hjzh]hstruct}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubh)}(hhh]j5)}(h renamedatah]h renamedata}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNjj)}j]j)}jj sbc.start_renamingasbuh1hhj#ubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubj*)}(hj-h]h*}(hjshhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj#ubj5)}(hrdh]hrd}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hint lookup_flagsh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h lookup_flagsh]h lookup_flags}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct qstr *old_lasth](j )}(hjzh]hstruct}(hjΐhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjʐubj)}(h h]h }(hjېhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjʐubh)}(hhh]j5)}(hqstrh]hqstr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jac.start_renamingasbuh1hhjʐubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjʐubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjʐubj5)}(hold_lasth]hold_last}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjʐubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct qstr *new_lasth](j )}(hjzh]hstruct}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubh)}(hhh]j5)}(hqstrh]hqstr}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNjj)}j]jac.start_renamingasbuh1hhj:ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj:ubj5)}(hnew_lasth]hnew_last}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM:ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM:ubah}(h]jݏah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM:hjߏhhubjc)}(hhh]h)}(h9lookup and lock names for rename with permission checkingh]h9lookup and lock names for rename with permission checking}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM:hjhhubah}(h]h ]h"]h$]h&]uh1jbhjߏhhhjhM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjבjjבjjjuh1hhhhjuJhNhNubj)}(hX**Parameters** ``struct renamedata *rd`` rename data containing parents and flags, and for receiving found dentries ``int lookup_flags`` extra flags to pass to ->lookup (e.g. LOOKUP_REVAL, LOOKUP_NO_SYMLINKS etc). ``struct qstr *old_last`` name of object in **rd.old_parent** ``struct qstr *new_last`` name of object in **rd.new_parent** **Description** Look up two names and ensure locks are in place for rename. On success the found dentries are stored in **rd.old_dentry**, **rd.new_dentry**. Also the refcount on **rd->old_parent** is increased. These references and the lock are dropped by end_renaming(). The passed in qstrs need not have the hash calculated, and basic eXecute permission checking is performed against **rd.mnt_idmap**. **Return** zero or an error.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]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)}(he``struct renamedata *rd`` rename data containing parents and flags, and for receiving found dentries h](j)}(h``struct renamedata *rd``h]j)}(hjh]hstruct renamedata *rd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM<hjubj)}(hhh]h)}(hJrename data containing parents and flags, and for receiving found dentriesh]hJrename data containing parents and flags, and for receiving found dentries}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM;hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM<hjubj)}(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)}(hj:h]hint lookup_flags}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM>hj4ubj)}(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).}(hjShhhNhNubah}(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&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhM>hjubj)}(h>``struct qstr *old_last`` name of object in **rd.old_parent** h](j)}(h``struct qstr *old_last``h]j)}(hjth]hstruct qstr *old_last}(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.chM?hjnubj)}(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&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjubj)}(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 }(hjԒhhhNhNubj)}(h**rd.new_parent**h]h rd.new_parent}(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@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.chMBhjۑ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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMAhjۑ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 }(hj)hhhNhNubj)}(h**rd.old_dentry**h]h rd.old_dentry}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubh, }(hj)hhhNhNubj)}(h**rd.new_dentry**h]h rd.new_dentry}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubh. Also the refcount on }(hj)hhhNhNubj)}(h**rd->old_parent**h]hrd->old_parent}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubhK is increased. These references and the lock are dropped by end_renaming().}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMDhjۑ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 }(hjnhhhNhNubj)}(h**rd.mnt_idmap**h]h rd.mnt_idmap}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh.}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMHhjۑ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.chMKhjۑ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.chMLhjۑubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"start_renaming_dentry (C function)c.start_renaming_dentryhNtauh1hhjuJhhhNhNubh)}(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}(hj֓hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjғhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjғhhhjhMubj/)}(hstart_renaming_dentryh]j5)}(hstart_renaming_dentryh]hstart_renaming_dentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjғhhhjhMubj)}(h[(struct renamedata *rd, int lookup_flags, struct dentry *old_dentry, struct qstr *new_last)h](j)}(hstruct renamedata *rdh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h renamedatah]h renamedata}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj)}j]j)}jjsbc.start_renaming_dentryasbuh1hhjubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj_hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hrdh]hrd}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hint lookup_flagsh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h lookup_flagsh]h lookup_flags}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hstruct dentry *old_dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjǔhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjؔhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjՔubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjڔmodnameN classnameNjj)}j]jMc.start_renaming_dentryasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(h old_dentryh]h old_dentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hstruct qstr *new_lasth](j )}(hjzh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubh)}(hhh]j5)}(hqstrh]hqstr}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj)}j]jMc.start_renaming_dentryasbuh1hhj&ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj*)}(hj-h]h*}(hjthhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj&ubj5)}(hnew_lasth]hnew_last}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjғhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjΓhhhjhMubah}(h]jɓah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhj˓hhubjc)}(hhh]h)}(h8lookup and lock name for rename with permission checkingh]h8lookup and lock name for rename with permission checking}(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&]uh1jbhj˓hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjÕjjÕjjjuh1hhhhjuJhNhNubj)}(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}(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.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)}(hjh]hstruct renamedata *rd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hJrename data containing parents and flags, and for receiving found dentriesh]hJrename data containing parents and flags, and for receiving found dentries}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hj&h]hint lookup_flags}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj ubj)}(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).}(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&]uh1jhj ubeh}(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)}(hj`h]hstruct dentry *old_dentry}(hjbhhhNhNubah}(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.chMhjZubj)}(hhh]h)}(hdentry of name to moveh]hdentry of name to move}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhMhjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMhjubj)}(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&]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)}(h=Look up target name and ensure locks are in place for rename.h]h=Look up target name and ensure locks are in place for rename.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.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 }(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}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh" is confirmed to be the parent of }(hjhhhNhNubj)}(h**old_dentry**h]h old_dentry}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. If it was originally }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubho, it is set. In either case a reference is taken so that end_renaming() can have a stable reference to unlock.}(hjhhhNhNubeh}(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()}(hj^hhhNhNubah}(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 }(hjmhhhNhNubj)}(h**rd.mnt_idmap**h]h rd.mnt_idmap}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubh.}(hjmhhhNhNubeh}(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(start_renaming_two_dentries (C function)c.start_renaming_two_dentrieshNtauh1hhjuJhhhNhNubh)}(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}(hj՗hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjїhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjїhhhjhMubj/)}(hstart_renaming_two_dentriesh]j5)}(hstart_renaming_two_dentriesh]hstart_renaming_two_dentries}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjїhhhjhMubj)}(hM(struct renamedata *rd, struct dentry *old_dentry, struct dentry *new_dentry)h](j)}(hstruct renamedata *rdh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h renamedatah]h renamedata}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j]j)}jjsbc.start_renaming_two_dentriesasbuh1hhjubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj^hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hrdh]hrd}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hstruct dentry *old_dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jLc.start_renaming_two_dentriesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjΘhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(h old_dentryh]h old_dentry}(hjۘhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hstruct dentry *new_dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jLc.start_renaming_two_dentriesasbuh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj>hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(h new_dentryh]h new_dentry}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjїhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj͗hhhjhMubah}(h]jȗah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjʗhhubjc)}(hhh]h)}(h,Lock to dentries in given parents for renameh]h,Lock to dentries in given parents for rename}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjrhhubah}(h]h ]h"]h$]h&]uh1jbhjʗhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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}(hjϙhhhNhNubah}(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)}(hjh]hstruct dentry *old_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hdentry of name to moveh]hdentry of name to move}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``struct dentry *new_dentry`` dentry to move to h](j)}(h``struct dentry *new_dentry``h]j)}(hj(h]hstruct dentry *new_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 to move toh]hdentry to move to}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjch]h Description}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary: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.}(hjyhhhNhNubah}(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()}(hjߚhhhNhNubah}(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)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_create (C function) c.vfs_createhNtauh1hhjuJhhhNhNubh)}(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}(hj5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj1hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM.ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1hhhjChM.ubj/)}(h vfs_createh]j5)}(h vfs_createh]h vfs_create}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj1hhhjChM.ubj)}(hZ(struct mnt_idmap *idmap, struct dentry *dentry, umode_t mode, struct delegated_inode *di)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjXsb c.vfs_createasbuh1hhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjnubj5)}(hidmaph]hidmap}(hj˛hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.vfs_createasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj.hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj)}j]j c.vfs_createasbuh1hhjPubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubj)}(hstruct delegated_inode *dih](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.vfs_createasbuh1hhjubj)}(h h]h }(hj؜hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdih]hdi}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj1hhhjChM.ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj-hhhjChM.ubah}(h]j(ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjChM.hj*hhubjc)}(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.chM.hjhhubah}(h]h ]h"]h$]h&]uh1jbhj*hhhjChM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhjuJhNhNubj)}(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)}(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.chM2hj9ubj)}(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.chM/hjXubj)}(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&]uh1hhjshM/hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshM/hjUubj)}(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.chM0hjubj)}(hhh]h)}(hdentry of the child fileh]hdentry of the child file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM0hjUubj)}(h(``umode_t mode`` mode of the child file h](j)}(h``umode_t mode``h]j)}(hjНh]h umode_t mode}(hjҝhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjΝubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM1hjʝubj)}(hhh]h)}(hmode of the child fileh]hmode of the child file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM1hjubah}(h]h ]h"]h$]h&]uh1jhjʝubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjUubj)}(hP``struct delegated_inode *di`` returns parent inode, if the inode is delegated. h](j)}(h``struct delegated_inode *di``h]j)}(hj h]hstruct delegated_inode *di}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM2hjubj)}(hhh]h)}(h0returns parent inode, if the inode is delegated.h]h0returns parent inode, if the inode is delegated.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjUubeh}(h]h ]h"]h$]h&]uh1jhj9ubh)}(h**Description**h]j)}(hjDh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM4hj9ubh)}(hCreate a new file.h]hCreate a new file.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM3hj9ubh)}(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}(hjhhhNhNubah}(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}(hjhhhNhNubah}(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.chM5hj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h kernel_tmpfile_open (C function)c.kernel_tmpfile_openhNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjΞhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjʞhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hjܞhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjʞhhhj۞hMubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jkernel_tmpfile_opensbc.kernel_tmpfile_openasbuh1hhjʞhhhj۞hMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjʞhhhj۞hMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjʞhhhj۞hMubj/)}(hkernel_tmpfile_openh]j5)}(hj h]hkernel_tmpfile_open}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjʞhhhj۞hMubj)}(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 )}(hjzh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj)}j]j c.kernel_tmpfile_openasbuh1hhjDubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjDubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj@ubj)}(hconst struct path *parentpathh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjşhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjӟhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.kernel_tmpfile_openasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(h parentpathh]h parentpath}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj@ubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNjj)}j]j c.kernel_tmpfile_openasbuh1hhj?ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubj5)}(hmodeh]hmode}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj@ubj)}(h int open_flagh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h open_flagh]h open_flag}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj@ubj)}(hconst struct cred *credh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj͠hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hj۠hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.kernel_tmpfile_openasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj%hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hcredh]hcred}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj@ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjʞhhhj۞hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjƞhhhj۞hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj۞hMhjÞhhubjc)}(hhh]h)}(h&open a tmpfile for kernel internal useh]h&open a tmpfile for kernel internal use}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjYhhubah}(h]h ]h"]h$]h&]uh1jbhjÞhhhj۞hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhjuJhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``const struct path *parentpath`` path of the base directory ``umode_t mode`` mode of the new tmpfile ``int open_flag`` flags ``const struct cred *cred`` credentials for open **Description** Create and open a temporary file. The file is not accounted in nr_files, hence this is only for kernel internal use, and must not be installed into file tables or such.h](h)}(h**Parameters**h]j)}(hj~h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjxubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h=``const struct path *parentpath`` path of the base directory h](j)}(h!``const struct path *parentpath``h]j)}(hj֡h]hconst struct path *parentpath}(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)}(hpath of the base directoryh]hpath of the base directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjСubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h)``umode_t mode`` mode of the new tmpfile h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj ubj)}(hhh]h)}(hmode of the new tmpfileh]hmode of the new tmpfile}(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``int open_flag`` flags h](j)}(h``int open_flag``h]j)}(hjHh]h int open_flag}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjBubj)}(hhh]h)}(hflagsh]hflags}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhjubj)}(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&]uh1jhjxubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjxubh)}(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.}(hjҢhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hend_creating_path (C function)c.end_creating_pathhNtauh1hhjuJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMVubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMVubj/)}(hend_creating_pathh]j5)}(hend_creating_pathh]hend_creating_path}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMVubj)}(h0(const struct path *path, struct dentry *dentry)h](j)}(hconst struct path *pathh](j )}(hjUh]hconst}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubj )}(hjzh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubh)}(hhh]j5)}(hpathh]hpath}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj)}j]j)}jj$sbc.end_creating_pathasbuh1hhj:ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj:ubj5)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj6ubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjˣhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjǣubj)}(h h]h }(hjأhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjǣubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.end_creating_pathasbuh1hhjǣubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjǣubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjǣubj5)}(hdentryh]hdentry}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjǣubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj6ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMVubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMVubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMVhjhhubjc)}(hhh]h)}(h6finish a code section started by start_creating_path()h]h6finish a code section started by start_creating_path()}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMVhjIhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMVubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdjjdjjjuh1hhhhjuJhNhNubj)}(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)}(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.chMZhjhubj)}(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.chMWhjubj)}(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&]uh1hhjhMWhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMWhjubj)}(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.chMXhjubj)}(hhh]h)}(h,the dentry returned by start_creating_path()h]h,the dentry returned by start_creating_path()}(hjߤhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjۤhMXhjܤubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjۤhMXhjubeh}(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.chMZhjhubh)}(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 }(hjhhhNhNubj )}(h*should*h]hshould}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjubh9 be passed to end_creating_path() together with the path.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMYhjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdentry_create (C function)c.dentry_createhNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjThhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMrubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjThhhjehMrubh)}(hhh]j5)}(hfileh]hfile}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj)}j]j)}j dentry_createsbc.dentry_createasbuh1hhjThhhjehMrubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjThhhjehMrubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjThhhjehMrubj/)}(h dentry_createh]j5)}(hjh]h dentry_create}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjThhhjehMrubj)}(hE(struct path *path, int flags, umode_t mode, const struct cred *cred)h](j)}(hstruct path *pathh](j )}(hjzh]hstruct}(hjҥhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjΥubj)}(h h]h }(hjߥhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjΥubh)}(hhh]j5)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.dentry_createasbuh1hhjΥubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjΥubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjΥubj5)}(hpathh]hpath}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjΥubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjʥubj)}(h int flagsh](j)}(hinth]hint}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj>ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubj5)}(hflagsh]hflags}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjʥubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj)}j]jc.dentry_createasbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjʥubj)}(hconst struct cred *credh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj̦hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjڦhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hcredh]hcred}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.dentry_createasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj$hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hcredh]hcred}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjʥubeh}(h]h ]h"]h$]h&]jLjMuh1jhjThhhjehMrubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjPhhhjehMrubah}(h]jKah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjehMrhjMhhubjc)}(hhh]h)}(hCreate and open a fileh]hCreate and open a file}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMrhjXhhubah}(h]h ]h"]h$]h&]uh1jbhjMhhhjehMrubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhjuJhNhNubj)}(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.chMvhjwubj)}(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.chMshjubj)}(hhh]h)}(hpath to createh]hpath to create}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshjubj)}(h``int flags`` O\_ flags 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMthjϧubj)}(hhh]h)}(h O\_ flagsh]h O_ flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjϧubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubj)}(h(``umode_t mode`` mode bits for new file h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(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.chMuhjubj)}(hhh]h)}(hmode bits for new fileh]hmode bits for new file}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hMuhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMuhjubj)}(h/``const struct cred *cred`` credentials to use h](j)}(h``const struct cred *cred``h]j)}(hjGh]hconst struct cred *cred}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMvhjAubj)}(hhh]h)}(hcredentials to useh]hcredentials to use}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\hMvhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMvhjubeh}(h]h ]h"]h$]h&]uh1jhjwubh)}(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.chMxhjwubh)}(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.chMwhjwubh)}(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}(hjhhhNhNubah}(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.chMzhjwubh)}(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 *}(hjhhhNhNubah}(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.chM~hjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_mknod (C function) c.vfs_mknodhNtauh1hhjuJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj)hMubj/)}(h vfs_mknodh]j5)}(h vfs_mknodh]h vfs_mknod}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj)hMubj)}(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 )}(hjzh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj)}j]j)}jj>sb c.vfs_mknodasbuh1hhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjTubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubj)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hjʩhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjƩubj)}(h h]h }(hjשhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjƩubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.vfs_mknodasbuh1hhjƩubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjƩubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjƩubj5)}(hdirh]hdir}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjƩubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubh)}(hhh]j5)}(hdentryh]hdentry}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNjj)}j]j c.vfs_mknodasbuh1hhj6ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj6ubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.vfs_mknodasbuh1hhjubj)}(h h]h }(hj˪hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hj٪hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubj)}(h dev_t devh](h)}(hhh]j5)}(hdev_th]hdev_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.vfs_mknodasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hdevh]hdev}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubj)}(h'struct delegated_inode *delegated_inodeh](j )}(hjzh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubh)}(hhh]j5)}(hdelegated_inodeh]hdelegated_inode}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNjj)}j]j c.vfs_mknodasbuh1hhj6ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj6ubj5)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj)hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj)hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj)hMhjhhubjc)}(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&]uh1jbhjhhhj)hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjӫjjӫjjjuh1hhhhjuJhNhNubj)}(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}(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.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)}(h4``struct inode *dir`` inode of the parent directory h](j)}(h``struct inode *dir``h]j)}(hj5h]hstruct inode *dir}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj/ubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjubj)}(h:``struct dentry *dentry`` dentry of the child device node 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:56: ./fs/namei.chMhjhubj)}(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&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``umode_t mode`` mode of the child device node 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.chMhjubj)}(hhh]h)}(hmode of the child device nodeh]hmode of the child device node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h0``dev_t dev`` device number of device to create h](j)}(h ``dev_t dev``h]j)}(hjh]h dev_t dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjڬubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h]``struct delegated_inode *delegated_inode`` returns parent inode, if the inode is delegated. h](j)}(h+``struct delegated_inode *delegated_inode``h]j)}(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)}(h0returns parent inode, if the inode is delegated.h]h0returns parent inode, if the inode is delegated.}(hj2hhhNhNubah}(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)}(hjTh]h Description}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj׫ubh)}(hCreate a device node or file.h]hCreate a device node or file.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj׫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 }(hjyhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubhB. This function will then take care to map the inode according to }(hjyhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjyhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh.}(hjyhhhNhNubeh}(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_mkdir (C function) c.vfs_mkdirhNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjޭhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjڭhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjڭhhhjhM?ubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j vfs_mkdirsb c.vfs_mkdirasbuh1hhjڭhhhjhM?ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjڭhhhjhM?ubj*)}(hj-h]h*}(hj,hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjڭhhhjhM?ubj/)}(h vfs_mkdirh]j5)}(hjh]h vfs_mkdir}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjڭhhhjhM?ubj)}(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 )}(hjzh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj)}j]j c.vfs_mkdirasbuh1hhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjTubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubj)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hjȮhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjĮubj)}(h h]h }(hjծhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjĮubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.vfs_mkdirasbuh1hhjĮubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjĮubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjĮubj5)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjĮubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubh)}(hhh]j5)}(hdentryh]hdentry}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNjj)}j]j c.vfs_mkdirasbuh1hhj4ubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj4ubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.vfs_mkdirasbuh1hhjubj)}(h h]h }(hjɯhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjׯhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubj)}(h'struct delegated_inode *delegated_inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.vfs_mkdirasbuh1hhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj:hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdelegated_inodeh]hdelegated_inode}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubeh}(h]h ]h"]h$]h&]jLjMuh1jhjڭhhhjhM?ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj֭hhhjhM?ubah}(h]jѭah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM?hjӭhhubjc)}(hhh]h)}(h5create directory returning correct dentry if possibleh]h5create directory returning correct dentry if possible}(hjqhhhNhNubah}(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&]uh1jbhjӭhhhjhM?ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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.chMChjubj)}(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@hjubj)}(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.chMAhjubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjubj)}(h8``struct dentry *dentry`` dentry of the child directory 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.chMBhjubj)}(hhh]h)}(hdentry of the child directoryh]hdentry of the child directory}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hMBhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMBhjubj)}(h-``umode_t mode`` mode of the child directory h](j)}(h``umode_t mode``h]j)}(hj]h]h umode_t mode}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMChjWubj)}(hhh]h)}(hmode of the child directoryh]hmode of the child directory}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhMChjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMChjubj)}(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.chMDhjubj)}(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&]uh1hhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubeh}(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.chMFhjubh)}(hCreate a directory.h]hCreate a directory.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMEhjubh)}(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}(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.chMGhjubh)}(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 }(hj;hhhNhNubj)}(h ***dentry**h]h*dentry}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubh 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.}(hj;hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMMhjubh)}(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.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMQhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_rmdir (C function) c.vfs_rmdirhNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h vfs_rmdirh]j5)}(h vfs_rmdirh]h vfs_rmdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hl(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, struct delegated_inode *delegated_inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjȲhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIJubj)}(h h]h }(hjղhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIJubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsb c.vfs_rmdirasbuh1hhjIJubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIJubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjIJubj5)}(hidmaph]hidmap}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIJubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubh)}(hhh]j5)}(hinodeh]hinode}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNjj)}j]j c.vfs_rmdirasbuh1hhj6ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj6ubj5)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjȳhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjųubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjʳmodnameN classnameNjj)}j]j c.vfs_rmdirasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h'struct delegated_inode *delegated_inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdelegated_inodeh]hdelegated_inode}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNjj)}j]j c.vfs_rmdirasbuh1hhjubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjdhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdelegated_inodeh]hdelegated_inode}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]j~ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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}(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&]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+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&]uh1jhjִubeh}(h]h ]h"]h$]h&]uh1jhjhMhjӴubj)}(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}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhjӴubj)}(h8``struct dentry *dentry`` dentry of the child directory 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:56: ./fs/namei.chMhjHubj)}(hhh]h)}(hdentry of the child directoryh]hdentry of the child directory}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhjӴubj)}(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&]uh1jhjhMhjӴubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjµh]h Description}(hjĵhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.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 }(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_unlink (C function) c.vfs_unlinkhNtauh1hhjuJhhhNhNubh)}(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}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjHhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM,ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHhhhjZhM,ubj/)}(h vfs_unlinkh]j5)}(h vfs_unlinkh]h vfs_unlink}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjHhhhjZhM,ubj)}(hl(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, struct delegated_inode *delegated_inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjosb c.vfs_unlinkasbuh1hhjubj)}(h h]h }(hjǶhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjնhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jö c.vfs_unlinkasbuh1hhjubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjEhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdirh]hdir}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jö c.vfs_unlinkasbuh1hhjgubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjgubj5)}(hdentryh]hdentry}(hj·hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h'struct delegated_inode *delegated_inodeh](j )}(hjzh]hstruct}(hj۷hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj׷ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj׷ubh)}(hhh]j5)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jö c.vfs_unlinkasbuh1hhj׷ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj׷ubj*)}(hj-h]h*}(hj%hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj׷ubj5)}(hdelegated_inodeh]hdelegated_inode}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj׷ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjHhhhjZhM,ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjDhhhjZhM,ubah}(h]j?ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjZhM,hjAhhubjc)}(hhh]h)}(hunlink a filesystem objecth]hunlink a filesystem object}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM,hjYhhubah}(h]h ]h"]h$]h&]uh1jbhjAhhhjZhM,ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjtjjtjjjuh1hhhhjuJhNhNubj)}(hX`**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct inode *dir`` parent directory ``struct dentry *dentry`` victim ``struct delegated_inode *delegated_inode`` returns victim inode, if the inode is delegated. **Description** The caller must hold dir->i_rwsem exclusively. If vfs_unlink discovers a delegation, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation on that inode and retry. Because breaking a delegation may take a long time, the caller should drop dir->i_rwsem before doing so. Alternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hj~h]h Parameters}(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.chM0hjxubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjubj)}(h'``struct inode *dir`` parent directory h](j)}(h``struct inode *dir``h]j)}(hjָh]hstruct inode *dir}(hjظhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjԸubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM.hjиubj)}(hhh]h)}(hparent directoryh]hparent directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjиubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjubj)}(h!``struct dentry *dentry`` victim h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM/hj ubj)}(hhh]h)}(hvictimh]hvictim}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hM/hj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hM/hjubj)}(h]``struct delegated_inode *delegated_inode`` returns victim inode, if the inode is delegated. h](j)}(h+``struct delegated_inode *delegated_inode``h]j)}(hjHh]h'struct delegated_inode *delegated_inode}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM0hjBubj)}(hhh]h)}(h0returns victim inode, if the inode is delegated.h]h0returns victim inode, if the inode is delegated.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hM0hj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hM0hjubeh}(h]h ]h"]h$]h&]uh1jhjxubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM2hjxubh)}(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.chM1hjxubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM3hjxubh)}(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.chM9hjxubh)}(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.chM=hjxubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_symlink (C function) c.vfs_symlinkhNtauh1hhjuJhhhNhNubh)}(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}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj'hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'hhhj9hMubj/)}(h vfs_symlinkh]j5)}(h vfs_symlinkh]h vfs_symlink}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj'hhhj9hMubj)}(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 )}(hjzh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjNsb c.vfs_symlinkasbuh1hhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjdubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj`ubj)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hjںhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjֺubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjֺubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.vfs_symlinkasbuh1hhjֺubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjֺubj*)}(hj-h]h*}(hj$hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjֺubj5)}(hdirh]hdir}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjֺubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj`ubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNjj)}j]j c.vfs_symlinkasbuh1hhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjFubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj`ubj)}(hconst char *oldnameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjǻhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hjջhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(holdnameh]holdname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj`ubj)}(h'struct delegated_inode *delegated_inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdelegated_inodeh]hdelegated_inode}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNjj)}j]j c.vfs_symlinkasbuh1hhjubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjahhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdelegated_inodeh]hdelegated_inode}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj`ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj'hhhj9hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj#hhhj9hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj9hMhj hhubjc)}(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&]uh1jbhj hhhj9hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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&]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+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&]uh1jhjӼubeh}(h]h ]h"]h$]h&]uh1jhjhMhjмubj)}(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.chMhj ubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhjмubj)}(h;``struct dentry *dentry`` dentry of the child symlink file h](j)}(h``struct dentry *dentry``h]j)}(hjKh]hstruct dentry *dentry}(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.chMhjEubj)}(hhh]h)}(h dentry of the child symlink fileh]h dentry of the child symlink file}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hMhjмubj)}(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.chMhj~ubj)}(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&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjмubj)}(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.chMhjubj)}(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&]uh1hhjҽhMhjӽubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjҽhMhjмubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(hCreate a symlink.h]hCreate a symlink.}(hjhhhNhNubah}(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}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB. This function will then take care to map the inode according to }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hj7hhhNhNubah}(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}(hjIhhhNhNubah}(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_link (C function) c.vfs_linkhNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhj~hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM'ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~hhhjhM'ubj/)}(hvfs_linkh]j5)}(hvfs_linkh]hvfs_link}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj~hhhjhM'ubj)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj̾hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjݾhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjھubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj߾modnameN classnameNjj)}j]j)}jjsb c.vfs_linkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(h old_dentryh]h old_dentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNjj)}j]j c.vfs_linkasbuh1hhj-ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubj*)}(hj-h]h*}(hj{hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj-ubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.vfs_linkasbuh1hhjubj)}(h h]h }(hjݿhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *new_dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(hdentryh]hdentry}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNjj)}j]j c.vfs_linkasbuh1hhj ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hj[hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(h new_dentryh]h new_dentry}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h'struct delegated_inode *delegated_inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubh)}(hhh]j5)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.vfs_linkasbuh1hhj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj}ubj5)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj~hhhjhM'ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjzhhhjhM'ubah}(h]juah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM'hjwhhubjc)}(hhh]h)}(hcreate a new linkh]hcreate a new link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM'hjhhubah}(h]h ]h"]h$]h&]uh1jbhjwhhhjhM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(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)}(h2``struct dentry *old_dentry`` object to be linked h](j)}(h``struct dentry *old_dentry``h]j)}(hjCh]hstruct dentry *old_dentry}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM(hj=ubj)}(hhh]h)}(hobject to be linkedh]hobject to be linked}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhM(hjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhM(hj:ubj)}(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&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM)hjvubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhM)hj:ubj)}(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.chM*hjubj)}(hhh]h)}(h new parenth]h new parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM*hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM*hj:ubj)}(h;``struct dentry *new_dentry`` where to create the new link h](j)}(h``struct dentry *new_dentry``h]j)}(hjh]hstruct dentry *new_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM+hjubj)}(hhh]h)}(hwhere to create the new linkh]hwhere to create the new link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM+hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM+hj:ubj)}(hU``struct delegated_inode *delegated_inode`` returns inode needing a delegation break h](j)}(h+``struct delegated_inode *delegated_inode``h]j)}(hj'h]h'struct delegated_inode *delegated_inode}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM,hj!ubj)}(hhh]h)}(h(returns inode needing a delegation breakh]h(returns inode needing a delegation break}(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&]uh1jhjubh)}(h**Description**h]j)}(hjbh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM.hjubh)}(h.The caller must hold dir->i_rwsem exclusively.h]h.The caller must hold dir->i_rwsem exclusively.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM-hjubh)}(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.chM/hjubh)}(hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.h]hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM5hjubh)}(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.chM9hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_rename (C function) c.vfs_renamehNtauh1hhjuJhhhNhNubh)}(hhh](j)}(h&int vfs_rename (struct renamedata *rd)h]j)}(h%int vfs_rename(struct renamedata *rd)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h vfs_renameh]j5)}(h vfs_renameh]h vfs_rename}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h(struct renamedata *rd)h]j)}(hstruct renamedata *rdh](j )}(hjzh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubh)}(hhh]j5)}(h renamedatah]h renamedata}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNjj)}j]j)}jj-sb c.vfs_renameasbuh1hhjCubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjCubj5)}(hrdh]hrd}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj?ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hrename a filesystem objecth]hrename a filesystem object}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(hXr **Parameters** ``struct renamedata *rd`` pointer to :c:type:`struct renamedata ` info **Description** The caller must hold multiple mutexes--see lock_rename()). If vfs_rename discovers a delegation in need of breaking at either the source or destination, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop all locks before doing so. Alternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported. The worst of all namespace operations - renaming directory. "Perverted" doesn't even start to describe it. Somebody in UCB had a heck of a trip... Problems: a) we can get into loop creation. b) race potential - two innocent renames can create a loop together. That's where 4.4BSD screws up. Current fix: serialization on sb->s_vfs_rename_mutex. We might be more accurate, but that's another story. c) we may have to lock up to _four_ objects - parents and victim (if it exists), and source (if it's a non-directory or a subdirectory that moves to different parent). And that - after we got ->i_rwsem on parents (until then we don't know whether the target exists). Solution: try to be smart with locking order for inodes. We rely on the fact that tree topology may change only under ->s_vfs_rename_mutex _and_ that parent of the object we move will be locked. Thus we can rank directories by the tree (ancestors first) and rank all non-directories after them. That works since everybody except rename does "lock parent, lookup, lock child" and rename is under ->s_vfs_rename_mutex. HOWEVER, it relies on the assumption that any object with ->lookup() has no more than 1 dentry. If "hybrid" objects will ever appear, we'd better make sure that there's no link(2) for them. d) conversion from fhandle to dentry may come in the wrong moment - when we are removing the target. Solution: we will have to grab ->i_rwsem in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_rwsem on parents, which works but leads to some truly excessive locking].h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]j)}(hS``struct renamedata *rd`` pointer to :c:type:`struct renamedata ` info h](j)}(h``struct renamedata *rd``h]j)}(hj h]hstruct renamedata *rd}(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.chMhjubj)}(hhh]h)}(h8pointer to :c:type:`struct renamedata ` infoh](h pointer to }(hj$hhhNhNubh)}(h(:c:type:`struct renamedata `h]j)}(hj.h]hstruct renamedata}(hj0hhhNhNubah}(h]h ](xrefjc-typeeh"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]refdocfilesystems/api-summary refdomainjreftypetype refexplicitrefwarnjj)}j]sb reftarget renamedatauh1hhj hMhj$ubh info}(hj$hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj hMhj!ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubah}(h]h ]h"]h$]h&]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:56: ./fs/namei.chMhjubh)}(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.chMhjubh)}(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.chMhjubh)}(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.chMhjubh)}(hThe worst of all namespace operations - renaming directory. "Perverted" doesn't even start to describe it. Somebody in UCB had a heck of a trip... Problems:h]hThe worst of all namespace operations - renaming directory. “Perverted” doesn’t even start to describe it. Somebody in UCB had a heck of a trip... Problems:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hXa) we can get into loop creation. b) race potential - two innocent renames can create a loop together. That's where 4.4BSD screws up. Current fix: serialization on sb->s_vfs_rename_mutex. We might be more accurate, but that's another story. c) we may have to lock up to _four_ objects - parents and victim (if it exists), and source (if it's a non-directory or a subdirectory that moves to different parent). And that - after we got ->i_rwsem on parents (until then we don't know whether the target exists). Solution: try to be smart with locking order for inodes. We rely on the fact that tree topology may change only under ->s_vfs_rename_mutex _and_ that parent of the object we move will be locked. Thus we can rank directories by the tree (ancestors first) and rank all non-directories after them. That works since everybody except rename does "lock parent, lookup, lock child" and rename is under ->s_vfs_rename_mutex. HOWEVER, it relies on the assumption that any object with ->lookup() has no more than 1 dentry. If "hybrid" objects will ever appear, we'd better make sure that there's no link(2) for them. d) conversion from fhandle to dentry may come in the wrong moment - when we are removing the target. Solution: we will have to grab ->i_rwsem in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_rwsem on parents, which works but leads to some truly excessive locking].h]jC)}(hhh](jC)}(hwe can get into loop creation.h]h)}(hjh]hwe can get into loop creation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubah}(h]h ]h"]h$]h&]uh1jChjubjC)}(hrace potential - two innocent renames can create a loop together. That's where 4.4BSD screws up. Current fix: serialization on sb->s_vfs_rename_mutex. We might be more accurate, but that's another story.h]h)}(hrace potential - two innocent renames can create a loop together. That's where 4.4BSD screws up. Current fix: serialization on sb->s_vfs_rename_mutex. We might be more accurate, but that's another story.h]hrace potential - two innocent renames can create a loop together. That’s where 4.4BSD screws up. Current fix: serialization on sb->s_vfs_rename_mutex. We might be more accurate, but that’s another story.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubah}(h]h ]h"]h$]h&]uh1jChjubjC)}(hXjwe may have to lock up to _four_ objects - parents and victim (if it exists), and source (if it's a non-directory or a subdirectory that moves to different parent). And that - after we got ->i_rwsem on parents (until then we don't know whether the target exists). Solution: try to be smart with locking order for inodes. We rely on the fact that tree topology may change only under ->s_vfs_rename_mutex _and_ that parent of the object we move will be locked. Thus we can rank directories by the tree (ancestors first) and rank all non-directories after them. That works since everybody except rename does "lock parent, lookup, lock child" and rename is under ->s_vfs_rename_mutex. HOWEVER, it relies on the assumption that any object with ->lookup() has no more than 1 dentry. If "hybrid" objects will ever appear, we'd better make sure that there's no link(2) for them.h]h)}(hXjwe may have to lock up to _four_ objects - parents and victim (if it exists), and source (if it's a non-directory or a subdirectory that moves to different parent). And that - after we got ->i_rwsem on parents (until then we don't know whether the target exists). Solution: try to be smart with locking order for inodes. We rely on the fact that tree topology may change only under ->s_vfs_rename_mutex _and_ that parent of the object we move will be locked. Thus we can rank directories by the tree (ancestors first) and rank all non-directories after them. That works since everybody except rename does "lock parent, lookup, lock child" and rename is under ->s_vfs_rename_mutex. HOWEVER, it relies on the assumption that any object with ->lookup() has no more than 1 dentry. If "hybrid" objects will ever appear, we'd better make sure that there's no link(2) for them.h]hXzwe may have to lock up to _four_ objects - parents and victim (if it exists), and source (if it’s a non-directory or a subdirectory that moves to different parent). And that - after we got ->i_rwsem on parents (until then we don’t know whether the target exists). Solution: try to be smart with locking order for inodes. We rely on the fact that tree topology may change only under ->s_vfs_rename_mutex _and_ that parent of the object we move will be locked. Thus we can rank directories by the tree (ancestors first) and rank all non-directories after them. That works since everybody except rename does “lock parent, lookup, lock child” and rename is under ->s_vfs_rename_mutex. HOWEVER, it relies on the assumption that any object with ->lookup() has no more than 1 dentry. If “hybrid” objects will ever appear, we’d better make sure that there’s no link(2) for them.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubah}(h]h ]h"]h$]h&]uh1jChjubjC)}(hXconversion from fhandle to dentry may come in the wrong moment - when we are removing the target. Solution: we will have to grab ->i_rwsem in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_rwsem on parents, which works but leads to some truly excessive locking].h]h)}(hXconversion from fhandle to dentry may come in the wrong moment - when we are removing the target. Solution: we will have to grab ->i_rwsem in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_rwsem on parents, which works but leads to some truly excessive locking].h]hXconversion from fhandle to dentry may come in the wrong moment - when we are removing the target. Solution: we will have to grab ->i_rwsem in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_rwsem on parents, which works but leads to some truly excessive locking].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubah}(h]h ]h"]h$]h&]uh1jChjubeh}(h]h ]h"]h$]h&]j loweralphajhjjuh1jBhjubah}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_readlink (C function)c.vfs_readlinkhNtauh1hhjuJhhhNhNubh)}(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}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjThhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM<ubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjThhhjfhM<ubj/)}(h vfs_readlinkh]j5)}(h vfs_readlinkh]h vfs_readlink}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjThhhjfhM<ubj)}(h8(struct dentry *dentry, char __user *buffer, int buflen)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj{sbc.vfs_readlinkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hchar __user *bufferh](j)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh__user}(hjhhhNhNubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj5hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbufferh]hbuffer}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int buflenh](j)}(hinth]hint}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjWubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWubj5)}(hbuflenh]hbuflen}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjThhhjfhM<ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjPhhhjfhM<ubah}(h]jKah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjfhM<hjMhhubjc)}(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.chM<hjhhubah}(h]h ]h"]h$]h&]uh1jbhjMhhhjfhM<ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(hX **Parameters** ``struct dentry *dentry`` dentry on which to get symbolic link ``char __user *buffer`` user memory pointer ``int buflen`` size of buffer **Description** Does not touch atime. That's up to the caller if necessary Does not call security hook.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM@hjubj)}(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.chM=hjubj)}(hhh]h)}(h$dentry on which to get symbolic linkh]h$dentry on which to get symbolic link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjubj)}(h,``char __user *buffer`` user memory pointer h](j)}(h``char __user *buffer``h]j)}(hjh]hchar __user *buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM>hjubj)}(hhh]h)}(huser memory pointerh]huser memory pointer}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hM>hj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj0hM>hjubj)}(h``int buflen`` size of buffer h](j)}(h``int buflen``h]j)}(hjTh]h int buflen}(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.chM?hjNubj)}(hhh]h)}(hsize of bufferh]hsize of buffer}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihM?hjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihM?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.chMAhjubh)}(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.chMBhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_get_link (C function)c.vfs_get_linkhNtauh1hhjuJhhhNhNubh)}(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 )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMhubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhjhMhubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMhubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMhubj/)}(h vfs_get_linkh]j5)}(h vfs_get_linkh]h vfs_get_link}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMhubj)}(h2(struct dentry *dentry, struct delayed_call *done)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubh)}(hhh]j5)}(hdentryh]hdentry}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj)}j]j)}jj.sbc.vfs_get_linkasbuh1hhjDubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjDubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj@ubj)}(hstruct delayed_call *doneh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h delayed_callh]h delayed_call}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.vfs_get_linkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdoneh]hdone}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj@ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMhubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMhubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhhjhhubjc)}(hhh]h)}(hget symlink bodyh]hget symlink body}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhhj8hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMhubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSjjSjjjuh1hhhhjuJhNhNubj)}(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)}(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.chMlhjWubj)}(hhh](j)}(h?``struct dentry *dentry`` dentry on which to get symbolic link h](j)}(h``struct dentry *dentry``h]j)}(hj|h]hstruct dentry *dentry}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMihjvubj)}(hhh]h)}(h$dentry on which to get symbolic linkh]h$dentry on which to get symbolic link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMihjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhMihjsubj)}(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.chMjhjubj)}(hhh]h)}(h,caller needs to free returned data with thish]h,caller needs to free returned data with this}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMjhjsubeh}(h]h ]h"]h$]h&]uh1jhjWubh)}(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.chMlhjWubh)}(h?Calls security hook and i_op->get_link() on the supplied inode.h]h?Calls security hook and i_op->get_link() on the supplied inode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMkhjWubh)}(h?It does not touch atime. That's up to the caller if necessary.h]hAIt does not touch atime. That’s up to the caller if necessary.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMmhjWubh)}(h6Does not work on "special" symlinks like /proc/$$/fd/Nh]h:Does not work on “special” symlinks like /proc/$$/fd/N}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMohjWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpage_get_link (C function)c.page_get_linkhNtauh1hhjuJhhhNhNubh)}(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 )}(hjUh]hconst}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOhhhj`hMubj)}(hcharh]hchar}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjOhhhj`hMubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOhhhj`hMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjOhhhj`hMubj/)}(h page_get_linkh]j5)}(h page_get_linkh]h page_get_link}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjOhhhj`hMubj)}(hK(struct dentry *dentry, struct inode *inode, struct delayed_call *callback)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.page_get_linkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubh)}(hhh]j5)}(hinodeh]hinode}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj)}j]jc.page_get_linkasbuh1hhj&ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj*)}(hj-h]h*}(hjthhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj&ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct delayed_call *callbackh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h delayed_callh]h delayed_call}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.page_get_linkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hcallbackh]hcallback}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjOhhhj`hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjKhhhj`hMubah}(h]jFah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj`hMhjHhhubjc)}(hhh]h)}(h2An implementation of the get_link inode_operation.h]h2An implementation of the get_link inode_operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjHhhhj`hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhjuJhNhNubj)}(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)}(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.chMhj7ubj)}(hhh](j)}(hD``struct dentry *dentry`` The directory entry which is the symlink. h](j)}(h``struct dentry *dentry``h]j)}(hj\h]hstruct dentry *dentry}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjVubj)}(hhh]h)}(h)The directory entry which is the symlink.h]h)The directory entry which is the symlink.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhMhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMhjSubj)}(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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjSubj)}(hM``struct delayed_call *callback`` Used to drop the reference to the symlink. h](j)}(h!``struct delayed_call *callback``h]j)}(hjh]hstruct delayed_call *callback}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h*Used to drop the reference to the symlink.h]h*Used to drop the reference to the symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjSubeh}(h]h ]h"]h$]h&]uh1jhj7ubh)}(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.chMhj7ubh)}(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.chMhj7ubh)}(h **Return**h]j)}(hj0h]hReturn}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj7ubh)}(h(A pointer to the NUL-terminated symlink.h]h(A pointer to the NUL-terminated symlink.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpage_put_link (C function)c.page_put_linkhNtauh1hhjuJhhhNhNubh)}(hhh](j)}(hvoid page_put_link (void *arg)h]j)}(hvoid page_put_link(void *arg)h](j)}(hvoidh]hvoid}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjqhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqhhhjhMubj/)}(h page_put_linkh]j5)}(h page_put_linkh]h page_put_link}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjqhhhjhMubj)}(h (void *arg)h]j)}(h void *argh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hargh]harg}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjqhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjmhhhjhMubah}(h]jhah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjjhhubjc)}(hhh]h)}(h"Drop the reference to the symlink.h]h"Drop the reference to the symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(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.chMhj!ubj)}(hhh]j)}(h4``void *arg`` The folio which contains the symlink. h](j)}(h ``void *arg``h]j)}(hjFh]h void *arg}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj@ubj)}(hhh]h)}(h%The folio which contains the symlink.h]h%The folio which contains the symlink.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hMhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj!ubh)}(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.chMhj!ubh)}(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.chMhj!ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfinish_open (C function) c.finish_openhNtauh1hhjuJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h finish_openh]j5)}(h finish_openh]h finish_open}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hT(struct file *file, struct dentry *dentry, int (*open)(struct inode*, struct file*))h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j]j)}jjsb c.finish_openasbuh1hhjubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj^hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfileh]hfile}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jL c.finish_openasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h(int (*open)(struct inode*, struct file*)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hopenh]hopen}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjh]h)}(hj8hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjƗh]h(}(hjEhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNjj)}j]jL c.finish_openasbuh1hhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjSh]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jL c.finish_openasbuh1hhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hfinish opening a fileh]hfinish opening a file}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhj%hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@jj@jjjuh1hhhhjuJhNhNubj)}(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)}(hjJh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjDubj)}(hhh](j)}(h#``struct file *file`` file pointer h](j)}(h``struct file *file``h]j)}(hjih]hstruct file *file}(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.chMhjcubj)}(hhh]h)}(h file pointerh]h file pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hMhjubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhj~hMhj`ubj)}(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&]uh1jhjhMhj`ubj)}(h=``int (*open)(struct inode *, struct file *)`` open callback h](j)}(h.``int (*open)(struct inode *, struct file *)``h]j)}(hjh]h*int (*open)(struct inode *, struct file *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjubj)}(hhh]h)}(h open callbackh]h open callback}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj`ubeh}(h]h ]h"]h$]h&]uh1jhjDubh)}(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.chMhjDubh)}(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().}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjDubh)}(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.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjDubh)}(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().}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjDubh)}(h5Returns zero on success or -errno if the open failed.h]h5Returns zero on success or -errno if the open failed.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfinish_no_open (C function)c.finish_no_openhNtauh1hhjuJhhhNhNubh)}(hhh](j)}(h=int finish_no_open (struct file *file, struct dentry *dentry)h]j)}(hatomic_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&]uh1jbhj}hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(hX**Parameters** ``struct file *file`` file pointer ``struct dentry *dentry`` dentry, ERR_PTR(-E...) or NULL (as returned from ->lookup()) **Description** This can be used to set the result of a lookup in ->atomic_open(). NB: unlike finish_open() this function does consume the dentry reference and the caller need not dput() it. Returns 0 or -E..., which must be the return value of ->atomic_open() after having called this function.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjubj)}(hhh](j)}(h#``struct file *file`` file pointer h](j)}(h``struct file *file``h]j)}(hjh]hstruct file *file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjubj)}(hhh]h)}(h file pointerh]h file pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hW``struct dentry *dentry`` dentry, ERR_PTR(-E...) or NULL (as returned from ->lookup()) h](j)}(h``struct dentry *dentry``h]j)}(hj2h]hstruct dentry *dentry}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhj,ubj)}(hhh]h)}(hlookup())h]hlookup())}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjmh]h Description}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjubh)}(hBThis can be used to set the result of a lookup in ->atomic_open().h]hBThis can be used to set the result of a lookup in ->atomic_open().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjubh)}(hkNB: unlike finish_open() this function does consume the dentry reference and the caller need not dput() it.h]hkNB: unlike finish_open() this function does consume the dentry reference and the caller need not dput() it.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMhjubh)}(hhReturns 0 or -E..., which must be the return value of ->atomic_open() after having called this function.h]hhReturns 0 or -E..., which must be the return value of ->atomic_open() after having called this function.}(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkernel_file_open (C function)c.kernel_file_openhNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMlubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMlubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jkernel_file_opensbc.kernel_file_openasbuh1hhjhhhjhMlubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMlubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMlubj/)}(hkernel_file_openh]j5)}(hj h]hkernel_file_open}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMlubj)}(h=(const struct path *path, int flags, const struct cred *cred)h](j)}(hconst struct path *pathh](j )}(hjUh]hconst}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj )}(hjzh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubh)}(hhh]j5)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.kernel_file_openasbuh1hhjFubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjFubj5)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjBubj)}(h int flagsh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjBubj)}(hconst struct cred *credh](j )}(hjUh]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hj%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hcredh]hcred}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj)}j]j c.kernel_file_openasbuh1hhjubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjohhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hcredh]hcred}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjBubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMlubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMlubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMlhjhhubjc)}(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.chMlhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMlubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(hX{**Parameters** ``const struct path *path`` path of the file to open ``int flags`` open flags ``const struct cred *cred`` credentials for open **Description** Open a file for use by in-kernel consumers. The file is not accounted against nr_files and must not be installed into the file descriptor table. **Return** Opened file on success, an error pointer on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMphjubj)}(hhh](j)}(h5``const struct path *path`` path of the file to open h](j)}(h``const struct path *path``h]j)}(hjh]hconst struct path *path}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMmhjubj)}(hhh]h)}(hpath of the file to openh]hpath of the file to open}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubj)}(h``int flags`` open flags h](j)}(h ``int flags``h]j)}(hj h]h int flags}(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.chMnhjubj)}(hhh]h)}(h open flagsh]h open flags}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hMnhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMnhjubj)}(h1``const struct cred *cred`` credentials for open h](j)}(h``const struct cred *cred``h]j)}(hjYh]hconst struct cred *cred}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMohjSubj)}(hhh]h)}(hcredentials for openh]hcredentials for open}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhMohjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMohjubeh}(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.chMqhjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMphjubh)}(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.chMthjubh)}(h4Opened file on success, an error pointer on failure.h]h4Opened file on success, an error pointer on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chMuhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfilp_open (C function) c.filp_openhNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chM0ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hM0ubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNjj)}j]j)}j filp_opensb c.filp_openasbuh1hhjhhhj hM0ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hM0ubj*)}(hj-h]h*}(hjNhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhj hM0ubj/)}(h filp_openh]j5)}(hj=h]h filp_open}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hM0ubj)}(h/(const char *filename, int flags, umode_t mode)h](j)}(hconst char *filenameh](j )}(hjUh]hconst}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjvubj5)}(hfilenameh]hfilename}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjrubj)}(h int flagsh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjrubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j; c.filp_openasbuh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjrubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj hM0ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj hM0ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hM0hjhhubjc)}(hhh]h)}(h!open file and return file pointerh]h!open file and return file pointer}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chM0hjbhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj hM0ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj}jj}jjjuh1hhhhjuJhNhNubj)}(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.chM4hjubj)}(hhh](j)}(h&``const char *filename`` path to open h](j)}(h``const char *filename``h]j)}(hjh]hconst char *filename}(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.chM2hjubj)}(hhh]h)}(h path to openh]h path to open}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjubj)}(h<``int flags`` open flags as per the open(2) second argument h](j)}(h ``int flags``h]j)}(hjh]h int flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chM3hjubj)}(hhh]h)}(h-open flags as per the open(2) second argumenth]h-open flags as per the open(2) second argument}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjubj)}(hG``umode_t mode`` mode for the new file if O_CREAT is set, else ignored h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chM4hjubj)}(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}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hM4hj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hM4hjubeh}(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&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chM6hjubh)}(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..}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./fs/open.chM5hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_reset (C function) c.bio_resethNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM#ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM#ubj/)}(h bio_reseth]j5)}(h bio_reseth]h bio_reset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM#ubj)}(h;(struct bio *bio, struct block_device *bdev, blk_opf_t opf)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsb c.bio_resetasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj!hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbioh]hbio}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct block_device *bdevh](j )}(hjzh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubh)}(hhh]j5)}(h block_deviceh]h block_device}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNjj)}j]j c.bio_resetasbuh1hhjCubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjCubj5)}(hbdevh]hbdev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h blk_opf_t opfh](h)}(hhh]j5)}(h blk_opf_th]h blk_opf_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.bio_resetasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hopfh]hopf}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM#ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM#ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM#hjhhubjc)}(hhh]h)}(hreinitialize a bioh]hreinitialize a bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM#hj hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(jj(jjjuh1hhhhjuJhNhNubj)}(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)}(hj2h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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`` bio to reset h](j)}(h``struct bio *bio``h]j)}(hjQh]hstruct bio *bio}(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.chM$hjKubj)}(hhh]h)}(h bio to reseth]h bio to reset}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhM$hjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhM$hjHubj)}(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%hjHubj)}(h.``blk_opf_t opf`` operation and flags for bio h](j)}(h``blk_opf_t opf``h]j)}(hjh]h blk_opf_t opf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM&hjubj)}(hhh]h)}(hoperation and flags for bioh]hoperation and flags for bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM&hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM&hjHubeh}(h]h ]h"]h$]h&]uh1jhj,ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM(hj,ubj)}(hAfter calling bio_reset(), **bio** will be in the same state as a freshly allocated bio returned bio bio_alloc_bioset() - the only fields that are preserved are the ones that are initialized by bio_alloc_bioset(). See comment in struct bio.h]h)}(hAfter calling bio_reset(), **bio** will be in the same state as a freshly allocated bio returned bio bio_alloc_bioset() - the only fields that are preserved are the ones that are initialized by bio_alloc_bioset(). See comment in struct bio.h](hAfter calling bio_reset(), }(hjhhhNhNubj)}(h**bio**h]hbio}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh will be in the same state as a freshly allocated bio returned bio bio_alloc_bioset() - the only fields that are preserved are the ones that are initialized by bio_alloc_bioset(). See comment in struct bio.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM(hjubah}(h]h ]h"]h$]h&]uh1jhj8hM(hj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_reuse (C function) c.bio_reusehNtauh1hhjuJhhhNhNubh)}(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}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj[hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM>ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[hhhjmhM>ubj/)}(h bio_reuseh]j5)}(h bio_reuseh]h bio_reuse}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj[hhhjmhM>ubj)}(h (struct bio *bio, blk_opf_t opf)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsb c.bio_reuseasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h blk_opf_t opfh](h)}(hhh]j5)}(h blk_opf_th]h blk_opf_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.bio_reuseasbuh1hhj ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj5)}(hopfh]hopf}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj[hhhjmhM>ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjWhhhjmhM>ubah}(h]jRah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjmhM>hjThhubjc)}(hhh]h)}(h(reuse a bio with the payload left intacth]h(reuse a bio with the payload left intact}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM>hjdhhubah}(h]h ]h"]h$]h&]uh1jbhjThhhjmhM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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.chMBhjubj)}(hhh](j)}(h!``struct bio *bio`` bio to reuse 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 reuseh]h bio to reuse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM?hjubah}(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)}(hjh]h blk_opf_t opf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM@hjubj)}(hhh]h)}(h$operation and flags for the next I/Oh]h$operation and flags for the next I/O}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM@hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM@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.chMBhjubh)}(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.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMAhjubh)}(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 }(hjAhhhNhNubj)}(h**bio**h]hbio}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubh] is first used to read data which is then written to another location without modification. }(hjAhhhNhNubj)}(h**bio**h]hbio}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubhQ must not be in-flight and owned by the caller. Can’t be used for cloned bios.}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMDhjubh)}(h**Note**h]j)}(hjvh]hNote}(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.chMHhjubh)}(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.chMIhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_chain (C function) c.bio_chainhNtauh1hhjuJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMsubj/)}(h bio_chainh]j5)}(h bio_chainh]h bio_chain}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMsubj)}(h%(struct bio *bio, struct bio *parent)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNjj)}j]j)}jjsb c.bio_chainasbuh1hhjubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjVhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbioh]hbio}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct bio *parenth](j )}(hjzh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jD c.bio_chainasbuh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjxubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMsubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMsubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMshjhhubjc)}(hhh]h)}(hchain bio completionsh]hchain bio completions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMshjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMsubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMwhjubj)}(hhh](j)}(h#``struct bio *bio`` the target bio h](j)}(h``struct bio *bio``h]j)}(hj>h]hstruct bio *bio}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMthj8ubj)}(hhh]h)}(hthe target bioh]hthe target bio}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMthjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMthj5ubj)}(h1``struct bio *parent`` the parent bio of **bio** h](j)}(h``struct bio *parent``h]j)}(hjwh]hstruct bio *parent}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMuhjqubj)}(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&]uh1hhjhMuhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMuhj5ubeh}(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.chMwhjubh)}(hThe caller won't have a bi_end_io called when **bio** completes - instead, **parent**'s bi_end_io won't be called until both **parent** and **bio** have completed; the chained bio will also be freed when it completes.h](h0The caller won’t have a bi_end_io called when }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh completes - instead, }(hjhhhNhNubj)}(h **parent**h]hparent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh,’s bi_end_io won’t be called until both }(hjhhhNhNubj)}(h **parent**h]hparent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF have completed; the chained bio will also be freed when it completes.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMvhjubh)}(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 }(hj-hhhNhNubj)}(h**bio**h]hbio}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh.}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMzhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_alloc_bioset (C function)c.bio_alloc_biosethNtauh1hhjuJhhhNhNubh)}(hhh](j)}(hstruct bio * bio_alloc_bioset (struct block_device *bdev, unsigned short nr_vecs, blk_opf_t opf, gfp_t gfp_mask, struct bio_set *bs)h]j)}(hstruct bio *bio_alloc_bioset(struct block_device *bdev, unsigned short nr_vecs, blk_opf_t opf, gfp_t gfp_mask, struct bio_set *bs)h](j )}(hjzh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjhhhj{hMubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jbio_alloc_biosetsbc.bio_alloc_biosetasbuh1hhjjhhhj{hMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjhhhj{hMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjjhhhj{hMubj/)}(hbio_alloc_bioseth]j5)}(hjh]hbio_alloc_bioset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjjhhhj{hMubj)}(hf(struct block_device *bdev, unsigned short nr_vecs, blk_opf_t opf, gfp_t gfp_mask, struct bio_set *bs)h](j)}(hstruct block_device *bdevh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h block_deviceh]h block_device}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.bio_alloc_biosetasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj2hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbdevh]hbdev}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned short nr_vecsh](j)}(hunsignedh]hunsigned}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjTubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj)}(hshorth]hshort}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj5)}(hnr_vecsh]hnr_vecs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h blk_opf_t opfh](h)}(hhh]j5)}(h blk_opf_th]h blk_opf_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.bio_alloc_biosetasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hopfh]hopf}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hgfp_t gfp_maskh](h)}(hhh]j5)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.bio_alloc_biosetasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hgfp_maskh]hgfp_mask}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct bio_set *bsh](j )}(hjzh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubh)}(hhh]j5)}(hbio_seth]hbio_set}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj)}j]jc.bio_alloc_biosetasbuh1hhj5ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj5ubj5)}(hbsh]hbs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjjhhhj{hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjfhhhj{hMubah}(h]jaah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj{hMhjchhubjc)}(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&]uh1jbhjchhhj{hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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_mask`` the GFP_* mask given to the slab allocator ``struct bio_set *bs`` the bio_set to allocate from. **Description** Allocate a bio from the mempools in **bs**. If ``__GFP_DIRECT_RECLAIM`` is set then bio_alloc will always be able to allocate a bio. This is due to the mempool guarantees. To make this work, callers must never allocate more than 1 bio at a time from the general pool. Callers that need to allocate more than 1 bio must always submit the previously allocated bio for IO before attempting to allocate a new one. Failure to do so can cause deadlocks under memory pressure. Note that when running under submit_bio_noacct() (i.e. any block driver), bios are not submitted until after you return - see the code in submit_bio_noacct() that converts recursion into iteration, to prevent stack overflows. This would normally mean allocating multiple bios under submit_bio_noacct() would be susceptible to deadlocks, but we have deadlock avoidance code that resubmits any blocked bios from a rescuer thread. However, we do not guarantee forward progress for allocations from other mempools. Doing multiple allocations from the same mempool under submit_bio_noacct() should be avoided - instead, use bio_set's front_pad for per bio allocations. **Return** Pointer to new bio on success, NULL on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh](j)}(hU``struct block_device *bdev`` block device to allocate the bio for (can be ``NULL``) h](j)}(h``struct block_device *bdev``h]j)}(hjh]hstruct block_device *bdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(h6block device to allocate the bio for (can be ``NULL``)h](h-block device to allocate the bio for (can be }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h;``unsigned short nr_vecs`` number of bvecs to pre-allocate h](j)}(h``unsigned short nr_vecs``h]j)}(hjFh]hunsigned short nr_vecs}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj@ubj)}(hhh]h)}(hnumber of bvecs to pre-allocateh]hnumber of bvecs to pre-allocate}(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.``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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjyubj)}(hhh]h)}(hoperation and flags for bioh]hoperation and flags for bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.chMhjubj)}(hhh]h)}(h*the GFP_* mask given to the slab allocatorh]h*the GFP_* mask given to the slab allocator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``struct bio_set *bs`` the bio_set to allocate from. h](j)}(h``struct bio_set *bs``h]j)}(hjh]hstruct bio_set *bs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM hjubj)}(hhh]h)}(hthe bio_set to allocate from.h]hthe bio_set to allocate from.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj,h]h Description}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM hjubh)}(h+Allocate a bio from the mempools in **bs**.h](h$Allocate a bio from the mempools in }(hjBhhhNhNubj)}(h**bs**h]hbs}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM hjubh)}(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 }(hjchhhNhNubj)}(h``__GFP_DIRECT_RECLAIM``h]h__GFP_DIRECT_RECLAIM}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubhX 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.}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM hjubh)}(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.chMhjubh)}(hThis would normally mean allocating multiple bios under submit_bio_noacct() would be susceptible to deadlocks, but we have deadlock avoidance code that resubmits any blocked bios from a rescuer thread.h]hThis would normally mean allocating multiple bios under submit_bio_noacct() would be susceptible to deadlocks, but we have deadlock avoidance code that resubmits any blocked bios from a rescuer thread.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubh)}(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.chMhjubh)}(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.chM"hjubh)}(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.chM#hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_kmalloc (C function) c.bio_kmallochNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j bio_kmallocsb c.bio_kmallocasbuh1hhjhhhjhMubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hjFhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(h bio_kmalloch]j5)}(hj5h]h bio_kmalloc}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h((unsigned short nr_vecs, gfp_t gfp_mask)h](j)}(hunsigned short nr_vecsh](j)}(hunsignedh]hunsigned}(hjrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj)}(hshorth]hshort}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj5)}(hnr_vecsh]hnr_vecs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubj)}(hgfp_t gfp_maskh](h)}(hhh]j5)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j3 c.bio_kmallocasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hgfp_maskh]hgfp_mask}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h kmalloc a bioh]h kmalloc a bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhjuJhNhNubj)}(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)}(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)}(h:``unsigned short nr_vecs`` number of bio_vecs to allocate h](j)}(h``unsigned short nr_vecs``h]j)}(hj]h]hunsigned short nr_vecs}(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)}(hnumber of bio_vecs to allocateh]hnumber of bio_vecs to allocate}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhMhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjTubj)}(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.chMhjubj)}(hhh]h)}(h*the GFP_* mask given to the slab allocatorh]h*the GFP_* mask given to the slab allocator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjTubeh}(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)}(hX'Use kmalloc to allocate a bio (including bvecs). The bio must be initialized using bio_init() before use. To free a bio returned from this function use kfree() after calling bio_uninit(). A bio returned from this function can be reused by calling bio_uninit() before calling bio_init() again.h]hX'Use kmalloc to allocate a bio (including bvecs). The bio must be initialized using bio_init() before use. To free a bio returned from this function use kfree() after calling bio_uninit(). A bio returned from this function can be reused by calling bio_uninit() before calling bio_init() again.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj8ubh)}(hNote that unlike bio_alloc() or bio_alloc_bioset() allocations from this function are not backed by a mempool can fail. Do not use this function for allocations in the file system I/O path.h]hNote that unlike bio_alloc() or bio_alloc_bioset() allocations from this function are not backed by a mempool can fail. Do not use this function for allocations in the file system I/O path.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj8ubh)}(h **Return**h]j)}(hjh]hReturn}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj8ubh)}(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.chMhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_put (C function) c.bio_puthNtauh1hhjuJhhhNhNubh)}(hhh](j)}(hvoid bio_put (struct bio *bio)h]j)}(hvoid bio_put(struct bio *bio)h](j)}(hvoidh]hvoid}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjHhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMQubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHhhhjZhMQubj/)}(hbio_puth]j5)}(hbio_puth]hbio_put}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjHhhhjZhMQubj)}(h(struct bio *bio)h]j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjosb c.bio_putasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjHhhhjZhMQubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjDhhhjZhMQubah}(h]j?ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjZhMQhjAhhubjc)}(hhh]h)}(hrelease a reference to a bioh]hrelease a reference to a bio}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMQhj hhubah}(h]h ]h"]h$]h&]uh1jbhjAhhhjZhMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jj$jjjuh1hhhhjuJhNhNubj)}(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)}(hj.h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMUhj(ubj)}(hhh]j)}(h0``struct bio *bio`` bio to release reference to h](j)}(h``struct bio *bio``h]j)}(hjMh]hstruct bio *bio}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMRhjGubj)}(hhh]h)}(hbio to release reference toh]hbio to release reference to}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhMRhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMRhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMThj(ubj)}(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 ](j:jc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocjF refdomainjreftypetype refexplicitrefwarnjjLjObiouh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMThjubhh, 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&]uh1hhjhMThjubah}(h]h ]h"]h$]h&]uh1jhjhMThj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_alloc_clone (C function)c.bio_alloc_clonehNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM~ubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jbio_alloc_clonesbc.bio_alloc_cloneasbuh1hhjhhhjhM~ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM~ubj*)}(hj-h]h*}(hjHhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhM~ubj/)}(hbio_alloc_cloneh]j5)}(hj7h]hbio_alloc_clone}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM~ubj)}(hO(struct block_device *bdev, struct bio *bio_src, gfp_t gfp, struct bio_set *bs)h](j)}(hstruct block_device *bdevh](j )}(hjzh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubh)}(hhh]j5)}(h block_deviceh]h block_device}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j5c.bio_alloc_cloneasbuh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjpubj5)}(hbdevh]hbdev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjlubj)}(hstruct bio *bio_srch](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j5c.bio_alloc_cloneasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj.hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbio_srch]hbio_src}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjlubj)}(h gfp_t gfph](h)}(hhh]j5)}(hgfp_th]hgfp_t}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj)}j]j5c.bio_alloc_cloneasbuh1hhjPubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj5)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjlubj)}(hstruct bio_set *bsh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbio_seth]hbio_set}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j5c.bio_alloc_cloneasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbsh]hbs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjlubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM~ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM~ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM~hjhhubjc)}(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.chM~hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM~ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhjuJhNhNubj)}(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**. The caller owns the returned bio, but not the actual data it points to. The caller must ensure that the return bio is not freed before **bio_src**.h](h)}(h**Parameters**h]j)}(hj?h]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj9ubj)}(hhh](j)}(h9``struct block_device *bdev`` block_device to clone onto 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.chMhjXubj)}(hhh]h)}(hblock_device to clone ontoh]hblock_device to clone onto}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjUubj)}(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&]uh1jhjhMhjUubj)}(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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjUubj)}(h0``struct bio_set *bs`` bio_set to allocate from h](j)}(h``struct bio_set *bs``h]j)}(hj h]hstruct bio_set *bs}(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)}(hbio_set to allocate fromh]hbio_set to allocate from}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjUubeh}(h]h ]h"]h$]h&]uh1jhj9ubh)}(h**Description**h]j)}(hjDh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj9ubh)}(hzAllocate a new bio that is a clone of **bio_src**. The caller owns the returned bio, but not the actual data it points to.h](h&Allocate a new bio that is a clone of }(hjZhhhNhNubj)}(h **bio_src**h]hbio_src}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubhI. The caller owns the returned bio, but not the actual data it points to.}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj9ubh)}(hKThe caller must ensure that the return bio is not freed before **bio_src**.h](h?The caller must ensure that the return bio is not freed before }(hj{hhhNhNubj)}(h **bio_src**h]hbio_src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh.}(hj{hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_init_clone (C function)c.bio_init_clonehNtauh1hhjuJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hbio_init_cloneh]j5)}(hbio_init_cloneh]hbio_init_clone}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hL(struct block_device *bdev, struct bio *bio, struct bio *bio_src, gfp_t gfp)h](j)}(hstruct block_device *bdevh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h block_deviceh]h block_device}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.bio_init_cloneasbuh1hhjubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjEhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbdevh]hbdev}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j3c.bio_init_cloneasbuh1hhjgubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjgubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct bio *bio_srch](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j3c.bio_init_cloneasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj%hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbio_srch]hbio_src}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h gfp_t gfph](h)}(hhh]j5)}(hgfp_th]hgfp_t}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j]j3c.bio_init_cloneasbuh1hhjGubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubj5)}(hgfph]hgfp}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(hX**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 caller owns the returned bio, but not the actual data it points to. The caller must ensure that **bio_src** is not freed before **bio**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh](j)}(h9``struct block_device *bdev`` block_device to clone onto h](j)}(h``struct block_device *bdev``h]j)}(hjh]hstruct block_device *bdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(hblock_device to clone ontoh]hblock_device to clone onto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h&``struct bio *bio`` bio to clone into h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(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)}(hbio to clone intoh]hbio to clone into}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(h*``struct bio *bio_src`` bio to clone from h](j)}(h``struct bio *bio_src``h]j)}(hjWh]hstruct bio *bio_src}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjQubj)}(hhh]h)}(hbio to clone fromh]hbio to clone from}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjubj)}(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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubh)}(hInitialize a new bio in caller provided memory that is a clone of **bio_src**. The caller owns the returned bio, but not the actual data it points to.h](hBInitialize a new bio in caller provided memory that is a clone of }(hjhhhNhNubj)}(h **bio_src**h]hbio_src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhI. The caller owns the returned bio, but not the actual data it points to.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubh)}(hDThe caller must ensure that **bio_src** is not freed before **bio**.h](hThe caller must ensure that }(hjhhhNhNubj)}(h **bio_src**h]hbio_src}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is not freed before }(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__bio_add_page (C function)c.__bio_add_pagehNtauh1hhjuJhhhNhNubh)}(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}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjQhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQhhhjchMubj/)}(h__bio_add_pageh]j5)}(h__bio_add_pageh]h__bio_add_page}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjQhhhjchMubj)}(hH(struct bio *bio, struct page *page, unsigned int len, unsigned int off)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjxsbc.__bio_add_pageasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct page *pageh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hpageh]hpage}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNjj)}j]jc.__bio_add_pageasbuh1hhjubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjNhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hpageh]hpage}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubj5)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int offh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hoffh]hoff}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjQhhhjchMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjMhhhjchMubah}(h]jHah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjchMhjJhhubjc)}(hhh]h)}(h%add page(s) to a bio in a new segmenth]h%add page(s) to a bio in a new segment}(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&]uh1jbhjJhhhjchMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhjuJhNhNubj)}(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)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjCubj)}(hhh](j)}(h$``struct bio *bio`` destination bio h](j)}(h``struct bio *bio``h]j)}(hjhh]hstruct bio *bio}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjbubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj_ubj)}(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&]uh1jhjhMhj_ubj)}(h@``unsigned int len`` length of the data to add, may cross pages h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(h*length of the data to add, may cross pagesh]h*length of the data to add, may cross pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj_ubj)}(hN``unsigned int off`` offset of the data relative to **page**, may cross pages h](j)}(h``unsigned int off``h]j)}(hjh]hunsigned int off}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.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}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubh, may cross pages}(hj,hhhNhNubeh}(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&]uh1jhjCubh)}(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.chMhjCubh)}(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 }(hjvhhhNhNubj)}(h**page**h]hpage}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh + }(hjvhhhNhNubj)}(h**off**h]hoff}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh to }(hjvhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh- as a new bvec. The caller must ensure that }(hjvhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh has space for another bvec.}(hjvhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h bio_add_virt_nofail (C function)c.bio_add_virt_nofailhNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj/)}(hbio_add_virt_nofailh]j5)}(hbio_add_virt_nofailh]hbio_add_virt_nofail}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj)}(h,(struct bio *bio, void *vaddr, unsigned len)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubh)}(hhh]j5)}(hbioh]hbio}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj)}j]j)}jjsbc.bio_add_virt_nofailasbuh1hhj&ubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj*)}(hj-h]h*}(hjvhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj&ubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj"ubj)}(h void *vaddrh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hvaddrh]hvaddr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj"ubj)}(h unsigned lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj"ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(hhh]h)}(h.add data in the direct kernel mapping to a bioh]h.add data in the direct kernel mapping to a bio}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM hj!hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhjuJhNhNubj)}(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)}(hjFh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj@ubj)}(hhh](j)}(h$``struct bio *bio`` destination bio h](j)}(h``struct bio *bio``h]j)}(hjeh]hstruct bio *bio}(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)}(hdestination bioh]hdestination bio}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj\ubj)}(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&]uh1jhjhMhj\ubj)}(h<``unsigned len`` length of the data to add, may cross pages h](j)}(h``unsigned len``h]j)}(hjh]h unsigned len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(h*length of the data to add, may cross pagesh]h*length of the data to add, may cross pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj\ubeh}(h]h ]h"]h$]h&]uh1jhj@ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj@ubh)}(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 }(hj(hhhNhNubj)}(h **vaddr**h]hvaddr}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh to }(hj(hhhNhNubj)}(h**bio**h]hbio}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh. The caller must have ensure a segment is available for the added data. No merging into an existing segment will be performed.}(hj(hhhNhNubeh}(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_add_page (C function)c.bio_add_pagehNtauh1hhjuJhhhNhNubh)}(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}(hj{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjwhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwhhhjhMubj/)}(h bio_add_pageh]j5)}(h bio_add_pageh]h bio_add_page}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjwhhhjhMubj)}(hK(struct bio *bio, struct page *page, unsigned int len, unsigned int offset)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.bio_add_pageasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct page *pageh](j )}(hjzh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubh)}(hhh]j5)}(hpageh]hpage}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj)}j]jc.bio_add_pageasbuh1hhj&ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj*)}(hj-h]h*}(hjthhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj&ubj5)}(hpageh]hpage}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int offseth](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hoffseth]hoffset}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjwhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjshhhjhMubah}(h]jnah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjphhubjc)}(hhh]h)}(hattempt to add page(s) to bioh]hattempt to add page(s) to bio}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjJhhubah}(h]h ]h"]h$]h&]uh1jbhjphhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjejjejjjuh1hhhhjuJhNhNubj)}(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)}(hjoh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM!hjiubj)}(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)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM hjubj)}(hhh]h)}(h!vec entry length, may cross pagesh]h!vec entry length, may cross pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hO``unsigned int offset`` vec entry offset relative to **page**, may cross pages h](j)}(h``unsigned int offset``h]j)}(hj9h]hunsigned int offset}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM!hj3ubj)}(hhh]h)}(h6vec entry offset relative to **page**, may cross pagesh](hvec entry offset relative to }(hjRhhhNhNubj)}(h**page**h]hpage}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh, may cross pages}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjNhM!hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhM!hjubeh}(h]h ]h"]h$]h&]uh1jhjiubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM#hjiubj)}(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&]uh1jhjhM"hjiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_add_folio (C function)c.bio_add_foliohNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMLubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMLubj/)}(h bio_add_folioh]j5)}(h bio_add_folioh]h bio_add_folio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMLubj)}(h>(struct bio *bio, struct folio *folio, size_t len, size_t off)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(hbioh]hbio}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNjj)}j]j)}jjsbc.bio_add_folioasbuh1hhj ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hj]hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hbioh]hbio}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hstruct folio *folioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfolioh]hfolio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jKc.bio_add_folioasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfolioh]hfolio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h size_t lenh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jKc.bio_add_folioasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h size_t offh](h)}(hhh]j5)}(hsize_th]hsize_t}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNjj)}j]jKc.bio_add_folioasbuh1hhj7ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj5)}(hoffh]hoff}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMLubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMLubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMLhjhhubjc)}(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.chMLhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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.chMPhjubj)}(hhh](j)}(h#``struct bio *bio`` BIO to add 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.chMMhjubj)}(hhh]h)}(hBIO to add to.h]hBIO to add to.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubj)}(h&``struct folio *folio`` Folio to add. h](j)}(h``struct folio *folio``h]j)}(hjh]hstruct folio *folio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMNhjubj)}(hhh]h)}(h Folio to add.h]h Folio to add.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hMNhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMNhjubj)}(h5``size_t len`` How many bytes from the folio to add. h](j)}(h``size_t len``h]j)}(hjGh]h size_t len}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMOhjAubj)}(hhh]h)}(h%How many bytes from the folio to add.h]h%How many bytes from the folio to add.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\hMOhj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMOhjubj)}(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&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMPhjzubj)}(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&]uh1hhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubeh}(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.chMRhjubh)}(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}(hjhhhNhNubah}(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.chMQhjubh)}(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.chMVhjubh)}(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.chMWhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"bio_add_vmalloc_chunk (C function)c.bio_add_vmalloc_chunkhNtauh1hhjuJhhhNhNubh)}(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}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj5hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMeubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5hhhjGhMeubj)}(hinth]hint}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj5hhhjGhMeubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5hhhjGhMeubj/)}(hbio_add_vmalloc_chunkh]j5)}(hbio_add_vmalloc_chunkh]hbio_add_vmalloc_chunk}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj5hhhjGhMeubj)}(h,(struct bio *bio, void *vaddr, unsigned len)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjxsbc.bio_add_vmalloc_chunkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *vaddrh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hvaddrh]hvaddr}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h unsigned lenh](j)}(hunsignedh]hunsigned}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjBubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubj5)}(hlenh]hlen}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj5hhhjGhMeubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj1hhhjGhMeubah}(h]j,ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjGhMehj.hhubjc)}(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.chMehjhhubah}(h]h ]h"]h$]h&]uh1jbhj.hhhjGhMeubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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.chMihjubj)}(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.chMfhjubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMfhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMfhjubj)}(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.chMghjubj)}(hhh]h)}(hvmalloc address to addh]hvmalloc address to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMghjubj)}(h:``unsigned len`` total length in bytes of the data to add h](j)}(h``unsigned len``h]j)}(hj?h]h unsigned len}(hjAhhhNhNubah}(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.chMhhj9ubj)}(hhh]h)}(h(total length in bytes of the data to addh]h(total length in bytes of the data to add}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMhhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhhjubeh}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMjhjubh)}(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.chMihjubh)}(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.chMmhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_add_vmalloc (C function)c.bio_add_vmallochNtauh1hhjuJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hbio_add_vmalloch]j5)}(hbio_add_vmalloch]hbio_add_vmalloc}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h0(struct bio *bio, void *vaddr, unsigned int len)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<ubh)}(hhh]j5)}(hbioh]hbio}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNjj)}j]j)}jj&sbc.bio_add_vmallocasbuh1hhj<ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj<ubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj8ubj)}(h void *vaddrh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hvaddrh]hvaddr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj8ubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj8ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hadd a vmalloc region to a bioh]hadd a vmalloc region 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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhjuJhNhNubj)}(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)}(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`` 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.chMhjubj)}(hhh]h)}(hvmalloc address to addh]hvmalloc address 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`` 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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(h(total length in bytes of the data to addh]h(total length in bytes of the data to add}(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 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 }(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 . Return }(hjZhhhNhNubj)}(h``true``h]htrue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh on success or }(hjZhhhNhNubj)}(h ``false``h]hfalse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh if }(hjZhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh, does not have enough space for the payload.}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjrubh)}(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.chMhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsubmit_bio_wait (C function)c.submit_bio_waithNtauh1hhjuJhhhNhNubh)}(hhh](j)}(h%int submit_bio_wait (struct bio *bio)h]j)}(h$int submit_bio_wait(struct bio *bio)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hsubmit_bio_waith]j5)}(hsubmit_bio_waith]hsubmit_bio_wait}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h(struct bio *bio)h]j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubh)}(hhh]j5)}(hbioh]hbio}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j]j)}jjsbc.submit_bio_waitasbuh1hhj+ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubj*)}(hj-h]h*}(hj{hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj+ubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj'ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h)submit a bio, and wait until it completesh]h)submit a bio, and wait until it completes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(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)}(hK``struct bio *bio`` The :c:type:`struct bio ` which describes the I/O h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(h6The :c:type:`struct bio ` which describes the I/Oh](hThe }(hj hhhNhNubh)}(h:c:type:`struct bio `h]j)}(hjh]h struct bio}(hjhhhNhNubah}(h]h ](j:jc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocjF refdomainjreftypetype refexplicitrefwarnjjLjObiouh1hhjhMhj ubh which describes the I/O}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjQh]h Description}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubh)}(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.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubh)}(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.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbdev_rw_virt (C function)c.bdev_rw_virthNtauh1hhjuJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h bdev_rw_virth]j5)}(h bdev_rw_virth]h bdev_rw_virt}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hT(struct block_device *bdev, sector_t sector, void *data, size_t len, enum req_op op)h](j)}(hstruct block_device *bdevh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h block_deviceh]h block_device}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.bdev_rw_virtasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj.hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbdevh]hbdev}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hsector_t sectorh](h)}(hhh]j5)}(hsector_th]hsector_t}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj)}j]jc.bdev_rw_virtasbuh1hhjPubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj5)}(hsectorh]hsector}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t lenh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.bdev_rw_virtasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hlenh]hlen}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(henum req_op oph](j )}(hjh]henum}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"ubh)}(hhh]j5)}(hreq_oph]hreq_op}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNjj)}j]jc.bdev_rw_virtasbuh1hhj"ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"ubj5)}(hoph]hop}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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.chMhj ubj)}(hhh]h)}(hsector to accessh]hsector to access}(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"``void *data`` data to read/write h](j)}(h``void *data``h]j)}(hjM h]h void *data}(hjO hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjG ubj)}(hhh]h)}(hdata to read/writeh]hdata to read/write}(hjf hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjb hMhjc ubah}(h]h ]h"]h$]h&]uh1jhjG ubeh}(h]h ]h"]h$]h&]uh1jhjb hMhjubj)}(h,``size_t len`` length in byte to read/write h](j)}(h``size_t len``h]j)}(hj h]h size_t len}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj ubj)}(hhh]h)}(hlength in byte to read/writeh]hlength in byte to read/write}(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=``enum req_op op`` operation (e.g. REQ_OP_READ/REQ_OP_WRITE) h](j)}(h``enum req_op op``h]j)}(hj h]henum req_op op}(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)operation (e.g. REQ_OP_READ/REQ_OP_WRITE)h]h)operation (e.g. REQ_OP_READ/REQ_OP_WRITE)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(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.chMhjubh)}(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}(hj< hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh. }(hj hhhNhNubj)}(h**data**h]hdata}(hjN 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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_copy_data (C function)c.bio_copy_datahNtauh1hhjuJhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM=ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj hM=ubj/)}(h bio_copy_datah]j5)}(h bio_copy_datah]h bio_copy_data}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj hM=ubj)}(h"(struct bio *dst, struct bio *src)h](j)}(hstruct bio *dsth](j )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(hbioh]hbio}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j)}jj sbc.bio_copy_dataasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hdsth]hdst}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hstruct bio *srch](j )}(hjzh]hstruct}(hj6 hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2 ubj)}(h h]h }(hjC hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2 ubh)}(hhh]j5)}(hbioh]hbio}(hjT hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQ ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjV modnameN classnameNjj)}j]j c.bio_copy_dataasbuh1hhj2 ubj)}(h h]h }(hjr hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2 ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj2 ubj5)}(hsrch]hsrc}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2 ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj hhhj hM=ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj hM=ubah}(h]jz ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hM=hj| hhubjc)}(hhh]h)}(h5copy contents of data buffers from one bio to anotherh]h5copy contents of data buffers from one bio to another}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM=hj hhubah}(h]h ]h"]h$]h&]uh1jbhj| hhhj hM=ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjuJhNhNubj)}(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)}(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.chMAhj ubj)}(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&]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)}(hdestination bioh]hdestination bio}(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 bio *src`` source bio h](j)}(h``struct bio *src``h]j)}(hj1 h]hstruct bio *src}(hj3 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)}(h source bioh]h source bio}(hjJ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjF hM>hjG ubah}(h]h ]h"]h$]h&]uh1jhj+ ubeh}(h]h ]h"]h$]h&]uh1jhjF hM>hj ubeh}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hjl h]h Description}(hjn hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM@hj ubh)}(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 }(hj hhhNhNubj)}(h**src**h]hsrc}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh or }(hj hhhNhNubj)}(h**dst**h]hdst}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh_ - that is, copies min(src->bi_size, dst->bi_size) bytes (or the equivalent for lists of bios).}(hj hhhNhNubeh}(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_endio (C function) c.bio_endiohNtauh1hhjuJhhhNhNubh)}(hhh](j)}(h void bio_endio (struct bio *bio)h]j)}(hvoid bio_endio(struct bio *bio)h](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj hMubj/)}(h bio_endioh]j5)}(h bio_endioh]h bio_endio}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj hMubj)}(h(struct bio *bio)h]j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(hbioh]hbio}(hj0 hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj- ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2 modnameN classnameNjj)}j]j)}jj sb c.bio_endioasbuh1hhj ubj)}(h h]h }(hjP hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hj^ hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hbioh]hbio}(hjk hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubah}(h]h ]h"]h$]h&]jLjMuh1jhj hhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj hMubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhj hhubjc)}(hhh]h)}(hend I/O on a bioh]hend I/O on a bio}(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&]uh1jbhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjuJhNhNubj)}(hX**Parameters** ``struct bio *bio`` bio **Description** bio_endio() will end I/O on the whole bio. bio_endio() is the preferred way to end I/O on a bio. No one should call bi_end_io() directly on a bio unless they own it and thus know that it has an end_io function. bio_endio() can be called several times on a bio that has been chained using bio_chain(). The ->bi_end_io() function will only be called the last time.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj ubj)}(hhh]j)}(h``struct bio *bio`` bio h](j)}(h``struct bio *bio``h]j)}(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)}(hbioh]hbio}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj ubj)}(hXlbio_endio() will end I/O on the whole bio. bio_endio() is the preferred way to end I/O on a bio. No one should call bi_end_io() directly on a bio unless they own it and thus know that it has an end_io function. bio_endio() can be called several times on a bio that has been chained using bio_chain(). The ->bi_end_io() function will only be called the last time.h](h)}(hbio_endio() will end I/O on the whole bio. bio_endio() is the preferred way to end I/O on a bio. No one should call bi_end_io() directly on a bio unless they own it and thus know that it has an end_io function.h]hbio_endio() will end I/O on the whole bio. bio_endio() is the preferred way to end I/O on a bio. No one should call bi_end_io() directly on a bio unless they own it and thus know that it has an end_io function.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj'ubh)}(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.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhj'ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_split (C function) c.bio_splithNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkhhhj|hMubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j bio_splitsb c.bio_splitasbuh1hhjkhhhj|hMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkhhhj|hMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjkhhhj|hMubj/)}(h bio_splith]j5)}(hjh]h bio_split}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjkhhhj|hMubj)}(h=(struct bio *bio, int sectors, gfp_t gfp, struct bio_set *bs)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j c.bio_splitasbuh1hhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj3hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbioh]hbio}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int sectorsh](j)}(hinth]hint}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjUubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubj5)}(hsectorsh]hsectors}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h gfp_t gfph](h)}(hhh]j5)}(hgfp_th]hgfp_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.bio_splitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct bio_set *bsh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbio_seth]hbio_set}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.bio_splitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbsh]hbs}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjkhhhj|hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjghhhj|hMubah}(h]jbah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj|hMhjdhhubjc)}(hhh]h)}(h split a bioh]h split a bio}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjThhubah}(h]h ]h"]h$]h&]uh1jbhjdhhhj|hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjojjojjjuh1hhhhjuJhNhNubj)}(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)}(hjyh]h Parameters}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM hjsubj)}(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.chMhjubj)}(hhh]h)}(h bio to splith]h bio to split}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.chMhjubj)}(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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``gfp_t gfp`` gfp mask h](j)}(h ``gfp_t gfp``h]j)}(hjh]h gfp_t gfp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMhjubj)}(hhh]h)}(hgfp maskh]hgfp mask}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hMhj.ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj-hMhjubj)}(h0``struct bio_set *bs`` bio set to allocate from h](j)}(h``struct bio_set *bs``h]j)}(hjQh]hstruct bio_set *bs}(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.chM hjKubj)}(hhh]h)}(hbio set to allocate fromh]hbio set to allocate from}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhM hjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhM hjubeh}(h]h ]h"]h$]h&]uh1jhjsubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM hjsubh)}(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 hjsubh)}(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}(hjhhhNhNubah}(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.chM hjsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_trim (C function) c.bio_trimhNtauh1hhjuJhhhNhNubh)}(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}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjHhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM7ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHhhhjZhM7ubj/)}(hbio_trimh]j5)}(hbio_trimh]hbio_trim}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjHhhhjZhM7ubj)}(h1(struct bio *bio, sector_t offset, sector_t size)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjosb c.bio_trimasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hsector_t offseth](h)}(hhh]j5)}(hsector_th]hsector_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.bio_trimasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hoffseth]hoffset}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h sector_t sizeh](h)}(hhh]j5)}(hsector_th]hsector_t}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNjj)}j]j c.bio_trimasbuh1hhj?ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubj5)}(hsizeh]hsize}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjHhhhjZhM7ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjDhhhjZhM7ubah}(h]j?ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjZhM7hjAhhubjc)}(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.chM7hjhhubah}(h]h ]h"]h$]h&]uh1jbhjAhhhjZhM7ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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.chM8hjubj)}(hhh]h)}(h bio to trimh]h bio to trim}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjubj)}(hH``sector_t offset`` number of sectors to trim from the front of **bio** h](j)}(h``sector_t offset``h]j)}(hjh]hsector_t offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM9hjubj)}(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}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1hhj+hM9hj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hM9hjubj)}(h>``sector_t size`` size we want to trim **bio** to, in sectors h](j)}(h``sector_t size``h]j)}(hj]h]h sector_t size}(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:hjWubj)}(hhh]h)}(h+size we want to trim **bio** to, in sectorsh](hsize we want to trim }(hjvhhhNhNubj)}(h**bio**h]hbio}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubh to, in sectors}(hjvhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjrhM:hjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhM: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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbioset_init (C function) c.bioset_inithNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMwubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMwubj/)}(h bioset_inith]j5)}(h bioset_inith]h bioset_init}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMwubj)}(hO(struct bio_set *bs, unsigned int pool_size, unsigned int front_pad, int flags)h](j)}(hstruct bio_set *bsh](j )}(hjzh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubh)}(hhh]j5)}(hbio_seth]hbio_set}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNjj)}j]j)}jjsb c.bioset_initasbuh1hhj(ubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj*)}(hj-h]h*}(hjxhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj(ubj5)}(hbsh]hbs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj$ubj)}(hunsigned int pool_sizeh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h pool_sizeh]h pool_size}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj$ubj)}(hunsigned int front_padh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hinth]hint}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h front_padh]h front_pad}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj$ubj)}(h int flagsh](j)}(hinth]hint}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj<ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<ubj5)}(hflagsh]hflags}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj$ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMwubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMwubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMwhjhhubjc)}(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.chMwhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMwubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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.chMxhjubj)}(hhh]h)}(hpool to initializeh]hpool to initialize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjubj)}(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.chMyhjubj)}(hhh]h)}(h2Number of bio and bio_vecs to cache in the mempoolh]h2Number of bio and bio_vecs to cache in the mempool}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMyhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMyhjubj)}(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)}(hj9h]hunsigned int front_pad}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chMzhj3ubj)}(hhh]h)}(h8Number of bytes to allocate in front of the returned bioh]h8Number of bytes to allocate in front of the returned bio}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhMzhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMzhjubj)}(hd``int flags`` Flags to modify behavior, currently ``BIOSET_NEED_BVECS`` and ``BIOSET_NEED_RESCUER`` h](j)}(h ``int flags``h]j)}(hjrh]h int flags}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./block/bio.chM|hjlubj)}(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&]uh1jhjlubeh}(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~hjubj)}(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}(hjhhhNhNubah}(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}(hj&hhhNhNubah}(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.chM~hjubah}(h]h ]h"]h$]h&]uh1jhj>hM~hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_open (C function) c.seq_openhNtauh1hhjuJhhhNhNubh)}(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}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjahhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chK+ubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjahhhjshK+ubj/)}(hseq_openh]j5)}(hseq_openh]hseq_open}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjahhhjshK+ubj)}(h4(struct file *file, const struct seq_operations *op)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsb c.seq_openasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst struct seq_operations *oph](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hseq_operationsh]hseq_operations}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j]j c.seq_openasbuh1hhjubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjyhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hoph]hop}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjahhhjshK+ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj]hhhjshK+ubah}(h]jXah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjshK+hjZhhubjc)}(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&]uh1jbhjZhhhjshK+ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(hjh]hstruct file *file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chK,hjubj)}(hhh]h)}(hfile we initializeh]hfile we initialize}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK,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&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chK-hj$ubj)}(hhh]h)}(h$method table describing the sequenceh]h$method table describing the sequence}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hK-hj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hK-hjubeh}(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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chK/hjubj)}(hX"seq_open() sets **file**, associating it with a sequence described by **op**. **op->start\(\)** sets the iterator up and returns the first element of sequence. **op->stop\(\)** shuts it down. **op->next\(\)** returns the next element of sequence. **op->show\(\)** prints element into the buffer. In case of error ->start() and ->next() return ERR_PTR(error). In the end of sequence they return ``NULL``. ->show() returns 0 in case of success and negative number in case of error. Returning SEQ_SKIP means "discard this element and move on". h]h)}(hX!seq_open() sets **file**, associating it with a sequence described by **op**. **op->start\(\)** sets the iterator up and returns the first element of sequence. **op->stop\(\)** shuts it down. **op->next\(\)** returns the next element of sequence. **op->show\(\)** prints element into the buffer. In case of error ->start() and ->next() return ERR_PTR(error). In the end of sequence they return ``NULL``. ->show() returns 0 in case of success and negative number in case of error. Returning SEQ_SKIP means "discard this element and move on".h](hseq_open() sets }(hjhhhNhNubj)}(h**file**h]hfile}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh., associating it with a sequence described by }(hjhhhNhNubj)}(h**op**h]hop}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubj)}(h**op->start\(\)**h]h op->start()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhA sets the iterator up and returns the first element of sequence. }(hjhhhNhNubj)}(h**op->stop\(\)**h]h op->stop()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh shuts it down. }(hjhhhNhNubj)}(h**op->next\(\)**h]h op->next()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( returns the next element of sequence. }(hjhhhNhNubj)}(h**op->show\(\)**h]h op->show()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh prints element into the buffer. In case of error ->start() and ->next() return ERR_PTR(error). In the end of sequence they return }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. ->show() returns 0 in case of success and negative number in case of error. Returning SEQ_SKIP means “discard this element and move on”.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chK.hj{ubah}(h]h ]h"]h$]h&]uh1jhj hK.hjubh)}(h**Note**h]j)}(hjh]hNote}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.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}(hj1hhhNhNubah}(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 }(hjChhhNhNubj)}(h**file->private_data**h]hfile->private_data}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh&. This pointer should not be modified.}(hjChhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chK8hj@ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj?hK7hj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_read (C function) c.seq_readhNtauh1hhjuJhhhNhNubh)}(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]j5)}(hssize_th]hssize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jseq_readsb c.seq_readasbuh1hhjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(hseq_readh]j5)}(hjh]hseq_read}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(h@(struct file *file, char __user *buf, size_t size, loff_t *ppos)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.seq_readasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj2hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfileh]hfile}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hchar __user *bufh](j)}(hcharh]hchar}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjTubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubh__user}(hjThhhNhNubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjTubj5)}(hbufh]hbuf}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t sizeh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.seq_readasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.seq_readasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj#hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hpposh]hppos}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(hhh]h)}(h%->read() method for sequential files.h]h%->read() method for sequential files.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chKhjWhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1hhhhjuJhNhNubj)}(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&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chKhjvubj)}(hhh](j)}(h,``struct file *file`` the file to read from h](j)}(h``struct file *file``h]j)}(hjh]hstruct file *file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chKhjubj)}(hhh]h)}(hthe file to read fromh]hthe file to read from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h+``char __user *buf`` the buffer to read to h](j)}(h``char __user *buf``h]j)}(hjh]hchar __user *buf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chKhjubj)}(hhh]h)}(hthe buffer to read toh]hthe buffer to read to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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}(hjhhhNhNubah}(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.chKhjubj)}(hhh]h)}(h#the maximum number of bytes to readh]h#the maximum number of bytes to read}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"hKhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hKhjubj)}(h2``loff_t *ppos`` the current position in the file h](j)}(h``loff_t *ppos``h]j)}(hjFh]h loff_t *ppos}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chKhj@ubj)}(hhh]h)}(h the current position in the fileh]h the current position in the file}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hKhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hKhjubeh}(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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chKhjvubj)}(hReady-made ->f_op->read()h]h)}(hjh]hReady-made ->f_op->read()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chKhjubah}(h]h ]h"]h$]h&]uh1jhjhKhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_lseek (C function) c.seq_lseekhNtauh1hhjuJhhhNhNubh)}(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]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j seq_lseeksb c.seq_lseekasbuh1hhjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM.ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM.ubj/)}(h seq_lseekh]j5)}(hjh]h seq_lseek}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM.ubj)}(h.(struct file *file, loff_t offset, int whence)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNjj)}j]j c.seq_lseekasbuh1hhjubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjkhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfileh]hfile}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t offseth](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.seq_lseekasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int whenceh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hwhenceh]hwhence}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM.ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM.ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM.hjhhubjc)}(hhh]h)}(h'->llseek() method for sequential files.h]h'->llseek() method for sequential files.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM.hj hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7 jj7 jjjuh1hhhhjuJhNhNubj)}(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)}(hjA h]h Parameters}(hjC hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj? ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM2hj; ubj)}(hhh](j)}(h+``struct file *file`` the file in question h](j)}(h``struct file *file``h]j)}(hj` h]hstruct file *file}(hjb hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM/hjZ ubj)}(hhh]h)}(hthe file in questionh]hthe file in question}(hjy hhhNhNubah}(h]h ]h"]h$]h&]uh1hhju hM/hjv ubah}(h]h ]h"]h$]h&]uh1jhjZ ubeh}(h]h ]h"]h$]h&]uh1jhju hM/hjW 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 hM0hjW 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 hM1hjW ubeh}(h]h ]h"]h$]h&]uh1jhj; ubh)}(h**Description**h]j)}(hj !h]h Description}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj !ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM3hj; ubj)}(hReady-made ->f_op->llseek()h]h)}(hj%!h]hReady-made ->f_op->llseek()}(hj'!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM2hj#!ubah}(h]h ]h"]h$]h&]uh1jhj4!hM2hj; ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_release (C function) c.seq_releasehNtauh1hhjuJhhhNhNubh)}(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}(hj[!hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjW!hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMZubj)}(h h]h }(hjj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjW!hhhji!hMZubj/)}(h seq_releaseh]j5)}(h seq_releaseh]h seq_release}(hj|!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjx!ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjW!hhhji!hMZubj)}(h((struct inode *inode, struct file *file)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubh)}(hhh]j5)}(hinodeh]hinode}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNjj)}j]j)}jj~!sb c.seq_releaseasbuh1hhj!ubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubj*)}(hj-h]h*}(hj!hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj!ubj5)}(hinodeh]hinode}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj!ubj)}(hstruct file *fileh](j )}(hjzh]hstruct}(hj "hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj"ubj)}(h h]h }(hj"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"ubh)}(hhh]j5)}(hfileh]hfile}(hj("hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*"modnameN classnameNjj)}j]j! c.seq_releaseasbuh1hhj"ubj)}(h h]h }(hjF"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"ubj*)}(hj-h]h*}(hjT"hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj"ubj5)}(hfileh]hfile}(hja"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj!ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjW!hhhji!hMZubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjS!hhhji!hMZubah}(h]jN!ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhji!hMZhjP!hhubjc)}(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&]uh1jbhjP!hhhji!hMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjj"jj"jjjuh1hhhhjuJhNhNubj)}(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)}(hj@#h]h Description}(hjB#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>#ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM^hj"ubj)}(hFrees the structures associated with sequential file; can be used as ->f_op->release() if you don't have private data to destroy.h]h)}(hFrees the structures associated with sequential file; can be used as ->f_op->release() if you don't have private data to destroy.h]hFrees the structures associated with sequential file; can be used as ->f_op->release() if you don’t have private data to destroy.}(hjZ#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM]hjV#ubah}(h]h ]h"]h$]h&]uh1jhjh#hM]hj"ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_escape_mem (C function)c.seq_escape_memhNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhj#hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMkubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#hhhj#hMkubj/)}(hseq_escape_memh]j5)}(hseq_escape_memh]hseq_escape_mem}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj#hhhj#hMkubj)}(hV(struct seq_file *m, const char *src, size_t len, unsigned int flags, const char *esc)h](j)}(hstruct seq_file *mh](j )}(hjzh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubh)}(hhh]j5)}(hseq_fileh]hseq_file}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNjj)}j]j)}jj#sbc.seq_escape_memasbuh1hhj#ubj)}(h h]h }(hj $hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubj*)}(hj-h]h*}(hj$hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj#ubj5)}(hmh]hm}(hj%$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubj)}(hconst char *srch](j )}(hjUh]hconst}(hj>$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj:$ubj)}(h h]h }(hjK$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:$ubj)}(hcharh]hchar}(hjY$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj:$ubj)}(h h]h }(hjg$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:$ubj*)}(hj-h]h*}(hju$hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj:$ubj5)}(hsrch]hsrc}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubj)}(h size_t lenh](h)}(hhh]j5)}(hsize_th]hsize_t}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNjj)}j]j$c.seq_escape_memasbuh1hhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubj5)}(hlenh]hlen}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubj)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hj$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubj)}(hinth]hint}(hj$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj$ubj)}(h h]h }(hj %hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubj5)}(hflagsh]hflags}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubj)}(hconst char *esch](j )}(hjUh]hconst}(hj4%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0%ubj)}(h h]h }(hjA%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0%ubj)}(hcharh]hchar}(hjO%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj0%ubj)}(h h]h }(hj]%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0%ubj*)}(hj-h]h*}(hjk%hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj0%ubj5)}(hesch]hesc}(hjx%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0%ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj#hhhj#hMkubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj#hhhj#hMkubah}(h]j#ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj#hMkhj#hhubjc)}(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&]uh1jbhj#hhhj#hMkubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%jj%jjjuh1hhhhjuJhNhNubj)}(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}(hj5&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1&hMmhj2&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj1&hMmhj%ubj)}(h%``size_t len`` size of source buffer h](j)}(h``size_t len``h]j)}(hjU&h]h size_t len}(hjW&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS&ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMnhjO&ubj)}(hhh]h)}(hsize of source bufferh]hsize of source buffer}(hjn&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjj&hMnhjk&ubah}(h]h ]h"]h$]h&]uh1jhjO&ubeh}(h]h ]h"]h$]h&]uh1jhjj&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}(hj 'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh and }(hj'hhhNhNubj)}(h**esc**h]hesc}(hj2'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.}(hjK'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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmangle_path (C function) c.mangle_pathhNtauh1hhjuJhhhNhNubh)}(hhh](j)}(h(struct seq_file *m, const struct path *path, const char *esc)h](j)}(hstruct seq_file *mh](j )}(hjzh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubh)}(hhh]j5)}(hseq_fileh]hseq_file}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNjj)}j]j)}jjw*sb c.seq_pathasbuh1hhj*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubj*)}(hj-h]h*}(hj*hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj*ubj5)}(hj'$h]hm}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj*ubj)}(hconst struct path *pathh](j )}(hjUh]hconst}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubj )}(hjzh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*ubj)}(h h]h }(hj*+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubh)}(hhh]j5)}(hpathh]hpath}(hj;+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=+modnameN classnameNjj)}j]j* c.seq_pathasbuh1hhj*ubj)}(h h]h }(hjY+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubj*)}(hj-h]h*}(hjg+hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj*ubj5)}(hpathh]hpath}(hjt+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj*ubj)}(hconst char *esch](j )}(hjUh]hconst}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubj)}(hcharh]hchar}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubj*)}(hj-h]h*}(hj+hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj+ubj5)}(hesch]hesc}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj*ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjP*hhhjb*hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjL*hhhjb*hMubah}(h]jG*ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjb*hMhjI*hhubjc)}(hhh]h)}(h&seq_file interface to print a pathnameh]h&seq_file interface to print a pathname}(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&]uh1jbhjI*hhhjb*hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1hhhhjuJhNhNubj)}(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,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+``struct seq_file *m`` the seq_file handle 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.chMhj6,ubj)}(hhh]h)}(hthe seq_file handleh]hthe seq_file handle}(hjU,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQ,hMhjR,ubah}(h]h ]h"]h$]h&]uh1jhj6,ubeh}(h]h ]h"]h$]h&]uh1jhjQ,hMhj3,ubj)}(h5``const struct path *path`` the struct path to print h](j)}(h``const struct path *path``h]j)}(hju,h]hconst struct path *path}(hjw,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs,ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjo,ubj)}(hhh]h)}(hthe struct path to printh]hthe struct path to print}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hMhj,ubah}(h]h ]h"]h$]h&]uh1jhjo,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj3,ubj)}(h>``const char *esc`` set of characters to escape in the output 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 to escape in the outputh]h)set of characters to escape in the output}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hMhj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMhj3,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)}(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.}(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_file_path (C function)c.seq_file_pathhNtauh1hhjuJhhhNhNubh)}(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.-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj*-hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMubj)}(h h]h }(hj=-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*-hhhj<-hMubj/)}(h seq_file_pathh]j5)}(h seq_file_pathh]h seq_file_path}(hjO-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjK-ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj*-hhhj<-hMubj)}(h8(struct seq_file *m, struct file *file, const char *esc)h](j)}(hstruct seq_file *mh](j )}(hjzh]hstruct}(hjk-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjg-ubj)}(h h]h }(hjx-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjg-ubh)}(hhh]j5)}(hseq_fileh]hseq_file}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNjj)}j]j)}jjQ-sbc.seq_file_pathasbuh1hhjg-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjg-ubj*)}(hj-h]h*}(hj-hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjg-ubj5)}(hj'$h]hm}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjg-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjc-ubj)}(hstruct file *fileh](j )}(hjzh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-ubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubh)}(hhh]j5)}(hfileh]hfile}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNjj)}j]j-c.seq_file_pathasbuh1hhj-ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubj*)}(hj-h]h*}(hj&.hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj-ubj5)}(hfileh]hfile}(hj3.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjc-ubj)}(hconst char *esch](j )}(hjUh]hconst}(hjL.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjH.ubj)}(h h]h }(hjY.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjH.ubj)}(hcharh]hchar}(hjg.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjH.ubj)}(h h]h }(hju.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjH.ubj*)}(hj-h]h*}(hj.hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjH.ubj5)}(hesch]hesc}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjH.ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjc-ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj*-hhhj<-hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj&-hhhj<-hMubah}(h]j!-ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj<-hMhj#-hhubjc)}(hhh]h)}(h0seq_file interface to print a pathname of a fileh]h0seq_file interface to print a pathname of a file}(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&]uh1jbhj#-hhhj<-hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.jjjuh1hhhhjuJhNhNubj)}(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)}(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+``struct seq_file *m`` the seq_file handle 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.chMhj.ubj)}(hhh]h)}(hthe seq_file handleh]hthe seq_file handle}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMhj/ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj/hMhj.ubj)}(h/``struct file *file`` the struct file to print h](j)}(h``struct file *file``h]j)}(hj4/h]hstruct file *file}(hj6/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2/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 struct file to printh]hthe struct file to print}(hjM/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjI/hMhjJ/ubah}(h]h ]h"]h$]h&]uh1jhj./ubeh}(h]h ]h"]h$]h&]uh1jhjI/hMhj.ubj)}(h>``const char *esc`` set of characters to escape in the output h](j)}(h``const char *esc``h]j)}(hjm/h]hconst char *esc}(hjo/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk/ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjg/ubj)}(hhh]h)}(h)set of characters to escape in the outputh]h)set of characters to escape in the output}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjg/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.ubh)}(h%return the absolute path to the file.h]h%return the absolute path to the file.}(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_write (C function) c.seq_writehNtauh1hhjuJhhhNhNubh)}(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}(hj/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj/hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM1ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/hhhj/hM1ubj/)}(h seq_writeh]j5)}(h seq_writeh]h seq_write}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj 0ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj/hhhj/hM1ubj)}(h4(struct seq_file *seq, const void *data, size_t len)h](j)}(hstruct seq_file *seqh](j )}(hjzh]hstruct}(hj*0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&0ubj)}(h h]h }(hj70hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&0ubh)}(hhh]j5)}(hseq_fileh]hseq_file}(hjH0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjE0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJ0modnameN classnameNjj)}j]j)}jj0sb c.seq_writeasbuh1hhj&0ubj)}(h h]h }(hjh0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&0ubj*)}(hj-h]h*}(hjv0hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj&0ubj5)}(hseqh]hseq}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj"0ubj)}(hconst void *datah](j )}(hjUh]hconst}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubj)}(hvoidh]hvoid}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubj*)}(hj-h]h*}(hj0hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj0ubj5)}(hdatah]hdata}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj"0ubj)}(h size_t lenh](h)}(hhh]j5)}(hsize_th]hsize_t}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNjj)}j]jd0 c.seq_writeasbuh1hhj0ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubj5)}(hlenh]hlen}(hj(1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj"0ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj/hhhj/hM1ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj/hhhj/hM1ubah}(h]j/ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj/hM1hj/hhubjc)}(hhh]h)}(hwrite arbitrary data to bufferh]hwrite arbitrary data to buffer}(hjR1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM1hjO1hhubah}(h]h ]h"]h$]h&]uh1jbhj/hhhj/hM1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjj1jjj1jjjuh1hhhhjuJhNhNubj)}(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)}(hjt1h]h Parameters}(hjv1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr1ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM5hjn1ubj)}(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)}(hj1h]hstruct seq_file *seq}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM2hj1ubj)}(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}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hM2hj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hM2hj1ubj)}(h"``const void *data`` data address h](j)}(h``const void *data``h]j)}(hj1h]hconst void *data}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM3hj1ubj)}(hhh]h)}(h data addressh]h data address}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hM3hj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hM3hj1ubj)}(h``size_t len`` number of bytes h](j)}(h``size_t len``h]j)}(hj2h]h size_t len}(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.chM4hj1ubj)}(hhh]h)}(hnumber of bytesh]hnumber of bytes}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hM4hj2ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj2hM4hj1ubeh}(h]h ]h"]h$]h&]uh1jhjn1ubh)}(h**Description**h]j)}(hj@2h]h Description}(hjB2hhhNhNubah}(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.chM6hjn1ubh)}(h(Return 0 on success, non-zero otherwise.h]h(Return 0 on success, non-zero otherwise.}(hjV2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM5hjn1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_pad (C function) c.seq_padhNtauh1hhjuJhhhNhNubh)}(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}(hj2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj2hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMEubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2hhhj2hMEubj/)}(hseq_padh]j5)}(hseq_padh]hseq_pad}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj2hhhj2hMEubj)}(h(struct seq_file *m, char c)h](j)}(hstruct seq_file *mh](j )}(hjzh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubh)}(hhh]j5)}(hseq_fileh]hseq_file}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j]j)}jj2sb c.seq_padasbuh1hhj2ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubj*)}(hj-h]h*}(hj3hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj2ubj5)}(hj'$h]hm}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj2ubj)}(hchar ch](j)}(hcharh]hchar}(hj33hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj/3ubj)}(h h]h }(hjA3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/3ubj5)}(hjh]hc}(hjO3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj2ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj2hhhj2hMEubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj}2hhhj2hMEubah}(h]jx2ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj2hMEhjz2hhubjc)}(hhh]h)}(hwrite padding spaces to bufferh]hwrite padding spaces to buffer}(hjx3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMEhju3hhubah}(h]h ]h"]h$]h&]uh1jbhjz2hhhj2hMEubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhjuJhNhNubj)}(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)}(hj3h]h Parameters}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMIhj3ubj)}(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)}(hj3h]hstruct seq_file *m}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMFhj3ubj)}(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}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMFhj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hMFhj3ubj)}(h7``char c`` the byte to append after padding if non-zeroh](j)}(h ``char c``h]j)}(hj3h]hchar c}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMHhj3ubj)}(hhh]h)}(h,the byte to append after padding if non-zeroh]h,the byte to append after padding if non-zero}(hj 4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMGhj4ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj4hMHhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_hlist_start (C function)c.seq_hlist_starthNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjL4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjH4hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMubj)}(h h]h }(hjZ4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjH4hhhjY4hMubh)}(hhh]j5)}(h hlist_nodeh]h hlist_node}(hjk4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjh4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjm4modnameN classnameNjj)}j]j)}jseq_hlist_startsbc.seq_hlist_startasbuh1hhjH4hhhjY4hMubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjH4hhhjY4hMubj*)}(hj-h]h*}(hj4hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjH4hhhjY4hMubj/)}(hseq_hlist_starth]j5)}(hj4h]hseq_hlist_start}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjH4hhhjY4hMubj)}(h%(struct hlist_head *head, loff_t pos)h](j)}(hstruct hlist_head *headh](j )}(hjzh]hstruct}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubh)}(hhh]j5)}(h hlist_headh]h hlist_head}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj)}j]j4c.seq_hlist_startasbuh1hhj4ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj*)}(hj-h]h*}(hj5hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj4ubj5)}(hheadh]hhead}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj4ubj)}(h loff_t posh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj95hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj65ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;5modnameN classnameNjj)}j]j4c.seq_hlist_startasbuh1hhj25ubj)}(h h]h }(hjW5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj25ubj5)}(hposh]hpos}(hje5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj25ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj4ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjH4hhhjY4hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjD4hhhjY4hMubah}(h]j?4ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjY4hMhjA4hhubjc)}(hhh]h)}(hstart an iteration of a hlisth]hstart an iteration of a hlist}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj5hhubah}(h]h ]h"]h$]h&]uh1jbhjA4hhhjY4hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhjuJhNhNubj)}(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)}(hj5h]h Parameters}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj5ubj)}(hhh](j)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(hj5h]hstruct hlist_head *head}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj5ubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hMhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhj5ubj)}(h2``loff_t pos`` the start position of the sequence h](j)}(h``loff_t pos``h]j)}(hj 6h]h loff_t pos}(hj 6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj6ubj)}(hhh]h)}(h"the start position of the sequenceh]h"the start position of the sequence}(hj"6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hMhj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hMhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5ubh)}(h**Description**h]j)}(hjD6h]h Description}(hjF6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjB6ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj5ubh)}(h Called at seq_file->op->start().h]h Called at seq_file->op->start().}(hjZ6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj5ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!seq_hlist_start_head (C function)c.seq_hlist_start_headhNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6hhhj6hMubh)}(hhh]j5)}(h hlist_nodeh]h hlist_node}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j]j)}jseq_hlist_start_headsbc.seq_hlist_start_headasbuh1hhj6hhhj6hMubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6hhhj6hMubj*)}(hj-h]h*}(hj6hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj6hhhj6hMubj/)}(hseq_hlist_start_headh]j5)}(hj6h]hseq_hlist_start_head}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj6hhhj6hMubj)}(h%(struct hlist_head *head, loff_t pos)h](j)}(hstruct hlist_head *headh](j )}(hjzh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubh)}(hhh]j5)}(h hlist_headh]h hlist_head}(hj!7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#7modnameN classnameNjj)}j]j6c.seq_hlist_start_headasbuh1hhj6ubj)}(h h]h }(hj?7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj*)}(hj-h]h*}(hjM7hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj6ubj5)}(hheadh]hhead}(hjZ7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj6ubj)}(h loff_t posh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjv7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjs7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjx7modnameN classnameNjj)}j]j6c.seq_hlist_start_headasbuh1hhjo7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjo7ubj5)}(hposh]hpos}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjo7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj6ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj6hhhj6hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj6hhhj6hMubah}(h]j|6ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj6hMhj~6hhubjc)}(hhh]h)}(hstart an iteration of a hlisth]hstart an iteration of a hlist}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jbhj~6hhhj6hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7jj7jjjuh1hhhhjuJhNhNubj)}(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)}(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.chMhj7ubj)}(hhh](j)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(hj 8h]hstruct hlist_head *head}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 8ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj8ubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hj&8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"8hMhj#8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj"8hMhj8ubj)}(h2``loff_t pos`` the start position of the sequence h](j)}(h``loff_t pos``h]j)}(hjF8h]h loff_t pos}(hjH8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD8ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj@8ubj)}(hhh]h)}(h"the start position of the sequenceh]h"the start position of the sequence}(hj_8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[8hMhj\8ubah}(h]h ]h"]h$]h&]uh1jhj@8ubeh}(h]h ]h"]h$]h&]uh1jhj[8hMhj8ubeh}(h]h ]h"]h$]h&]uh1jhj7ubh)}(h**Description**h]j)}(hj8h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj7ubh)}(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.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_hlist_next (C function)c.seq_hlist_nexthNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj8hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8hhhj8hMubh)}(hhh]j5)}(h hlist_nodeh]h hlist_node}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj)}j]j)}jseq_hlist_nextsbc.seq_hlist_nextasbuh1hhj8hhhj8hMubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8hhhj8hMubj*)}(hj-h]h*}(hj9hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj8hhhj8hMubj/)}(hseq_hlist_nexth]j5)}(hj9h]hseq_hlist_next}(hj%9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!9ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj8hhhj8hMubj)}(h0(void *v, struct hlist_head *head, loff_t *ppos)h](j)}(hvoid *vh](j)}(hvoidh]hvoid}(hj@9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj<9ubj)}(h h]h }(hjN9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<9ubj*)}(hj-h]h*}(hj\9hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj<9ubj5)}(hvh]hv}(hji9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<9ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj89ubj)}(hstruct hlist_head *headh](j )}(hjzh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~9ubh)}(hhh]j5)}(h hlist_headh]h hlist_head}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj)}j]j9c.seq_hlist_nextasbuh1hhj~9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~9ubj*)}(hj-h]h*}(hj9hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj~9ubj5)}(hheadh]hhead}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~9ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj89ubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj)}j]j9c.seq_hlist_nextasbuh1hhj9ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9ubj*)}(hj-h]h*}(hj!:hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj9ubj5)}(hpposh]hppos}(hj.:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj89ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj8hhhj8hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj8hhhj8hMubah}(h]j8ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj8hMhj8hhubjc)}(hhh]h)}(h&move to the next position of the hlisth]h&move to the next position of the hlist}(hjX:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjU:hhubah}(h]h ]h"]h$]h&]uh1jbhj8hhhj8hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjp:jjp:jjjuh1hhhhjuJhNhNubj)}(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)}(hjz:h]h Parameters}(hj|:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx:ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjt: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)}(hj ;h]h loff_t *ppos}(hj ;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ;ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj;ubj)}(hhh]h)}(hthe current positionh]hthe current 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&]uh1jhjt:ubh)}(h**Description**h]j)}(hjF;h]h Description}(hjH;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD;ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjt:ubh)}(hCalled at seq_file->op->next().h]hCalled at seq_file->op->next().}(hj\;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjt:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h seq_hlist_start_rcu (C function)c.seq_hlist_start_rcuhNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;hhhj;hMubh)}(hhh]j5)}(h hlist_nodeh]h hlist_node}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNjj)}j]j)}jseq_hlist_start_rcusbc.seq_hlist_start_rcuasbuh1hhj;hhhj;hMubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;hhhj;hMubj*)}(hj-h]h*}(hj;hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj;hhhj;hMubj/)}(hseq_hlist_start_rcuh]j5)}(hj;h]hseq_hlist_start_rcu}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj;hhhj;hMubj)}(h%(struct hlist_head *head, loff_t pos)h](j)}(hstruct hlist_head *headh](j )}(hjzh]hstruct}(hj<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<ubh)}(hhh]j5)}(h hlist_headh]h hlist_head}(hj#<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj <ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%<modnameN classnameNjj)}j]j;c.seq_hlist_start_rcuasbuh1hhj<ubj)}(h h]h }(hjA<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<ubj*)}(hj-h]h*}(hjO<hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj<ubj5)}(hheadh]hhead}(hj\<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj;ubj)}(h loff_t posh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjx<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hju<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjz<modnameN classnameNjj)}j]j;c.seq_hlist_start_rcuasbuh1hhjq<ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjq<ubj5)}(hposh]hpos}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjq<ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj;ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj;hhhj;hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj;hhhj;hMubah}(h]j~;ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj;hMhj;hhubjc)}(hhh]h)}(h.start an iteration of a hlist protected by RCUh]h.start an iteration of a hlist protected by RCU}(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&]uh1jbhj;hhhj;hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhjuJhNhNubj)}(hXb**Parameters** ``struct hlist_head *head`` the head of the hlist ``loff_t pos`` the start position of the sequence **Description** Called at seq_file->op->start(). This list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as hlist_add_head_rcu() as long as the traversal is guarded by rcu_read_lock().h](h)}(h**Parameters**h]j)}(hj<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)}(hjH=h]h loff_t pos}(hjJ=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF=ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjB=ubj)}(hhh]h)}(h"the start position of the sequenceh]h"the start position of the sequence}(hja=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]=hMhj^=ubah}(h]h ]h"]h$]h&]uh1jhjB=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<ubh)}(h Called at seq_file->op->start().h]h Called at seq_file->op->start().}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj<ubh)}(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().}(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%seq_hlist_start_head_rcu (C function)c.seq_hlist_start_head_rcuhNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=hhhj=hMubh)}(hhh]j5)}(h hlist_nodeh]h hlist_node}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNjj)}j]j)}jseq_hlist_start_head_rcusbc.seq_hlist_start_head_rcuasbuh1hhj=hhhj=hMubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=hhhj=hMubj*)}(hj-h]h*}(hj%>hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj=hhhj=hMubj/)}(hseq_hlist_start_head_rcuh]j5)}(hj>h]hseq_hlist_start_head_rcu}(hj6>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2>ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj=hhhj=hMubj)}(h%(struct hlist_head *head, loff_t pos)h](j)}(hstruct hlist_head *headh](j )}(hjzh]hstruct}(hjQ>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjM>ubj)}(h h]h }(hj^>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjM>ubh)}(hhh]j5)}(h hlist_headh]h hlist_head}(hjo>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjl>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjq>modnameN classnameNjj)}j]j>c.seq_hlist_start_head_rcuasbuh1hhjM>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjM>ubj*)}(hj-h]h*}(hj>hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjM>ubj5)}(hheadh]hhead}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjM>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjI>ubj)}(h loff_t posh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNjj)}j]j>c.seq_hlist_start_head_rcuasbuh1hhj>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubj5)}(hposh]hpos}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjI>ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj=hhhj=hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj=hhhj=hMubah}(h]j=ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj=hMhj=hhubjc)}(hhh]h)}(h.start an iteration of a hlist protected by RCUh]h.start an iteration of a hlist protected by RCU}(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&]uh1jbhj=hhhj=hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj2?jj2?jjjuh1hhhhjuJhNhNubj)}(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)}(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.chMhj6?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&]uh1jhjY?ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhjU?ubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hjt?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjp?hMhjq?ubah}(h]h ]h"]h$]h&]uh1jhjU?ubeh}(h]h ]h"]h$]h&]uh1jhjp?hMhjR?ubj)}(h2``loff_t pos`` the start position of the sequence h](j)}(h``loff_t pos``h]j)}(hj?h]h loff_t pos}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj?ubj)}(hhh]h)}(h"the start position of the sequenceh]h"the start position of the sequence}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhjR?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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj6?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.chMhj6?ubh)}(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().}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMhj6?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_hlist_next_rcu (C function)c.seq_hlist_next_rcuhNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hj#@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM&ubj)}(h h]h }(hj1@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@hhhj0@hM&ubh)}(hhh]j5)}(h hlist_nodeh]h hlist_node}(hjB@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjD@modnameN classnameNjj)}j]j)}jseq_hlist_next_rcusbc.seq_hlist_next_rcuasbuh1hhj@hhhj0@hM&ubj)}(h h]h }(hjc@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@hhhj0@hM&ubj*)}(hj-h]h*}(hjq@hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj@hhhj0@hM&ubj/)}(hseq_hlist_next_rcuh]j5)}(hj`@h]hseq_hlist_next_rcu}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~@ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj@hhhj0@hM&ubj)}(h0(void *v, struct hlist_head *head, loff_t *ppos)h](j)}(hvoid *vh](j)}(hvoidh]hvoid}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubj*)}(hj-h]h*}(hj@hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj@ubj5)}(hjk9h]hv}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj@ubj)}(hstruct hlist_head *headh](j )}(hjzh]hstruct}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubh)}(hhh]j5)}(h hlist_headh]h hlist_head}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNjj)}j]j^@c.seq_hlist_next_rcuasbuh1hhj@ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubj*)}(hj-h]h*}(hj(AhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj@ubj5)}(hheadh]hhead}(hj5AhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj@ubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjQAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSAmodnameN classnameNjj)}j]j^@c.seq_hlist_next_rcuasbuh1hhjJAubj)}(h h]h }(hjoAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJAubj*)}(hj-h]h*}(hj}AhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjJAubj5)}(hpposh]hppos}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJAubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj@ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj@hhhj0@hM&ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj@hhhj0@hM&ubah}(h]j@ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj0@hM&hj@hhubjc)}(hhh]h)}(h7move to the next position of the hlist protected by RCUh]h7move to the next position of the hlist protected by RCU}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM&hjAhhubah}(h]h ]h"]h$]h&]uh1jbhj@hhhj0@hM&ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1hhhhjuJhNhNubj)}(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)}(hjAh]h Parameters}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM*hjAubj)}(hhh](j)}(h!``void *v`` the current iterator h](j)}(h ``void *v``h]j)}(hjAh]hvoid *v}(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.chM'hjAubj)}(hhh]h)}(hthe current iteratorh]hthe current iterator}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj BhM'hj Bubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj BhM'hjAubj)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(hj.Bh]hstruct hlist_head *head}(hj0BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,Bubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM(hj(Bubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hjGBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjCBhM(hjDBubah}(h]h ]h"]h$]h&]uh1jhj(Bubeh}(h]h ]h"]h$]h&]uh1jhjCBhM(hjAubj)}(h&``loff_t *ppos`` the current position h](j)}(h``loff_t *ppos``h]j)}(hjgBh]h loff_t *ppos}(hjiBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeBubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM)hjaBubj)}(hhh]h)}(hthe current positionh]hthe current position}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|BhM)hj}Bubah}(h]h ]h"]h$]h&]uh1jhjaBubeh}(h]h ]h"]h$]h&]uh1jhj|BhM)hjAubeh}(h]h ]h"]h$]h&]uh1jhjAubh)}(h**Description**h]j)}(hjBh]h Description}(hjBhhhNhNubah}(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.chM+hjAubh)}(hCalled at seq_file->op->next().h]hCalled at seq_file->op->next().}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM*hjAubh)}(hThis list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as hlist_add_head_rcu() as long as the traversal is guarded by rcu_read_lock().h]hThis list-traversal primitive may safely run concurrently with the _rcu list-mutation primitives such as hlist_add_head_rcu() as long as the traversal is guarded by rcu_read_lock().}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM,hjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#seq_hlist_start_percpu (C function)c.seq_hlist_start_percpuhNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM@ubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBhhhjChM@ubh)}(hhh]j5)}(h hlist_nodeh]h hlist_node}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj)}j]j)}jseq_hlist_start_percpusbc.seq_hlist_start_percpuasbuh1hhjBhhhjChM@ubj)}(h h]h }(hj6ChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBhhhjChM@ubj*)}(hj-h]h*}(hjDChhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjBhhhjChM@ubj/)}(hseq_hlist_start_percpuh]j5)}(hj3Ch]hseq_hlist_start_percpu}(hjUChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQCubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjBhhhjChM@ubj)}(h8(struct hlist_head __percpu *head, int *cpu, loff_t pos)h](j)}(h struct hlist_head __percpu *headh](j )}(hjzh]hstruct}(hjpChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlCubj)}(h h]h }(hj}ChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlCubh)}(hhh]j5)}(h hlist_headh]h hlist_head}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj)}j]j1Cc.seq_hlist_start_percpuasbuh1hhjlCubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlCubh__percpu}(hjlChhhNhNubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlCubj*)}(hj-h]h*}(hjChhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjlCubj5)}(hheadh]hhead}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjhCubj)}(hint *cpuh](j)}(hinth]hint}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjCubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj*)}(hj-h]h*}(hjDhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjCubj5)}(hcpuh]hcpu}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjhCubj)}(h loff_t posh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj7DhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4Dubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9DmodnameN classnameNjj)}j]j1Cc.seq_hlist_start_percpuasbuh1hhj0Dubj)}(h h]h }(hjUDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0Dubj5)}(hposh]hpos}(hjcDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0Dubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjhCubeh}(h]h ]h"]h$]h&]jLjMuh1jhjBhhhjChM@ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjBhhhjChM@ubah}(h]jBah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjChM@hjBhhubjc)}(hhh]h)}(h*start an iteration of a percpu hlist arrayh]h*start an iteration of a percpu hlist array}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chM@hjDhhubah}(h]h ]h"]h$]h&]uh1jbhjBhhhjChM@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhjuJhNhNubj)}(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)}(hjDh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMDhjDubj)}(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)}(hjDh]h struct hlist_head __percpu *head}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMAhjDubj)}(hhh]h)}(h-pointer to percpu array of struct hlist_headsh]h-pointer to percpu array of struct hlist_heads}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhMAhjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhMAhjDubj)}(h%``int *cpu`` pointer to cpu "cursor" h](j)}(h ``int *cpu``h]j)}(hjEh]hint *cpu}(hj EhhhNhNubah}(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.chMBhjEubj)}(hhh]h)}(hpointer to cpu "cursor"h]hpointer to cpu “cursor”}(hj EhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhMBhjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhMBhjDubj)}(h*``loff_t pos`` start position of sequence h](j)}(h``loff_t pos``h]j)}(hj@Eh]h loff_t pos}(hjBEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>Eubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMChj:Eubj)}(hhh]h)}(hstart position of sequenceh]hstart position of sequence}(hjYEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUEhMChjVEubah}(h]h ]h"]h$]h&]uh1jhj:Eubeh}(h]h ]h"]h$]h&]uh1jhjUEhMChjDubeh}(h]h ]h"]h$]h&]uh1jhjDubh)}(h**Description**h]j)}(hj{Eh]h Description}(hj}EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyEubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMEhjDubh)}(h Called at seq_file->op->start().h]h Called at seq_file->op->start().}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMDhjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"seq_hlist_next_percpu (C function)c.seq_hlist_next_percpuhNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMWubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEhhhjEhMWubh)}(hhh]j5)}(h hlist_nodeh]h hlist_node}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj)}j]j)}jseq_hlist_next_percpusbc.seq_hlist_next_percpuasbuh1hhjEhhhjEhMWubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEhhhjEhMWubj*)}(hj-h]h*}(hjFhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjEhhhjEhMWubj/)}(hseq_hlist_next_percpuh]j5)}(hjEh]hseq_hlist_next_percpu}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjEhhhjEhMWubj)}(hB(void *v, struct hlist_head __percpu *head, int *cpu, loff_t *pos)h](j)}(hvoid *vh](j)}(hvoidh]hvoid}(hj:FhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj6Fubj)}(h h]h }(hjHFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6Fubj*)}(hj-h]h*}(hjVFhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj6Fubj5)}(hjk9h]hv}(hjcFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6Fubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj2Fubj)}(h struct hlist_head __percpu *headh](j )}(hjzh]hstruct}(hj{FhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwFubh)}(hhh]j5)}(h hlist_headh]h hlist_head}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNjj)}j]jEc.seq_hlist_next_percpuasbuh1hhjwFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwFubh__percpu}(hjwFhhhNhNubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwFubj*)}(hj-h]h*}(hjFhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjwFubj5)}(hheadh]hhead}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj2Fubj)}(hint *cpuh](j)}(hinth]hint}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjFubj)}(h h]h }(hj GhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj*)}(hj-h]h*}(hjGhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjFubj5)}(hcpuh]hcpu}(hj&GhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj2Fubj)}(h loff_t *posh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjBGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?Gubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDGmodnameN classnameNjj)}j]jEc.seq_hlist_next_percpuasbuh1hhj;Gubj)}(h h]h }(hj`GhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;Gubj*)}(hj-h]h*}(hjnGhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj;Gubj5)}(hposh]hpos}(hj{GhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;Gubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj2Fubeh}(h]h ]h"]h$]h&]jLjMuh1jhjEhhhjEhMWubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjEhhhjEhMWubah}(h]jEah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjEhMWhjEhhubjc)}(hhh]h)}(h3move to the next position of the percpu hlist arrayh]h3move to the next position of the percpu hlist array}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMWhjGhhubah}(h]h ]h"]h$]h&]uh1jbhjEhhhjEhMWubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGjjGjjjuh1hhhhjuJhNhNubj)}(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)}(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`` pointer to current hlist_node h](j)}(h ``void *v``h]j)}(hjGh]hvoid *v}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/seq_file.chMXhjGubj)}(hhh]h)}(hpointer to current hlist_nodeh]hpointer to current hlist_node}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhMXhjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhMXhjGubj)}(hS``struct hlist_head __percpu *head`` pointer to percpu array of struct hlist_heads h](j)}(h$``struct hlist_head __percpu *head``h]j)}(hjHh]h struct hlist_head __percpu *head}(hj!HhhhNhNubah}(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.chMYhjHubj)}(hhh]h)}(h-pointer to percpu array of struct hlist_headsh]h-pointer to percpu array of struct hlist_heads}(hj8HhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4HhMYhj5Hubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhj4HhMYhjGubj)}(h%``int *cpu`` pointer to cpu "cursor" h](j)}(h ``int *cpu``h]j)}(hjXHh]hint *cpu}(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.chMZhjRHubj)}(hhh]h)}(hpointer to cpu "cursor"h]hpointer to cpu “cursor”}(hjqHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmHhMZhjnHubah}(h]h ]h"]h$]h&]uh1jhjRHubeh}(h]h ]h"]h$]h&]uh1jhjmHhMZhjGubj)}(h+``loff_t *pos`` start position of sequence h](j)}(h``loff_t *pos``h]j)}(hjHh]h loff_t *pos}(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)}(hstart position of sequenceh]hstart position of sequence}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhM[hjHubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(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\hjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h register_filesystem (C function)c.register_filesystemhNtauh1hhjuJhhhNhNubh)}(hhh](j)}(h6int register_filesystem (struct file_system_type * fs)h]j)}(h4int register_filesystem(struct file_system_type *fs)h](j)}(hinth]hint}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj IhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chK` 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)}(hjIh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chK@hjIubj)}(hhh]j)}(h;``struct file_system_type * fs`` the file system structure h](j)}(h ``struct file_system_type * fs``h]j)}(hjJh]hstruct file_system_type * fs}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chK=hj Jubj)}(hhh]h)}(hthe file system structureh]hthe file system structure}(hj+JhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'JhK=hj(Jubah}(h]h ]h"]h$]h&]uh1jhj Jubeh}(h]h ]h"]h$]h&]uh1jhj'JhK=hj Jubah}(h]h ]h"]h$]h&]uh1jhjIubh)}(h**Description**h]j)}(hjMJh]h Description}(hjOJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKJubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chK?hjIubj)}(hXYAdds the file system passed to the list of file systems the kernel is aware of for mount and other syscalls. Returns 0 on success, or a negative errno code on an error. The :c:type:`struct file_system_type ` that is passed is linked into the kernel structures and must not be freed until the file system has been unregistered.h](h)}(hAdds the file system passed to the list of file systems the kernel is aware of for mount and other syscalls. Returns 0 on success, or a negative errno code on an error.h]hAdds the file system passed to the list of file systems the kernel is aware of for mount and other syscalls. Returns 0 on success, or a negative errno code on an error.}(hjgJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chK>hjcJubh)}(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 }(hjvJhhhNhNubh)}(h4:c:type:`struct file_system_type `h]j)}(hjJh]hstruct file_system_type}(hjJhhhNhNubah}(h]h ](j:jc-typeeh"]h$]h&]uh1jhj~Jubah}(h]h ]h"]h$]h&]refdocjF refdomainjreftypetype refexplicitrefwarnjjLjOfile_system_typeuh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKBhjvJubhw that is passed is linked into the kernel structures and must not be freed until the file system has been unregistered.}(hjvJhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjJhKBhjcJubeh}(h]h ]h"]h$]h&]uh1jhjuJhK>hjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"unregister_filesystem (C function)c.unregister_filesystemhNtauh1hhjuJhhhNhNubh)}(hhh](j)}(h8int unregister_filesystem (struct file_system_type * fs)h]j)}(h6int unregister_filesystem(struct file_system_type *fs)h](j)}(hinth]hint}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjJhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKaubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJhhhjJhKaubj/)}(hunregister_filesystemh]j5)}(hunregister_filesystemh]hunregister_filesystem}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjJhhhjJhKaubj)}(h(struct file_system_type *fs)h]j)}(hstruct file_system_type *fsh](j )}(hjzh]hstruct}(hj KhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubh)}(hhh]j5)}(hfile_system_typeh]hfile_system_type}(hj)KhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&Kubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+KmodnameN classnameNjj)}j]j)}jjJsbc.unregister_filesystemasbuh1hhjKubj)}(h h]h }(hjIKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubj*)}(hj-h]h*}(hjWKhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjKubj5)}(hfsh]hfs}(hjdKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjKubah}(h]h ]h"]h$]h&]jLjMuh1jhjJhhhjJhKaubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjJhhhjJhKaubah}(h]jJah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjJhKahjJhhubjc)}(hhh]h)}(hunregister a file systemh]hunregister a file system}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKahjKhhubah}(h]h ]h"]h$]h&]uh1jbhjJhhhjJhKaubeh}(h]h ](jfunctioneh"]h$]h&]jjjjKjjKjjjuh1hhhhjuJhNhNubj)}(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)}(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:68: ./fs/filesystems.chKehjKubj)}(hhh]j)}(h:``struct file_system_type * fs`` filesystem to unregister h](j)}(h ``struct file_system_type * fs``h]j)}(hjKh]hstruct file_system_type * fs}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKbhjKubj)}(hhh]h)}(hfilesystem to unregisterh]hfilesystem to unregister}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhKbhjKubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjKhKbhjKubah}(h]h ]h"]h$]h&]uh1jhjKubh)}(h**Description**h]j)}(hj Lh]h Description}(hj LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKdhjKubj)}(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.}(hj$LhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKchj Lubh)}(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 }(hj3LhhhNhNubh)}(h4:c:type:`struct file_system_type `h]j)}(hj=Lh]hstruct file_system_type}(hj?LhhhNhNubah}(h]h ](j:jc-typeeh"]h$]h&]uh1jhj;Lubah}(h]h ]h"]h$]h&]refdocjF refdomainjreftypetype refexplicitrefwarnjjLjOfile_system_typeuh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/filesystems.chKghj3Lubh" structure may be freed or reused.}(hj3LhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjZLhKghj Lubeh}(h]h ]h"]h$]h&]uh1jhj2LhKchjKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(wbc_attach_fdatawrite_inode (C function)c.wbc_attach_fdatawrite_inodehNtauh1hhjuJhhhNhNubh)}(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}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjLhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM1ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLhhhjLhM1ubj/)}(hwbc_attach_fdatawrite_inodeh]j5)}(hwbc_attach_fdatawrite_inodeh]hwbc_attach_fdatawrite_inode}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjLhhhjLhM1ubj)}(h4(struct writeback_control *wbc, struct inode *inode)h](j)}(hstruct writeback_control *wbch](j )}(hjzh]hstruct}(hjLhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubh)}(hhh]j5)}(hwriteback_controlh]hwriteback_control}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNjj)}j]j)}jjLsbc.wbc_attach_fdatawrite_inodeasbuh1hhjLubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubj*)}(hj-h]h*}(hjMhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjLubj5)}(hwbch]hwbc}(hj!MhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjLubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj:MhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6Mubj)}(h h]h }(hjGMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6Mubh)}(hhh]j5)}(hinodeh]hinode}(hjXMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZMmodnameN classnameNjj)}j]jMc.wbc_attach_fdatawrite_inodeasbuh1hhj6Mubj)}(h h]h }(hjvMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6Mubj*)}(hj-h]h*}(hjMhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj6Mubj5)}(hinodeh]hinode}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6Mubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjLubeh}(h]h ]h"]h$]h&]jLjMuh1jhjLhhhjLhM1ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjLhhhjLhM1ubah}(h]j~Lah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjLhM1hjLhhubjc)}(hhh]h)}(h&associate wbc and inode for fdatawriteh]h&associate wbc and inode for fdatawrite}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM1hjMhhubah}(h]h ]h"]h$]h&]uh1jbhjLhhhjLhM1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjMjjMjjjuh1hhhhjuJhNhNubj)}(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)}(hjMh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM5hjMubj)}(hhh](j)}(h@``struct writeback_control *wbc`` writeback_control of interest h](j)}(h!``struct writeback_control *wbc``h]j)}(hjMh]hstruct writeback_control *wbc}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM2hjMubj)}(hhh]h)}(hwriteback_control of interesth]hwriteback_control of interest}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhM2hjNubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjNhM2hjMubj)}(h%``struct inode *inode`` target inode h](j)}(h``struct inode *inode``h]j)}(hj5Nh]hstruct inode *inode}(hj7NhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3Nubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM3hj/Nubj)}(hhh]h)}(h target inodeh]h target inode}(hjNNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJNhM3hjKNubah}(h]h ]h"]h$]h&]uh1jhj/Nubeh}(h]h ]h"]h$]h&]uh1jhjJNhM3hjMubeh}(h]h ]h"]h$]h&]uh1jhjMubh)}(h**Description**h]j)}(hjpNh]h Description}(hjrNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM5hjMubh)}(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 }(hjNhhhNhNubj)}(h **inode**h]hinode}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh7 is associated with a bdi_writeback and attaches it to }(hjNhhhNhNubj)}(h**wbc**h]hwbc}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh.}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM4hjMubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hwbc_detach_inode (C function)c.wbc_detach_inodehNtauh1hhjuJhhhNhNubh)}(hhh](j)}(h5void wbc_detach_inode (struct writeback_control *wbc)h]j)}(h4void wbc_detach_inode(struct writeback_control *wbc)h](j)}(hvoidh]hvoid}(hjNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjNhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMCubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNhhhjNhMCubj/)}(hwbc_detach_inodeh]j5)}(hwbc_detach_inodeh]hwbc_detach_inode}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjNhhhjNhMCubj)}(h(struct writeback_control *wbc)h]j)}(hstruct writeback_control *wbch](j )}(hjzh]hstruct}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj)}(h h]h }(hj#OhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubh)}(hhh]j5)}(hwriteback_controlh]hwriteback_control}(hj4OhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1Oubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6OmodnameN classnameNjj)}j]j)}jjNsbc.wbc_detach_inodeasbuh1hhjOubj)}(h h]h }(hjTOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubj*)}(hj-h]h*}(hjbOhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjOubj5)}(hwbch]hwbc}(hjoOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjOubah}(h]h ]h"]h$]h&]jLjMuh1jhjNhhhjNhMCubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjNhhhjNhMCubah}(h]jNah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjNhMChjNhhubjc)}(hhh]h)}(h9disassociate wbc from inode and perform foreign detectionh]h9disassociate wbc from inode and perform foreign detection}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMChjOhhubah}(h]h ]h"]h$]h&]uh1jbhjNhhhjNhMCubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhjuJhNhNubj)}(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)}(hjOh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMGhjOubj)}(hhh]j)}(hS``struct writeback_control *wbc`` writeback_control of the just finished writeback h](j)}(h!``struct writeback_control *wbc``h]j)}(hjOh]hstruct writeback_control *wbc}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMDhjOubj)}(hhh]h)}(h0writeback_control of the just finished writebackh]h0writeback_control of the just finished writeback}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMDhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMDhjOubah}(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&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMFhjOubh)}(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.}(hj+PhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMEhjOubh)}(hXLAs concurrent write sharing of an inode is expected to be very rare and memcg only tracks page ownership on first-use basis severely confining the usefulness of such sharing, cgroup writeback tracks ownership per-inode. While the support for concurrent write sharing of an inode is deemed unnecessary, an inode being written to by different cgroups at different points in time is a lot more common, and, more importantly, charging only by first-use can too readily lead to grossly incorrect behaviors (single foreign page can lead to gigabytes of writeback to be incorrectly attributed).h]hXLAs concurrent write sharing of an inode is expected to be very rare and memcg only tracks page ownership on first-use basis severely confining the usefulness of such sharing, cgroup writeback tracks ownership per-inode. While the support for concurrent write sharing of an inode is deemed unnecessary, an inode being written to by different cgroups at different points in time is a lot more common, and, more importantly, charging only by first-use can too readily lead to grossly incorrect behaviors (single foreign page can lead to gigabytes of writeback to be incorrectly attributed).}(hj:PhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMHhjOubh)}(hXKTo resolve this issue, cgroup writeback detects the majority dirtier of an inode and transfers the ownership to it. To avoid unnecessary oscillation, the detection mechanism keeps track of history and gives out the switch verdict only if the foreign usage pattern is stable over a certain amount of time and/or writeback attempts.h]hXKTo resolve this issue, cgroup writeback detects the majority dirtier of an inode and transfers the ownership to it. To avoid unnecessary oscillation, the detection mechanism keeps track of history and gives out the switch verdict only if the foreign usage pattern is stable over a certain amount of time and/or writeback attempts.}(hjIPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMRhjOubh)}(hXOn each writeback attempt, **wbc** tries to detect the majority writer using Boyer-Moore majority vote algorithm. In addition to the byte count from the majority voting, it also counts the bytes written for the current wb and the last round's winner wb (max of last round's current wb, the winner from two rounds ago, and the last round's majority candidate). Keeping track of the historical winner helps the algorithm to semi-reliably detect the most active writer even when it's not the absolute majority.h](hOn each writeback attempt, }(hjXPhhhNhNubj)}(h**wbc**h]hwbc}(hj`PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXPubhX 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.}(hjXPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMXhjOubh)}(hXOnce the winner of the round is determined, whether the winner is foreign or not and how much IO time the round consumed is recorded in inode->i_wb_frn_history. If the amount of recorded foreign IO time is over a certain threshold, the switch verdict is given.h]hXOnce the winner of the round is determined, whether the winner is foreign or not and how much IO time the round consumed is recorded in inode->i_wb_frn_history. If the amount of recorded foreign IO time is over a certain threshold, the switch verdict is given.}(hjyPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMahjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%wbc_account_cgroup_owner (C function)c.wbc_account_cgroup_ownerhNtauh1hhjuJhhhNhNubh)}(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}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjPhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPhhhjPhMubj/)}(hwbc_account_cgroup_ownerh]j5)}(hwbc_account_cgroup_ownerh]hwbc_account_cgroup_owner}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjPhhhjPhMubj)}(hB(struct writeback_control *wbc, struct folio *folio, size_t bytes)h](j)}(hstruct writeback_control *wbch](j )}(hjzh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubh)}(hhh]j5)}(hwriteback_controlh]hwriteback_control}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNjj)}j]j)}jjPsbc.wbc_account_cgroup_ownerasbuh1hhjPubj)}(h h]h }(hj#QhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj*)}(hj-h]h*}(hj1QhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjPubj5)}(hwbch]hwbc}(hj>QhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubj)}(hstruct folio *folioh](j )}(hjzh]hstruct}(hjWQhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSQubj)}(h h]h }(hjdQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSQubh)}(hhh]j5)}(hfolioh]hfolio}(hjuQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwQmodnameN classnameNjj)}j]jQc.wbc_account_cgroup_ownerasbuh1hhjSQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSQubj*)}(hj-h]h*}(hjQhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjSQubj5)}(hfolioh]hfolio}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSQubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubj)}(h size_t bytesh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQmodnameN classnameNjj)}j]jQc.wbc_account_cgroup_ownerasbuh1hhjQubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQubj5)}(hbytesh]hbytes}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubeh}(h]h ]h"]h$]h&]jLjMuh1jhjPhhhjPhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjPhhhjPhMubah}(h]jPah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjPhMhjPhhubjc)}(hhh]h)}(h2account writeback to update inode cgroup ownershiph]h2account writeback to update inode cgroup ownership}(hj RhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMhjRhhubah}(h]h ]h"]h$]h&]uh1jbhjPhhhjPhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8Rjj8Rjjjuh1hhhhjuJhNhNubj)}(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)}(hjBRh]h Parameters}(hjDRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@Rubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMhjdirtied_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)}(hjTh]h Parameters}(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.chM hjTubj)}(hhh](j)}(h&``struct inode *inode`` inode to mark h](j)}(h``struct inode *inode``h]j)}(hjTh]hstruct inode *inode}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjTubj)}(hhh]h)}(h inode to markh]h inode to mark}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThM hjTubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjThM hjTubj)}(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)}(hjTh]h int flags}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjTubj)}(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 UhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj Uubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhj UhM hjTubeh}(h]h ]h"]h$]h&]uh1jhjTubh)}(h**Description**h]j)}(hj0Uh]h Description}(hj2UhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.Uubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjTubh)}(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.}(hjFUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjTubh)}(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.}(hjUUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjTubh)}(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.}(hjdUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjTubh)}(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.}(hjsUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjTubh)}(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.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#writeback_inodes_sb_nr (C function)c.writeback_inodes_sb_nrhNtauh1hhjuJhhhNhNubh)}(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}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjUhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM ubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUhhhjUhM ubj/)}(hwriteback_inodes_sb_nrh]j5)}(hwriteback_inodes_sb_nrh]hwriteback_inodes_sb_nr}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjUhhhjUhM ubj)}(hA(struct super_block *sb, unsigned long nr, enum wb_reason reason)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubh)}(hhh]j5)}(h super_blockh]h super_block}(hj VhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Vubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNjj)}j]j)}jjUsbc.writeback_inodes_sb_nrasbuh1hhjUubj)}(h h]h }(hj,VhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubj*)}(hj-h]h*}(hj:VhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjUubj5)}(hsbh]hsb}(hjGVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjUubj)}(hunsigned long nrh](j)}(hunsignedh]hunsigned}(hj`VhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj\Vubj)}(h h]h }(hjnVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\Vubj)}(hlongh]hlong}(hj|VhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj\Vubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\Vubj5)}(hnrh]hnr}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\Vubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjUubj)}(henum wb_reason reasonh](j )}(hjh]henum}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubh)}(hhh]j5)}(h wb_reasonh]h wb_reason}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNjj)}j]j(Vc.writeback_inodes_sb_nrasbuh1hhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubj5)}(hreasonh]hreason}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjUubeh}(h]h ]h"]h$]h&]jLjMuh1jhjUhhhjUhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjUhhhjUhM ubah}(h]jUah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjUhM hjUhhubjc)}(hhh]h)}(h-writeback dirty inodes from given super_blockh]h-writeback dirty inodes from given super_block}(hj%WhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj"Whhubah}(h]h ]h"]h$]h&]uh1jbhjUhhhjUhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=Wjj=Wjjjuh1hhhhjuJhNhNubj)}(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)}(hjGWh]h Parameters}(hjIWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEWubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjAWubj)}(hhh](j)}(h*``struct super_block *sb`` the superblock h](j)}(h``struct super_block *sb``h]j)}(hjfWh]hstruct super_block *sb}(hjhWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdWubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj`Wubj)}(hhh]h)}(hthe superblockh]hthe superblock}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{WhM hj|Wubah}(h]h ]h"]h$]h&]uh1jhj`Wubeh}(h]h ]h"]h$]h&]uh1jhj{WhM hj]Wubj)}(h2``unsigned long nr`` the number of pages to write h](j)}(h``unsigned long nr``h]j)}(hjWh]hunsigned long nr}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjWubj)}(hhh]h)}(hthe number of pages to writeh]hthe number of pages to write}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhM hjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhM hj]Wubj)}(hC``enum wb_reason reason`` reason why some writeback work initiated h](j)}(h``enum wb_reason reason``h]j)}(hjWh]henum wb_reason reason}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjWubj)}(hhh]h)}(h(reason why some writeback work initiatedh]h(reason why some writeback work initiated}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhM hjWubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjWhM hj]Wubeh}(h]h ]h"]h$]h&]uh1jhjAWubh)}(h**Description**h]j)}(hjXh]h Description}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjAWubh)}(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)XhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjAWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h writeback_inodes_sb (C function)c.writeback_inodes_sbhNtauh1hhjuJhhhNhNubh)}(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}(hjXXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjTXhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM, ubj)}(h h]h }(hjgXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTXhhhjfXhM, ubj/)}(hwriteback_inodes_sbh]j5)}(hwriteback_inodes_sbh]hwriteback_inodes_sb}(hjyXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuXubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjTXhhhjfXhM, ubj)}(h/(struct super_block *sb, enum wb_reason reason)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubh)}(hhh]j5)}(h super_blockh]h super_block}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjXmodnameN classnameNjj)}j]j)}jj{Xsbc.writeback_inodes_sbasbuh1hhjXubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubj*)}(hj-h]h*}(hjXhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjXubj5)}(hsbh]hsb}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubj)}(henum wb_reason reasonh](j )}(hjh]henum}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubh)}(hhh]j5)}(h wb_reasonh]h wb_reason}(hj%YhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"Yubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'YmodnameN classnameNjj)}j]jXc.writeback_inodes_sbasbuh1hhjYubj)}(h h]h }(hjCYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj5)}(hreasonh]hreason}(hjQYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubeh}(h]h ]h"]h$]h&]jLjMuh1jhjTXhhhjfXhM, ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjPXhhhjfXhM, ubah}(h]jKXah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjfXhM, hjMXhhubjc)}(hhh]h)}(h-writeback dirty inodes from given super_blockh]h-writeback dirty inodes from given super_block}(hj{YhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM, hjxYhhubah}(h]h ]h"]h$]h&]uh1jbhjMXhhhjfXhM, ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhjuJhNhNubj)}(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)}(hjYh]h Parameters}(hjYhhhNhNubah}(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.chM0 hjYubj)}(hhh](j)}(h*``struct super_block *sb`` the superblock h](j)}(h``struct super_block *sb``h]j)}(hjYh]hstruct super_block *sb}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM- hjYubj)}(hhh]h)}(hthe superblockh]hthe superblock}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhM- hjYubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjYhM- hjYubj)}(hG``enum wb_reason reason`` reason why some writeback work was initiated h](j)}(h``enum wb_reason reason``h]j)}(hjYh]henum wb_reason reason}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM. hjYubj)}(hhh]h)}(h,reason why some writeback work was initiatedh]h,reason why some writeback work was initiated}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ZhM. hj Zubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhj ZhM. hjYubeh}(h]h ]h"]h$]h&]uh1jhjYubh)}(h**Description**h]j)}(hj0Zh]h Description}(hj2ZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.Zubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM0 hjYubh)}(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.}(hjFZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM/ hjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'try_to_writeback_inodes_sb (C function)c.try_to_writeback_inodes_sbhNtauh1hhjuJhhhNhNubh)}(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}(hjuZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjqZhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM; ubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqZhhhjZhM; ubj/)}(htry_to_writeback_inodes_sbh]j5)}(htry_to_writeback_inodes_sbh]htry_to_writeback_inodes_sb}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjqZhhhjZhM; ubj)}(h/(struct super_block *sb, enum wb_reason reason)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubh)}(hhh]j5)}(h super_blockh]h super_block}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNjj)}j]j)}jjZsbc.try_to_writeback_inodes_sbasbuh1hhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubj*)}(hj-h]h*}(hjZhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjZubj5)}(hsbh]hsb}(hj [hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZubj)}(henum wb_reason reasonh](j )}(hjh]henum}(hj$[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj [ubj)}(h h]h }(hj1[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj [ubh)}(hhh]j5)}(h wb_reasonh]h wb_reason}(hjB[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjD[modnameN classnameNjj)}j]jZc.try_to_writeback_inodes_sbasbuh1hhj [ubj)}(h h]h }(hj`[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj [ubj5)}(hreasonh]hreason}(hjn[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj [ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZubeh}(h]h ]h"]h$]h&]jLjMuh1jhjqZhhhjZhM; ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjmZhhhjZhM; ubah}(h]jhZah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjZhM; hjjZhhubjc)}(hhh]h)}(h'try to start writeback if none underwayh]h'try to start writeback if none underway}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM; hj[hhubah}(h]h ]h"]h$]h&]uh1jbhjjZhhhjZhM; ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhjuJhNhNubj)}(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)}(hj[h]h Parameters}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM? hj[ubj)}(hhh](j)}(h*``struct super_block *sb`` the superblock h](j)}(h``struct super_block *sb``h]j)}(hj[h]hstruct super_block *sb}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM< hj[ubj)}(hhh]h)}(hthe superblockh]hthe superblock}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hM< hj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hM< hj[ubj)}(hG``enum wb_reason reason`` reason why some writeback work was initiated h](j)}(h``enum wb_reason reason``h]j)}(hj\h]henum wb_reason reason}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM= hj \ubj)}(hhh]h)}(h,reason why some writeback work was initiatedh]h,reason why some writeback work was initiated}(hj+\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'\hM= hj(\ubah}(h]h ]h"]h$]h&]uh1jhj \ubeh}(h]h ]h"]h$]h&]uh1jhj'\hM= hj[ubeh}(h]h ]h"]h$]h&]uh1jhj[ubh)}(h**Description**h]j)}(hjM\h]h Description}(hjO\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjK\ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM? hj[ubh)}(hFInvoke __writeback_inodes_sb_nr if no writeback is currently underway.h]hFInvoke __writeback_inodes_sb_nr if no writeback is currently underway.}(hjc\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM> hj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsync_inodes_sb (C function)c.sync_inodes_sbhNtauh1hhjuJhhhNhNubh)}(hhh](j)}(h,void sync_inodes_sb (struct super_block *sb)h]j)}(h+void sync_inodes_sb(struct super_block *sb)h](j)}(hvoidh]hvoid}(hj\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj\hhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chML ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\hhhj\hML ubj/)}(hsync_inodes_sbh]j5)}(hsync_inodes_sbh]hsync_inodes_sb}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj\hhhj\hML ubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj)}j]j)}jj\sbc.sync_inodes_sbasbuh1hhj\ubj)}(h h]h }(hj ]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubj*)}(hj-h]h*}(hj]hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj\ubj5)}(hsbh]hsb}(hj(]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj\ubah}(h]h ]h"]h$]h&]jLjMuh1jhj\hhhj\hML ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj\hhhj\hML ubah}(h]j\ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj\hML hj\hhubjc)}(hhh]h)}(hsync sb inode pagesh]hsync sb inode pages}(hjR]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chML hjO]hhubah}(h]h ]h"]h$]h&]uh1jbhj\hhhj\hML ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjj]jjj]jjjuh1hhhhjuJhNhNubj)}(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)}(hjt]h]h Parameters}(hjv]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr]ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMP hjn]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.chMM hj]ubj)}(hhh]h)}(hthe superblockh]hthe superblock}(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&]uh1jhjn]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.chMO hjn]ubh)}(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.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMN hjn]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hwrite_inode_now (C function)c.write_inode_nowhNtauh1hhjuJhhhNhNubh)}(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^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj^hhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMt ubj)}(h h]h }(hj"^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^hhhj!^hMt ubj/)}(hwrite_inode_nowh]j5)}(hwrite_inode_nowh]hwrite_inode_now}(hj4^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0^ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj^hhhj!^hMt ubj)}(h(struct inode *inode, int sync)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjP^hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjL^ubj)}(h h]h }(hj]^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjL^ubh)}(hhh]j5)}(hinodeh]hinode}(hjn^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjk^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjp^modnameN classnameNjj)}j]j)}jj6^sbc.write_inode_nowasbuh1hhjL^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjL^ubj*)}(hj-h]h*}(hj^hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjL^ubj5)}(hinodeh]hinode}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjL^ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjH^ubj)}(hint synch](j)}(hinth]hint}(hj^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj^ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^ubj5)}(hsynch]hsync}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjH^ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj^hhhj!^hMt ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj ^hhhj!^hMt ubah}(h]j^ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj!^hMt hj^hhubjc)}(hhh]h)}(hwrite an inode to diskh]hwrite an inode to disk}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMt hj_hhubah}(h]h ]h"]h$]h&]uh1jbhj^hhhj!^hMt ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj _jj _jjjuh1hhhhjuJhNhNubj)}(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*_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.chMx hj$_ubj)}(hhh](j)}(h/``struct inode *inode`` inode to write to disk h](j)}(h``struct inode *inode``h]j)}(hjI_h]hstruct inode *inode}(hjK_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG_ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMu hjC_ubj)}(hhh]h)}(hinode to write to diskh]hinode to write to disk}(hjb_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^_hMu hj__ubah}(h]h ]h"]h$]h&]uh1jhjC_ubeh}(h]h ]h"]h$]h&]uh1jhj^_hMu hj@_ubj)}(h<``int sync`` whether the write should be synchronous or not h](j)}(h ``int sync``h]j)}(hj_h]hint sync}(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.chMv hj|_ubj)}(hhh]h)}(h.whether the write should be synchronous or noth]h.whether the write should be synchronous or not}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hMv hj_ubah}(h]h ]h"]h$]h&]uh1jhj|_ubeh}(h]h ]h"]h$]h&]uh1jhj_hMv hj@_ubeh}(h]h ]h"]h$]h&]uh1jhj$_ubh)}(h**Description**h]j)}(hj_h]h Description}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMx hj$_ubh)}(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.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMw hj$_ubh)}(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.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chMz hj$_ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h sync_inode_metadata (C function)c.sync_inode_metadatahNtauh1hhjuJhhhNhNubh)}(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`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj `hhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM ubj)}(h h]h }(hj `hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj `hhhj`hM ubj/)}(hsync_inode_metadatah]j5)}(hsync_inode_metadatah]hsync_inode_metadata}(hj2`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.`ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj `hhhj`hM ubj)}(h(struct inode *inode, int wait)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjN`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJ`ubj)}(h h]h }(hj[`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJ`ubh)}(hhh]j5)}(hinodeh]hinode}(hjl`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hji`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjn`modnameN classnameNjj)}j]j)}jj4`sbc.sync_inode_metadataasbuh1hhjJ`ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJ`ubj*)}(hj-h]h*}(hj`hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjJ`ubj5)}(hinodeh]hinode}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJ`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjF`ubj)}(hint waith](j)}(hinth]hint}(hj`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj`ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubj5)}(hwaith]hwait}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjF`ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj `hhhj`hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj `hhhj`hM ubah}(h]j`ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj`hM hj`hhubjc)}(hhh]h)}(hwrite an inode to diskh]hwrite an inode to disk}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjahhubah}(h]h ]h"]h$]h&]uh1jbhj`hhhj`hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhjuJhNhNubj)}(hX **Parameters** ``struct inode *inode`` the inode to sync ``int wait`` wait for I/O to complete. **Description** Write an inode to disk and adjust its dirty state after completion. **Note** only writes the actual inode, no associated data or other metadata.h](h)}(h**Parameters**h]j)}(hj(ah]h Parameters}(hj*ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&aubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj"aubj)}(hhh](j)}(h*``struct inode *inode`` the inode to sync h](j)}(h``struct inode *inode``h]j)}(hjGah]hstruct inode *inode}(hjIahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEaubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjAaubj)}(hhh]h)}(hthe inode to synch]hthe inode to sync}(hj`ahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\ahM hj]aubah}(h]h ]h"]h$]h&]uh1jhjAaubeh}(h]h ]h"]h$]h&]uh1jhj\ahM hj>aubj)}(h'``int wait`` wait for I/O to complete. h](j)}(h ``int wait``h]j)}(hjah]hint wait}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~aubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hjzaubj)}(hhh]h)}(hwait for I/O to complete.h]hwait for I/O to complete.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahM hjaubah}(h]h ]h"]h$]h&]uh1jhjzaubeh}(h]h ]h"]h$]h&]uh1jhjahM hj>aubeh}(h]h ]h"]h$]h&]uh1jhj"aubh)}(h**Description**h]j)}(hjah]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj"aubh)}(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.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj"aubh)}(h**Note**h]j)}(hjah]hNote}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj"aubh)}(hConly writes the actual inode, no associated data or other metadata.h]hConly writes the actual inode, no associated data or other metadata.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/fs-writeback.chM hj"aubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hanon_inode_getfile (C function)c.anon_inode_getfilehNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hj'bhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#bhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKubj)}(h h]h }(hj5bhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#bhhhj4bhKubh)}(hhh]j5)}(hfileh]hfile}(hjFbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHbmodnameN classnameNjj)}j]j)}janon_inode_getfilesbc.anon_inode_getfileasbuh1hhj#bhhhj4bhKubj)}(h h]h }(hjgbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#bhhhj4bhKubj*)}(hj-h]h*}(hjubhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj#bhhhj4bhKubj/)}(hanon_inode_getfileh]j5)}(hjdbh]hanon_inode_getfile}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj#bhhhj4bhKubj)}(hM(const char *name, const struct file_operations *fops, void *priv, int flags)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubj)}(hcharh]hchar}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubj*)}(hj-h]h*}(hjbhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjbubj5)}(hnameh]hname}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbubj)}(h"const struct file_operations *fopsh](j )}(hjUh]hconst}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj)}(h h]h }(hj chhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubj )}(hjzh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj)}(h h]h }(hj&chhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubh)}(hhh]j5)}(hfile_operationsh]hfile_operations}(hj7chhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4cubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9cmodnameN classnameNjj)}j]jbbc.anon_inode_getfileasbuh1hhjbubj)}(h h]h }(hjUchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubj*)}(hj-h]h*}(hjcchhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjbubj5)}(hfopsh]hfops}(hjpchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbubj)}(h void *privh](j)}(hvoidh]hvoid}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj*)}(hj-h]h*}(hjchhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj5)}(hprivh]hpriv}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbubj)}(h int flagsh](j)}(hinth]hint}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj5)}(hflagsh]hflags}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbubeh}(h]h ]h"]h$]h&]jLjMuh1jhj#bhhhj4bhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjbhhhj4bhKubah}(h]jbah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj4bhKhjbhhubjc)}(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}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjdhhubah}(h]h ]h"]h$]h&]uh1jbhjbhhhj4bhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)djj)djjjuh1hhhhjuJhNhNubj)}(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)}(hj3dh]h Parameters}(hj5dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1dubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhj-dubj)}(hhh](j)}(hA``const char *name`` [in] name of the "class" of the new file h](j)}(h``const char *name``h]j)}(hjRdh]hconst char *name}(hjTdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPdubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjLdubj)}(hhh]h)}(h+[in] name of the "class" of the new fileh]h/[in] name of the “class” of the new file}(hjkdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjgdhKhjhdubah}(h]h ]h"]h$]h&]uh1jhjLdubeh}(h]h ]h"]h$]h&]uh1jhjgdhKhjIdubj)}(hP``const struct file_operations *fops`` [in] file operations for the new file h](j)}(h&``const struct file_operations *fops``h]j)}(hjdh]h"const struct file_operations *fops}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjdubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhKhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhKhjIdubj)}(hS``void *priv`` [in] private data for the new file (will be file's private_data) h](j)}(h``void *priv``h]j)}(hjdh]h void *priv}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjdubj)}(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)}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhKhjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhKhjIdubj)}(h``int flags`` [in] flags h](j)}(h ``int flags``h]j)}(hjdh]h int flags}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjdubj)}(hhh]h)}(h [in] flagsh]h [in] flags}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehKhjeubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjehKhjIdubeh}(h]h ]h"]h$]h&]uh1jhj-dubh)}(h**Description**h]j)}(hj8eh]h Description}(hj:ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6eubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhj-dubh)}(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.}(hjNehhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhj-dubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%anon_inode_getfile_fmode (C function)c.anon_inode_getfile_fmodehNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hj}ehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyehhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyehhhjehKubh)}(hhh]j5)}(hfileh]hfile}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj)}j]j)}janon_inode_getfile_fmodesbc.anon_inode_getfile_fmodeasbuh1hhjyehhhjehKubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyehhhjehKubj*)}(hj-h]h*}(hjehhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjyehhhjehKubj/)}(hanon_inode_getfile_fmodeh]j5)}(hjeh]hanon_inode_getfile_fmode}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjyehhhjehKubj)}(h](const char *name, const struct file_operations *fops, void *priv, int flags, fmode_t f_mode)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubj)}(hcharh]hchar}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjeubj)}(h h]h }(hj fhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubj*)}(hj-h]h*}(hj.fhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjeubj5)}(hnameh]hname}(hj;fhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubj)}(h"const struct file_operations *fopsh](j )}(hjUh]hconst}(hjTfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPfubj)}(h h]h }(hjafhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPfubj )}(hjzh]hstruct}(hjofhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPfubj)}(h h]h }(hj|fhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPfubh)}(hhh]j5)}(hfile_operationsh]hfile_operations}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j]jec.anon_inode_getfile_fmodeasbuh1hhjPfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPfubj*)}(hj-h]h*}(hjfhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjPfubj5)}(hfopsh]hfops}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPfubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubj)}(h void *privh](j)}(hvoidh]hvoid}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubj*)}(hj-h]h*}(hjfhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjfubj5)}(hprivh]hpriv}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubj)}(h int flagsh](j)}(hinth]hint}(hj!ghhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjgubj)}(h h]h }(hj/ghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubj5)}(hflagsh]hflags}(hj=ghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubj)}(hfmode_t f_modeh](h)}(hhh]j5)}(hfmode_th]hfmode_t}(hjYghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[gmodnameN classnameNjj)}j]jec.anon_inode_getfile_fmodeasbuh1hhjRgubj)}(h h]h }(hjwghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRgubj5)}(hf_modeh]hf_mode}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRgubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubeh}(h]h ]h"]h$]h&]jLjMuh1jhjyehhhjehKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjuehhhjehKubah}(h]jpeah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjehKhjrehhubjc)}(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}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjghhubah}(h]h ]h"]h$]h&]uh1jbhjrehhhjehKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjgjjgjjjuh1hhhhjuJhNhNubj)}(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)}(hjgh]h Parameters}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjgubj)}(hhh](j)}(hA``const char *name`` [in] name of the "class" of the new file h](j)}(h``const char *name``h]j)}(hjgh]hconst char *name}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjgubj)}(hhh]h)}(h+[in] name of the "class" of the new fileh]h/[in] name of the “class” of the new file}(hj hhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhKhjhubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhhKhjgubj)}(hP``const struct file_operations *fops`` [in] file operations for the new file h](j)}(h&``const struct file_operations *fops``h]j)}(hj)hh]h"const struct file_operations *fops}(hj+hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'hubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhj#hubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(hjBhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hhKhj?hubah}(h]h ]h"]h$]h&]uh1jhj#hubeh}(h]h ]h"]h$]h&]uh1jhj>hhKhjgubj)}(hS``void *priv`` [in] private data for the new file (will be file's private_data) h](j)}(h``void *priv``h]j)}(hjbhh]h void *priv}(hjdhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`hubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhj\hubj)}(hhh]h)}(hC[in] private data for the new file (will be file's private_data)h]hE[in] private data for the new file (will be file’s private_data)}(hj{hhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhhKhjxhubah}(h]h ]h"]h$]h&]uh1jhj\hubeh}(h]h ]h"]h$]h&]uh1jhjwhhKhjgubj)}(h``int flags`` [in] flags h](j)}(h ``int flags``h]j)}(hjhh]h int flags}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjhubj)}(hhh]h)}(h [in] flagsh]h [in] flags}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhKhjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhKhjgubj)}(h!``fmode_t f_mode`` [in] fmode h](j)}(h``fmode_t f_mode``h]j)}(hjhh]hfmode_t f_mode}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjhubj)}(hhh]h)}(h [in] fmodeh]h [in] fmode}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhKhjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhKhjgubeh}(h]h ]h"]h$]h&]uh1jhjgubh)}(h**Description**h]j)}(hjih]h Description}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj iubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjgubh)}(hXCreates a new file by hooking it on a single inode. This is useful for files that do not need to have a full-fledged inode in order to operate correctly. All the files created with anon_inode_getfile() will share a single inode, hence saving memory and avoiding code duplication for the file/inode/dentry setup. Allows setting the fmode. Returns the newly created file* or an error pointer.h]hXCreates a new file by hooking it on a single inode. This is useful for files that do not need to have a full-fledged inode in order to operate correctly. All the files created with anon_inode_getfile() will share a single inode, hence saving memory and avoiding code duplication for the file/inode/dentry setup. Allows setting the fmode. Returns the newly created file* or an error pointer.}(hj%ihhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&anon_inode_create_getfile (C function)c.anon_inode_create_getfilehNtauh1hhjuJhhhNhNubh)}(hhh](j)}(hstruct file * anon_inode_create_getfile (const char *name, const struct file_operations *fops, void *priv, int flags, const struct inode *context_inode)h]j)}(hstruct file *anon_inode_create_getfile(const char *name, const struct file_operations *fops, void *priv, int flags, const struct inode *context_inode)h](j )}(hjzh]hstruct}(hjTihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPihhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKubj)}(h h]h }(hjbihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPihhhjaihKubh)}(hhh]j5)}(hfileh]hfile}(hjsihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjuimodnameN classnameNjj)}j]j)}janon_inode_create_getfilesbc.anon_inode_create_getfileasbuh1hhjPihhhjaihKubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPihhhjaihKubj*)}(hj-h]h*}(hjihhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjPihhhjaihKubj/)}(hanon_inode_create_getfileh]j5)}(hjih]hanon_inode_create_getfile}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjPihhhjaihKubj)}(hp(const char *name, const struct file_operations *fops, void *priv, int flags, const struct inode *context_inode)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj)}(hcharh]hchar}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj*)}(hj-h]h*}(hjjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjiubj5)}(hnameh]hname}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(h"const struct file_operations *fopsh](j )}(hjUh]hconst}(hj+jhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'jubj)}(h h]h }(hj8jhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'jubj )}(hjzh]hstruct}(hjFjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'jubj)}(h h]h }(hjSjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'jubh)}(hhh]j5)}(hfile_operationsh]hfile_operations}(hjdjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjajubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfjmodnameN classnameNjj)}j]jic.anon_inode_create_getfileasbuh1hhj'jubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'jubj*)}(hj-h]h*}(hjjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj'jubj5)}(hfopsh]hfops}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'jubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(h void *privh](j)}(hvoidh]hvoid}(hjjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubj*)}(hj-h]h*}(hjjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjjubj5)}(hprivh]hpriv}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(h int flagsh](j)}(hinth]hint}(hjjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjjubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubj5)}(hflagsh]hflags}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(h!const struct inode *context_inodeh](j )}(hjUh]hconst}(hj-khhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)kubj)}(h h]h }(hj:khhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)kubj )}(hjzh]hstruct}(hjHkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)kubj)}(h h]h }(hjUkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)kubh)}(hhh]j5)}(hinodeh]hinode}(hjfkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjckubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhkmodnameN classnameNjj)}j]jic.anon_inode_create_getfileasbuh1hhj)kubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)kubj*)}(hj-h]h*}(hjkhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj)kubj5)}(h context_inodeh]h context_inode}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)kubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubeh}(h]h ]h"]h$]h&]jLjMuh1jhjPihhhjaihKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjLihhhjaihKubah}(h]jGiah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjaihKhjIihhubjc)}(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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjkhhubah}(h]h ]h"]h$]h&]uh1jbhjIihhhjaihKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhjuJhNhNubj)}(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)}(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:74: ./fs/anon_inodes.chKhjkubj)}(hhh](j)}(hA``const char *name`` [in] name of the "class" of the new file h](j)}(h``const char *name``h]j)}(hj lh]hconst char *name}(hj lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjlubj)}(hhh]h)}(h+[in] name of the "class" of the new fileh]h/[in] name of the “class” of the new file}(hj#lhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhKhj lubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhKhjlubj)}(hP``const struct file_operations *fops`` [in] file operations for the new file h](j)}(h&``const struct file_operations *fops``h]j)}(hjClh]h"const struct file_operations *fops}(hjElhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAlubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhj=lubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(hj\lhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXlhKhjYlubah}(h]h ]h"]h$]h&]uh1jhj=lubeh}(h]h ]h"]h$]h&]uh1jhjXlhKhjlubj)}(hS``void *priv`` [in] private data for the new file (will be file's private_data) h](j)}(h``void *priv``h]j)}(hj|lh]h void *priv}(hj~lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzlubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjvlubj)}(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)}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhKhjlubah}(h]h ]h"]h$]h&]uh1jhjvlubeh}(h]h ]h"]h$]h&]uh1jhjlhKhjlubj)}(h``int flags`` [in] flags h](j)}(h ``int flags``h]j)}(hjlh]h int flags}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjlubj)}(hhh]h)}(h [in] flagsh]h [in] flags}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhKhjlubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhKhjlubj)}(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)}(hjlh]h!const struct inode *context_inode}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjlubj)}(hhh]h)}(h>[in] the logical relationship with the new inode (optional)h]h>[in] the logical relationship with the new inode (optional)}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhKhjmubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjmhKhjlubeh}(h]h ]h"]h$]h&]uh1jhjkubh)}(h**Description**h]j)}(hj)mh]h Description}(hj+mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'mubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjkubh)}(hNCreate a new anonymous inode and file pair. This can be done for two reasons:h]hNCreate a new anonymous inode and file pair. This can be done for two reasons:}(hj?mhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjkubjC)}(hhh](jC)}(hifor the inode to have its own security context, so that LSMs can enforce policy on the inode's creation; h]h)}(hhfor the inode to have its own security context, so that LSMs can enforce policy on the inode's creation;h]hjfor the inode to have its own security context, so that LSMs can enforce policy on the inode’s creation;}(hjUmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chKhjQmubah}(h]h ]h"]h$]h&]uh1jChjNmubjC)}(hcif the caller needs a unique inode, for example in order to customize the size returned by fstat() h]h)}(hbif the caller needs a unique inode, for example in order to customize the size returned by fstat()h]hbif the caller needs a unique inode, for example in order to customize the size returned by fstat()}(hjnmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chMhjjmubah}(h]h ]h"]h$]h&]uh1jChjNmubeh}(h]h ]h"]h$]h&]jCj}uh1jChjcmhKhjkubh)}(hcThe LSM may use **context_inode** in inode_init_security_anon(), but a reference to it is not held.h](hThe LSM may use }(hjmhhhNhNubj)}(h**context_inode**h]h context_inode}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubhB in inode_init_security_anon(), but a reference to it is not held.}(hjmhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chMhjkubh)}(h4Returns the newly created file* or an error pointer.h]h4Returns the newly created file* or an error pointer.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chMhjkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hanon_inode_getfd (C function)c.anon_inode_getfdhNtauh1hhjuJhhhNhNubh)}(hhh](j)}(hbint anon_inode_getfd (const char *name, const struct file_operations *fops, void *priv, int flags)h]j)}(haint anon_inode_getfd(const char *name, const struct file_operations *fops, void *priv, int flags)h](j)}(hinth]hint}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjmhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chM ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmhhhjmhM ubj/)}(hanon_inode_getfdh]j5)}(hanon_inode_getfdh]hanon_inode_getfd}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjmhhhjmhM ubj)}(hM(const char *name, const struct file_operations *fops, void *priv, int flags)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(h h]h }(hj#nhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj)}(hcharh]hchar}(hj1nhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjnubj)}(h h]h }(hj?nhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj*)}(hj-h]h*}(hjMnhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjnubj5)}(hnameh]hname}(hjZnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjnubj)}(h"const struct file_operations *fopsh](j )}(hjUh]hconst}(hjsnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjonubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjonubj )}(hjzh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjonubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjonubh)}(hhh]j5)}(hfile_operationsh]hfile_operations}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj)}j]j)}jjmsbc.anon_inode_getfdasbuh1hhjonubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjonubj*)}(hj-h]h*}(hjnhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjonubj5)}(hfopsh]hfops}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjonubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjnubj)}(h void *privh](j)}(hvoidh]hvoid}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjnubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj*)}(hj-h]h*}(hjohhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjnubj5)}(hprivh]hpriv}(hj)ohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjnubj)}(h int flagsh](j)}(hinth]hint}(hjBohhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj>oubj)}(h h]h }(hjPohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>oubj5)}(hflagsh]hflags}(hj^ohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>oubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjnubeh}(h]h ]h"]h$]h&]jLjMuh1jhjmhhhjmhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjmhhhjmhM ubah}(h]jmah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjmhM hjmhhubjc)}(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}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chM hjohhubah}(h]h ]h"]h$]h&]uh1jbhjmhhhjmhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjojjojjjuh1hhhhjuJhNhNubj)}(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)}(hjoh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chM$hjoubj)}(hhh](j)}(hA``const char *name`` [in] name of the "class" of the new file h](j)}(h``const char *name``h]j)}(hjoh]hconst char *name}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chM$hjoubj)}(hhh]h)}(h+[in] name of the "class" of the new fileh]h/[in] name of the “class” of the new file}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohM$hjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohM$hjoubj)}(hP``const struct file_operations *fops`` [in] file operations for the new file h](j)}(h&``const struct file_operations *fops``h]j)}(hjph]h"const struct file_operations *fops}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chM%hjoubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphM%hjpubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjphM%hjoubj)}(hS``void *priv`` [in] private data for the new file (will be file's private_data) h](j)}(h``void *priv``h]j)}(hj;ph]h void *priv}(hj=phhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9pubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chM&hj5pubj)}(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)}(hjTphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPphM&hjQpubah}(h]h ]h"]h$]h&]uh1jhj5pubeh}(h]h ]h"]h$]h&]uh1jhjPphM&hjoubj)}(h``int flags`` [in] flags h](j)}(h ``int flags``h]j)}(hjtph]h int flags}(hjvphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrpubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chM'hjnpubj)}(hhh]h)}(h [in] flagsh]h [in] flags}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphM'hjpubah}(h]h ]h"]h$]h&]uh1jhjnpubeh}(h]h ]h"]h$]h&]uh1jhjphM'hjoubeh}(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&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chM)hjoubh)}(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.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/anon_inodes.chM(hjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%setattr_should_drop_sgid (C function)c.setattr_should_drop_sgidhNtauh1hhjuJhhhNhNubh)}(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}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjphhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjphhhjqhKubj/)}(hsetattr_should_drop_sgidh]j5)}(hsetattr_should_drop_sgidh]hsetattr_should_drop_sgid}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjphhhjqhKubj)}(h4(struct mnt_idmap *idmap, const struct inode *inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj1qhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-qubj)}(h h]h }(hj>qhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-qubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjOqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQqmodnameN classnameNjj)}j]j)}jjqsbc.setattr_should_drop_sgidasbuh1hhj-qubj)}(h h]h }(hjoqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-qubj*)}(hj-h]h*}(hj}qhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj-qubj5)}(hidmaph]hidmap}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-qubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj)qubj)}(hconst struct inode *inodeh](j )}(hjUh]hconst}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubj )}(hjzh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubh)}(hhh]j5)}(hinodeh]hinode}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj)}j]jkqc.setattr_should_drop_sgidasbuh1hhjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubj*)}(hj-h]h*}(hjrhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjqubj5)}(hinodeh]hinode}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj)qubeh}(h]h ]h"]h$]h&]jLjMuh1jhjphhhjqhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjphhhjqhKubah}(h]jpah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjqhKhjphhubjc)}(hhh]h)}(h4determine whether the setgid bit needs to be removedh]h4determine whether the setgid bit needs to be removed}(hj?rhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjATTR_KILL_SGID if setgid bit needs to be removed, 0 otherwise.h]h>ATTR_KILL_SGID if setgid bit needs to be removed, 0 otherwise.}(hjCshhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhj[rubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(setattr_should_drop_suidgid (C function)c.setattr_should_drop_suidgidhNtauh1hhjuJhhhNhNubh)}(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}(hjrshhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjnshhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chK1ubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnshhhjshK1ubj/)}(hsetattr_should_drop_suidgidh]j5)}(hsetattr_should_drop_suidgidh]hsetattr_should_drop_suidgid}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjnshhhjshK1ubj)}(h.(struct mnt_idmap *idmap, struct inode *inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNjj)}j]j)}jjssbc.setattr_should_drop_suidgidasbuh1hhjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubj*)}(hj-h]h*}(hjshhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjsubj5)}(hidmaph]hidmap}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjsubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj!thhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj)}(h h]h }(hj.thhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubh)}(hhh]j5)}(hinodeh]hinode}(hj?thhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjvubj5)}(hattrh]hattr}(hjKwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj vubeh}(h]h ]h"]h$]h&]jLjMuh1jhjuhhhjuhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjuhhhjuhKubah}(h]juah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjuhKhjuhhubjc)}(hhh]h)}(h2check if attribute changes to a dentry are allowedh]h2check if attribute changes to a dentry are allowed}(hjuwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjrwhhubah}(h]h ]h"]h$]h&]uh1jbhjuhhhjuhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjwjjwjjjuh1hhhhjuJhNhNubj)}(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)}(hjwh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjwubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjwh]hstruct mnt_idmap *idmap}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjwubj)}(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&]uh1hhjwhKhjwubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjwhKhjwubj)}(h*``struct dentry *dentry`` dentry to check h](j)}(h``struct dentry *dentry``h]j)}(hjwh]hstruct dentry *dentry}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjwubj)}(hhh]h)}(hdentry to checkh]hdentry to check}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhKhjxubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjxhKhjwubj)}(h,``struct iattr *attr`` attributes to change h](j)}(h``struct iattr *attr``h]j)}(hj(xh]hstruct iattr *attr}(hj*xhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&xubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhj"xubj)}(hhh]h)}(hattributes to changeh]hattributes to change}(hjAxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=xhKhj>xubah}(h]h ]h"]h$]h&]uh1jhj"xubeh}(h]h ]h"]h$]h&]uh1jhj=xhKhjwubeh}(h]h ]h"]h$]h&]uh1jhjwubh)}(h**Description**h]j)}(hjcxh]h Description}(hjexhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaxubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjwubh)}(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 }(hjyxhhhNhNubj)}(h**attr**h]hattr}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyxubhX 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.}(hjyxhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjwubh)}(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}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubhB. This function will then take care to map the inode according to }(hjxhhhNhNubj)}(h **idmap**h]hidmap}(hjxhhhNhNubah}(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}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh.}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjwubh)}(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.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_newsize_ok (C function)c.inode_newsize_okhNtauh1hhjuJhhhNhNubh)}(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}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj yhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj yhhhjyhKubj/)}(hinode_newsize_okh]j5)}(hinode_newsize_okh]hinode_newsize_ok}(hj/yhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+yubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj yhhhjyhKubj)}(h*(const struct inode *inode, loff_t offset)h](j)}(hconst struct inode *inodeh](j )}(hjUh]hconst}(hjKyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGyubj)}(h h]h }(hjXyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGyubj )}(hjzh]hstruct}(hjfyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGyubj)}(h h]h }(hjsyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGyubh)}(hhh]j5)}(hinodeh]hinode}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj)}j]j)}jj1ysbc.inode_newsize_okasbuh1hhjGyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGyubj*)}(hj-h]h*}(hjyhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjGyubj5)}(hinodeh]hinode}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjCyubj)}(h loff_t offseth](h)}(hhh]j5)}(hloff_th]hloff_t}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj)}j]jyc.inode_newsize_okasbuh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj5)}(hoffseth]hoffset}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjCyubeh}(h]h ]h"]h$]h&]jLjMuh1jhj yhhhjyhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjyhhhjyhKubah}(h]jyah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjyhKhjyhhubjc)}(hhh]h)}(h+may this inode be truncated to a given sizeh]h+may this inode be truncated to a given size}(hj1zhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhj.zhhubah}(h]h ]h"]h$]h&]uh1jbhjyhhhjyhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIzjjIzjjjuh1hhhhjuJhNhNubj)}(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)}(hjSzh]h Parameters}(hjUzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQzubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjMzubj)}(hhh](j)}(h8``const struct inode *inode`` the inode to be truncated h](j)}(h``const struct inode *inode``h]j)}(hjrzh]hconst struct inode *inode}(hjtzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpzubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjlzubj)}(hhh]h)}(hthe inode to be truncatedh]hthe inode to be truncated}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhKhjzubah}(h]h ]h"]h$]h&]uh1jhjlzubeh}(h]h ]h"]h$]h&]uh1jhjzhKhjizubj)}(h6``loff_t offset`` the new size to assign to the inode h](j)}(h``loff_t offset``h]j)}(hjzh]h loff_t offset}(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.chKhjzubj)}(hhh]h)}(h#the new size to assign to the inodeh]h#the new size to assign to the inode}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhKhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhKhjizubeh}(h]h ]h"]h$]h&]uh1jhjMzubh)}(h**Description**h]j)}(hjzh]h Description}(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.chKhjMzubh)}(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.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjMzubh)}(hXxinode_newsize_ok will check filesystem limits and ulimits to check that the new inode size is within limits. inode_newsize_ok will also send SIGXFSZ when necessary. Caller must not proceed with inode size change if failure is returned. **inode** must be a file (not directory), with appropriate permissions to allow truncate (inode_newsize_ok does NOT check these conditions).h](hinode_newsize_ok will check filesystem limits and ulimits to check that the new inode size is within limits. inode_newsize_ok will also send SIGXFSZ when necessary. Caller must not proceed with inode size change if failure is returned. }(hj {hhhNhNubj)}(h **inode**h]hinode}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj {ubh must be a file (not directory), with appropriate permissions to allow truncate (inode_newsize_ok does NOT check these conditions).}(hj {hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjMzubh)}(h **Return**h]j)}(hj.{h]hReturn}(hj0{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.chKhjMzubh)}(h"0 on success, -ve errno on failureh]h"0 on success, -ve errno on failure}(hjD{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chKhjMzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsetattr_copy (C function)c.setattr_copyhNtauh1hhjuJhhhNhNubh)}(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}(hjs{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjo{hhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chM>ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjo{hhhj{hM>ubj/)}(h setattr_copyh]j5)}(h setattr_copyh]h setattr_copy}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjo{hhhj{hM>ubj)}(hH(struct mnt_idmap *idmap, struct inode *inode, const struct iattr *attr)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNjj)}j]j)}jj{sbc.setattr_copyasbuh1hhj{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj*)}(hj-h]h*}(hj{hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj{ubj5)}(hidmaph]hidmap}(hj |hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj{ubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj"|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj)}(h h]h }(hj/|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubh)}(hhh]j5)}(hinodeh]hinode}(hj@|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjB|modnameN classnameNjj)}j]j{c.setattr_copyasbuh1hhj|ubj)}(h h]h }(hj^|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubj*)}(hj-h]h*}(hjl|hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj|ubj5)}(hinodeh]hinode}(hjy|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj{ubj)}(hconst struct iattr *attrh](j )}(hjUh]hconst}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubj )}(hjzh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubh)}(hhh]j5)}(hiattrh]hiattr}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj)}j]j{c.setattr_copyasbuh1hhj|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubj*)}(hj-h]h*}(hj|hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj|ubj5)}(hattrh]hattr}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj{ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjo{hhhj{hM>ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjk{hhhj{hM>ubah}(h]jf{ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj{hM>hjh{hhubjc)}(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&]uh1jbhjh{hhhj{hM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjF}jjF}jjjuh1hhhhjuJhNhNubj)}(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)}(hjP}h]h Parameters}(hjR}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN}ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMBhjJ}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)}(hjo}h]hstruct mnt_idmap *idmap}(hjq}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm}ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chM?hji}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&]uh1jhji}ubeh}(h]h ]h"]h$]h&]uh1jhj}hM?hjf}ubj)}(h0``struct inode *inode`` the inode to be updated 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:77: ./fs/attr.chM@hj}ubj)}(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&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hM@hjf}ubj)}(h0``const struct iattr *attr`` the new attributes 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&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMAhj}ubj)}(hhh]h)}(hthe new attributesh]hthe new attributes}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hMAhj}ubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhj}hMAhjf}ubeh}(h]h ]h"]h$]h&]uh1jhjJ}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.chMChjJ}ubh)}(h:setattr_copy must be called with i_rwsem held exclusively.h]h:setattr_copy must be called with i_rwsem held exclusively.}(hj2~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMBhjJ}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.}(hjA~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMDhjJ}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 }(hjP~hhhNhNubj)}(h **idmap**h]hidmap}(hjX~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP~ubhB. This function will then take care to map the inode according to }(hjP~hhhNhNubj)}(h **idmap**h]hidmap}(hjj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP~ubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjP~hhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hj|~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP~ubh.}(hjP~hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMKhjJ}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.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMQhjJ}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnotify_change (C function)c.notify_changehNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhj~hhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~hhhj~hMubj/)}(h notify_changeh]j5)}(h notify_changeh]h notify_change}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj~hhhj~hMubj)}(hm(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr, struct delegated_inode *delegated_inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNjj)}j]j)}jj~sbc.notify_changeasbuh1hhj~ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~ubj*)}(hj-h]h*}(hjMhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj~ubj5)}(hidmaph]hidmap}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj~ubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j;c.notify_changeasbuh1hhjoubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjoubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj~ubj)}(hstruct iattr *attrh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hiattrh]hiattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j;c.notify_changeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj-hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hattrh]hattr}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj~ubj)}(h'struct delegated_inode *delegated_inodeh](j )}(hjzh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubh)}(hhh]j5)}(hdelegated_inodeh]hdelegated_inode}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNjj)}j]j;c.notify_changeasbuh1hhjOubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjOubj5)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj~ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj~hhhj~hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj~hhhj~hMubah}(h]j~ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj~hMhj~hhubjc)}(hhh]h)}(h(modify attributes of a filesystem objecth]h(modify attributes of a filesystem object}(hjԀhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjрhhubah}(h]h ]h"]h$]h&]uh1jbhj~hhhj~hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct dentry *dentry`` object affected ``struct iattr *attr`` new attributes ``struct delegated_inode *delegated_inode`` returns inode, if the inode is delegated **Description** The caller must hold the i_rwsem exclusively on the affected object. If notify_change discovers a delegation in need of breaking, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop the i_rwsem before doing so. Alternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported. Also, passing NULL is fine for callers holding the file open for write, as there can be no conflicting delegation in that case. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hMhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMhj ubj)}(h*``struct dentry *dentry`` object affected h](j)}(h``struct dentry *dentry``h]j)}(hjNh]hstruct dentry *dentry}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjHubj)}(hhh]h)}(hobject affectedh]hobject affected}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchMhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchMhj ubj)}(h&``struct iattr *attr`` new attributes h](j)}(h``struct iattr *attr``h]j)}(hjh]hstruct iattr *attr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjubj)}(hhh]h)}(hnew attributesh]hnew attributes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubj)}(hU``struct delegated_inode *delegated_inode`` returns inode, if the inode is delegated h](j)}(h+``struct delegated_inode *delegated_inode``h]j)}(hjh]h'struct delegated_inode *delegated_inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjubj)}(hhh]h)}(h(returns inode, if the inode is delegatedh]h(returns inode, if the inode is delegated}(hjفhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjՁhMhjցubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjՁhMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjubh)}(hDThe caller must hold the i_rwsem exclusively on the affected object.h]hDThe caller must hold the i_rwsem exclusively on the affected object.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjubh)}(hX1If notify_change discovers a delegation in need of breaking, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop the i_rwsem before doing so.h]hX1If notify_change discovers a delegation in need of breaking, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop the i_rwsem before doing so.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjubh)}(hXAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported. Also, passing NULL is fine for callers holding the file open for write, as there can be no conflicting delegation in that case.h]hXAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported. Also, passing NULL is fine for callers holding the file open for write, as there can be no conflicting delegation in that case.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hj>hhhNhNubj)}(h **idmap**h]hidmap}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubhB. This function will then take care to map the inode according to }(hj>hhhNhNubj)}(h **idmap**h]hidmap}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hj>hhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh.}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:77: ./fs/attr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_path (C function)c.d_pathhNtauh1hhjuJhhhNhNubh)}(hhh](j)}(h>char * d_path (const struct path *path, char *buf, int buflen)h]j)}(h 1 ``loff_t start`` Starting offset. Page containing 'start' is included. ``loff_t end`` End offset. Page containing 'end' is included. If 'end' is LLONG_MAX, pages from 'start' till the end of file are included. **Description** DAX requires ZONE_DEVICE mapped pages. These pages are never 'onlined' to the page allocator so they are considered idle when page->count == 1. A filesystem uses this interface to determine if any page in the mapping is busy, i.e. for DMA, or other get_user_pages() usages. It is expected that the filesystem is holding locks to block the establishment of new mappings in this address_space. I.e. it expects to be able to run unmap_mapping_range() and subsequently not race mapping_mapped() becoming true.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjubj)}(hhh](j)}(hV``struct address_space *mapping`` address space to scan for a page with ref count > 1 h](j)}(h!``struct address_space *mapping``h]j)}(hj-h]hstruct address_space *mapping}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhj'ubj)}(hhh]h)}(h3address space to scan for a page with ref count > 1h]h3address space to scan for a page with ref count > 1}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhj$ubj)}(hG``loff_t start`` Starting offset. Page containing 'start' is included. h](j)}(h``loff_t start``h]j)}(hjfh]h loff_t start}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhj`ubj)}(hhh]h)}(h5Starting offset. Page containing 'start' is included.h]h9Starting offset. Page containing ‘start’ is included.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hMhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhj$ubj)}(h``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)}(hjh]h loff_t end}(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)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj$ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjۇh]h Description}(hj݇hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjهubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjubh)}(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.chMhjubh)}(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdax_iomap_rw (C function)c.dax_iomap_rwhNtauh1hhjuJhhhNhNubh)}(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]j5)}(hssize_th]hssize_t}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj)}j]j)}j dax_iomap_rwsbc.dax_iomap_rwasbuh1hhj+hhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+hhhjShMubj/)}(h dax_iomap_rwh]j5)}(hjPh]h dax_iomap_rw}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj+hhhjShMubj)}(hH(struct kiocb *iocb, struct iov_iter *iter, const struct iomap_ops *ops)h](j)}(hstruct kiocb *iocbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubh)}(hhh]j5)}(hkiocbh]hkiocb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jNc.dax_iomap_rwasbuh1hhj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubj*)}(hj-h]h*}(hjˈhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj}ubj5)}(hiocbh]hiocb}(hj؈hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjyubj)}(hstruct iov_iter *iterh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hiov_iterh]hiov_iter}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jNc.dax_iomap_rwasbuh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj;hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hiterh]hiter}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjyubj)}(hconst struct iomap_ops *opsh](j )}(hjUh]hconst}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubj )}(hjzh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubh)}(hhh]j5)}(h iomap_opsh]h iomap_ops}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jNc.dax_iomap_rwasbuh1hhj]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubj*)}(hj-h]h*}(hjƉhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj]ubj5)}(hopsh]hops}(hjӉhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjyubeh}(h]h ]h"]h$]h&]jLjMuh1jhj+hhhjShMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj'hhhjShMubah}(h]j"ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjShMhj$hhubjc)}(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&]uh1jbhj$hhhjShMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(hjh]h Parameters}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjubj)}(hhh](j)}(h6``struct kiocb *iocb`` The control block for this I/O h](j)}(h``struct kiocb *iocb``h]j)}(hj>h]hstruct kiocb *iocb}(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.chMhj8ubj)}(hhh]h)}(hThe control block for this I/Oh]hThe control block for this I/O}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhj5ubj)}(h=``struct iov_iter *iter`` The addresses to do I/O from or to h](j)}(h``struct iov_iter *iter``h]j)}(hjwh]hstruct iov_iter *iter}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjqubj)}(hhh]h)}(h"The addresses to do I/O from or toh]h"The addresses to do I/O from or to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhj5ubj)}(hF``const struct iomap_ops *ops`` iomap ops passed from the file system h](j)}(h``const struct iomap_ops *ops``h]j)}(hjh]hconst struct iomap_ops *ops}(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)}(h%iomap ops passed from the file systemh]h%iomap ops passed from the file system}(hjɊhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjŊhMhjƊubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjŊhMhj5ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjubh)}(hThis function performs read and write operations to directly mapped persistent memory. The callers needs to take care of read/write exclusion and evicting any page cache pages in the region under I/O.h]hThis function performs read and write operations to directly mapped persistent memory. The callers needs to take care of read/write exclusion and evicting any page cache pages in the region under I/O.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdax_iomap_fault (C function)c.dax_iomap_faulthNtauh1hhjuJhhhNhNubh)}(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]j5)}(h vm_fault_th]h vm_fault_t}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNjj)}j]j)}jdax_iomap_faultsbc.dax_iomap_faultasbuh1hhj,hhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chM ubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,hhhjThM ubj/)}(hdax_iomap_faulth]j5)}(hjQh]hdax_iomap_fault}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj,hhhjThM ubj)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~ubh)}(hhh]j5)}(hvm_faulth]hvm_fault}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jOc.dax_iomap_faultasbuh1hhj~ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~ubj*)}(hj-h]h*}(hj̋hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj~ubj5)}(hvmfh]hvmf}(hjًhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzubj)}(hunsigned int orderh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(horderh]horder}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzubj)}(hunsigned long *pfnph](j)}(hunsignedh]hunsigned}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj?ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubj)}(hlongh]hlong}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj?ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubj*)}(hj-h]h*}(hj{hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj?ubj5)}(hpfnph]hpfnp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzubj)}(hint *iomap_errph](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(h iomap_errph]h iomap_errp}(hjʌhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzubj)}(hconst struct iomap_ops *opsh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjߌubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjߌubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjߌubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjߌubh)}(hhh]j5)}(h iomap_opsh]h iomap_ops}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jOc.dax_iomap_faultasbuh1hhjߌubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjߌubj*)}(hj-h]h*}(hjHhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjߌubj5)}(hopsh]hops}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjߌubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzubeh}(h]h ]h"]h$]h&]jLjMuh1jhj,hhhjThM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj(hhhjThM ubah}(h]j#ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjThM hj%hhubjc)}(hhh]h)}(h!handle a page fault on a DAX fileh]h!handle a page fault on a DAX file}(hjhhhNhNubah}(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&]uh1jbhj%hhhjThM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjubj)}(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}(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.chM hjubj)}(hhh]h)}(hThe description of the faulth]hThe description of the fault}(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)}(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.chM hjubj)}(hhh]h)}(hOrder of the page to fault inh]hOrder of the page to fault in}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hR``unsigned long *pfnp`` PFN to insert for synchronous faults if fsync is required h](j)}(h``unsigned long *pfnp``h]j)}(hj2h]hunsigned long *pfnp}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhj,ubj)}(hhh]h)}(h9PFN to insert for synchronous faults if fsync is requiredh]h9PFN to insert for synchronous faults if fsync is required}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjubj)}(hE``int *iomap_errp`` Storage for detailed error code in case of error h](j)}(h``int *iomap_errp``h]j)}(hjkh]hint *iomap_errp}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMhjeubj)}(hhh]h)}(h0Storage for detailed error code in case of errorh]h0Storage for detailed error code in case of error}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hF``const struct iomap_ops *ops`` Iomap ops passed from the file system h](j)}(h``const struct iomap_ops *ops``h]j)}(hjh]hconst struct iomap_ops *ops}(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)}(h%Iomap ops passed from the file systemh]h%Iomap ops passed from the file system}(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}(hjhhhNhNubah}(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.chMhjubh)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"dax_finish_sync_fault (C function)c.dax_finish_sync_faulthNtauh1hhjuJhhhNhNubh)}(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]j5)}(h vm_fault_th]h vm_fault_t}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNjj)}j]j)}jdax_finish_sync_faultsbc.dax_finish_sync_faultasbuh1hhj hhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMUubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhjHhMUubj/)}(hdax_finish_sync_faulth]j5)}(hjEh]hdax_finish_sync_fault}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhjHhMUubj)}(h=(struct vm_fault *vmf, unsigned int order, unsigned long pfn)h](j)}(hstruct vm_fault *vmfh](j )}(hjzh]hstruct}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubh)}(hhh]j5)}(hvm_faulth]hvm_fault}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jCc.dax_finish_sync_faultasbuh1hhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjrubj5)}(hvmfh]hvmf}(hj͏hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjnubj)}(hunsigned int orderh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(horderh]horder}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjnubj)}(hunsigned long pfnh](j)}(hunsignedh]hunsigned}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj3ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj)}(hlongh]hlong}(hjShhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj3ubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj5)}(hpfnh]hpfn}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjnubeh}(h]h ]h"]h$]h&]jLjMuh1jhj hhhjHhMUubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjHhMUubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjHhMUhjhhubjc)}(hhh]h)}(hfinish synchronous page faulth]hfinish synchronous page fault}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMUhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjHhMUubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMYhjubj)}(hhh](j)}(h6``struct vm_fault *vmf`` The description of the fault h](j)}(h``struct vm_fault *vmf``h]j)}(hjڐh]hstruct vm_fault *vmf}(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.chMVhjԐubj)}(hhh]h)}(hThe description of the faulth]hThe description of the fault}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMVhjubah}(h]h ]h"]h$]h&]uh1jhjԐubeh}(h]h ]h"]h$]h&]uh1jhjhMVhjѐubj)}(h5``unsigned int order`` Order of entry to be inserted h](j)}(h``unsigned int order``h]j)}(hjh]hunsigned int order}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMWhj ubj)}(hhh]h)}(hOrder of entry to be insertedh]hOrder of entry to be inserted}(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$``unsigned long pfn`` PFN to insert h](j)}(h``unsigned long pfn``h]j)}(hjLh]hunsigned long pfn}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMXhjFubj)}(hhh]h)}(h PFN to inserth]h PFN to insert}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahMXhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMXhjѐ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.chMZhjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/dax.chMYhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$simple_rename_timestamp (C function)c.simple_rename_timestamphNtauh1hhjuJhhhNhNubh)}(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}(hj̑hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjȑhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM:ubj)}(h h]h }(hjۑhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjȑhhhjڑhM:ubj/)}(hsimple_rename_timestamph]j5)}(hsimple_rename_timestamph]hsimple_rename_timestamp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjȑhhhjڑhM:ubj)}(hd(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry)h](j)}(hstruct inode *old_dirh](j )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj)modnameN classnameNjj)}j]j)}jjsbc.simple_rename_timestampasbuh1hhjubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjUhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hold_dirh]hold_dir}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *old_dentryh](j )}(hjzh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jCc.simple_rename_timestampasbuh1hhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubj*)}(hj-h]h*}(hjŒhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjwubj5)}(h old_dentryh]h old_dentry}(hjҒhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *new_dirh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jCc.simple_rename_timestampasbuh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj5hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnew_dirh]hnew_dir}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *new_dentryh](j )}(hjzh]hstruct}(hj[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWubh)}(hhh]j5)}(hdentryh]hdentry}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNjj)}j]jCc.simple_rename_timestampasbuh1hhjWubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjWubj5)}(h new_dentryh]h new_dentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjȑhhhjڑhM:ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjđhhhjڑhM:ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjڑhM:hjhhubjc)}(hhh]h)}(h.update the various inode timestamps for renameh]h.update the various inode timestamps for rename}(hjܓhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM:hjٓhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjڑhM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(hjh]hstruct inode *old_dir}(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)}(hold parent directoryh]hold parent directory}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hM;hj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hM;hjubj)}(h;``struct dentry *old_dentry`` dentry that is being renamed h](j)}(h``struct dentry *old_dentry``h]j)}(hjVh]hstruct dentry *old_dentry}(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)}(hdentry that is being renamedh]hdentry that is being renamed}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhM<hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhM<hjubj)}(h/``struct inode *new_dir`` new parent directory h](j)}(h``struct inode *new_dir``h]j)}(hjh]hstruct inode *new_dir}(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)}(hnew parent directoryh]hnew parent directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM=hjubj)}(h0``struct dentry *new_dentry`` target for rename h](j)}(h``struct dentry *new_dentry``h]j)}(hjȔh]hstruct dentry *new_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:86: ./fs/libfs.chM>hj”ubj)}(hhh]h)}(htarget for renameh]htarget for rename}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjݔhM>hjޔubah}(h]h ]h"]h$]h&]uh1jhj”ubeh}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM@hjubh)}(hPOSIX mandates that the old and new parent directories have their ctime and mtime updated, and that inodes of **old_dentry** and **new_dentry** (if any), have their ctime updated.h](hnPOSIX mandates that the old and new parent directories have their ctime and mtime updated, and that inodes of }(hjhhhNhNubj)}(h**old_dentry**h]h old_dentry}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**new_dentry**h]h new_dentry}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh$ (if any), have their ctime updated.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM?hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsimple_setattr (C function)c.simple_setattrhNtauh1hhjuJhhhNhNubh)}(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}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhhjzhMubj/)}(hsimple_setattrh]j5)}(hsimple_setattrh]hsimple_setattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhhjzhMubj)}(hE(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *iattr)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjǕhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjĕubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjɕmodnameN classnameNjj)}j]j)}jjsbc.simple_setattrasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNjj)}j]jc.simple_setattrasbuh1hhjubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjehhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct iattr *iattrh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hiattrh]hiattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.simple_setattrasbuh1hhjubj)}(h h]h }(hjǖhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjՖhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hiattrh]hiattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhhjzhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjdhhhjzhMubah}(h]j_ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjzhMhjahhubjc)}(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&]uh1jbhjahhhjzhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$jj$jjjuh1hhhhjuJhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the target mount ``struct dentry *dentry`` dentry ``struct iattr *iattr`` iattr structure **Description** Returns 0 on success, -error on failure. simple_setattr is a simple ->setattr implementation without a proper implementation of size changes. It can either be used for in-memory filesystems or special files on simple regular filesystems. Anything that needs to change on-disk or wire state on size changes needs its own setattr method.h](h)}(h**Parameters**h]j)}(hj.h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj(ubj)}(hhh](j)}(h6``struct mnt_idmap *idmap`` idmap of the target mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjMh]hstruct mnt_idmap *idmap}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjGubj)}(hhh]h)}(hidmap of the target mounth]hidmap of the target mount}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhMhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjDubj)}(h!``struct dentry *dentry`` 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjDubj)}(h(``struct iattr *iattr`` iattr structure h](j)}(h``struct iattr *iattr``h]j)}(hjh]hstruct iattr *iattr}(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)}(hiattr structureh]hiattr structure}(hjؗhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjԗhMhj՗ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjԗhMhjDubeh}(h]h ]h"]h$]h&]uh1jhj(ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj(ubh)}(h(Returns 0 on success, -error on failure.h]h(Returns 0 on success, -error on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj(ubh)}(hdsimple_setattr is a simple ->setattr implementation without a proper implementation of size changes.h]hdsimple_setattr is a simple ->setattr implementation without a proper implementation of size changes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj(ubh)}(hIt can either be used for in-memory filesystems or special files on simple regular filesystems. Anything that needs to change on-disk or wire state on size changes needs its own setattr method.h]hIt can either be used for in-memory filesystems or special files on simple regular filesystems. Anything that needs to change on-disk or wire state on size changes needs its own setattr method.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$simple_read_from_buffer (C function)c.simple_read_from_bufferhNtauh1hhjuJhhhNhNubh)}(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]j5)}(hssize_th]hssize_t}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNjj)}j]j)}jsimple_read_from_buffersbc.simple_read_from_bufferasbuh1hhjYhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMkubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYhhhjhMkubj/)}(hsimple_read_from_bufferh]j5)}(hj~h]hsimple_read_from_buffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjYhhhjhMkubj)}(hQ(void __user *to, size_t count, loff_t *ppos, const void *from, size_t available)h](j)}(hvoid __user *toh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh__user}(hjhhhNhNubj)}(h h]h }(hjϘhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjݘhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htoh]hto}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t counth](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j|c.simple_read_from_bufferasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hcounth]hcount}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j]j|c.simple_read_from_bufferasbuh1hhjGubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubj*)}(hj-h]h*}(hjzhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjGubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst void *fromh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjəhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjיhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hsize_t availableh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j|c.simple_read_from_bufferasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h availableh]h available}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjYhhhjhMkubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjUhghhjhMkubah}(h]jPah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMkhjRhhubjc)}(hhh]h)}(h'copy data from the buffer to user spaceh]h'copy data from the buffer to user space}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMkhjShhubah}(h]h ]h"]h$]h&]uh1jbhjRhhhjhMkubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhjuJhNhNubj)}(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)}(hjxh]h Parameters}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMohjrubj)}(hhh](j)}(h5``void __user *to`` the user space buffer to read to h](j)}(h``void __user *to``h]j)}(hjh]hvoid __user *to}(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 user space buffer to read toh]h the user space buffer to read to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubj)}(h5``size_t count`` the maximum number of bytes to read h](j)}(h``size_t count``h]j)}(hjКh]h size_t count}(hjҚhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjΚubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMmhjʚubj)}(hhh]h)}(h#the maximum number of bytes to readh]h#the maximum number of bytes to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjʚubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubj)}(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.chMnhjubj)}(hhh]h)}(h"the current position in the bufferh]h"the current position in the buffer}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubj)}(h-``const void *from`` the buffer to read from h](j)}(h``const void *from``h]j)}(hjBh]hconst void *from}(hjDhhhNhNubah}(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.chMohj<ubj)}(hhh]h)}(hthe buffer to read fromh]hthe buffer to read from}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhMohjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMohjubj)}(h,``size_t available`` the size of the buffer h](j)}(h``size_t available``h]j)}(hj{h]hsize_t available}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMphjuubj)}(hhh]h)}(hthe size of the bufferh]hthe size of the buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMphjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhMphjubeh}(h]h ]h"]h$]h&]uh1jhjrubh)}(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.chMrhjrubh)}(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 }(hj̛hhhNhNubj)}(h **count**h]hcount}(hjԛhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̛ubh bytes from the buffer }(hj̛hhhNhNubj)}(h**from**h]hfrom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̛ubh at offset }(hj̛hhhNhNubj)}(h**ppos**h]hppos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̛ubh) into the user space address starting at }(hj̛hhhNhNubj)}(h**to**h]hto}(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:86: ./fs/libfs.chMqhjrubh)}(hOn success, the number of bytes read is returned and the offset **ppos** is advanced by this number, or negative value is returned on error.h](h@On success, the number of bytes read is returned and the offset }(hj#hhhNhNubj)}(h**ppos**h]hppos}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubhD is advanced by this number, or negative value is returned on error.}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMthjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#simple_write_to_buffer (C function)c.simple_write_to_bufferhNtauh1hhjuJhhhNhNubh)}(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]j5)}(hssize_th]hssize_t}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNjj)}j]j)}jsimple_write_to_buffersbc.simple_write_to_bufferasbuh1hhj`hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`hhhjhMubj/)}(hsimple_write_to_bufferh]j5)}(hjh]hsimple_write_to_buffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj`hhhjhMubj)}(hQ(void *to, size_t available, loff_t *ppos, const void __user *from, size_t count)h](j)}(hvoid *toh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjĜhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjҜhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htoh]hto}(hjߜhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hsize_t availableh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.simple_write_to_bufferasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h availableh]h available}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj)}j]jc.simple_write_to_bufferasbuh1hhj<ubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<ubj*)}(hj-h]h*}(hjohhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj<ubj5)}(hpposh]hppos}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst void __user *fromh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh__user}(hjhhhNhNubj)}(h h]h }(hjНhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjޝhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t counth](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jc.simple_write_to_bufferasbuh1hhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hcounth]hcount}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj`hhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj\hhhjhMubah}(h]jWah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjYhhubjc)}(hhh]h)}(h'copy data from user space to the bufferh]h'copy data from user space to the buffer}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjZhhubah}(h]h ]h"]h$]h&]uh1jbhjYhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjujjujjjuh1hhhhjuJhNhNubj)}(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)}(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:86: ./fs/libfs.chMhjyubj)}(hhh](j)}(h$``void *to`` the buffer to write to h](j)}(h ``void *to``h]j)}(hjh]hvoid *to}(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 write toh]hthe buffer to write to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h,``size_t available`` the size of the buffer h](j)}(h``size_t available``h]j)}(hjמh]hsize_t available}(hjٞhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj՞ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjўubj)}(hhh]h)}(hthe size of the bufferh]hthe size of the buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjўubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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.chMhj ubj)}(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&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhjubj)}(h?``const void __user *from`` the user space buffer to read from h](j)}(h``const void __user *from``h]j)}(hjIh]hconst void __user *from}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjCubj)}(hhh]h)}(h"the user space buffer to read fromh]h"the user space buffer to read from}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hMhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hMhjubj)}(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.chMhj|ubj)}(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&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjyubh)}(hThe simple_write_to_buffer() function reads up to **count** bytes from the user space address starting at **from** into the buffer **to** at offset **ppos**.h](h2The simple_write_to_buffer() function reads up to }(hjӟhhhNhNubj)}(h **count**h]hcount}(hj۟hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӟubh/ bytes from the user space address starting at }(hjӟhhhNhNubj)}(h**from**h]hfrom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӟubh into the buffer }(hjӟhhhNhNubj)}(h**to**h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӟubh at offset }(hjӟhhhNhNubj)}(h**ppos**h]hppos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjӟubh.}(hjӟhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjyubh)}(hOn success, the number of bytes written is returned and the offset **ppos** is advanced by this number, or negative value is returned on error.h](hCOn success, the number of bytes written is returned and the offset }(hj*hhhNhNubj)}(h**ppos**h]hppos}(hj2hhhNhNubah}(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.chMhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$memory_read_from_buffer (C function)c.memory_read_from_bufferhNtauh1hhjuJhhhNhNubh)}(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]j5)}(hssize_th]hssize_t}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNjj)}j]j)}jmemory_read_from_buffersbc.memory_read_from_bufferasbuh1hhjghhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjghhhjhMubj/)}(hmemory_read_from_bufferh]j5)}(hjh]hmemory_read_from_buffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjghhhjhMubj)}(hJ(void *to, size_t count, loff_t *ppos, const void *from, size_t available)h](j)}(hvoid *toh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjˠhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj٠hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htoh]hto}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t counth](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.memory_read_from_bufferasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hcounth]hcount}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNjj)}j]jc.memory_read_from_bufferasbuh1hhjCubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj*)}(hj-h]h*}(hjvhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjCubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst void *fromh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjšhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjӡhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hsize_t availableh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.memory_read_from_bufferasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h availableh]h available}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjghhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjchhhjhMubah}(h]j^ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhj`hhubjc)}(hhh]h)}(hcopy data from the bufferh]hcopy data from the buffer}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjOhhubah}(h]h ]h"]h$]h&]uh1jbhj`hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(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:86: ./fs/libfs.chMhjnubj)}(hhh](j)}(h0``void *to`` the kernel space buffer to read to h](j)}(h ``void *to``h]j)}(hjh]hvoid *to}(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 kernel space buffer to read toh]h"the kernel space buffer to read to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``size_t count`` the maximum number of bytes to read h](j)}(h``size_t count``h]j)}(hj̢h]h size_t count}(hj΢hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjʢubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjƢubj)}(hhh]h)}(h#the maximum number of bytes to readh]h#the maximum number of bytes to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjƢubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h-``const void *from`` the buffer to read from h](j)}(h``const void *from``h]j)}(hj>h]hconst void *from}(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.chMhj8ubj)}(hhh]h)}(hthe buffer to read fromh]hthe buffer to read from}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhjubj)}(h,``size_t available`` the size of the buffer h](j)}(h``size_t available``h]j)}(hjwh]hsize_t available}(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 size of the bufferh]hthe size of the buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjnubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjnubh)}(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 }(hjȣhhhNhNubj)}(h **count**h]hcount}(hjУhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȣubh bytes from the buffer }(hjȣhhhNhNubj)}(h**from**h]hfrom}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȣubh at offset }(hjȣhhhNhNubj)}(h**ppos**h]hppos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȣubh+ into the kernel space address starting at }(hjȣhhhNhNubj)}(h**to**h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȣubh.}(hjȣhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjnubh)}(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 }(hjhhhNhNubj)}(h**ppos**h]hppos}(hj'hhhNhNubah}(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.chMhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$generic_encode_ino32_fh (C function)c.generic_encode_ino32_fhhNtauh1hhjuJhhhNhNubh)}(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}(hj`hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj\hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\hhhjnhMubj/)}(hgeneric_encode_ino32_fhh]j5)}(hgeneric_encode_ino32_fhh]hgeneric_encode_ino32_fh}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj\hhhjnhMubj)}(hD(struct inode *inode, __u32 *fh, int *max_len, struct inode *parent)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.generic_encode_ino32_fhasbuh1hhjubj)}(h h]h }(hjۤhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h __u32 *fhh](h)}(hhh]j5)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jפc.generic_encode_ino32_fhasbuh1hhj ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hj>hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hfhh]hfh}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int *max_lenh](j)}(hinth]hint}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj`ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj`ubj5)}(hmax_lenh]hmax_len}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjĥhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjƥmodnameN classnameNjj)}j]jפc.generic_encode_ino32_fhasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj\hhhjnhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjXhhhjnhMubah}(h]jSah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjnhMhjUhhubjc)}(hhh]h)}(h-generic export_operations->encode_fh functionh]h-generic export_operations->encode_fh function}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj$hhubah}(h]h ]h"]h$]h&]uh1jbhjUhhhjnhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhjuJhNhNubj)}(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)}(hjIh]h Parameters}(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.chMhjCubj)}(hhh](j)}(h-``struct inode *inode`` the object to encode 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:86: ./fs/libfs.chMhjbubj)}(hhh]h)}(hthe object to encodeh]hthe object to encode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj_ubj)}(h6``__u32 *fh`` where to store the file handle fragment h](j)}(h ``__u32 *fh``h]j)}(hjh]h __u32 *fh}(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'where to store the file handle fragmenth]h'where to store the file handle fragment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj_ubj)}(hA``int *max_len`` maximum length to store there (in 4 byte units) h](j)}(h``int *max_len``h]j)}(hjڦh]h int *max_len}(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/maximum length to store there (in 4 byte units)h]h/maximum length to store there (in 4 byte units)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjԦubeh}(h]h ]h"]h$]h&]uh1jhjhMhj_ubj)}(h;``struct inode *parent`` parent directory inode, if wanted h](j)}(h``struct inode *parent``h]j)}(hjh]hstruct inode *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj ubj)}(hhh]h)}(h!parent directory inode, if wantedh]h!parent directory inode, if wanted}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhj_ubeh}(h]h ]h"]h$]h&]uh1jhjCubh)}(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:86: ./fs/libfs.chMhjCubh)}(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.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!generic_fh_to_dentry (C function)c.generic_fh_to_dentryhNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jgeneric_fh_to_dentrysbc.generic_fh_to_dentryasbuh1hhjhhhjhMubj)}(h h]h }(hjӧhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hgeneric_fh_to_dentryh]j5)}(hjЧh]hgeneric_fh_to_dentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(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 )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(h super_blockh]h super_block}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNjj)}j]jΧc.generic_fh_to_dentryasbuh1hhj ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hjWhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hsbh]hsb}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct fid *fidh](j )}(hjzh]hstruct}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubh)}(hhh]j5)}(hfidh]hfid}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jΧc.generic_fh_to_dentryasbuh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj*)}(hj-h]h*}(hjǨhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjyubj5)}(hfidh]hfid}(hjԨhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int fh_lenh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hfh_lenh]hfh_len}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int fh_typeh](j)}(hinth]hint}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hfh_typeh]hfh_type}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hDstruct inode *(*get_inode)(struct super_block *sb, u64 ino, u32 gen)h](j )}(hjzh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubh)}(hhh]j5)}(hinodeh]hinode}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNjj)}j]jΧc.generic_fh_to_dentryasbuh1hhjSubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjSubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjSubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjSubj5)}(h get_inodeh]h get_inode}(hjȩhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubj*)}(hjh]h)}(hj֩hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjSubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjSubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jΧc.generic_fh_to_dentryasbuh1hhjSubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubj*)}(hj-h]h*}(hj:hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjSubj5)}(hsbh]hsb}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubj*)}(hjSh]h,}(hjUhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjSubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubh)}(hhh]j5)}(hu64h]hu64}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNjj)}j]jΧc.generic_fh_to_dentryasbuh1hhjSubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubj5)}(hinoh]hino}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubj*)}(hjSh]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjSubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubh)}(hhh]j5)}(hu32h]hu32}(hj˪hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjȪubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjͪmodnameN classnameNjj)}j]jΧc.generic_fh_to_dentryasbuh1hhjSubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubj5)}(hgenh]hgen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjSubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h4generic helper for the fh_to_dentry export operationh]h4generic helper for the fh_to_dentry export operation}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj+hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1hhhhjuJhNhNubj)}(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)}(hjPh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjJubj)}(hhh](j)}(hJ``struct super_block *sb`` filesystem to do the file handle conversion on h](j)}(h``struct super_block *sb``h]j)}(hjoh]hstruct super_block *sb}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjiubj)}(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&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMhjfubj)}(h+``struct fid *fid`` file handle to convert h](j)}(h``struct fid *fid``h]j)}(hjh]hstruct fid *fid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(hfile handle to converth]hfile handle to convert}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjfubj)}(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&]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"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&]uh1jhj۫ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjfubj)}(h$``int fh_type`` type of file handle h](j)}(h``int fh_type``h]j)}(hjh]h int fh_type}(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)}(htype of file handleh]htype of file handle}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjfubj)}(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)}(hjSh]hEstruct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjMubj)}(hhh]h)}(h%filesystem callback to retrieve inodeh]h%filesystem callback to retrieve inode}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjfubeh}(h]h ]h"]h$]h&]uh1jhjJubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjJubh)}(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 }(hjhhhNhNubj)}(h**fid**h]hfid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhJ as long as it has one of the well-known Linux filehandle types and calls }(hjhhhNhNubj)}(h **get_inode**h]h get_inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhI on it to retrieve the inode for the object specified in the file handle.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!generic_fh_to_parent (C function)c.generic_fh_to_parenthNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jgeneric_fh_to_parentsbc.generic_fh_to_parentasbuh1hhjhhhjhMubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hjEhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hgeneric_fh_to_parenth]j5)}(hj4h]hgeneric_fh_to_parent}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(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 )}(hjzh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j2c.generic_fh_to_parentasbuh1hhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjmubj5)}(hsbh]hsb}(hjȭhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(hstruct fid *fidh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjݭubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjݭubh)}(hhh]j5)}(hfidh]hfid}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j2c.generic_fh_to_parentasbuh1hhjݭubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjݭubj*)}(hj-h]h*}(hj+hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjݭubj5)}(hfidh]hfid}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjݭubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(h int fh_lenh](j)}(hinth]hint}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjMubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubj5)}(hfh_lenh]hfh_len}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(h int fh_typeh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hfh_typeh]hfh_type}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(hDstruct inode *(*get_inode)(struct super_block *sb, u64 ino, u32 gen)h](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjȮhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjٮhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj֮ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjۮmodnameN classnameNjj)}j]j2c.generic_fh_to_parentasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(h get_inodeh]h get_inode}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjh]h)}(hj:hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjƗh]h(}(hjGhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj)}j]j2c.generic_fh_to_parentasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjSh]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hjƯhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hu64h]hu64}(hjׯhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjԯubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjٯmodnameN classnameNjj)}j]j2c.generic_fh_to_parentasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hinoh]hino}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjSh]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hu32h]hu32}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNjj)}j]j2c.generic_fh_to_parentasbuh1hhjubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hgenh]hgen}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjh]h)}(hjihhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h4generic helper for the fh_to_parent export operationh]h4generic helper for the fh_to_parent 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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh](j)}(hJ``struct super_block *sb`` filesystem to do the file handle conversion on h](j)}(h``struct super_block *sb``h]j)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjͰubeh}(h]h ]h"]h$]h&]uh1jhjhMhjʰubj)}(h+``struct fid *fid`` file handle to convert h](j)}(h``struct fid *fid``h]j)}(hj h]hstruct fid *fid}(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)}(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!hMhjʰubj)}(h2``int fh_len`` length of the file handle in bytes h](j)}(h``int fh_len``h]j)}(hjEh]h int fh_len}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhj?ubj)}(hhh]h)}(h"length of the file handle in bytesh]h"length of the file handle in bytes}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhMhj[ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhjZhMhjʰubj)}(h$``int fh_type`` type of file handle h](j)}(h``int fh_type``h]j)}(hj~h]h int fh_type}(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.chMhjxubj)}(hhh]h)}(htype of file handleh]htype of file handle}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhjʰubj)}(hp``struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)`` filesystem callback to retrieve inode h](j)}(hI``struct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)``h]j)}(hjh]hEstruct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(h%filesystem callback to retrieve inodeh]h%filesystem callback to retrieve inode}(hjбhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj̱hMhjͱubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̱hMhjʰubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]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 _parent_ object specified in the file handle if it is specified in the file handle, or NULL otherwise.h](hThis function decodes }(hjhhhNhNubj)}(h**fid**h]hfid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhJ as long as it has one of the well-known Linux filehandle types and calls }(hjhhhNhNubj)}(h **get_inode**h]h get_inode}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh on it to retrieve the inode for the _parent_ object specified in the file handle if it is specified in the file handle, or NULL otherwise.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__generic_file_fsync (C function)c.__generic_file_fsynchNtauh1hhjuJhhhNhNubh)}(hhh](j)}(hTint __generic_file_fsync (struct file *file, loff_t start, loff_t end, int datasync)h]j)}(hSint __generic_file_fsync(struct file *file, loff_t start, loff_t end, int datasync)h](j)}(hinth]hint}(hj[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjWhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWhhhjihMubj/)}(h__generic_file_fsynch]j5)}(h__generic_file_fsynch]h__generic_file_fsync}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjWhhhjihMubj)}(h;(struct file *file, loff_t start, loff_t end, int datasync)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj~sbc.__generic_file_fsyncasbuh1hhjubj)}(h h]h }(hjֲhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t starth](h)}(hhh]j5)}(hloff_th]hloff_t}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jҲc.__generic_file_fsyncasbuh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hstarth]hstart}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t endh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNjj)}j]jҲc.__generic_file_fsyncasbuh1hhjNubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubj5)}(hendh]hend}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int datasynch](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hdatasynch]hdatasync}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjWhhhjihMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjShhhjihMubah}(h]jNah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjihMhjPhhubjc)}(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.chMhjݳhhubah}(h]h ]h"]h$]h&]uh1jbhjPhhhjihMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(hX**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 is a generic implementation of the fsync method for simple filesystems which track all non-inode metadata in the buffers list hanging off the address_space structure.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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubj)}(hhh]h)}(hfile to synchronizeh]hfile to synchronize}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hMhjubj)}(h'``loff_t start`` start offset in bytes h](j)}(h``loff_t start``h]j)}(hjZh]h loff_t start}(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.chM hjTubj)}(hhh]h)}(hstart offset in bytesh]hstart offset in bytes}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohM hjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohM hjubj)}(h/``loff_t end`` end offset in bytes (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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM hjubj)}(hhh]h)}(hend offset in bytes (inclusive)h]hend offset in bytes (inclusive)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(h=``int datasync`` only synchronize essential metadata if true h](j)}(h``int datasync``h]j)}(hj̴h]h int datasync}(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)}(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&]uh1jhjƴubeh}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM hjubh)}(hThis is a generic implementation of the fsync method for simple filesystems which track all non-inode metadata in the buffers list hanging off the address_space structure.h]hThis is a generic implementation of the fsync method for simple filesystems which track all non-inode metadata in the buffers list hanging off the address_space structure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_file_fsync (C function)c.generic_file_fsynchNtauh1hhjuJhhhNhNubh)}(hhh](j)}(hRint generic_file_fsync (struct file *file, loff_t start, loff_t end, int datasync)h]j)}(hQint generic_file_fsync(struct file *file, loff_t start, loff_t end, int datasync)h](j)}(hinth]hint}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjHhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM2ubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHhhhjZhM2ubj/)}(hgeneric_file_fsynch]j5)}(hgeneric_file_fsynch]hgeneric_file_fsync}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjHhhhjZhM2ubj)}(h;(struct file *file, loff_t start, loff_t end, int datasync)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjosbc.generic_file_fsyncasbuh1hhjubj)}(h h]h }(hjǵhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjյhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t starth](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jõc.generic_file_fsyncasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hstarth]hstart}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t endh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNjj)}j]jõc.generic_file_fsyncasbuh1hhj?ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubj5)}(hendh]hend}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int datasynch](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hdatasynch]hdatasync}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjHhhhjZhM2ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjDhhhjZhM2ubah}(h]j?ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjZhM2hjAhhubjc)}(hhh]h)}(h>generic fsync implementation for simple filesystems with flushh]h>generic fsync implementation for simple filesystems with flush}(hjѶhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM2hjζhhubah}(h]h ]h"]h$]h&]uh1jbhjAhhhjZhM2ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(h**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 trueh](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.chM6hjubj)}(hhh](j)}(h*``struct file *file`` file to synchronize h](j)}(h``struct file *file``h]j)}(hjh]hstruct file *file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM4hj ubj)}(hhh]h)}(hfile to synchronizeh]hfile to synchronize}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hM4hj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hM4hj ubj)}(h'``loff_t start`` start offset in bytes h](j)}(h``loff_t start``h]j)}(hjKh]h loff_t start}(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.chM5hjEubj)}(hhh]h)}(hstart offset in bytesh]hstart offset in bytes}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hM5hjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhj`hM5hj ubj)}(h/``loff_t end`` end offset in bytes (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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM6hj~ubj)}(hhh]h)}(hend offset in bytes (inclusive)h]hend offset in bytes (inclusive)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM6hjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhjhM6hj ubj)}(h<``int datasync`` only synchronize essential metadata if trueh](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.chM8hjubj)}(hhh]h)}(h+only synchronize essential metadata if trueh]h+only synchronize essential metadata if true}(hjַhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM7hjӷubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjҷhM8hj ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&generic_check_addressable (C function)c.generic_check_addressablehNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMIubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj%hMIubj/)}(hgeneric_check_addressableh]j5)}(hgeneric_check_addressableh]hgeneric_check_addressable}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj%hMIubj)}(h)(unsigned blocksize_bits, u64 num_blocks)h](j)}(hunsigned blocksize_bitsh](j)}(hunsignedh]hunsigned}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjPubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj5)}(hblocksize_bitsh]hblocksize_bits}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjLubj)}(hu64 num_blocksh](h)}(hhh]j5)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj:sbc.generic_check_addressableasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h num_blocksh]h num_blocks}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjLubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj%hMIubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj%hMIubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj%hMIhj hhubjc)}(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.chMIhjhhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj%hMIubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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.chMMhjubj)}(hhh](j)}(h:``unsigned blocksize_bits`` log of file system block size h](j)}(h``unsigned blocksize_bits``h]j)}(hj%h]hunsigned blocksize_bits}(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.chMJhjubj)}(hhh]h)}(hlog of file system block sizeh]hlog of file system block size}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hMJhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMJhjubj)}(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.chMKhjXubj)}(hhh]h)}(hnumber of blocks in file systemh]hnumber of blocks in file system}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshMKhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMKhjubeh}(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.chMMhjubh)}(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.chMLhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsimple_get_link (C function)c.simple_get_linkhNtauh1hhjuJhhhNhNubh)}(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 )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj)}(hcharh]hchar}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hj(hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hsimple_get_linkh]j5)}(hsimple_get_linkh]hsimple_get_link}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hG(struct dentry *dentry, struct inode *inode, struct delayed_call *done)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQubh)}(hhh]j5)}(hdentryh]hdentry}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNjj)}j]j)}jj;sbc.simple_get_linkasbuh1hhjQubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjQubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjǺhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjúubj)}(h h]h }(hjԺhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjúubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.simple_get_linkasbuh1hhjúubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjúubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjúubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjúubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubj)}(hstruct delayed_call *doneh](j )}(hjzh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubh)}(hhh]j5)}(h delayed_callh]h delayed_call}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNjj)}j]jc.simple_get_linkasbuh1hhj3ubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj5)}(hdoneh]hdone}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjлjjлjjjuh1hhhhjuJhNhNubj)}(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)}(hjڻh]h Parameters}(hjܻhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjػubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjԻubj)}(hhh](j)}(h(``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)}(hj2h]hstruct inode *inode}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhjubj)}(h,``struct delayed_call *done`` not used here h](j)}(h``struct delayed_call *done``h]j)}(hjkh]hstruct delayed_call *done}(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.chMhjeubj)}(hhh]h)}(h not used hereh]h not used here}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(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:86: ./fs/libfs.chMhjԻubh)}(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.chMhjԻubh)}(h **Return**h]j)}(hjͼh]hReturn}(hjϼhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˼ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjԻubh)}(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.chMhjԻubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!generic_ci_d_compare (C function)c.generic_ci_d_comparehNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMubj/)}(hgeneric_ci_d_compareh]j5)}(hgeneric_ci_d_compareh]hgeneric_ci_d_compare}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hMubj)}(hY(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name)h](j)}(hconst struct dentry *dentryh](j )}(hjUh]hconst}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubj )}(hjzh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj5sbc.generic_ci_d_compareasbuh1hhjKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjKubj5)}(hdentryh]hdentry}(hjýhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjGubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjܽhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjؽubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjؽubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjؽubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjؽubj5)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjؽubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjGubj)}(hconst char *strh](j )}(hjUh]hconst}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)ubj)}(hcharh]hchar}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj)ubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)ubj*)}(hj-h]h*}(hjdhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj)ubj5)}(hstrh]hstr}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjGubj)}(hconst struct qstr *nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hqstrh]hqstr}(hjþhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjžmodnameN classnameNjj)}j]jc.generic_ci_d_compareasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjGubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhjhhubjc)}(hhh]h)}(hjj>jjjuh1hhhhjuJhNhNubj)}(hX-**Parameters** ``const struct dentry *dentry`` dentry whose name we are checking against ``unsigned int len`` len of name of dentry ``const char *str`` str pointer to name of dentry ``const struct qstr *name`` Name to compare against **Return** 0 if names match, 1 if mismatch, or -ERRNOh](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:86: ./fs/libfs.chM hjBubj)}(hhh](j)}(hJ``const struct dentry *dentry`` dentry whose name we are checking against h](j)}(h``const struct dentry *dentry``h]j)}(hjgh]hconst struct dentry *dentry}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjaubj)}(hhh]h)}(h)dentry whose name we are checking againsth]h)dentry whose name we are checking against}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj^ubj)}(h+``unsigned int len`` len of name of dentry h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int 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)}(hlen of name of dentryh]hlen of name of dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj^ubj)}(h2``const char *str`` str pointer to name of dentry h](j)}(h``const char *str``h]j)}(hjٿh]hconst char *str}(hjۿhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj׿ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjӿubj)}(hhh]h)}(hstr pointer to name of dentryh]hstr pointer to name of dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjӿubeh}(h]h ]h"]h$]h&]uh1jhjhMhj^ubj)}(h4``const struct qstr *name`` Name to compare against 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.chM hj ubj)}(hhh]h)}(hName to compare againsth]hName to compare against}(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&]uh1jhjBubh)}(h **Return**h]j)}(hjMh]hReturn}(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.chM hjBubh)}(h*0 if names match, 1 if mismatch, or -ERRNOh]h*0 if names match, 1 if mismatch, or -ERRNO}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM hjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_ci_d_hash (C function)c.generic_ci_d_hashhNtauh1hhjuJhhhNhNubh)}(hhh](j)}(hEint generic_ci_d_hash (const struct dentry *dentry, struct qstr *str)h]j)}(hDint generic_ci_d_hash(const struct dentry *dentry, struct qstr *str)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM=ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM=ubj/)}(hgeneric_ci_d_hashh]j5)}(hgeneric_ci_d_hashh]hgeneric_ci_d_hash}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM=ubj)}(h/(const struct dentry *dentry, struct qstr *str)h](j)}(hconst struct dentry *dentryh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j)}jjsbc.generic_ci_d_hashasbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj6hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct qstr *strh](j )}(hjzh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubh)}(hhh]j5)}(hqstrh]hqstr}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj)}j]j$c.generic_ci_d_hashasbuh1hhjXubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjXubj5)}(hstrh]hstr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM=ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM=ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM=hjhhubjc)}(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.chM=hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM=ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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.chMAhjubj)}(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}(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.chM>hjubj)}(hhh]h)}(hdentry of the parent directoryh]hdentry of the parent directory}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hM>hj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hM>hjubj)}(h?``struct qstr *str`` qstr of name whose hash we should fill in h](j)}(h``struct qstr *str``h]j)}(hjWh]hstruct qstr *str}(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.chM?hjQubj)}(hhh]h)}(h)qstr of name whose hash we should fill inh]h)qstr of name whose hash we should fill in}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhM?hjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhM?hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(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.chMAhjubh)}(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.chMAhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_ci_match (C function)c.generic_ci_matchhNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM]ubj/)}(hgeneric_ci_matchh]j5)}(hgeneric_ci_matchh]hgeneric_ci_match}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM]ubj)}(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 )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j]j)}jjsbc.generic_ci_matchasbuh1hhjubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj{hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hconst struct qstr *nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hqstrh]hqstr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jic.generic_ci_matchasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hconst struct qstr *folded_nameh](j )}(hjUh]hconst}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj )}(hjzh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubh)}(hhh]j5)}(hqstrh]hqstr}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNjj)}j]jic.generic_ci_matchasbuh1hhj(ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj(ubj5)}(h folded_nameh]h folded_name}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hconst u8 *de_nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jic.generic_ci_matchasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hde_nameh]hde_name}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hu32 de_name_lenh](h)}(hhh]j5)}(hu32h]hu32}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNjj)}j]jic.generic_ci_matchasbuh1hhj#ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubj5)}(h de_name_lenh]h de_name_len}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM]ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM]ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM]hjhhubjc)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chM]hj}hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM]ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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.chMahjubj)}(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.chMahjubj)}(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&]uh1hhjhMahjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMahjubj)}(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.chMbhjubj)}(hhh]h)}(hname under lookup.h]hname under lookup.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMbhjubj)}(hI``const struct qstr *folded_name`` Optional pre-folded name under lookup h](j)}(h"``const struct qstr *folded_name``h]j)}(hj3h]hconst struct qstr *folded_name}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMchj-ubj)}(hhh]h)}(h%Optional pre-folded name under lookuph]h%Optional pre-folded name under lookup}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhMchjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMchjubj)}(h#``const u8 *de_name`` Dirent name. h](j)}(h``const u8 *de_name``h]j)}(hjlh]hconst u8 *de_name}(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.chMdhjfubj)}(hhh]h)}(h Dirent name.h]h Dirent name.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjubj)}(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.chMehjubj)}(hhh]h)}(hdirent name length.h]hdirent name length.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMehjubeh}(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)}(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.chMfhjubh)}(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:86: ./fs/libfs.chMjhjubh)}(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.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMkhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!generic_set_sb_d_ops (C function)c.generic_set_sb_d_opshNtauh1hhjuJhhhNhNubh)}(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}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjlhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlhhhj~hMubj/)}(hgeneric_set_sb_d_opsh]j5)}(hgeneric_set_sb_d_opsh]hgeneric_set_sb_d_ops}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjlhhhj~hMubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.generic_set_sb_d_opsasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjlhhhj~hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhhj~hMubah}(h]jcah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj~hMhjehhubjc)}(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}(hj0hhhNhNubah}(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&]uh1jbhjehhhj~hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHjjHjjjuh1hhhhjuJhNhNubj)}(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)}(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:86: ./fs/libfs.chMhjLubj)}(hhh]j)}(h7``struct super_block *sb`` superblock to be configured h](j)}(h``struct super_block *sb``h]j)}(hjqh]hstruct super_block *sb}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjkubj)}(hhh]h)}(hsuperblock to be configuredh]hsuperblock to be configured}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubh)}(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.chMhjLubh)}(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.chMhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%inode_maybe_inc_iversion (C function)c.inode_maybe_inc_iversionhNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hinode_maybe_inc_iversionh]j5)}(hinode_maybe_inc_iversionh]hinode_maybe_inc_iversion}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h!(struct inode *inode, bool force)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)ubh)}(hhh]j5)}(hinodeh]hinode}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNjj)}j]j)}jjsbc.inode_maybe_inc_iversionasbuh1hhj)ubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)ubj*)}(hj-h]h*}(hjyhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj)ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj%ubj)}(h bool forceh](j)}(hjh]hbool}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hforceh]hforce}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj%ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(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:86: ./fs/libfs.chMhjubj)}(hhh]h)}(h/inode with the i_version that should be updatedh]h/inode with the i_version that should be updated}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjubj)}(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.chMhjXubj)}(hhh]h)}(h1increment the counter even if it's not necessary?h]h3increment the counter even if it’s not necessary?}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubeh}(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)}(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!inode_query_iversion (C function)c.inode_query_iversionhNtauh1hhjuJhhhNhNubh)}(hhh](j)}(h.u64 inode_query_iversion (struct inode *inode)h]j)}(h-u64 inode_query_iversion(struct inode *inode)h](h)}(hhh]j5)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jinode_query_iversionsbc.inode_query_iversionasbuh1hhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj/hMubj/)}(hinode_query_iversionh]j5)}(hj,h]hinode_query_iversion}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj/hMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubh)}(hhh]j5)}(hinodeh]hinode}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj)}j]j*c.inode_query_iversionasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjYubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjUubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj/hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj/hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj/hMhjhhubjc)}(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&]uh1jbhjhhhj/hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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}(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)}(h)inode from which i_version should be readh]h)inode from which i_version should be read}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjZh]h Description}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/libfs.chMhjubh)}(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.}(hjphhhNhNubah}(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.}(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!simple_inode_init_ts (C function)c.simple_inode_init_tshNtauh1hhjuJhhhNhNubh)}(hhh](j)}(h(struct mnt_idmap *idmap, struct dentry *dentry, umode_t mode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj)}j]j)}jjsbc.posix_acl_chmodasbuh1hhjubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj_hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hidmaph]hidmap}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jMc.posix_acl_chmodasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jMc.posix_acl_chmodasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMOubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMOubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMOhjhhubjc)}(hhh]h)}(hchmod a posix aclh]hchmod a posix acl}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMOhjKhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhjuJhNhNubj)}(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)}(hjph]h Parameters}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMShjjubj)}(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.chMQhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubj)}(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&]uh1jhjhMRhjubj)}(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.chMShj ubj)}(hhh]h)}(hthe new mode of **inode**h](hthe new mode of }(hj,hhhNhNubj)}(h **inode**h]hinode}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1hhj(hMShj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMShjubeh}(h]h ]h"]h$]h&]uh1jhjjubh)}(h**Description**h]j)}(hj\h]h Description}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMUhjjubh)}(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 }(hjrhhhNhNubj)}(h **idmap**h]hidmap}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubhB. This function will then take care to map the inode according to }(hjrhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjrhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubh.}(hjrhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMThjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"posix_acl_update_mode (C function)c.posix_acl_update_modehNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hposix_acl_update_modeh]j5)}(hposix_acl_update_modeh]hposix_acl_update_mode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hW(struct mnt_idmap *idmap, struct inode *inode, umode_t *mode_p, struct posix_acl **acl)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj)}j]j)}jjsbc.posix_acl_update_modeasbuh1hhjubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj`hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hidmaph]hidmap}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jNc.posix_acl_update_modeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(humode_t *mode_ph](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jNc.posix_acl_update_modeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj%hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hmode_ph]hmode_p}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hstruct posix_acl **aclh](j )}(hjzh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubh)}(hhh]j5)}(h posix_aclh]h posix_acl}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNjj)}j]jNc.posix_acl_update_modeasbuh1hhjGubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjGubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjGubj5)}(haclh]hacl}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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 }(hj3hhhNhNubj)}(h **inode**h]hinode}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh was found from}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjubj)}(h%``struct inode *inode`` target inode h](j)}(h``struct inode *inode``h]j)}(hjeh]hstruct inode *inode}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(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&]uh1hhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjubj)}(h.``umode_t *mode_p`` mode (pointer) for update h](j)}(h``umode_t *mode_p``h]j)}(hjh]humode_t *mode_p}(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)}(hmode (pointer) for updateh]hmode (pointer) for update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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 }(hj(hhhNhNubj)}(h***acl**h]h*acl}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh/ to NULL to indicate that no ACL should be set.}(hj(hhhNhNubeh}(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).}(hjIhhhNhNubah}(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 }(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&]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.}(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!posix_acl_from_xattr (C function)c.posix_acl_from_xattrhNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(h posix_aclh]h posix_acl}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jposix_acl_from_xattrsbc.posix_acl_from_xattrasbuh1hhjhhhjhMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hposix_acl_from_xattrh]j5)}(hj h]hposix_acl_from_xattr}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h?(struct user_namespace *userns, const void *value, size_t size)h](j)}(hstruct user_namespace *usernsh](j )}(hjzh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubh)}(hhh]j5)}(huser_namespaceh]huser_namespace}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j]jc.posix_acl_from_xattrasbuh1hhjBubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjBubj5)}(husernsh]huserns}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubj)}(hconst void *valueh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubj)}(h size_t sizeh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.posix_acl_from_xattrasbuh1hhjubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hsizeh]hsize}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h3convert POSIX ACLs from backing store to VFS formath]h3convert POSIX ACLs from backing store to VFS format}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjihhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(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 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}(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.chMhjubj)}(hhh]h)}(hthe size of **void**h](h the size of }(hj8hhhNhNubj)}(h**void**h]hvoid}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1hhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjhh]h Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubh)}(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.chMhjubh)}(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 }(hjhhhNhNubj)}(h **userns**h]huserns}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubh)}(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.chMhjubh)}(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.chMhjubh)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_set_acl (C function) c.vfs_set_aclhNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chM6ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM6ubj/)}(h vfs_set_aclh]j5)}(h vfs_set_aclh]h vfs_set_acl}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM6ubj)}(h^(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name, struct posix_acl *kacl)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNjj)}j]j)}jj'sb c.vfs_set_aclasbuh1hhj=ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj=ubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj9ubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j{ c.vfs_set_aclasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj9ubj)}(hconst char *acl_nameh](j )}(hjUh]hconst}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjZhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hacl_nameh]hacl_name}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj9ubj)}(hstruct posix_acl *kaclh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubh)}(hhh]j5)}(h posix_aclh]h posix_acl}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j{ c.vfs_set_aclasbuh1hhj|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj|ubj5)}(hkaclh]hkacl}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj9ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM6ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM6ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM6hjhhubjc)}(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&]uh1jbhjhhhjhM6ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(hj#h]h Parameters}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chM:hjubj)}(hhh](j)}(h/``struct mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjBh]hstruct mnt_idmap *idmap}(hjDhhhNhNubah}(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.chM7hj<ubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhM7hjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhM7hj9ubj)}(hJ``struct dentry *dentry`` the dentry based on which to set the posix acls h](j)}(h``struct dentry *dentry``h]j)}(hj{h]hstruct dentry *dentry}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chM8hjuubj)}(hhh]h)}(h/the dentry based on which to set the posix aclsh]h/the dentry based on which to set the posix acls}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhM8hj9ubj)}(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&]uh1jhjhM9hj9ubj)}(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:hj9ubeh}(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chM<hjubh)}(h\This function sets **kacl**. The caller must all posix_acl_release() on **kacl** afterwards.h](hThis function sets }(hj>hhhNhNubj)}(h**kacl**h]hkacl}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh-. The caller must all posix_acl_release() on }(hj>hhhNhNubj)}(h**kacl**h]hkacl}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh afterwards.}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chM;hjubh)}(h **Return**h]j)}(hjsh]hReturn}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(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.}(hjhhhNhNubah}(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_get_acl (C function) c.vfs_get_aclhNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(h posix_aclh]h posix_acl}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j vfs_get_aclsb c.vfs_get_aclasbuh1hhjhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(h vfs_get_aclh]j5)}(hjh]h vfs_get_acl}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hF(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNjj)}j]j c.vfs_get_aclasbuh1hhj.ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubj*)}(hj-h]h*}(hj|hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj.ubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj*ubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.vfs_get_aclasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj*ubj)}(hconst char *acl_nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjIhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hacl_nameh]hacl_name}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj*ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hget posix aclsh]hget posix acls}(hjhhhNhNubah}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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.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)}(hj3h]hconst char *acl_name}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhj-ubj)}(hhh]h)}(hthe name of the posix aclh]hthe name of the posix acl}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhMhjIubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjnh]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubh)}(hjThis function retrieves **kacl** from the filesystem. The caller must all posix_acl_release() on **kacl**.h](hThis function retrieves }(hjhhhNhNubj)}(h**kacl**h]hkacl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhA from the filesystem. The caller must all posix_acl_release() on }(hjhhhNhNubj)}(h**kacl**h]hkacl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhjubh)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_remove_acl (C function)c.vfs_remove_aclhNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMubj/)}(hvfs_remove_aclh]j5)}(hvfs_remove_aclh]hvfs_remove_acl}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hMubj)}(hF(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNjj)}j]j)}jj!sbc.vfs_remove_aclasbuh1hhj7ubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7ubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj3ubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]juc.vfs_remove_aclasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj3ubj)}(hconst char *acl_nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjThhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hacl_nameh]hacl_name}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj3ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhjhhubjc)}(hhh]h)}(hremove posix aclsh]hremove posix acls}(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&]uh1jbhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(hj>h]hconst char *acl_name}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/posix_acl.chMhj8ubj)}(hhh]h)}(hthe name of the posix aclh]hthe name of the posix acl}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjyh]h Description}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(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.}(hjhhhNhNubah}(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&]uh1jhjubah}(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfill_mg_cmtime (C function)c.fill_mg_cmtimehNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chK ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhK ubj/)}(hfill_mg_cmtimeh]j5)}(hfill_mg_cmtimeh]hfill_mg_cmtime}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhK ubj)}(h;(struct kstat *stat, u32 request_mask, struct inode *inode)h](j)}(hstruct kstat *stath](j )}(hjzh]hstruct}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hkstath]hkstat}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNjj)}j]j)}jjsbc.fill_mg_cmtimeasbuh1hhjubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjnhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hstath]hstat}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hu32 request_maskh](h)}(hhh]j5)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j\c.fill_mg_cmtimeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h request_maskh]h request_mask}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j\c.fill_mg_cmtimeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj&hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhK ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhK ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhK hjhhubjc)}(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 hjZhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhK ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjujjujjjuh1hhhhjuJhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chK$hjyubj)}(hhh](j)}(h;``struct kstat *stat`` where to store the resulting values 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.chK!hjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK!hjubj)}(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"hjubj)}(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#hj ubj)}(hhh]h)}(h$inode from which to grab the c/mtimeh]h$inode from which to grab the c/mtime}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hK#hj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hK#hjubeh}(h]h ]h"]h$]h&]uh1jhjyubh)}(h**Description**h]j)}(hjKh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chK%hjyubh)}(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 }(hjahhhNhNubj)}(h **inode**h]hinode}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh=, grab the ctime and mtime out if it and store the result in }(hjahhhNhNubj)}(h**stat**h]hstat}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubhr. When fetching the value, flag it as QUERIED (if not already) so the next write will record a distinct timestamp.}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chK$hjyubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chK(hjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_fillattr (C function)c.generic_fillattrhNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKBubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKBubj/)}(hgeneric_fillattrh]j5)}(hgeneric_fillattrh]hgeneric_fillattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKBubj)}(hT(struct mnt_idmap *idmap, u32 request_mask, struct inode *inode, struct kstat *stat)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j)}jjsbc.generic_fillattrasbuh1hhjubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjLhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hidmaph]hidmap}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hu32 request_maskh](h)}(hhh]j5)}(hu32h]hu32}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNjj)}j]j:c.generic_fillattrasbuh1hhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj5)}(h request_maskh]h request_mask}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j:c.generic_fillattrasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct kstat *stath](j )}(hjzh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubh)}(hhh]j5)}(hkstath]hkstat}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj)}j]j:c.generic_fillattrasbuh1hhj&ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj*)}(hj-h]h*}(hjthhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj&ubj5)}(hstath]hstat}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKBubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKBubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKBhjhhubjc)}(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&]uh1jbhjhhhjhKBubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(hj%h]hu32 request_mask}(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.chKDhjubj)}(hhh]h)}(hstatx request_maskh]hstatx request_mask}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hKDhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hKDhjubj)}(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.chKEhjXubj)}(hhh]h)}(hInode to use as the sourceh]hInode to use as the source}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshKEhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshKEhjubj)}(h7``struct kstat *stat`` Where to fill in the attributes 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.chKFhjubj)}(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&]uh1jhjubeh}(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}(hj#hhhNhNubah}(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$generic_fill_statx_attr (C function)c.generic_fill_statx_attrhNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjXhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKuubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXhhhjjhKuubj/)}(hgeneric_fill_statx_attrh]j5)}(hgeneric_fill_statx_attrh]hgeneric_fill_statx_attr}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjXhhhjjhKuubj)}(h)(struct inode *inode, struct kstat *stat)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.generic_fill_statx_attrasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct kstat *stath](j )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hkstath]hkstat}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+modnameN classnameNjj)}j]jc.generic_fill_statx_attrasbuh1hhjubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjUhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hstath]hstat}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjXhhhjjhKuubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjThhhjjhKuubah}(h]jOah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjjhKuhjQhhubjc)}(hhh]h)}(h1Fill in the statx attributes from the inode flagsh]h1Fill in the statx attributes from the inode flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKuhjhhubah}(h]h ]h"]h$]h&]uh1jbhjQhhhjjhKuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(hjAh]h Description}(hjChhhNhNubah}(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.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.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKxhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-generic_fill_statx_atomic_writes (C function)"c.generic_fill_statx_atomic_writeshNtauh1hhjuJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(h generic_fill_statx_atomic_writesh]j5)}(h generic_fill_statx_atomic_writesh]h generic_fill_statx_atomic_writes}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(h](struct kstat *stat, unsigned int unit_min, unsigned int unit_max, unsigned int unit_max_opt)h](j)}(hstruct kstat *stath](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hkstath]hkstat}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsb"c.generic_fill_statx_atomic_writesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hstath]hstat}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int unit_minh](j)}(hunsignedh]hunsigned}(hj5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj1ubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubj)}(hinth]hint}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj1ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubj5)}(hunit_minh]hunit_min}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int unit_maxh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hunit_maxh]hunit_max}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int unit_max_opth](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h unit_max_opth]h unit_max_opt}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj~hhhjhKubah}(h]jyah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhj{hhubjc)}(hhh]h)}(h&Fill in atomic writes statx attributesh]h&Fill in atomic writes statx attributes}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhj6hhubah}(h]h ]h"]h$]h&]uh1jbhj{hhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQjjjuh1hhhhjuJhNhNubj)}(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&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhjUubj)}(hhh](j)}(h<``struct kstat *stat`` Where to fill in the attribute flags h](j)}(h``struct kstat *stat``h]j)}(hjzh]hstruct kstat *stat}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhjtubj)}(hhh]h)}(h$Where to fill in the attribute flagsh]h$Where to fill in the attribute flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1jhjhKhjqubj)}(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&]uh1jhjhKhjqubj)}(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&]uh1jhjhKhjqubj)}(hW``unsigned int unit_max_opt`` Optimised maximum supported atomic write length in bytes h](j)}(h``unsigned int unit_max_opt``h]j)}(hj%h]hunsigned int unit_max_opt}(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.chKhjubj)}(hhh]h)}(h8Optimised maximum supported atomic write length in bytesh]h8Optimised maximum supported atomic write length in bytes}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hKhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hKhjqubeh}(h]h ]h"]h$]h&]uh1jhjUubh)}(h**Description**h]j)}(hj`h]h Description}(hjbhhhNhNubah}(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.chKhjUubh)}(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.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhjUubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_getattr_nosec (C function)c.vfs_getattr_nosechNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(hvfs_getattr_nosech]j5)}(hvfs_getattr_nosech]hvfs_getattr_nosec}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(hY(const struct path *path, struct kstat *stat, u32 request_mask, unsigned int query_flags)h](j)}(hconst struct path *pathh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.vfs_getattr_nosecasbuh1hhjubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjIhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hpathh]hpath}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct kstat *stath](j )}(hjzh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubh)}(hhh]j5)}(hkstath]hkstat}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j7c.vfs_getattr_nosecasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjkubj5)}(hstath]hstat}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hu32 request_maskh](h)}(hhh]j5)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j7c.vfs_getattr_nosecasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h request_maskh]h request_mask}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int query_flagsh](j)}(hunsignedh]hunsigned}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj#ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubj)}(hinth]hint}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj#ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubj5)}(h query_flagsh]h query_flags}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(hhh]h)}(hgetattr without security checksh]hgetattr without security checks}(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&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(hj<h]hu32 request_mask}(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.chKhj6ubj)}(hhh]h)}(h0STATX_xxx flags indicating what the caller wantsh]h0STATX_xxx flags indicating what the caller wants}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhKhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhKhjubj)}(h=``unsigned int query_flags`` Query mode (AT_STATX_SYNC_TYPE) h](j)}(h``unsigned int query_flags``h]j)}(hjuh]hunsigned int query_flags}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/stat.chKhjoubj)}(hhh]h)}(hQuery mode (AT_STATX_SYNC_TYPE)h]hQuery mode (AT_STATX_SYNC_TYPE)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_fsync_range (C function)c.vfs_fsync_rangehNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(hvfs_fsync_rangeh]j5)}(hvfs_fsync_rangeh]hvfs_fsync_range}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(h;(struct file *file, loff_t start, loff_t end, int datasync)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=ubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=ubh)}(hhh]j5)}(hfileh]hfile}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNjj)}j]j)}jj'sbc.vfs_fsync_rangeasbuh1hhj=ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj=ubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj9ubj)}(h loff_t starth](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j{c.vfs_fsync_rangeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hstarth]hstart}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj9ubj)}(h loff_t endh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j{c.vfs_fsync_rangeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hendh]hend}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj9ubj)}(h int datasynch](j)}(hinth]hint}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj?ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubj5)}(hdatasynch]hdatasync}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj9ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(hhh]h)}(h1helper to sync a range of data & metadata to diskh]h1helper to sync a range of data & metadata to disk}(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&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(hj<h]h loff_t end}(hj>hhhNhNubah}(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.chKhj6ubj)}(hhh]h)}(h4offset in bytes of the end of data range (inclusive)h]h4offset in bytes of the end of data range (inclusive)}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhKhjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhKhjubj)}(h'``int datasync`` perform only datasync h](j)}(h``int datasync``h]j)}(hjuh]h int datasync}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhjoubj)}(hhh]h)}(hperform only datasynch]hperform only datasync}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubeh}(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_fsync (C function) c.vfs_fsynchNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhj'hhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'hhhj9hKubj/)}(h vfs_fsynch]j5)}(h vfs_fsynch]h vfs_fsync}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj'hhhj9hKubj)}(h!(struct file *file, int datasync)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjNsb c.vfs_fsyncasbuh1hhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjdubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj`ubj)}(h int datasynch](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hdatasynch]hdatasync}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj`ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj'hhhj9hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj#hhhj9hKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj9hKhj hhubjc)}(hhh]h)}(h&perform a fsync or fdatasync on a fileh]h&perform a fsync or fdatasync on a file}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhjhhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj9hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhjuJhNhNubj)}(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)}(hjBh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhj<ubj)}(hhh](j)}(h#``struct file *file`` file to sync h](j)}(h``struct file *file``h]j)}(hjah]hstruct file *file}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]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}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhKhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhKhjXubj)}(h4``int datasync`` only perform a fdatasync operation h](j)}(h``int datasync``h]j)}(hjh]h int datasync}(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"only perform a fdatasync operationh]h"only perform a fdatasync operation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjXubeh}(h]h ]h"]h$]h&]uh1jhj<ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhj<ubh)}(hWrite back data and metadata for **file** to disk. If **datasync** is set only metadata needed to access modified file data is written.h](h!Write back data and metadata for }(hjhhhNhNubj)}(h**file**h]hfile}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to disk. If }(hjhhhNhNubj)}(h **datasync**h]hdatasync}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhE is set only metadata needed to access modified file data is written.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/sync.chKhj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"__vfs_setxattr_locked (C function)c.__vfs_setxattr_lockedhNtauh1hhjuJhhhNhNubh)}(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}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj:hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:hhhjLhMubj/)}(h__vfs_setxattr_lockedh]j5)}(h__vfs_setxattr_lockedh]h__vfs_setxattr_locked}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj:hhhjLhMubj)}(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 )}(hjzh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjasbc.__vfs_setxattr_lockedasbuh1hhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjwubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjsubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jc.__vfs_setxattr_lockedasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj7hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjsubj)}(hconst char *nameh](j )}(hjUh]hconst}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj)}(hcharh]hchar}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjYubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjsubj)}(hconst void *valueh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjsubj)}(h size_t sizeh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.__vfs_setxattr_lockedasbuh1hhjubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hsizeh]hsize}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjsubj)}(h int flagsh](j)}(hinth]hint}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj[ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubj5)}(hflagsh]hflags}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjsubj)}(h'struct delegated_inode *delegated_inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.__vfs_setxattr_lockedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjsubeh}(h]h ]h"]h$]h&]jLjMuh1jhj:hhhjLhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj6hhhjLhMubah}(h]j1ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjLhMhj3hhubjc)}(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&]uh1jbhj3hhhjLhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-jj-jjjuh1hhhhjuJhNhNubj)}(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)}(hj7h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM hj1ubj)}(hhh](j)}(hC``struct mnt_idmap *idmap`` idmap of the mount of the target inode h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjVh]hstruct mnt_idmap *idmap}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM hjPubj)}(hhh]h)}(h&idmap of the mount of the target inodeh]h&idmap of the mount of the target inode}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhM hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhM hjMubj)}(h8``struct dentry *dentry`` object to perform setxattr 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM hjubj)}(hhh]h)}(hobject to perform setxattr onh]hobject to perform setxattr on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjMubj)}(h'``const char *name`` xattr name to set h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM hjubj)}(hhh]h)}(hxattr name to seth]hxattr name to set}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjMubj)}(h/``const void *value`` value to set **name** to h](j)}(h``const void *value``h]j)}(hjh]hconst void *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM hjubj)}(hhh]h)}(hvalue to set **name** toh](h value to set }(hjhhhNhNubj)}(h**name**h]hname}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjMubj)}(h"``size_t size`` size of **value** h](j)}(h``size_t size``h]j)}(hjLh]h size_t size}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM hjFubj)}(hhh]h)}(hsize of **value**h](hsize of }(hjehhhNhNubj)}(h **value**h]hvalue}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1hhjahM hjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahM hjMubj)}(h7``int flags`` flags to pass into filesystem operations 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:98: ./fs/xattr.chMhjubj)}(hhh]h)}(h(flags to pass into filesystem operationsh]h(flags to pass into filesystem operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubj)}(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.chMhjubj)}(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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjMubeh}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_listxattr (C function)c.vfs_listxattrhNtauh1hhjuJhhhNhNubh)}(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]j5)}(hssize_th]hssize_t}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNjj)}j]j)}j vfs_listxattrsbc.vfs_listxattrasbuh1hhj!hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!hhhjIhMubj/)}(h vfs_listxattrh]j5)}(hjFh]h vfs_listxattr}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj!hhhjIhMubj)}(h0(struct dentry *dentry, char *list, size_t size)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jDc.vfs_listxattrasbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjsubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjoubj)}(h char *listh](j)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hlisth]hlist}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjoubj)}(h size_t sizeh](h)}(hhh]j5)}(hsize_th]hsize_t}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj.modnameN classnameNjj)}j]jDc.vfs_listxattrasbuh1hhj%ubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj%ubj5)}(hsizeh]hsize}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjoubeh}(h]h ]h"]h$]h&]jLjMuh1jhj!hhhjIhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjIhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjIhMhjhhubjc)}(hhh]h)}(h)retrieve \0 separated list of xattr namesh]h)retrieve 0 separated list of xattr names}(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&]uh1jbhjhhhjIhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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.chMhjubj)}(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)}(hj5h]h size_t size}(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)}(hsize of the bufferh]hsize of the buffer}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjph]h Description}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjubh)}(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 }(hjhhhNhNubj)}(h **dentry**h]hdentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjubh)}(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.chMhjubh)}(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.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:98: ./fs/xattr.chMhjubh)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__vfs_removexattr_locked (C function)c.__vfs_removexattr_lockedhNtauh1hhjuJhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj/)}(h__vfs_removexattr_lockedh]j5)}(h__vfs_removexattr_lockedh]h__vfs_removexattr_locked}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj)}(hk(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, struct delegated_inode *delegated_inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNjj)}j]j)}jj/sbc.__vfs_removexattr_lockedasbuh1hhjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjEubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjAubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.__vfs_removexattr_lockedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjAubj)}(hconst char *nameh](j )}(hjUh]hconst}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubj)}(hcharh]hchar}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj'ubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubj*)}(hj-h]h*}(hjbhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj'ubj5)}(hnameh]hname}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjAubj)}(h'struct delegated_inode *delegated_inodeh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.__vfs_removexattr_lockedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjAubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjhhubjc)}(hhh]h)}(h6set an extended attribute while holding the inode lockh]h6set an extended attribute while holding the inode lock}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1hhhhjuJhNhNubj)}(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.chMhj%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)}(hjJh]hstruct mnt_idmap *idmap}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjDubj)}(hhh]h)}(h&idmap of the mount of the target inodeh]h&idmap of the mount of the target inode}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjAubj)}(h8``struct dentry *dentry`` object to perform setxattr 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhj}ubj)}(hhh]h)}(hobject to perform setxattr onh]hobject to perform setxattr on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjAubj)}(h-``const char *name`` name of xattr to remove 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)}(hname of xattr to removeh]hname of xattr to remove}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjAubj)}(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.chMhjubj)}(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&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjAubeh}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_listxattr (C function)c.generic_listxattrhNtauh1hhjuJhhhNhNubh)}(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]j5)}(hssize_th]hssize_t}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj)}j]j)}jgeneric_listxattrsbc.generic_listxattrasbuh1hhjJhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMYubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJhhhjrhMYubj/)}(hgeneric_listxattrh]j5)}(hjoh]hgeneric_listxattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjJhhhjrhMYubj)}(h9(struct dentry *dentry, char *buffer, size_t buffer_size)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jmc.generic_listxattrasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h char *bufferh](j)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hj,hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hbufferh]hbuffer}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hsize_t buffer_sizeh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNjj)}j]jmc.generic_listxattrasbuh1hhjNubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubj5)}(h buffer_sizeh]h buffer_size}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjJhhhjrhMYubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjFhhhjrhMYubah}(h]jAah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjrhMYhjChhubjc)}(hhh]h)}(h.run through a dentry's xattr list() operationsh]h0run through a dentry’s xattr list() operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMYhjhhubah}(h]h ]h"]h$]h&]uh1jbhjChhhjrhMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM]hjubj)}(hhh](j)}(h4``struct dentry *dentry`` dentry to list the xattrs 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.chMZhjubj)}(hhh]h)}(hdentry to list the xattrsh]hdentry to list the xattrs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMZhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZhjubj)}(h``char *buffer`` result buffer h](j)}(h``char *buffer``h]j)}(hj%h]h char *buffer}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM[hjubj)}(hhh]h)}(h result bufferh]h result buffer}(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*``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.chM\hjXubj)}(hhh]h)}(hsize of **buffer**h](hsize of }(hjwhhhNhNubj)}(h **buffer**h]hbuffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1hhjshM\hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshM\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:98: ./fs/xattr.chM^hjubh)}(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.chM]hjubh)}(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.chM`hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxattr_full_name (C function)c.xattr_full_namehNtauh1hhjuJhhhNhNubh)}(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 )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMxubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMxubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhjhMxubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMxubj*)}(hj-h]h*}(hj3hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMxubj/)}(hxattr_full_nameh]j5)}(hxattr_full_nameh]hxattr_full_name}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMxubj)}(h7(const struct xattr_handler *handler, const char *name)h](j)}(h#const struct xattr_handler *handlerh](j )}(hjUh]hconst}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubj )}(hjzh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubh)}(hhh]j5)}(h xattr_handlerh]h xattr_handler}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjFsbc.xattr_full_nameasbuh1hhj\ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj\ubj5)}(hhandlerh]hhandler}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubj)}(hconst char *nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj$hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjXubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMxubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMxubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMxhjhhubjc)}(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.chMxhjXhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMxubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhjuJhNhNubj)}(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}(hjhhhNhNubah}(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|hjwubj)}(hhh](j)}(hO``const struct xattr_handler *handler`` handler of the xattr_handler operation h](j)}(h'``const struct xattr_handler *handler``h]j)}(hjh]h#const struct xattr_handler *handler}(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.chMzhjubj)}(hhh]h)}(h&handler of the xattr_handler operationh]h&handler of the xattr_handler operation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjubj)}(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.chM{hjubj)}(hhh]h)}(h*name passed to the xattr_handler operationh]h*name passed to the xattr_handler operation}(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&]uh1jhjwubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM}hjwubh)}(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.}(hj& hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chM|hjwubh)}(h**Note**h]j)}(hj7 h]hNote}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5 ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjwubh)}(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.}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/xattr.chMhjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!mnt_get_write_access (C function)c.mnt_get_write_accesshNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjx hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjx hhhj hMubj/)}(hmnt_get_write_accessh]j5)}(hmnt_get_write_accessh]hmnt_get_write_access}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjx hhhj hMubj)}(h(struct vfsmount *m)h]j)}(hstruct vfsmount *mh](j )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j)}jj sbc.mnt_get_write_accessasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hj'$h]hm}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemph+jLjMuh1jhj ubah}(h]h ]h"]h$]h&]jLjMuh1jhjx hhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjt hhhj hMubah}(h]jo ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhjq hhubjc)}(hhh]h)}(h5get write access to a mount without freeze protectionh]h5get write access to a mount without freeze protection}(hj; hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhj8 hhubah}(h]h ]h"]h$]h&]uh1jbhjq hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjS jjS jjjuh1hhhhjuJhNhNubj)}(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.chMhjW ubj)}(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&]uh1jhjz ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjv ubj)}(hhh]h)}(h"the mount on which to take a writeh]h"the mount on which to take a write}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjv ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjs ubah}(h]h ]h"]h$]h&]uh1jhjW 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.chMhjW ubh)}(hXSThis tells the low-level filesystem that a write is about to be performed to it, and makes sure that writes are allowed (mnt it read-write) before returning success. This operation does not protect against filesystem being frozen. When the write operation is finished, mnt_put_write_access() must be called. This is effectively a refcount.h]hXSThis tells the low-level filesystem that a write is about to be performed to it, and makes sure that writes are allowed (mnt it read-write) before returning success. This operation does not protect against filesystem being frozen. When the write operation is finished, mnt_put_write_access() must be called. This is effectively a refcount.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjW ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmnt_want_write (C function)c.mnt_want_writehNtauh1hhjuJhhhNhNubh)}(hhh](j)}(h'int mnt_want_write (struct vfsmount *m)h]j)}(h&int mnt_want_write(struct vfsmount *m)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj hMubj/)}(hmnt_want_writeh]j5)}(hmnt_want_writeh]hmnt_want_write}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj hMubj)}(h(struct vfsmount *m)h]j)}(hstruct vfsmount *mh](j )}(hjzh]hstruct}(hj9 hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5 ubj)}(h h]h }(hjF hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5 ubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjW hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjT ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjY modnameN classnameNjj)}j]j)}jj sbc.mnt_want_writeasbuh1hhj5 ubj)}(h h]h }(hjw hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5 ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj5 ubj5)}(hj'$h]hm}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5 ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj1 ubah}(h]h ]h"]h$]h&]jLjMuh1jhj hhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj hMubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhj hhubjc)}(hhh]h)}(hget write access to a mounth]hget write access to a mount}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhj hhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjuJhNhNubj)}(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)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhj ubj)}(hhh]j)}(h:``struct vfsmount *m`` the mount on which to take a write h](j)}(h``struct vfsmount *m``h]j)}(hj h]hstruct vfsmount *m}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhj ubj)}(hhh]h)}(h"the mount on which to take a writeh]h"the mount on which to take a write}(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)}(hj7 h]h Description}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5 ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhj ubh)}(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.}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h mnt_want_write_file (C function)c.mnt_want_write_filehNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjx hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjx hhhj hM ubj/)}(hmnt_want_write_fileh]j5)}(hmnt_want_write_fileh]hmnt_want_write_file}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjx hhhj hM ubj)}(h(struct file *file)h]j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(hfileh]hfile}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j)}jj sbc.mnt_want_write_fileasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hfileh]hfile}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubah}(h]h ]h"]h$]h&]jLjMuh1jhjx hhhj hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjt hhhj hM ubah}(h]jo ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hM hjq hhubjc)}(hhh]h)}(h"get write access to a file's mounth]h$get write access to a file’s mount}(hj< hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM hj9 hhubah}(h]h ]h"]h$]h&]uh1jbhjq hhhj hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjT jjT jjjuh1hhhhjuJhNhNubj)}(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.chMhjX ubj)}(hhh]j)}(hD``struct file *file`` the file who's mount on which to take a write h](j)}(h``struct file *file``h]j)}(hj} h]hstruct file *file}(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.chMhjw ubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjw ubeh}(h]h ]h"]h$]h&]uh1jhj hMhjt ubah}(h]h ]h"]h$]h&]uh1jhjX ubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjX ubh)}(hXThis is like mnt_want_write, but if the file is already open for writing it skips incrementing mnt_writers (since the open file already has a reference) and instead only does the freeze protection and the check for emergency r/o remounts. This must be paired with mnt_drop_write_file.h]hXThis is like mnt_want_write, but if the file is already open for writing it skips incrementing mnt_writers (since the open file already has a reference) and instead only does the freeze protection and the check for emergency r/o remounts. This must be paired with mnt_drop_write_file.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjX ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!mnt_put_write_access (C function)c.mnt_put_write_accesshNtauh1hhjuJhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM"ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj hM"ubj/)}(hmnt_put_write_accessh]j5)}(hmnt_put_write_accessh]hmnt_put_write_access}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj hM"ubj)}(h(struct vfsmount *mnt)h]j)}(hstruct vfsmount *mnth](j )}(hjzh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNjj)}j]j)}jj sbc.mnt_put_write_accessasbuh1hhj6ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj6ubj5)}(hmnth]hmnt}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj2ubah}(h]h ]h"]h$]h&]jLjMuh1jhj hhhj hM"ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj hM"ubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hM"hj hhubjc)}(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&]uh1jbhj hhhj hM"ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(hj9h]h Description}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(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.}(hjOhhhNhNubah}(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmnt_drop_write (C function)c.mnt_drop_writehNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjzhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM2ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzhhhjhM2ubj/)}(hmnt_drop_writeh]j5)}(hmnt_drop_writeh]hmnt_drop_write}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjzhhhjhM2ubj)}(h(struct vfsmount *mnt)h]j)}(hstruct vfsmount *mnth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.mnt_drop_writeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hmnth]hmnt}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjzhhhjhM2ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjvhhhjhM2ubah}(h]jqah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM2hjshhubjc)}(hhh]h)}(hgive up write access to a mounth]hgive up write access to a mount}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM2hj;hhubah}(h]h ]h"]h$]h&]uh1jbhjshhhjhM2ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhjuJhNhNubj)}(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}(hjbhhhNhNubah}(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.chM6hjZubj)}(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&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM3hjyubj)}(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&]uh1hhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjvubah}(h]h ]h"]h$]h&]uh1jhjZubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM5hjZubh)}(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.chM4hjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_create_mount (C function)c.vfs_create_mounthNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j)}jvfs_create_mountsbc.vfs_create_mountasbuh1hhjhhhj hMubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMubj*)}(hj-h]h*}(hjMhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhj hMubj/)}(hvfs_create_mounth]j5)}(hj<h]hvfs_create_mount}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hMubj)}(h(struct fs_context *fc)h]j)}(hstruct fs_context *fch](j )}(hjzh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j:c.vfs_create_mountasbuh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjuubj5)}(hfch]hfc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjqubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMhjhhubjc)}(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&]uh1jbhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(hX+**Parameters** ``struct fs_context *fc`` The configuration context with the superblock attached **Description** Create a mount to an already configured superblock. If necessary, the caller should invoke vfs_get_tree() before calling this. Note that this does not attach the mount to anything.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjubj)}(hhh]j)}(hQ``struct fs_context *fc`` The configuration context with the superblock attached h](j)}(h``struct fs_context *fc``h]j)}(hj;h]hstruct fs_context *fc}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhj5ubj)}(hhh]h)}(h6The configuration context with the superblock attachedh]h6The configuration context with the superblock attached}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhMhjQubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhjPhMhj2ubah}(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&]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.}(hjhhhNhNubah}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpath_is_mountpoint (C function)c.path_is_mountpointhNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hpath_is_mountpointh]j5)}(hpath_is_mountpointh]hpath_is_mountpoint}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h(const struct path *path)h]j)}(hconst struct path *pathh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hpathh]hpath}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNjj)}j]j)}jjsbc.path_is_mountpointasbuh1hhjubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjmhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hpathh]hpath}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(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.chMhjubj)}(hX\d_mountpoint() can only be used reliably to establish if a dentry is not mounted in any namespace and that common case is handled inline. d_mountpoint() isn't aware of the possibility there may be multiple mounts using a given dentry in a different namespace. This function checks if the passed in path is a mountpoint rather than the dentry alone.h]h)}(hX\d_mountpoint() can only be used reliably to establish if a dentry is not mounted in any namespace and that common case is handled inline. d_mountpoint() isn't aware of the possibility there may be multiple mounts using a given dentry in a different namespace. This function checks if the passed in path is a mountpoint rather than the dentry alone.h]hX^d_mountpoint() can only be used reliably to establish if a dentry is not mounted in any namespace and that common case is handled inline. d_mountpoint() isn’t aware of the possibility there may be multiple mounts using a given dentry in a different namespace. This function checks if the passed in path is a mountpoint rather than the dentry alone.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMhj6ubah}(h]h ]h"]h$]h&]uh1jhjHhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmay_umount_tree (C function)c.may_umount_treehNtauh1hhjuJhhhNhNubh)}(hhh](j)}(h(int may_umount_tree (struct vfsmount *m)h]j)}(h'int may_umount_tree(struct vfsmount *m)h](j)}(hinth]hint}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjkhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM1ubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkhhhj}hM1ubj/)}(hmay_umount_treeh]j5)}(hmay_umount_treeh]hmay_umount_tree}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjkhhhj}hM1ubj)}(h(struct vfsmount *m)h]j)}(hstruct vfsmount *mh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.may_umount_treeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hj'$h]hm}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjkhhhj}hM1ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjghhhj}hM1ubah}(h]jbah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj}hM1hjdhhubjc)}(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&]uh1jbhjdhhhj}hM1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1hhhhjuJhNhNubj)}(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)}(hjPh]h Parameters}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM5hjJubj)}(hhh]j)}(h*``struct vfsmount *m`` root of mount tree h](j)}(h``struct vfsmount *m``h]j)}(hjoh]hstruct vfsmount *m}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM2hjiubj)}(hhh]h)}(hroot of mount treeh]hroot of mount tree}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjfubah}(h]h ]h"]h$]h&]uh1jhjJubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM4hjJubh)}(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.chM3hjJubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmay_umount (C function) c.may_umounthNtauh1hhjuJhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMMubj/)}(h may_umounth]j5)}(h may_umounth]h may_umount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMMubj)}(h(struct vfsmount *mnt)h]j)}(hstruct vfsmount *mnth](j )}(hjzh]hstruct}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNjj)}j]j)}jjsb c.may_umountasbuh1hhj(ubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj*)}(hj-h]h*}(hjxhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj(ubj5)}(hmnth]hmnt}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj$ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMMhjhhubjc)}(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&]uh1jbhjhhhjhMMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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}(hj hhhNhNubah}(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&]uh1jhj)ubah}(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.}(hjAhhhNhNubah}(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.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMThjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h clone_private_mount (C function)c.clone_private_mounthNtauh1hhjuJhhhNhNubh)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM8 ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{hhhjhM8 ubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jclone_private_mountsbc.clone_private_mountasbuh1hhj{hhhjhM8 ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{hhhjhM8 ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj{hhhjhM8 ubj/)}(hclone_private_mounth]j5)}(hjh]hclone_private_mount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj{hhhjhM8 ubj)}(h(const struct path *path)h]j)}(hconst struct path *pathh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hpathh]hpath}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj)}j]jc.clone_private_mountasbuh1hhjubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj^hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hpathh]hpath}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhj{hhhjhM8 ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjwhhhjhM8 ubah}(h]jrah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM8 hjthhubjc)}(hhh]h)}(h create a private clone of a pathh]h create a private clone of a path}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM8 hjhhubah}(h]h ]h"]h$]h&]uh1jbhjthhhjhM8 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(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)}(h*``const struct path *path`` path to clone 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.chM9 hjubj)}(hhh]h)}(h path to cloneh]h path to clone}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM9 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9 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)}(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: hjubh)}(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().}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chM> hjubh)}(hRelease with mntput().h]hRelease with mntput().}(hjWhhhNhNubah}(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&]uh1jhjuJhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmnt_set_expiry (C function)c.mnt_set_expiryhNtauh1hhjuJhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMFubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMFubj/)}(hmnt_set_expiryh]j5)}(hmnt_set_expiryh]hmnt_set_expiry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMFubj)}(h5(struct vfsmount *mnt, struct list_head *expiry_list)h](j)}(hstruct vfsmount *mnth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.mnt_set_expiryasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hmnth]hmnt}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct list_head *expiry_listh](j )}(hjzh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubh)}(hhh]j5)}(h list_headh]h list_head}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj)}j]jc.mnt_set_expiryasbuh1hhj1ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj1ubj5)}(h expiry_listh]h expiry_list}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMFubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj~hhhjhMFubah}(h]jyah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMFhj{hhubjc)}(hhh]h)}(h!Put a mount on an expiration listh]h!Put a mount on an expiration list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMFhjhhubah}(h]h ]h"]h$]h&]uh1jbhj{hhhjhMFubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjuJhNhNubj)}(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)}(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.chMJhjubj)}(hhh](j)}(h,``struct vfsmount *mnt`` The mount to list. 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.chMGhjubj)}(hhh]h)}(hThe mount to list.h]hThe mount to list.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMGhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMGhjubj)}(h?``struct list_head *expiry_list`` The list to add the mount to.h](j)}(h!``struct list_head *expiry_list``h]j)}(hj0h]hstruct list_head *expiry_list}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMIhj*ubj)}(hhh]h)}(hThe list to add the mount to.h]hThe list to add the mount to.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:101: ./fs/namespace.chMHhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMIhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjuJhhhNhNubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKiubh)}(hhh](h)}(hsysctl interfaceh]hsysctl interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKlubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hproc_dostring (C function)c.proc_dostringhNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(h proc_dostringh]j5)}(h proc_dostringh]h proc_dostring}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hconst struct ctl_table *tableh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4modnameN classnameNjj)}j]j)}jjsbc.proc_dostringasbuh1hhjubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj`hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htableh]htable}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hint dirh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *bufferh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jNc.proc_dostringasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj,hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hlenph]hlenp}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNjj)}j]jNc.proc_dostringasbuh1hhjNubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjNubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(hhh]h)}(hread a string sysctlh]hread a string sysctl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chKhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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:110: ./kernel/sysctl.chKhjubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjh]hconst struct ctl_table *table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chKhjubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hj2h]hint dir}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(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}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh& if this is a write to the sysctl file}(hjKhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjGhKhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhKhjubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hjyh]h void *buffer}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chKhjsubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hjh]h size_t *lenp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chKhjubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``loff_t *ppos`` file position 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&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.c2hKhjubj)}(hhh]h)}(h file positionh]h file position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(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&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chKhjubh)}(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}(hjDhhhNhNubah}(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.chKhjubh)}(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.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hproc_dobool (C function) c.proc_doboolhNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h proc_doboolh]j5)}(h proc_doboolh]h proc_dobool}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hconst struct ctl_table *tableh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j)}jjsb c.proc_doboolasbuh1hhjubj)}(h h]h }(hj" hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj0 hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htableh]htable}(hj= hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hint dirh](j)}(hinth]hint}(hjV hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjR ubj)}(h h]h }(hjd hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjR ubj5)}(hdirh]hdir}(hjr hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjR ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *bufferh](j)}(hvoidh]hvoid}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hbufferh]hbuffer}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j  c.proc_doboolasbuh1hhj ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hlenph]hlenp}(hj !hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj%!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'!modnameN classnameNjj)}j]j  c.proc_doboolasbuh1hhj!ubj)}(h h]h }(hjC!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!ubj*)}(hj-h]h*}(hjQ!hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj!ubj5)}(hpposh]hppos}(hj^!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hread/write a boolh]hread/write a bool}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1hhhhjhNhNubj)}(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)}(hjI"h]h void *buffer}(hjK"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG"ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjC"ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjb"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^"hMhj_"ubah}(h]h ]h"]h$]h&]uh1jhjC"ubeh}(h]h ]h"]h$]h&]uh1jhj^"hMhj!ubj)}(h-``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.chMhj|"ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the 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``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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hproc_dointvec (C function)c.proc_dointvechNtauh1hhjhhhNhNubh)}(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}(hjY#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjU#hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM<ubj)}(h h]h }(hjh#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjU#hhhjg#hM<ubj/)}(h proc_dointvech]j5)}(h proc_dointvech]h proc_dointvec}(hjz#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjv#ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjU#hhhjg#hM<ubj)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hconst struct ctl_table *tableh](j )}(hjUh]hconst}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubj )}(hjzh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj#ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNjj)}j]j)}jj|#sbc.proc_dointvecasbuh1hhj#ubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubj*)}(hj-h]h*}(hj#hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj#ubj5)}(htableh]htable}(hj $hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubj)}(hint dirh](j)}(hinth]hint}(hj#$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj$ubj)}(h h]h }(hj1$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubj5)}(hdirh]hdir}(hj?$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubj)}(h void *bufferh](j)}(hvoidh]hvoid}(hjX$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjT$ubj)}(h h]h }(hjf$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjT$ubj*)}(hj-h]h*}(hjt$hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjT$ubj5)}(hbufferh]hbuffer}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjT$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNjj)}j]j#c.proc_dointvecasbuh1hhj$ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubj*)}(hj-h]h*}(hj$hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj$ubj5)}(hlenph]hlenp}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$modnameN classnameNjj)}j]j#c.proc_dointvecasbuh1hhj$ubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubj*)}(hj-h]h*}(hj%hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj$ubj5)}(hpposh]hppos}(hj+%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjU#hhhjg#hM<ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjQ#hhhjg#hM<ubah}(h]jL#ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjg#hM<hjN#hhubjc)}(hhh]h)}(hread a vector of integersh]hread a vector of integers}(hjU%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM<hjR%hhubah}(h]h ]h"]h$]h&]uh1jbhjN#hhhjg#hM<ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjm%jjm%jjjuh1hhhhjhNhNubj)}(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)}(hjw%h]h Parameters}(hjy%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju%ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM@hjq%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.chM=hj%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&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hM=hj%ubj)}(h;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hj%h]hint dir}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM>hj%ubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubh& if this is a write to the sysctl file}(hj%hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj%hM>hj%ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hM>hj%ubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hj&h]h void *buffer}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM?hj&ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hj/&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+&hM?hj,&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj+&hM?hj%ubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hjO&h]h size_t *lenp}(hjQ&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM&ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM@hjI&ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjh&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjd&hM@hje&ubah}(h]h ]h"]h$]h&]uh1jhjI&ubeh}(h]h ]h"]h$]h&]uh1jhjd&hM@hj%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.chMAhj&ubj)}(hhh]h)}(h file positionh]h file position}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hMAhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMAhj%ubeh}(h]h ]h"]h$]h&]uh1jhjq%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.chMChjq%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.chMBhjq%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.chMEhjq%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hproc_douintvec (C function)c.proc_douintvechNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhj'hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMOubj)}(h h]h }(hj&'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'hhhj%'hMOubj/)}(hproc_douintvech]j5)}(hproc_douintvech]hproc_douintvec}(hj8'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4'ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj'hhhj%'hMOubj)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hconst struct ctl_table *tableh](j )}(hjUh]hconst}(hjT'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjP'ubj)}(h h]h }(hja'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjP'ubj )}(hjzh]hstruct}(hjo'hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjP'ubj)}(h h]h }(hj|'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjP'ubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNjj)}j]j)}jj:'sbc.proc_douintvecasbuh1hhjP'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjP'ubj*)}(hj-h]h*}(hj'hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjP'ubj5)}(htableh]htable}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjP'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjL'ubj)}(hint dirh](j)}(hinth]hint}(hj'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj'ubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubj5)}(hdirh]hdir}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjL'ubj)}(h void *bufferh](j)}(hvoidh]hvoid}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj(ubj)}(h h]h }(hj$(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj*)}(hj-h]h*}(hj2(hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj(ubj5)}(hbufferh]hbuffer}(hj?(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjL'ubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hj[(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjX(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj](modnameN classnameNjj)}j]j'c.proc_douintvecasbuh1hhjT(ubj)}(h h]h }(hjy(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjT(ubj*)}(hj-h]h*}(hj(hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjT(ubj5)}(hlenph]hlenp}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjT(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjL'ubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNjj)}j]j'c.proc_douintvecasbuh1hhj(ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj*)}(hj-h]h*}(hj(hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj(ubj5)}(hpposh]hppos}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjL'ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj'hhhj%'hMOubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj'hhhj%'hMOubah}(h]j 'ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj%'hMOhj 'hhubjc)}(hhh]h)}(h"read a vector of unsigned integersh]h"read a vector of unsigned integers}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMOhj)hhubah}(h]h ]h"]h$]h&]uh1jbhj 'hhhj%'hMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+)jj+)jjjuh1hhhhjhNhNubj)}(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)}(hj5)h]h Parameters}(hj7)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3)ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMShj/)ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjT)h]hconst struct ctl_table *table}(hjV)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjR)ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMPhjN)ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjm)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhji)hMPhjj)ubah}(h]h ]h"]h$]h&]uh1jhjN)ubeh}(h]h ]h"]h$]h&]uh1jhji)hMPhjK)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.chMQhj)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)hMQhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMQhjK)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.chMRhj)ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)hMRhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj)hMRhjK)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.chMShj*ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj&*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"*hMShj#*ubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhj"*hMShjK)ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjF*h]h loff_t *ppos}(hjH*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD*ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMThj@*ubj)}(hhh]h)}(h file positionh]h file position}(hj_*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[*hMThj\*ubah}(h]h ]h"]h$]h&]uh1jhj@*ubeh}(h]h ]h"]h$]h&]uh1jhj[*hMThjK)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.chMVhj/)ubh)}(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.}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMUhj/)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.chMXhj/)ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!proc_dointvec_minmax (C function)c.proc_dointvec_minmaxhNtauh1hhjhhhNhNubh)}(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}(hj*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj*hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMcubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*hhhj*hMcubj/)}(hproc_dointvec_minmaxh]j5)}(hproc_dointvec_minmaxh]hproc_dointvec_minmax}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj*hhhj*hMcubj)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hconst struct ctl_table *tableh](j )}(hjUh]hconst}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubj )}(hjzh]hstruct}(hj-+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+ubj)}(h h]h }(hj:+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hjK+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjH+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjM+modnameN classnameNjj)}j]j)}jj*sbc.proc_dointvec_minmaxasbuh1hhj+ubj)}(h h]h }(hjk+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubj*)}(hj-h]h*}(hjy+hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj+ubj5)}(htableh]htable}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj +ubj)}(hint dirh](j)}(hinth]hint}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubj5)}(hdirh]hdir}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj +ubj)}(h void *bufferh](j)}(hvoidh]hvoid}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj+ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubj*)}(hj-h]h*}(hj+hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj+ubj5)}(hbufferh]hbuffer}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj +ubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNjj)}j]jg+c.proc_dointvec_minmaxasbuh1hhj,ubj)}(h h]h }(hj7,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubj*)}(hj-h]h*}(hjE,hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj,ubj5)}(hlenph]hlenp}(hjR,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj +ubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjn,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjk,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjp,modnameN classnameNjj)}j]jg+c.proc_dointvec_minmaxasbuh1hhjg,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjg,ubj*)}(hj-h]h*}(hj,hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjg,ubj5)}(hpposh]hppos}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjg,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj +ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj*hhhj*hMcubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj*hhhj*hMcubah}(h]j*ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj*hMchj*hhubjc)}(hhh]h)}(h-read a vector of integers with min/max valuesh]h-read a vector of 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.chMchj,hhubah}(h]h ]h"]h$]h&]uh1jbhj*hhhj*hMcubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1hhhhjhNhNubj)}(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)}(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.chMghj,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.chMdhj -ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj+-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'-hMdhj(-ubah}(h]h ]h"]h$]h&]uh1jhj -ubeh}(h]h ]h"]h$]h&]uh1jhj'-hMdhj -ubj)}(h;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hjK-h]hint dir}(hjM-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI-ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMehjE-ubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hjh-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjd-ubh& if this is a write to the sysctl file}(hjd-hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj`-hMehja-ubah}(h]h ]h"]h$]h&]uh1jhjE-ubeh}(h]h ]h"]h$]h&]uh1jhj`-hMehj -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.chMfhj-ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hMfhj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMfhj -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.chMghj-ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hMghj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMghj -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.chMhhj-ubj)}(hhh]h)}(h file positionh]h file position}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hMhhj.ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj.hMhhj -ubeh}(h]h ]h"]h$]h&]uh1jhj,ubh)}(h**Description**h]j)}(hj?.h]h Description}(hjA.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.chMjhj,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.}(hjU.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMihj,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).}(hjd.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMlhj,ubh)}(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}(hjs.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMohj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"proc_douintvec_minmax (C function)c.proc_douintvec_minmaxhNtauh1hhjhhhNhNubh)}(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}(hj.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj.hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM{ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.hhhj.hM{ubj/)}(hproc_douintvec_minmaxh]j5)}(hproc_douintvec_minmaxh]hproc_douintvec_minmax}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj.hhhj.hM{ubj)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hconst struct ctl_table *tableh](j )}(hjUh]hconst}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubj )}(hjzh]hstruct}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNjj)}j]j)}jj.sbc.proc_douintvec_minmaxasbuh1hhj.ubj)}(h h]h }(hj8/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubj*)}(hj-h]h*}(hjF/hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj.ubj5)}(htableh]htable}(hjS/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj.ubj)}(hint dirh](j)}(hinth]hint}(hjl/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjh/ubj)}(h h]h }(hjz/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjh/ubj5)}(hdirh]hdir}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjh/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj.ubj)}(h void *bufferh](j)}(hvoidh]hvoid}(hj/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubj*)}(hj-h]h*}(hj/hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj/ubj5)}(hbufferh]hbuffer}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj.ubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNjj)}j]j4/c.proc_douintvec_minmaxasbuh1hhj/ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/ubj*)}(hj-h]h*}(hj0hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj/ubj5)}(hlenph]hlenp}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj.ubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj;0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj80ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=0modnameN classnameNjj)}j]j4/c.proc_douintvec_minmaxasbuh1hhj40ubj)}(h h]h }(hjY0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj40ubj*)}(hj-h]h*}(hjg0hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj40ubj5)}(hpposh]hppos}(hjt0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj40ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj.ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj.hhhj.hM{ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj.hhhj.hM{ubah}(h]j.ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj.hM{hj.hhubjc)}(hhh]h)}(h2read a vector of unsigned ints with min/max valuesh]h2read a vector of unsigned ints with min/max values}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM{hj0hhubah}(h]h ]h"]h$]h&]uh1jbhj.hhhj.hM{ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1hhhhjhNhNubj)}(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)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj0ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hj0h]hconst struct ctl_table *table}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM|hj0ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hM|hj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hM|hj0ubj)}(h;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hj1h]hint dir}(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.chM}hj1ubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hj51hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj11ubh& if this is a write to the sysctl file}(hj11hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj-1hM}hj.1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj-1hM}hj0ubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hj_1h]h void *buffer}(hja1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]1ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM~hjY1ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjx1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjt1hM~hju1ubah}(h]h ]h"]h$]h&]uh1jhjY1ubeh}(h]h ]h"]h$]h&]uh1jhjt1hM~hj0ubj)}(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.chMhj1ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj0ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hj1h]h loff_t *ppos}(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.chMhj1ubj)}(hhh]h)}(h file positionh]h file position}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0ubh)}(h**Description**h]j)}(hj 2h]h Description}(hj2hhhNhNubah}(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.chMhj0ubh)}(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"2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj0ubh)}(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.}(hj12hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj0ubh)}(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@2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h proc_dou8vec_minmax (C function)c.proc_dou8vec_minmaxhNtauh1hhjhhhNhNubh)}(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}(hjo2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjk2hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMubj)}(h h]h }(hj~2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjk2hhhj}2hMubj/)}(hproc_dou8vec_minmaxh]j5)}(hproc_dou8vec_minmaxh]hproc_dou8vec_minmax}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjk2hhhj}2hMubj)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hconst struct ctl_table *tableh](j )}(hjUh]hconst}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubj )}(hjzh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j]j)}jj2sbc.proc_dou8vec_minmaxasbuh1hhj2ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubj*)}(hj-h]h*}(hj3hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj2ubj5)}(htableh]htable}(hj 3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj2ubj)}(hint dirh](j)}(hinth]hint}(hj93hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj53ubj)}(h h]h }(hjG3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj53ubj5)}(hdirh]hdir}(hjU3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj53ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj2ubj)}(h void *bufferh](j)}(hvoidh]hvoid}(hjn3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjj3ubj)}(h h]h }(hj|3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjj3ubj*)}(hj-h]h*}(hj3hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjj3ubj5)}(hbufferh]hbuffer}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj2ubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3modnameN classnameNjj)}j]j3c.proc_dou8vec_minmaxasbuh1hhj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj*)}(hj-h]h*}(hj3hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj5)}(hlenph]hlenp}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj2ubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj 4modnameN classnameNjj)}j]j3c.proc_dou8vec_minmaxasbuh1hhj4ubj)}(h h]h }(hj&4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj*)}(hj-h]h*}(hj44hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj4ubj5)}(hpposh]hppos}(hjA4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj2ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjk2hhhj}2hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjg2hhhj}2hMubah}(h]jb2ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj}2hMhjd2hhubjc)}(hhh]h)}(h3read a vector of unsigned chars with min/max valuesh]h3read a vector of unsigned chars with min/max values}(hjk4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjh4hhubah}(h]h ]h"]h$]h&]uh1jbhjd2hhhj}2hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhjhNhNubj)}(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)}(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.chMhj4ubj)}(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.chMhj4ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhj4ubj)}(h;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hj4h]hint dir}(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.chMhj4ubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh& if this is a write to the sysctl file}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhj4ubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hj,5h]h void *buffer}(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.chMhj&5ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjE5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjA5hMhjB5ubah}(h]h ]h"]h$]h&]uh1jhj&5ubeh}(h]h ]h"]h$]h&]uh1jhjA5hMhj4ubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hje5h]h size_t *lenp}(hjg5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc5ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj_5ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj~5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjz5hMhj{5ubah}(h]h ]h"]h$]h&]uh1jhj_5ubeh}(h]h ]h"]h$]h&]uh1jhjz5hMhj4ubj)}(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.chMhj5ubj)}(hhh]h)}(h file positionh]h file position}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hMhj5ubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj5hMhj4ubeh}(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&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj4ubh)}(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.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj4ubh)}(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).}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj4ubh)}(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 6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#proc_doulongvec_minmax (C function)c.proc_doulongvec_minmaxhNtauh1hhjhhhNhNubh)}(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<6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj86hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMubj)}(h h]h }(hjK6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj86hhhjJ6hMubj/)}(hproc_doulongvec_minmaxh]j5)}(hproc_doulongvec_minmaxh]hproc_doulongvec_minmax}(hj]6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjY6ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj86hhhjJ6hMubj)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hconst struct ctl_table *tableh](j )}(hjUh]hconst}(hjy6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hju6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhju6ubj )}(hjzh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hju6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhju6ubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j]j)}jj_6sbc.proc_doulongvec_minmaxasbuh1hhju6ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhju6ubj*)}(hj-h]h*}(hj6hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hju6ubj5)}(htableh]htable}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hju6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjq6ubj)}(hint dirh](j)}(hinth]hint}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj5)}(hdirh]hdir}(hj"7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjq6ubj)}(h void *bufferh](j)}(hvoidh]hvoid}(hj;7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj77ubj)}(h h]h }(hjI7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj77ubj*)}(hj-h]h*}(hjW7hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj77ubj5)}(hbufferh]hbuffer}(hjd7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj77ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjq6ubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNjj)}j]j6c.proc_doulongvec_minmaxasbuh1hhjy7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjy7ubj*)}(hj-h]h*}(hj7hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjy7ubj5)}(hlenph]hlenp}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjy7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjq6ubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNjj)}j]j6c.proc_doulongvec_minmaxasbuh1hhj7ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj*)}(hj-h]h*}(hj8hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7ubj5)}(hpposh]hppos}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjq6ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj86hhhjJ6hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj46hhhjJ6hMubah}(h]j/6ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjJ6hMhj16hhubjc)}(hhh]h)}(h2read a vector of long integers with min/max valuesh]h2read a vector of long integers with min/max values}(hj88hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj58hhubah}(h]h ]h"]h$]h&]uh1jbhj16hhhjJ6hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjP8jjP8jjjuh1hhhhjhNhNubj)}(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)}(hjZ8h]h Parameters}(hj\8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX8ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjT8ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjy8h]hconst struct ctl_table *table}(hj{8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw8ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhjs8ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hMhj8ubah}(h]h ]h"]h$]h&]uh1jhjs8ubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjp8ubj)}(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.chMhj8ubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubh& if this is a write to the sysctl file}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj8hMhj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hMhjp8ubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hj8h]h void *buffer}(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.chMhj8ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hMhj9ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjp8ubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hj29h]h size_t *lenp}(hj49hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj09ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMhj,9ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjK9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjG9hMhjH9ubah}(h]h ]h"]h$]h&]uh1jhj,9ubeh}(h]h ]h"]h$]h&]uh1jhjG9hMhjp8ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjk9h]h loff_t *ppos}(hjm9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji9ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM hje9ubj)}(hhh]h)}(h file positionh]h file position}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hM hj9ubah}(h]h ]h"]h$]h&]uh1jhje9ubeh}(h]h ]h"]h$]h&]uh1jhj9hM hjp8ubeh}(h]h ]h"]h$]h&]uh1jhjT8ubh)}(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.chM"hjT8ubh)}(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.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM!hjT8ubh)}(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).}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM$hjT8ubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chM'hjT8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!proc_do_large_bitmap (C function)c.proc_do_large_bitmaphNtauh1hhjhhhNhNubh)}(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}(hj :hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj:hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMIubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:hhhj:hMIubj/)}(hproc_do_large_bitmaph]j5)}(hproc_do_large_bitmaph]hproc_do_large_bitmap}(hj*:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&:ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj:hhhj:hMIubj)}(hR(const struct ctl_table *table, int dir, void *buffer, size_t *lenp, loff_t *ppos)h](j)}(hconst struct ctl_table *tableh](j )}(hjUh]hconst}(hjF:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjB:ubj)}(h h]h }(hjS:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjB:ubj )}(hjzh]hstruct}(hja:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjB:ubj)}(h h]h }(hjn:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjB:ubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNjj)}j]j)}jj,:sbc.proc_do_large_bitmapasbuh1hhjB:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjB:ubj*)}(hj-h]h*}(hj:hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjB:ubj5)}(htableh]htable}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjB:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>:ubj)}(hint dirh](j)}(hinth]hint}(hj:hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubj5)}(hdirh]hdir}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>:ubj)}(h void *bufferh](j)}(hvoidh]hvoid}(hj;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;ubj*)}(hj-h]h*}(hj$;hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj;ubj5)}(hbufferh]hbuffer}(hj1;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>:ubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hjM;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJ;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjO;modnameN classnameNjj)}j]j:c.proc_do_large_bitmapasbuh1hhjF;ubj)}(h h]h }(hjk;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjF;ubj*)}(hj-h]h*}(hjy;hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjF;ubj5)}(hlenph]hlenp}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjF;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>:ubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNjj)}j]j:c.proc_do_large_bitmapasbuh1hhj;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;ubj*)}(hj-h]h*}(hj;hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj;ubj5)}(hpposh]hppos}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>:ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj:hhhj:hMIubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj:hhhj:hMIubah}(h]j9ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj:hMIhj9hhubjc)}(hhh]h)}(h!read/write from/to a large bitmaph]h!read/write from/to a large bitmap}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMIhj<hhubah}(h]h ]h"]h$]h&]uh1jbhj9hhhj:hMIubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhjhNhNubj)}(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)}(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.chMMhj!<ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjF<h]hconst struct ctl_table *table}(hjH<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD<ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMJhj@<ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj_<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[<hMJhj\<ubah}(h]h ]h"]h$]h&]uh1jhj@<ubeh}(h]h ]h"]h$]h&]uh1jhj[<hMJhj=<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.chMKhjy<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<hMKhj<ubah}(h]h ]h"]h$]h&]uh1jhjy<ubeh}(h]h ]h"]h$]h&]uh1jhj<hMKhj=<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.chMLhj<ubj)}(hhh]h)}(hthe user bufferh]hthe user 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-``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.chMMhj<ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMMhj=ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj=hMMhj=<ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hj8=h]h loff_t *ppos}(hj:=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6=ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMNhj2=ubj)}(hhh]h)}(h file positionh]h file position}(hjQ=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjM=hMNhjN=ubah}(h]h ]h"]h$]h&]uh1jhj2=ubeh}(h]h ]h"]h$]h&]uh1jhjM=hMNhj=<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&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMPhj!<ubh)}(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.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMOhj!<ubh)}(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.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:110: ./kernel/sysctl.chMRhj!<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.chMVhj!<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubeh}(h]sysctl-interfaceah ]h"]sysctl interfaceah$]h&]uh1hhjhhhhhKlubh)}(hhh](h)}(hproc filesystem interfaceh]hproc filesystem interface}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hhhhhKrubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hproc_flush_pid (C function)c.proc_flush_pidhNtauh1hhj=hhhNhNubh)}(hhh](j)}(h%void proc_flush_pid (struct pid *pid)h]j)}(h$void proc_flush_pid(struct pid *pid)h](j)}(hvoidh]hvoid}(hj=hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj=hhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chM ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=hhhj=hM ubj/)}(hproc_flush_pidh]j5)}(hproc_flush_pidh]hproc_flush_pid}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj >ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj=hhhj=hM ubj)}(h(struct pid *pid)h]j)}(hstruct pid *pidh](j )}(hjzh]hstruct}(hj,>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(>ubj)}(h h]h }(hj9>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(>ubh)}(hhh]j5)}(hpidh]hpid}(hjJ>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjG>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjL>modnameN classnameNjj)}j]j)}jj>sbc.proc_flush_pidasbuh1hhj(>ubj)}(h h]h }(hjj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(>ubj*)}(hj-h]h*}(hjx>hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj(>ubj5)}(hpidh]hpid}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj$>ubah}(h]h ]h"]h$]h&]jLjMuh1jhj=hhhj=hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj=hhhj=hM ubah}(h]j=ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj=hM hj=hhubjc)}(hhh]h)}(h8Remove dcache entries for **pid** from the /proc dcache.h](hRemove dcache entries for }(hj>hhhNhNubj)}(h**pid**h]hpid}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh from the /proc dcache.}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chM hj>hhubah}(h]h ]h"]h$]h&]uh1jbhj=hhhj=hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhj=hNhNubj)}(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)}(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:116: ./fs/proc/base.chM hj>ubj)}(hhh]j)}(h0``struct pid *pid`` pid that should be flushed. h](j)}(h``struct pid *pid``h]j)}(hj?h]hstruct pid *pid}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chM hj>ubj)}(hhh]h)}(hpid that should be flushed.h]hpid that should be flushed.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hM hj?ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj?hM hj>ubah}(h]h ]h"]h$]h&]uh1jhj>ubh)}(h**Description**h]j)}(hj=?h]h Description}(hj??hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;?ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chM hj>ubh)}(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.}(hjS?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chM hj>ubh)}(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.}(hjb?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chM hj>ubh)}(h**NOTE**h]j)}(hjs?h]hNOTE}(hju?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjq?ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chM hj>ubj)}(hhh]j)}(hThis routine is just an optimization so it does not guarantee that no dcache entries will exist after a process is reaped it just makes it very unlikely that any will persist.h](j)}(h=This routine is just an optimization so it does not guaranteeh]h=This routine is just an optimization so it does not guarantee}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:116: ./fs/proc/base.chM hj?ubj)}(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.}(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&]uh1jhj=hhhNhNubeh}(h]proc-filesystem-interfaceah ]h"]proc filesystem interfaceah$]h&]uh1hhjhhhhhKrubeh}(h]the-proc-filesystemah ]h"]the proc filesystemah$]h&]uh1hhhhhhhhKiubh)}(hhh](h)}(h Events based on file descriptorsh]h Events based on file descriptors}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hhhhhKxubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h eventfd_signal_mask (C function)c.eventfd_signal_maskhNtauh1hhj?hhhNhNubh)}(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}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj?hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chK/ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?hhhj@hK/ubj/)}(heventfd_signal_maskh]j5)}(heventfd_signal_maskh]heventfd_signal_mask}(hj$@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj @ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj?hhhj@hK/ubj)}(h((struct eventfd_ctx *ctx, __poll_t mask)h](j)}(hstruct eventfd_ctx *ctxh](j )}(hjzh]hstruct}(hj@@hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj<@ubj)}(h h]h }(hjM@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<@ubh)}(hhh]j5)}(h eventfd_ctxh]h eventfd_ctx}(hj^@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`@modnameN classnameNjj)}j]j)}jj&@sbc.eventfd_signal_maskasbuh1hhj<@ubj)}(h h]h }(hj~@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj<@ubj*)}(hj-h]h*}(hj@hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj<@ubj5)}(hctxh]hctx}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<@ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj8@ubj)}(h __poll_t maskh](h)}(hhh]j5)}(h__poll_th]h__poll_t}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj@modnameN classnameNjj)}j]jz@c.eventfd_signal_maskasbuh1hhj@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubj5)}(hmaskh]hmask}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj8@ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj?hhhj@hK/ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj?hhhj@hK/ubah}(h]j?ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj@hK/hj?hhubjc)}(hhh]h)}(hIncrement the event counterh]hIncrement the event counter}(hj AhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chK/hjAhhubah}(h]h ]h"]h$]h&]uh1jbhj?hhhj@hK/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#Ajj#Ajjjuh1hhhhj?hNhNubj)}(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-Ah]h Parameters}(hj/AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+Aubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chK3hj'Aubj)}(hhh](j)}(hA``struct eventfd_ctx *ctx`` [in] Pointer to the eventfd context. h](j)}(h``struct eventfd_ctx *ctx``h]j)}(hjLAh]hstruct eventfd_ctx *ctx}(hjNAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJAubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chK0hjFAubj)}(hhh]h)}(h$[in] Pointer to the eventfd context.h]h$[in] Pointer to the eventfd context.}(hjeAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjaAhK0hjbAubah}(h]h ]h"]h$]h&]uh1jhjFAubeh}(h]h ]h"]h$]h&]uh1jhjaAhK0hjCAubj)}(h!``__poll_t mask`` [in] poll mask h](j)}(h``__poll_t mask``h]j)}(hjAh]h __poll_t mask}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chK1hjAubj)}(hhh]h)}(h[in] poll maskh]h[in] poll mask}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhK1hjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhK1hjCAubeh}(h]h ]h"]h$]h&]uh1jhj'Aubh)}(h**Description**h]j)}(hjAh]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chK3hj'Aubh)}(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).}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chK2hj'Aubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heventfd_ctx_put (C function)c.eventfd_ctx_puthNtauh1hhj?hhhNhNubh)}(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}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjBhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKaubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBhhhjBhKaubj/)}(heventfd_ctx_puth]j5)}(heventfd_ctx_puth]heventfd_ctx_put}(hj&BhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"Bubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjBhhhjBhKaubj)}(h(struct eventfd_ctx *ctx)h]j)}(hstruct eventfd_ctx *ctxh](j )}(hjzh]hstruct}(hjBBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>Bubj)}(h h]h }(hjOBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>Bubh)}(hhh]j5)}(h eventfd_ctxh]h eventfd_ctx}(hj`BhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]Bubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbBmodnameN classnameNjj)}j]j)}jj(Bsbc.eventfd_ctx_putasbuh1hhj>Bubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>Bubj*)}(hj-h]h*}(hjBhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj>Bubj5)}(hctxh]hctx}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>Bubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj:Bubah}(h]h ]h"]h$]h&]jLjMuh1jhjBhhhjBhKaubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjAhhhjBhKaubah}(h]jAah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjBhKahjAhhubjc)}(hhh]h)}(h5Releases a reference to the internal eventfd context.h]h5Releases a reference to the internal eventfd context.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKahjBhhubah}(h]h ]h"]h$]h&]uh1jbhjAhhhjBhKaubeh}(h]h ](jfunctioneh"]h$]h&]jjjjBjjBjjjuh1hhhhj?hNhNubj)}(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)}(hjBh]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKehjBubj)}(hhh]j)}(h=``struct eventfd_ctx *ctx`` [in] Pointer to eventfd context. h](j)}(h``struct eventfd_ctx *ctx``h]j)}(hjCh]hstruct eventfd_ctx *ctx}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKbhjCubj)}(hhh]h)}(h [in] Pointer to eventfd context.h]h [in] Pointer to eventfd context.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChKbhjCubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjChKbhjBubah}(h]h ]h"]h$]h&]uh1jhjBubh)}(h**Description**h]j)}(hjACh]h Description}(hjCChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?Cubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKdhjBubh)}(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().}(hjWChhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKchjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*eventfd_ctx_remove_wait_queue (C function)c.eventfd_ctx_remove_wait_queuehNtauh1hhj?hhhNhNubh)}(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}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjChhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjChhhjChKubj/)}(heventfd_ctx_remove_wait_queueh]j5)}(heventfd_ctx_remove_wait_queueh]heventfd_ctx_remove_wait_queue}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjChhhjChKubj)}(h?(struct eventfd_ctx *ctx, wait_queue_entry_t *wait, __u64 *cnt)h](j)}(hstruct eventfd_ctx *ctxh](j )}(hjzh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubh)}(hhh]j5)}(h eventfd_ctxh]h eventfd_ctx}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj)}j]j)}jjCsbc.eventfd_ctx_remove_wait_queueasbuh1hhjCubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj*)}(hj-h]h*}(hjDhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjCubj5)}(hctxh]hctx}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjCubj)}(hwait_queue_entry_t *waith](h)}(hhh]j5)}(hwait_queue_entry_th]hwait_queue_entry_t}(hj8DhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5Dubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:DmodnameN classnameNjj)}j]jCc.eventfd_ctx_remove_wait_queueasbuh1hhj1Dubj)}(h h]h }(hjVDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1Dubj*)}(hj-h]h*}(hjdDhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj1Dubj5)}(hwaith]hwait}(hjqDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1Dubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjCubj)}(h __u64 *cnth](h)}(hhh]j5)}(h__u64h]h__u64}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNjj)}j]jCc.eventfd_ctx_remove_wait_queueasbuh1hhjDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubj*)}(hj-h]h*}(hjDhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjDubj5)}(hcnth]hcnt}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjCubeh}(h]h ]h"]h$]h&]jLjMuh1jhjChhhjChKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj~ChhhjChKubah}(h]jyCah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjChKhj{Chhubjc)}(hhh]h)}(h0Read the current counter and removes wait queue.h]h0Read the current counter and removes wait queue.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKhjDhhubah}(h]h ]h"]h$]h&]uh1jbhj{ChhhjChKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEjjEjjjuh1hhhhj?hNhNubj)}(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)}(hjEh]h Parameters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKhj Eubj)}(hhh](j)}(h=``struct eventfd_ctx *ctx`` [in] Pointer to eventfd context. h](j)}(h``struct eventfd_ctx *ctx``h]j)}(hj1Eh]hstruct eventfd_ctx *ctx}(hj3EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Eubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKhj+Eubj)}(hhh]h)}(h [in] Pointer to eventfd context.h]h [in] Pointer to eventfd context.}(hjJEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFEhKhjGEubah}(h]h ]h"]h$]h&]uh1jhj+Eubeh}(h]h ]h"]h$]h&]uh1jhjFEhKhj(Eubj)}(h<``wait_queue_entry_t *wait`` [in] Wait queue to be removed. h](j)}(h``wait_queue_entry_t *wait``h]j)}(hjjEh]hwait_queue_entry_t *wait}(hjlEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhEubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKhjdEubj)}(hhh]h)}(h[in] Wait queue to be removed.h]h[in] Wait queue to be removed.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhKhjEubah}(h]h ]h"]h$]h&]uh1jhjdEubeh}(h]h ]h"]h$]h&]uh1jhjEhKhj(Eubj)}(h:``__u64 *cnt`` [out] Pointer to the 64-bit counter value. h](j)}(h``__u64 *cnt``h]j)}(hjEh]h __u64 *cnt}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKhjEubj)}(hhh]h)}(h*[out] Pointer to the 64-bit counter value.h]h*[out] Pointer to the 64-bit counter value.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhKhjEubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1jhjEhKhj(Eubeh}(h]h ]h"]h$]h&]uh1jhj Eubh)}(h**Description**h]j)}(hjEh]h Description}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKhj Eubh)}(h:Returns ``0`` if successful, or the following error codes:h](hReturns }(hjEhhhNhNubj)}(h``0``h]h0}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh- if successful, or the following error codes:}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chKhj Eubh option_list)}(hhh]hoption_list_item)}(hhh](h option_group)}(hhh]hoption)}(h-EAGAINh](h option_string)}(h-Eh]h-E}hj,Fsbah}(h]h ]h"]h$]h&]uh1j*Fhj&Fubhoption_argument)}(hAGAINh]hAGAIN}(hjhjGubj)}(hhh]j)}(h)``int fd`` [in] Eventfd file descriptor. h](j)}(h ``int fd``h]j)}(hjGh]hint fd}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chM;hjGubj)}(hhh]h)}(h[in] Eventfd file descriptor.h]h[in] Eventfd file descriptor.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhM;hjGubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjGhM;hjGubah}(h]h ]h"]h$]h&]uh1jhjGubh)}(h**Description**h]j)}(hjGh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chM=hjGubh)}(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:}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chM<hjGubjF)}(hhh](jF)}(hhh](j F)}(hhh]j%F)}(h-EBADFh](j+F)}(h-Eh]h-E}hjHsbah}(h]h ]h"]h$]h&]uh1j*FhjHubj;F)}(hBADFh]hBADF}(hj)HhhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1j:FhjHubeh}(h]h ]h"]h$]h&]uh1j$FhjHubah}(h]h ]h"]h$]h&]uh1jFhjHubjXF)}(h!: Invalid **fd** file descriptor.h]h)}(hjFHh](h : Invalid }(hjHHhhhNhNubj)}(h**fd**h]hfd}(hjOHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHHubh file descriptor.}(hjHHhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chM?hjDHubah}(h]h ]h"]h$]h&]uh1jWFhjHubeh}(h]h ]h"]h$]h&]uh1jFhjHubjF)}(hhh](j F)}(hhh]j%F)}(h-EINVALh](j+F)}(h-Eh]h-E}hj~Hsbah}(h]h ]h"]h$]h&]uh1j*FhjzHubj;F)}(hINVALh]hINVAL}(hjHhhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1j:FhjzHubeh}(h]h ]h"]h$]h&]uh1j$FhjwHubah}(h]h ]h"]h$]h&]uh1jFhjtHubjXF)}(h4: The **fd** file descriptor is not an eventfd file.h]h)}(hjHh](h: The }(hjHhhhNhNubj)}(h**fd**h]hfd}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh( file descriptor is not an eventfd file.}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chM@hjHubah}(h]h ]h"]h$]h&]uh1jWFhjtHubeh}(h]h ]h"]h$]h&]uh1jFhjHubeh}(h]h ]h"]h$]h&]uh1jFhjgHhM?hjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heventfd_ctx_fdget (C function)c.eventfd_ctx_fdgethNtauh1hhj?hhhNhNubh)}(hhh](j)}(h/struct eventfd_ctx * eventfd_ctx_fdget (int fd)h]j)}(h-struct eventfd_ctx *eventfd_ctx_fdget(int fd)h](j )}(hjzh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chMTubj)}(h h]h }(hj IhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHhhhj IhMTubh)}(hhh]j5)}(h eventfd_ctxh]h eventfd_ctx}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNjj)}j]j)}jeventfd_ctx_fdgetsbc.eventfd_ctx_fdgetasbuh1hhjHhhhj IhMTubj)}(h h]h }(hj=IhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHhhhj IhMTubj*)}(hj-h]h*}(hjKIhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjHhhhj IhMTubj/)}(heventfd_ctx_fdgeth]j5)}(hj:Ih]heventfd_ctx_fdget}(hj\IhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXIubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjHhhhj IhMTubj)}(h(int fd)h]j)}(hint fdh](j)}(hinth]hint}(hjwIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjsIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsIubj5)}(hfdh]hfd}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjoIubah}(h]h ]h"]h$]h&]jLjMuh1jhjHhhhj IhMTubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjHhhhj IhMTubah}(h]jHah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj IhMThjHhhubjc)}(hhh]h)}(h5Acquires a reference to the internal eventfd context.h]h5Acquires a reference to the internal eventfd context.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chMThjIhhubah}(h]h ]h"]h$]h&]uh1jbhjHhhhj IhMTubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1hhhhj?hNhNubj)}(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)}(hjIh]h Parameters}(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.chMXhjIubj)}(hhh]j)}(h)``int fd`` [in] Eventfd file descriptor. h](j)}(h ``int fd``h]j)}(hjIh]hint fd}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chMUhjIubj)}(hhh]h)}(h[in] Eventfd file descriptor.h]h[in] Eventfd file descriptor.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMUhjJubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjJhMUhjIubah}(h]h ]h"]h$]h&]uh1jhjIubh)}(h**Description**h]j)}(hj9Jh]h Description}(hj;JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7Jubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chMWhjIubh)}(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:}(hjOJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chMVhjIubh)}(h eventfd_fgeth]h eventfd_fget}(hj^JhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:122: ./fs/eventfd.chMYhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj?hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h eventfd_ctx_fileget (C function)c.eventfd_ctx_filegethNtauh1hhj?hhhNhNubh)}(hhh](j)}(hOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubj*)}(hj-h]h*}(hjLOhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjNubj5)}(heph]hep}(hjYOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjNubeh}(h]h ]h"]h$]h&]jLjMuh1jhjoNhhhjNhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjkNhhhjNhMubah}(h]jfNah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjNhMhjhNhhubjc)}(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.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhjOhhubah}(h]h ]h"]h$]h&]uh1jbhjhNhhhjNhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhjLhNhNubj)}(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)}(hjOh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhjOubj)}(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)}(hjOh]hunsigned long start_time}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhjOubj)}(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.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjOubj)}(h;``struct eventpoll *ep`` Pointer to the eventpoll context. h](j)}(h``struct eventpoll *ep``h]j)}(hjOh]hstruct eventpoll *ep}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhjOubj)}(hhh]h)}(h!Pointer to the eventpoll context.h]h!Pointer to the eventpoll context.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhMhjPubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjPhMhjOubeh}(h]h ]h"]h$]h&]uh1jhjOubh)}(h **Return**h]j)}(hj8Ph]hReturn}(hj:PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6Pubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhjOubh)}(h1true if the timeout has expired, false otherwise.h]h1true if the timeout has expired, false otherwise.}(hjNPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hreverse_path_check (C function)c.reverse_path_checkhNtauh1hhjLhhhNhNubh)}(hhh](j)}(hint reverse_path_check (void)h]j)}(hint reverse_path_check(void)h](j)}(hinth]hint}(hj}PhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjyPhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyPhhhjPhMubj/)}(hreverse_path_checkh]j5)}(hreverse_path_checkh]hreverse_path_check}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjyPhhhjPhMubj)}(h(void)h]j)}(hvoidh]j)}(hvoidh]hvoid}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubah}(h]h ]h"]h$]h&]jLjMuh1jhjyPhhhjPhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjuPhhhjPhMubah}(h]jpPah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjPhMhjrPhhubjc)}(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.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhjPhhubah}(h]h ]h"]h$]h&]uh1jbhjrPhhhjPhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1hhhhjLhNhNubj)}(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)}(hjQh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhjQubj)}(hhh]j)}(h``void`` no arguments h](j)}(h``void``h]j)}(hj%Qh]hvoid}(hj'QhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#Qubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chKhjQubj)}(hhh]h)}(h no argumentsh]h no arguments}(hj>QhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:QhKhj;Qubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhj:QhKhjQubah}(h]h ]h"]h$]h&]uh1jhjQubh)}(h **Return**h]j)}(hj`Qh]hReturn}(hjbQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^Qubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chKhjQubh)}(hM``zero`` if the proposed links don't create too many paths, ``-1`` otherwise.h](j)}(h``zero``h]hzero}(hjzQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvQubh6 if the proposed links don’t create too many paths, }(hjvQhhhNhNubj)}(h``-1``h]h-1}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvQubh otherwise.}(hjvQhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhjQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hep_poll (C function) c.ep_pollhNtauh1hhjLhhhNhNubh)}(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}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjQhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQhhhjQhMubj/)}(hep_pollh]j5)}(hep_pollh]hep_poll}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjQhhhjQhMubj)}(hd(struct eventpoll *ep, struct epoll_event __user *events, int maxevents, struct timespec64 *timeout)h](j)}(hstruct eventpoll *eph](j )}(hjzh]hstruct}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQubh)}(hhh]j5)}(h eventpollh]h eventpoll}(hj RhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"RmodnameN classnameNjj)}j]j)}jjQsb c.ep_pollasbuh1hhjQubj)}(h h]h }(hj@RhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQubj*)}(hj-h]h*}(hjNRhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjQubj5)}(heph]hep}(hj[RhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjQubj)}(h!struct epoll_event __user *eventsh](j )}(hjzh]hstruct}(hjtRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpRubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpRubh)}(hhh]j5)}(h epoll_eventh]h epoll_event}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNjj)}j]j` 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)}(hjcVh]h Parameters}(hjeVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaVubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chM hj]Vubj)}(hhh](j)}(h]``struct eventpoll *ep`` the :c:type:`struct eventpoll ` to be currently checked. h](j)}(h``struct eventpoll *ep``h]j)}(hjVh]hstruct eventpoll *ep}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chM hj|Vubj)}(hhh]h)}(hCthe :c:type:`struct eventpoll ` to be currently checked.h](hthe }(hjVhhhNhNubh)}(h&:c:type:`struct eventpoll `h]j)}(hjVh]hstruct eventpoll}(hjVhhhNhNubah}(h]h ](j:jc-typeeh"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]refdocjF refdomainjreftypetype refexplicitrefwarnjjLjO eventpolluh1hhjVhM hjVubh to be currently checked.}(hjVhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjVhM hjVubah}(h]h ]h"]h$]h&]uh1jhj|Vubeh}(h]h ]h"]h$]h&]uh1jhjVhM hjyVubj)}(h7``int depth`` Current depth of the path being checked. h](j)}(h ``int depth``h]j)}(hjVh]h int depth}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhjVubj)}(hhh]h)}(h(Current depth of the path being checked.h]h(Current depth of the path being checked.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMhjVubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjyVubeh}(h]h ]h"]h$]h&]uh1jhj]Vubh)}(h **Return**h]j)}(hjWh]hReturn}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhj]Vubh)}(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/WhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMhj]Vubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hep_loop_check (C function)c.ep_loop_checkhNtauh1hhjLhhhNhNubh)}(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^WhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjZWhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMKubj)}(h h]h }(hjmWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZWhhhjlWhMKubj/)}(h ep_loop_checkh]j5)}(h ep_loop_checkh]h ep_loop_check}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{Wubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjZWhhhjlWhMKubj)}(h,(struct eventpoll *ep, struct eventpoll *to)h](j)}(hstruct eventpoll *eph](j )}(hjzh]hstruct}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWubh)}(hhh]j5)}(h eventpollh]h eventpoll}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNjj)}j]j)}jjWsbc.ep_loop_checkasbuh1hhjWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWubj*)}(hj-h]h*}(hjWhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjWubj5)}(heph]hep}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjWubj)}(hstruct eventpoll *toh](j )}(hjzh]hstruct}(hj XhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Xubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Xubh)}(hhh]j5)}(h eventpollh]h eventpoll}(hj+XhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(Xubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-XmodnameN classnameNjj)}j]jWc.ep_loop_checkasbuh1hhj Xubj)}(h h]h }(hjIXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Xubj*)}(hj-h]h*}(hjWXhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj Xubj5)}(htoh]hto}(hjdXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Xubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjWubeh}(h]h ]h"]h$]h&]jLjMuh1jhjZWhhhjlWhMKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjVWhhhjlWhMKubah}(h]jQWah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjlWhMKhjSWhhubjc)}(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 (}(hjXhhhNhNubj)}(h**to**h]hto}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubh*) into another epoll file (represented by }(hjXhhhNhNubj)}(h**ep**h]hep}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubh2) does not create closed loops or too deep chains.}(hjXhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMKhjXhhubah}(h]h ]h"]h$]h&]uh1jbhjSWhhhjlWhMKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXjjXjjjuh1hhhhjLhNhNubj)}(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)}(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.chMOhjXubj)}(hhh](j)}(hE``struct eventpoll *ep`` Pointer to the epoll we are inserting into. h](j)}(h``struct eventpoll *ep``h]j)}(hjXh]hstruct eventpoll *ep}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMOhjXubj)}(hhh]h)}(h+Pointer to the epoll we are inserting into.h]h+Pointer to the epoll we are inserting into.}(hj YhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhMOhj Yubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjYhMOhjXubj)}(h>``struct eventpoll *to`` Pointer to the epoll to be inserted. h](j)}(h``struct eventpoll *to``h]j)}(hj,Yh]hstruct eventpoll *to}(hj.YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*Yubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMPhj&Yubj)}(hhh]h)}(h$Pointer to the epoll to be inserted.h]h$Pointer to the epoll to be inserted.}(hjEYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAYhMPhjBYubah}(h]h ]h"]h$]h&]uh1jhj&Yubeh}(h]h ]h"]h$]h&]uh1jhjAYhMPhjXubeh}(h]h ]h"]h$]h&]uh1jhjXubh)}(h **Return**h]j)}(hjgYh]hReturn}(hjiYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeYubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMRhjXubh)}(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}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Yubh if adding the epoll }(hj}YhhhNhNubj)}(h**to**h]hto}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Yubh inside the epoll }(hj}YhhhNhNubj)}(h**from**h]hfrom}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Yubh& does not violate the constraints, or }(hj}YhhhNhNubj)}(h``-1``h]h-1}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}Yubh otherwise.}(hj}YhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:128: ./fs/eventpoll.chMRhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjLhhhNhNubeh}(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}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sysfs_create_file_ns (C function)c.sysfs_create_file_nshNtauh1hhjYhhhNhNubh)}(hhh](j)}(h]int sysfs_create_file_ns (struct kobject *kobj, const struct attribute *attr, const void *ns)h]j)}(h\int sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr, const void *ns)h](j)}(hinth]hint}(hj ZhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjZhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMgubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZhhhjZhMgubj/)}(hsysfs_create_file_nsh]j5)}(hsysfs_create_file_nsh]hsysfs_create_file_ns}(hj*ZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&Zubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjZhhhjZhMgubj)}(hD(struct kobject *kobj, const struct attribute *attr, const void *ns)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjFZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBZubj)}(h h]h }(hjSZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBZubh)}(hhh]j5)}(hkobjecth]hkobject}(hjdZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfZmodnameN classnameNjj)}j]j)}jj,Zsbc.sysfs_create_file_nsasbuh1hhjBZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBZubj*)}(hj-h]h*}(hjZhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjBZubj5)}(hkobjh]hkobj}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBZubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>Zubj)}(hconst struct attribute *attrh](j )}(hjUh]hconst}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubj )}(hjzh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubh)}(hhh]j5)}(h attributeh]h attribute}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNjj)}j]jZc.sysfs_create_file_nsasbuh1hhjZubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubj*)}(hj-h]h*}(hj[hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjZubj5)}(hattrh]hattr}(hj*[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>Zubj)}(hconst void *nsh](j )}(hjUh]hconst}(hjC[hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?[ubj)}(h h]h }(hjP[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?[ubj)}(hvoidh]hvoid}(hj^[hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj?[ubj)}(h h]h }(hjl[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?[ubj*)}(hj-h]h*}(hjz[hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj?[ubj5)}(hnsh]hns}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?[ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>Zubeh}(h]h ]h"]h$]h&]jLjMuh1jhjZhhhjZhMgubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjZhhhjZhMgubah}(h]jYah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjZhMghjYhhubjc)}(hhh]h)}(h5create an attribute file for an object with custom nsh]h5create an attribute file for an object with custom ns}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMghj[hhubah}(h]h ]h"]h$]h&]uh1jbhjYhhhjZhMgubeh}(h]h ](jfunctioneh"]h$]h&]jjjj[jj[jjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct kobject *kobj`` object we're creating for ``const struct attribute *attr`` attribute descriptor ``const void *ns`` namespace the new file should belong toh](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.chMkhj[ubj)}(hhh](j)}(h3``struct kobject *kobj`` object we're creating 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&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhhj[ubj)}(hhh]h)}(hobject we're creating forh]hobject we’re creating for}(hj \hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\hMhhj\ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj\hMhhj[ubj)}(h6``const struct attribute *attr`` attribute descriptor h](j)}(h ``const struct attribute *attr``h]j)}(hj+\h]hconst struct attribute *attr}(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.chMihj%\ubj)}(hhh]h)}(hattribute descriptorh]hattribute descriptor}(hjD\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@\hMihjA\ubah}(h]h ]h"]h$]h&]uh1jhj%\ubeh}(h]h ]h"]h$]h&]uh1jhj@\hMihj[ubj)}(h:``const void *ns`` namespace the new file should belong toh](j)}(h``const void *ns``h]j)}(hjd\h]hconst void *ns}(hjf\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb\ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMkhj^\ubj)}(hhh]h)}(h'namespace the new file should belong toh]h'namespace the new file should belong to}(hj}\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMjhjz\ubah}(h]h ]h"]h$]h&]uh1jhj^\ubeh}(h]h ]h"]h$]h&]uh1jhjy\hMkhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$sysfs_add_file_to_group (C function)c.sysfs_add_file_to_grouphNtauh1hhjYhhhNhNubh)}(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}(hj\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj\hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\hhhj\hMubj/)}(hsysfs_add_file_to_grouph]j5)}(hsysfs_add_file_to_grouph]hsysfs_add_file_to_group}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj\hhhj\hMubj)}(hG(struct kobject *kobj, const struct attribute *attr, const char *group)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubh)}(hhh]j5)}(hkobjecth]hkobject}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNjj)}j]j)}jj\sbc.sysfs_add_file_to_groupasbuh1hhj\ubj)}(h h]h }(hj9]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubj*)}(hj-h]h*}(hjG]hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj\ubj5)}(hkobjh]hkobj}(hjT]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj\ubj)}(hconst struct attribute *attrh](j )}(hjUh]hconst}(hjm]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hji]ubj)}(h h]h }(hjz]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhji]ubj )}(hjzh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hji]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhji]ubh)}(hhh]j5)}(h attributeh]h attribute}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNjj)}j]j5]c.sysfs_add_file_to_groupasbuh1hhji]ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhji]ubj*)}(hj-h]h*}(hj]hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hji]ubj5)}(hattrh]hattr}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hji]ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj\ubj)}(hconst char *grouph](j )}(hjUh]hconst}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubj)}(hcharh]hchar}(hj^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj]ubj)}(h h]h }(hj!^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]ubj*)}(hj-h]h*}(hj/^hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj]ubj5)}(hgrouph]hgroup}(hj<^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj\ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj\hhhj\hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj\hhhj\hMubah}(h]j\ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj\hMhj\hhubjc)}(hhh]h)}(h.add an attribute file to a pre-existing group.h]h.add an attribute file to a pre-existing group.}(hjf^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjc^hhubah}(h]h ]h"]h$]h&]uh1jbhj\hhhj\hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj~^jj~^jjjuh1hhhhjYhNhNubj)}(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^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)}(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&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj^ubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting 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)}(h7``const struct attribute *attr`` attribute descriptor. h](j)}(h ``const struct attribute *attr``h]j)}(hj^h]hconst struct attribute *attr}(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)}(hattribute descriptor.h]hattribute descriptor.}(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 *group`` group name.h](j)}(h``const char *group``h]j)}(hj_h]hconst char *group}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj_ubj)}(hhh]h)}(h group name.h]h group name.}(hj2_hhhNhNubah}(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._hMhj^ubeh}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_chmod_file (C function)c.sysfs_chmod_filehNtauh1hhjYhhhNhNubh)}(hhh](j)}(hWint sysfs_chmod_file (struct kobject *kobj, const struct attribute *attr, umode_t mode)h]j)}(hVint sysfs_chmod_file(struct kobject *kobj, const struct attribute *attr, umode_t mode)h](j)}(hinth]hint}(hjs_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjo_hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjo_hhhj_hMubj/)}(hsysfs_chmod_fileh]j5)}(hsysfs_chmod_fileh]hsysfs_chmod_file}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjo_hhhj_hMubj)}(hB(struct kobject *kobj, const struct attribute *attr, umode_t mode)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_ubh)}(hhh]j5)}(hkobjecth]hkobject}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNjj)}j]j)}jj_sbc.sysfs_chmod_fileasbuh1hhj_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_ubj*)}(hj-h]h*}(hj_hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj_ubj5)}(hkobjh]hkobj}(hj `hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj_ubj)}(hconst struct attribute *attrh](j )}(hjUh]hconst}(hj"`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj)}(h h]h }(hj/`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubj )}(hjzh]hstruct}(hj=`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`ubj)}(h h]h }(hjJ`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubh)}(hhh]j5)}(h attributeh]h attribute}(hj[`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjX`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]`modnameN classnameNjj)}j]j_c.sysfs_chmod_fileasbuh1hhj`ubj)}(h h]h }(hjy`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubj*)}(hj-h]h*}(hj`hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj`ubj5)}(hattrh]hattr}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj_ubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNjj)}j]j_c.sysfs_chmod_fileasbuh1hhj`ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`ubj5)}(hmodeh]hmode}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj_ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjo_hhhj_hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjk_hhhj_hMubah}(h]jf_ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj_hMhjh_hhubjc)}(hhh]h)}(h6update the modified mode value on an object attribute.h]h6update the modified mode value on an object attribute.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjahhubah}(h]h ]h"]h$]h&]uh1jbhjh_hhhj_hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct kobject *kobj`` object we're acting for. ``const struct attribute *attr`` attribute descriptor. ``umode_t mode`` file permissions.h](h)}(h**Parameters**h]j)}(hj(ah]h Parameters}(hj*ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&aubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj"aubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hjGah]hstruct kobject *kobj}(hjIahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEaubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjAaubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hj`ahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\ahMhj]aubah}(h]h ]h"]h$]h&]uh1jhjAaubeh}(h]h ]h"]h$]h&]uh1jhj\ahMhj>aubj)}(h7``const struct attribute *attr`` attribute descriptor. h](j)}(h ``const struct attribute *attr``h]j)}(hjah]hconst struct attribute *attr}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~aubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjzaubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhjzaubeh}(h]h ]h"]h$]h&]uh1jhjahMhj>aubj)}(h"``umode_t mode`` file permissions.h](j)}(h``umode_t mode``h]j)}(hjah]h umode_t mode}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjaubj)}(hhh]h)}(hfile permissions.h]hfile permissions.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahMhj>aubeh}(h]h ]h"]h$]h&]uh1jhj"aubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h*sysfs_break_active_protection (C function)c.sysfs_break_active_protectionhNtauh1hhjYhhhNhNubh)}(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 )}(hjzh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMubj)}(h h]h }(hj!bhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbhhhj bhMubh)}(hhh]j5)}(h kernfs_nodeh]h kernfs_node}(hj2bhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/bubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4bmodnameN classnameNjj)}j]j)}jsysfs_break_active_protectionsbc.sysfs_break_active_protectionasbuh1hhjbhhhj bhMubj)}(h h]h }(hjSbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbhhhj bhMubj*)}(hj-h]h*}(hjabhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjbhhhj bhMubj/)}(hsysfs_break_active_protectionh]j5)}(hjPbh]hsysfs_break_active_protection}(hjrbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnbubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1Wj.hjbhhhj bhMubj)}(h4(struct kobject *kobj, const struct attribute *attr)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubh)}(hhh]j5)}(hkobjecth]hkobject}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNjj)}j]jNbc.sysfs_break_active_protectionasbuh1hhjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubj*)}(hj-h]h*}(hjbhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjbubj5)}(hkobjh]hkobj}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbubj)}(hconst struct attribute *attrh](j )}(hjUh]hconst}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj)}(h h]h }(hj chhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubj )}(hjzh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbubj)}(h h]h }(hj%chhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubh)}(hhh]j5)}(h attributeh]h attribute}(hj6chhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3cubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8cmodnameN classnameNjj)}j]jNbc.sysfs_break_active_protectionasbuh1hhjbubj)}(h h]h }(hjTchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubj*)}(hj-h]h*}(hjbchhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjbubj5)}(hattrh]hattr}(hjochhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbubeh}(h]h ]h"]h$]h&]jLjMuh1jhjbhhhj bhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj bhhhj bhMubah}(h]jbah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj bhMhjbhhubjc)}(hhh]h)}(hbreak "active" protectionh]hbreak “active” protection}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjchhubah}(h]h ]h"]h$]h&]uh1jbhjbhhhj bhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhjYhNhNubj)}(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)}(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.chMhjcubj)}(hhh](j)}(hH``struct kobject *kobj`` The kernel object **attr** is associated with. h](j)}(h``struct kobject *kobj``h]j)}(hjch]hstruct kobject *kobj}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjcubj)}(hhh]h)}(h.The kernel object **attr** is associated with.h](hThe kernel object }(hjchhhNhNubj)}(h**attr**h]hattr}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh is associated with.}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjchMhjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchMhjcubj)}(hU``const struct attribute *attr`` The attribute to break the "active" protection for. h](j)}(h ``const struct attribute *attr``h]j)}(hj%dh]hconst struct attribute *attr}(hj'dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#dubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjdubj)}(hhh]h)}(h3The attribute to break the "active" protection for.h]h7The attribute to break the “active” protection for.}(hj>dhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:dhMhj;dubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhj:dhMhjcubeh}(h]h ]h"]h$]h&]uh1jhjcubh)}(h**Description**h]j)}(hj`dh]h Description}(hjbdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^dubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjcubh)}(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.}(hjvdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjcubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h,sysfs_unbreak_active_protection (C function)!c.sysfs_unbreak_active_protectionhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h=void sysfs_unbreak_active_protection (struct kernfs_node *kn)h]j)}(hghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubj*)}(hj-h]h*}(hjLghhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjfubj5)}(hattrh]hattr}(hjYghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjmfubj)}(hconst void *nsh](j )}(hjUh]hconst}(hjrghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjngubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjngubj)}(hvoidh]hvoid}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjngubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjngubj*)}(hj-h]h*}(hjghhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjngubj5)}(hnsh]hns}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjngubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjmfubeh}(h]h ]h"]h$]h&]jLjMuh1jhj4fhhhjFfhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj0fhhhjFfhMubah}(h]j+fah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjFfhMhj-fhhubjc)}(hhh]h)}(h/remove an object attribute with a custom ns tagh]h/remove an object attribute with a custom ns tag}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjghhubah}(h]h ]h"]h$]h&]uh1jbhj-fhhhjFfhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjgjjgjjjuh1hhhhjYhNhNubj)}(hX**Parameters** ``struct kobject *kobj`` object we're acting for ``const struct attribute *attr`` attribute descriptor ``const void *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)}(hjhh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjgubj)}(hhh](j)}(h1``struct kobject *kobj`` object we're acting for h](j)}(h``struct kobject *kobj``h]j)}(hj!hh]hstruct kobject *kobj}(hj#hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjhubj)}(hhh]h)}(hobject we're acting forh]hobject we’re acting for}(hj:hhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hhMhj7hubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhj6hhMhjhubj)}(h6``const struct attribute *attr`` attribute descriptor h](j)}(h ``const struct attribute *attr``h]j)}(hjZhh]hconst struct attribute *attr}(hj\hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXhubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjThubj)}(hhh]h)}(hattribute descriptorh]hattribute descriptor}(hjshhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohhMhjphubah}(h]h ]h"]h$]h&]uh1jhjThubeh}(h]h ]h"]h$]h&]uh1jhjohhMhjhubj)}(h7``const void *ns`` namespace tag of the file to remove h](j)}(h``const void *ns``h]j)}(hjhh]hconst void *ns}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjhubj)}(hhh]h)}(h#namespace tag of the file to removeh]h#namespace tag of the file to remove}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMhjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjhubeh}(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&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjgubh)}(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.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#sysfs_remove_file_self (C function)c.sysfs_remove_file_selfhNtauh1hhjYhhhNhNubh)}(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}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjihhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMubj)}(h h]h }(hj!ihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjihhhj ihMubj/)}(hsysfs_remove_file_selfh]j5)}(hsysfs_remove_file_selfh]hsysfs_remove_file_self}(hj3ihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/iubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjihhhj ihMubj)}(h4(struct kobject *kobj, const struct attribute *attr)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjOihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKiubj)}(h h]h }(hj\ihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKiubh)}(hhh]j5)}(hkobjecth]hkobject}(hjmihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjoimodnameN classnameNjj)}j]j)}jj5isbc.sysfs_remove_file_selfasbuh1hhjKiubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKiubj*)}(hj-h]h*}(hjihhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjKiubj5)}(hkobjh]hkobj}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjGiubj)}(hconst struct attribute *attrh](j )}(hjUh]hconst}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj )}(hjzh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubh)}(hhh]j5)}(h attributeh]h attribute}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNjj)}j]jic.sysfs_remove_file_selfasbuh1hhjiubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj*)}(hj-h]h*}(hj&jhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjiubj5)}(hattrh]hattr}(hj3jhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjGiubeh}(h]h ]h"]h$]h&]jLjMuh1jhjihhhj ihMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj ihhhj ihMubah}(h]jiah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj ihMhjihhubjc)}(hhh]h)}(h.remove an object attribute from its own methodh]h.remove an object attribute from its own method}(hj]jhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjZjhhubah}(h]h ]h"]h$]h&]uh1jbhjihhhj ihMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjujjjujjjjuh1hhhhjYhNhNubj)}(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)}(hjjh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}jubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM hjyjubj)}(hhh](j)}(h1``struct kobject *kobj`` object we're acting for h](j)}(h``struct kobject *kobj``h]j)}(hjjh]hstruct kobject *kobj}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjjubj)}(hhh]h)}(hobject we're acting forh]hobject we’re acting for}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjjubj)}(h6``const struct attribute *attr`` attribute descriptor h](j)}(h ``const struct attribute *attr``h]j)}(hjjh]hconst struct attribute *attr}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjjubj)}(hhh]h)}(hattribute descriptorh]hattribute descriptor}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMhjjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjjubeh}(h]h ]h"]h$]h&]uh1jhjyjubh)}(h**Description**h]j)}(hjkh]h Description}(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.chM hjyjubh)}(h%See kernfs_remove_self() for details.h]h%See kernfs_remove_self() for details.}(hj(khhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjyjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)sysfs_remove_file_from_group (C function)c.sysfs_remove_file_from_grouphNtauh1hhjYhhhNhNubh)}(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}(hjWkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjSkhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM&ubj)}(h h]h }(hjfkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSkhhhjekhM&ubj/)}(hsysfs_remove_file_from_grouph]j5)}(hsysfs_remove_file_from_grouph]hsysfs_remove_file_from_group}(hjxkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtkubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjSkhhhjekhM&ubj)}(hG(struct kobject *kobj, const struct attribute *attr, const char *group)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubh)}(hhh]j5)}(hkobjecth]hkobject}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNjj)}j]j)}jjzksbc.sysfs_remove_file_from_groupasbuh1hhjkubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubj*)}(hj-h]h*}(hjkhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjkubj5)}(hkobjh]hkobj}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjkubj)}(hconst struct attribute *attrh](j )}(hjUh]hconst}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj )}(hjzh]hstruct}(hj!lhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj)}(h h]h }(hj.lhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubh)}(hhh]j5)}(h attributeh]h attribute}(hj?lhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM'hj:mubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hjYmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUmhM'hjVmubah}(h]h ]h"]h$]h&]uh1jhj:mubeh}(h]h ]h"]h$]h&]uh1jhjUmhM'hj7mubj)}(h7``const struct attribute *attr`` attribute descriptor. h](j)}(h ``const struct attribute *attr``h]j)}(hjymh]hconst struct attribute *attr}(hj{mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwmubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM(hjsmubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhM(hjmubah}(h]h ]h"]h$]h&]uh1jhjsmubeh}(h]h ]h"]h$]h&]uh1jhjmhM(hj7mubj)}(h!``const char *group`` group name.h](j)}(h``const char *group``h]j)}(hjmh]hconst char *group}(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.chM*hjmubj)}(hhh]h)}(h group name.h]h group name.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM)hjmubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjmhM*hj7mubeh}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"sysfs_create_bin_file (C function)c.sysfs_create_bin_filehNtauh1hhjYhhhNhNubh)}(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}(hj nhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjnhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM?ubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnhhhjnhM?ubj/)}(hsysfs_create_bin_fileh]j5)}(hsysfs_create_bin_fileh]hsysfs_create_bin_file}(hj-nhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)nubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjnhhhjnhM?ubj)}(h8(struct kobject *kobj, const struct bin_attribute *attr)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjInhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEnubj)}(h h]h }(hjVnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEnubh)}(hhh]j5)}(hkobjecth]hkobject}(hjgnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjinmodnameN classnameNjj)}j]j)}jj/nsbc.sysfs_create_bin_fileasbuh1hhjEnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEnubj*)}(hj-h]h*}(hjnhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjEnubj5)}(hkobjh]hkobj}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjAnubj)}(h const struct bin_attribute *attrh](j )}(hjUh]hconst}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj )}(hjzh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubh)}(hhh]j5)}(h bin_attributeh]h bin_attribute}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj)}j]jnc.sysfs_create_bin_fileasbuh1hhjnubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj*)}(hj-h]h*}(hj ohhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjnubj5)}(hattrh]hattr}(hj-ohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjAnubeh}(h]h ]h"]h$]h&]jLjMuh1jhjnhhhjnhM?ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjnhhhjnhM?ubah}(h]jmah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjnhM?hjnhhubjc)}(hhh]h)}(hcreate binary file for object.h]hcreate binary file for object.}(hjWohhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM?hjTohhubah}(h]h ]h"]h$]h&]uh1jbhjnhhhjnhM?ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjoojjoojjjuh1hhhhjYhNhNubj)}(hp**Parameters** ``struct kobject *kobj`` object. ``const struct bin_attribute *attr`` attribute descriptor.h](h)}(h**Parameters**h]j)}(hjyoh]h Parameters}(hj{ohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwoubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMChjsoubj)}(hhh](j)}(h!``struct kobject *kobj`` object. h](j)}(h``struct kobject *kobj``h]j)}(hjoh]hstruct kobject *kobj}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM@hjoubj)}(hhh]h)}(hobject.h]hobject.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohM@hjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohM@hjoubj)}(h:``const struct bin_attribute *attr`` attribute descriptor.h](j)}(h$``const struct bin_attribute *attr``h]j)}(hjoh]h const struct bin_attribute *attr}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMBhjoubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMAhjoubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjohMBhjoubeh}(h]h ]h"]h$]h&]uh1jhjsoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"sysfs_remove_bin_file (C function)c.sysfs_remove_bin_filehNtauh1hhjYhhhNhNubh)}(hhh](j)}(hSvoid sysfs_remove_bin_file (struct kobject *kobj, const struct bin_attribute *attr)h]j)}(hRvoid sysfs_remove_bin_file(struct kobject *kobj, const struct bin_attribute *attr)h](j)}(hvoidh]hvoid}(hj+phhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj'phhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMSubj)}(h h]h }(hj:phhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'phhhj9phMSubj/)}(hsysfs_remove_bin_fileh]j5)}(hsysfs_remove_bin_fileh]hsysfs_remove_bin_file}(hjLphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHpubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj'phhhj9phMSubj)}(h8(struct kobject *kobj, const struct bin_attribute *attr)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjhphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdpubj)}(h h]h }(hjuphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdpubh)}(hhh]j5)}(hkobjecth]hkobject}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNjj)}j]j)}jjNpsbc.sysfs_remove_bin_fileasbuh1hhjdpubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdpubj*)}(hj-h]h*}(hjphhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjdpubj5)}(hkobjh]hkobj}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdpubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj`pubj)}(h const struct bin_attribute *attrh](j )}(hjUh]hconst}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubj )}(hjzh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubh)}(hhh]j5)}(h bin_attributeh]h bin_attribute}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj)}j]jpc.sysfs_remove_bin_fileasbuh1hhjpubj)}(h h]h }(hj1qhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubj*)}(hj-h]h*}(hj?qhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjpubj5)}(hattrh]hattr}(hjLqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj`pubeh}(h]h ]h"]h$]h&]jLjMuh1jhj'phhhj9phMSubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj#phhhj9phMSubah}(h]jpah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj9phMShj phhubjc)}(hhh]h)}(hremove binary file for object.h]hremove binary file for object.}(hjvqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMShjsqhhubah}(h]h ]h"]h$]h&]uh1jbhj phhhj9phMSubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhjYhNhNubj)}(hp**Parameters** ``struct kobject *kobj`` object. ``const struct bin_attribute *attr`` attribute descriptor.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:134: ./fs/sysfs/file.chMWhjqubj)}(hhh](j)}(h!``struct kobject *kobj`` object. h](j)}(h``struct kobject *kobj``h]j)}(hjqh]hstruct kobject *kobj}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMThjqubj)}(hhh]h)}(hobject.h]hobject.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhMThjqubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjqhMThjqubj)}(h:``const struct bin_attribute *attr`` attribute descriptor.h](j)}(h$``const struct bin_attribute *attr``h]j)}(hjqh]h const struct bin_attribute *attr}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMVhjqubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hj rhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMUhjrubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjrhMVhjqubeh}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_emit (C function) c.sysfs_emithNtauh1hhjYhhhNhNubh)}(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}(hjJrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjFrhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMubj)}(h h]h }(hjYrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFrhhhjXrhMubj/)}(h sysfs_emith]j5)}(h sysfs_emith]h sysfs_emit}(hjkrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgrubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjFrhhhjXrhMubj)}(h!(char *buf, const char *fmt, ...)h](j)}(h char *bufh](j)}(hcharh]hchar}(hjrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubj*)}(hj-h]h*}(hjrhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjrubj5)}(hbufh]hbuf}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjrubj)}(hconst char *fmth](j )}(hjUh]hconst}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubj)}(hcharh]hchar}(hjrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubj*)}(hj-h]h*}(hjshhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjrubj5)}(hfmth]hfmt}(hj shhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjrubj)}(h...h]j*)}(h...h]h...}(hj&shhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj"subah}(h]h ]h"]h$]h&]noemphjLjMuh1jhjrubeh}(h]h ]h"]h$]h&]jLjMuh1jhjFrhhhjXrhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjBrhhhjXrhMubah}(h]j=rah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjXrhMhj?rhhubjc)}(hhh]h)}(h0scnprintf equivalent, aware of PAGE_SIZE buffer.h]h0scnprintf equivalent, aware of PAGE_SIZE buffer.}(hjPshhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjMshhubah}(h]h ]h"]h$]h&]uh1jbhj?rhhhjXrhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhsjjhsjjjuh1hhhhjYhNhNubj)}(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)}(hjrsh]h Parameters}(hjtshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpsubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjlsubj)}(hhh](j)}(h)``char *buf`` start of PAGE_SIZE buffer. h](j)}(h ``char *buf``h]j)}(hjsh]h char *buf}(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.chMhjsubj)}(hhh]h)}(hstart of PAGE_SIZE buffer.h]hstart of PAGE_SIZE buffer.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshMhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshMhjsubj)}(h``const char *fmt`` format h](j)}(h``const char *fmt``h]j)}(hjsh]hconst char *fmt}(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.chMhjsubj)}(hhh]h)}(hformath]hformat}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshMhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshMhjsubj)}(h)``...`` optional arguments to **format** h](j)}(h``...``h]j)}(hjth]h...}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjsubj)}(hhh]h)}(h optional arguments to **format**h](hoptional arguments to }(hjthhhNhNubj)}(h **format**h]hformat}(hj$thhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1hhjthMhjtubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjthMhjsubeh}(h]h ]h"]h$]h&]uh1jhjlsubh)}(h**Description**h]j)}(hjLth]h Description}(hjNthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJtubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjlsubh)}(h0Returns number of characters written to **buf**.h](h(Returns number of characters written to }(hjbthhhNhNubj)}(h**buf**h]hbuf}(hjjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbtubh.}(hjbthhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjlsubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_emit_at (C function)c.sysfs_emit_athNtauh1hhjYhhhNhNubh)}(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}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjthhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjthhhjthMubj/)}(h sysfs_emit_ath]j5)}(h sysfs_emit_ath]h sysfs_emit_at}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjthhhjthMubj)}(h)(char *buf, int at, const char *fmt, ...)h](j)}(h char *bufh](j)}(hcharh]hchar}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubj*)}(hj-h]h*}(hjthhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjtubj5)}(hbufh]hbuf}(hj uhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjtubj)}(hint ath](j)}(hinth]hint}(hj"uhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjuubj)}(h h]h }(hj0uhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj5)}(hath]hat}(hj>uhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjtubj)}(hconst char *fmth](j )}(hjUh]hconst}(hjWuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSuubj)}(h h]h }(hjduhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSuubj)}(hcharh]hchar}(hjruhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjSuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSuubj*)}(hj-h]h*}(hjuhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjSuubj5)}(hfmth]hfmt}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjtubj)}(h...h]j*)}(hj(sh]h...}(hjuhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjuubah}(h]h ]h"]h$]h&]noemphjLjMuh1jhjtubeh}(h]h ]h"]h$]h&]jLjMuh1jhjthhhjthMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjthhhjthMubah}(h]jtah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjthMhjthhubjc)}(hhh]h)}(h0scnprintf equivalent, aware of PAGE_SIZE buffer.h]h0scnprintf equivalent, aware of PAGE_SIZE buffer.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjuhhubah}(h]h ]h"]h$]h&]uh1jbhjthhhjthMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjujjujjjuh1hhhhjYhNhNubj)}(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)}(hjuh]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjuubj)}(hhh](j)}(h)``char *buf`` start of PAGE_SIZE buffer. h](j)}(h ``char *buf``h]j)}(hjvh]h char *buf}(hj vhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjvubj)}(hhh]h)}(hstart of PAGE_SIZE buffer.h]hstart of PAGE_SIZE buffer.}(hj7vhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3vhMhj4vubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhj3vhMhjvubj)}(hX``int at`` offset in **buf** to start write in bytes **at** must be >= 0 && < PAGE_SIZE h](j)}(h ``int at``h]j)}(hjWvh]hint at}(hjYvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUvubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjQvubj)}(hhh]h)}(hLoffset in **buf** to start write in bytes **at** must be >= 0 && < PAGE_SIZEh](h offset in }(hjpvhhhNhNubj)}(h**buf**h]hbuf}(hjxvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpvubh to start write in bytes }(hjpvhhhNhNubj)}(h**at**h]hat}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpvubh must be >= 0 && < PAGE_SIZE}(hjpvhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjmvubah}(h]h ]h"]h$]h&]uh1jhjQvubeh}(h]h ]h"]h$]h&]uh1jhjlvhMhjvubj)}(h``const char *fmt`` format h](j)}(h``const char *fmt``h]j)}(hjvh]hconst char *fmt}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjvubj)}(hhh]h)}(hformath]hformat}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhMhjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjvubj)}(h&``...`` optional arguments to **fmt** h](j)}(h``...``h]j)}(hjvh]h...}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjvubj)}(hhh]h)}(hoptional arguments to **fmt**h](hoptional arguments to }(hjwhhhNhNubj)}(h**fmt**h]hfmt}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1hhjwhMhjwubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjvubeh}(h]h ]h"]h$]h&]uh1jhjuubh)}(h**Description**h]j)}(hj7wh]h Description}(hj9whhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5wubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjuubh)}(hBReturns number of characters written starting at &**buf**[**at**].h](h:Returns number of characters written starting at &**buf**[}(hjMwhhhNhNubj)}(h**at**h]hat}(hjUwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMwubh].}(hjMwhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'sysfs_bin_attr_simple_read (C function)c.sysfs_bin_attr_simple_readhNtauh1hhjYhhhNhNubh)}(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]j5)}(hssize_th]hssize_t}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjwmodnameN classnameNjj)}j]j)}jsysfs_bin_attr_simple_readsbc.sysfs_bin_attr_simple_readasbuh1hhjwhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwhhhjwhMubj/)}(hsysfs_bin_attr_simple_readh]j5)}(hjwh]hsysfs_bin_attr_simple_read}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjwhhhjwhMubj)}(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 )}(hjzh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubh)}(hhh]j5)}(hfileh]hfile}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj)}j]jwc.sysfs_bin_attr_simple_readasbuh1hhjwubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubj*)}(hj-h]h*}(hj*xhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjwubj5)}(hfileh]hfile}(hj7xhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubj)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjPxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLxubj)}(h h]h }(hj]xhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLxubh)}(hhh]j5)}(hkobjecth]hkobject}(hjnxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpxmodnameN classnameNjj)}j]jwc.sysfs_bin_attr_simple_readasbuh1hhjLxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLxubj*)}(hj-h]h*}(hjxhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjLxubj5)}(hkobjh]hkobj}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubj)}(h const struct bin_attribute *attrh](j )}(hjUh]hconst}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubj )}(hjzh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubh)}(hhh]j5)}(h bin_attributeh]h bin_attribute}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj)}j]jwc.sysfs_bin_attr_simple_readasbuh1hhjxubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubj*)}(hj-h]h*}(hj%yhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjxubj5)}(hattrh]hattr}(hj2yhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubj)}(h char *bufh](j)}(hcharh]hchar}(hjKyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjGyubj)}(h h]h }(hjYyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGyubj*)}(hj-h]h*}(hjgyhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjGyubj5)}(hbufh]hbuf}(hjtyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubj)}(h loff_t offh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj)}j]jwc.sysfs_bin_attr_simple_readasbuh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj5)}(hoffh]hoff}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubj)}(h size_t counth](h)}(hhh]j5)}(hsize_th]hsize_t}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj)}j]jwc.sysfs_bin_attr_simple_readasbuh1hhjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj5)}(hcounth]hcount}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubeh}(h]h ]h"]h$]h&]jLjMuh1jhjwhhhjwhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjwhhhjwhMubah}(h]jwah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjwhMhjwhhubjc)}(hhh]h)}(h)read callback to simply copy from memory.h]h)read callback to simply copy from memory.}(hj.zhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhj+zhhubah}(h]h ]h"]h$]h&]uh1jbhjwhhhjwhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFzjjFzjjjuh1hhhhjYhNhNubj)}(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)}(hjPzh]h Parameters}(hjRzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNzubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjJzubj)}(hhh](j)}(h:``struct file *file`` attribute file which is being read. h](j)}(h``struct file *file``h]j)}(hjozh]hstruct file *file}(hjqzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmzubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjizubj)}(hhh]h)}(h#attribute file which is being read.h]h#attribute file which is being read.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhMhjzubah}(h]h ]h"]h$]h&]uh1jhjizubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjfzubj)}(h@``struct kobject *kobj`` object to which the attribute belongs. h](j)}(h``struct kobject *kobj``h]j)}(hjzh]hstruct kobject *kobj}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjzubj)}(hhh]h)}(h&object to which the attribute belongs.h]h&object to which the attribute belongs.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhMhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjfzubj)}(h;``const struct bin_attribute *attr`` attribute descriptor. h](j)}(h$``const struct bin_attribute *attr``h]j)}(hjzh]h const struct bin_attribute *attr}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjzubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhMhjzubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjfzubj)}(h"``char *buf`` destination 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)}(hdestination buffer.h]hdestination buffer.}(hj3{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/{hMhj0{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj/{hMhjfzubj)}(h3``loff_t off`` offset in bytes from which to read. h](j)}(h``loff_t off``h]j)}(hjS{h]h loff_t off}(hjU{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ{ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chMhjM{ubj)}(hhh]h)}(h#offset in bytes from which to read.h]h#offset in bytes from which to read.}(hjl{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjh{hMhji{ubah}(h]h ]h"]h$]h&]uh1jhjM{ubeh}(h]h ]h"]h$]h&]uh1jhjh{hMhjfzubj)}(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 hj{ubj)}(hhh]h)}(h maximum number of bytes to read.h]h maximum number of bytes to read.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hM hj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hM hjfzubeh}(h]h ]h"]h$]h&]uh1jhjJzubh)}(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.chM"hjJzubh)}(hSimple ->read() callback for bin_attributes backed by a buffer in memory. The **private** and **size** members in struct bin_attribute must be set to the buffer's location and size before the bin_attribute is created in sysfs.h](hNSimple ->read() callback for bin_attributes backed by a buffer in memory. The }(hj{hhhNhNubj)}(h **private**h]hprivate}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh and }(hj{hhhNhNubj)}(h**size**h]hsize}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh~ members in struct bin_attribute must be set to the buffer’s location and size before the bin_attribute is created in sysfs.}(hj{hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM!hjJzubh)}(hBounds check for **off** and **count** is done in sysfs_kf_bin_read(). Negative value check for **off** is done in vfs_setpos() and default_llseek().h](hBounds check for }(hj|hhhNhNubj)}(h**off**h]hoff}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubh and }(hj|hhhNhNubj)}(h **count**h]hcount}(hj*|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubh: is done in sysfs_kf_bin_read(). Negative value check for }(hj|hhhNhNubj)}(h**off**h]hoff}(hj<|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubh. is done in vfs_setpos() and default_llseek().}(hj|hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM%hjJzubh)}(h+Returns number of bytes written to **buf**.h](h#Returns number of bytes written to }(hjU|hhhNhNubj)}(h**buf**h]hbuf}(hj]|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU|ubh.}(hjU|hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/file.chM(hjJzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_create_link (C function)c.sysfs_create_linkhNtauh1hhjYhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhj|hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKTubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|hhhj|hKTubj/)}(hsysfs_create_linkh]j5)}(hsysfs_create_linkh]hsysfs_create_link}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj|hhhj|hKTubj)}(h@(struct kobject *kobj, struct kobject *target, const char *name)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj|ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubh)}(hhh]j5)}(hkobjecth]hkobject}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj)}j]j)}jj|sbc.sysfs_create_linkasbuh1hhj|ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubj*)}(hj-h]h*}(hj}hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj|ubj5)}(hkobjh]hkobj}(hj,}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj|ubj)}(hstruct kobject *targeth](j )}(hjzh]hstruct}(hjE}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjA}ubj)}(h h]h }(hjR}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjA}ubh)}(hhh]j5)}(hkobjecth]hkobject}(hjc}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetje}modnameN classnameNjj)}j]j }c.sysfs_create_linkasbuh1hhjA}ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjA}ubj*)}(hj-h]h*}(hj}hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjA}ubj5)}(htargeth]htarget}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjA}ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj|ubj)}(hconst char *nameh](j )}(hjUh]hconst}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj}ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubj)}(hcharh]hchar}(hj}hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj}ubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubj*)}(hj-h]h*}(hj}hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj}ubj5)}(hnameh]hname}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj|ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj|hhhj|hKTubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj|hhhj|hKTubah}(h]j|ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj|hKThj|hhubjc)}(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&]uh1jbhj|hhhj|hKTubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;~jj;~jjjuh1hhhhjYhNhNubj)}(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)}(hjE~h]h Parameters}(hjG~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC~ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKXhj?~ubj)}(hhh](j)}(hL``struct kobject *kobj`` object whose directory we're creating the link in. h](j)}(h``struct kobject *kobj``h]j)}(hjd~h]hstruct kobject *kobj}(hjf~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjb~ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKUhj^~ubj)}(hhh]h)}(h2object whose directory we're creating the link in.h]h4object whose directory we’re creating the link in.}(hj}~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjy~hKUhjz~ubah}(h]h ]h"]h$]h&]uh1jhj^~ubeh}(h]h ]h"]h$]h&]uh1jhjy~hKUhj[~ubj)}(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.}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hKVhj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hKVhj[~ubj)}(h)``const char *name`` name of the symlink.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.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~hKXhj[~ubeh}(h]h ]h"]h$]h&]uh1jhj?~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%sysfs_create_link_nowarn (C function)c.sysfs_create_link_nowarnhNtauh1hhjYhhhNhNubh)}(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}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj,hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKaubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,hhhj>hKaubj/)}(hsysfs_create_link_nowarnh]j5)}(hsysfs_create_link_nowarnh]hsysfs_create_link_nowarn}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj,hhhj>hKaubj)}(h@(struct kobject *kobj, struct kobject *target, const char *name)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubh)}(hhh]j5)}(hkobjecth]hkobject}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjSsbc.sysfs_create_link_nowarnasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjiubj5)}(hkobjh]hkobj}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubj)}(hstruct kobject *targeth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hkobjecth]hkobject}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.sysfs_create_link_nowarnasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj)hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htargeth]htarget}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubj)}(hconst char *nameh](j )}(hjUh]hconst}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubj)}(hcharh]hchar}(hjjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjKubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjKubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubeh}(h]h ]h"]h$]h&]jLjMuh1jhj,hhhj>hKaubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj(hhhj>hKaubah}(h]j#ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj>hKahj%hhubjc)}(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&]uh1jbhj%hhhj>hKaubeh}(h]h ](jfunctioneh"]h$]h&]jjjjՀjjՀjjjuh1hhhhjYhNhNubj)}(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)}(hj߀h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj݀ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKehjـubj)}(hhh](j)}(hL``struct kobject *kobj`` object whose directory we're creating the link in. h](j)}(h``struct kobject *kobj``h]j)}(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.chKbhjubj)}(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&]uh1hhjhKbhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKbhjubj)}(h5``struct kobject *target`` object we're pointing to. h](j)}(h``struct kobject *target``h]j)}(hj7h]hstruct kobject *target}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKchj1ubj)}(hhh]h)}(hobject we're pointing to.h]hobject we’re pointing to.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhKchjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhKchjubj)}(h*``const char *name`` name of the symlink. h](j)}(h``const char *name``h]j)}(hjph]hconst char *name}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKdhjjubj)}(hhh]h)}(hname of the symlink.h]hname of the symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKdhjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhKdhjubeh}(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&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKfhjـubj)}(hcThis function does the same as sysfs_create_link(), but it doesn't warn if the link already exists.h]h)}(hcThis function does the same as sysfs_create_link(), but it doesn't warn if the link already exists.h]heThis function does the same as sysfs_create_link(), but it doesn’t warn if the link already exists.}(hjŁhhhNhNubah}(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&]uh1jhjӁhKehjـubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_remove_link (C function)c.sysfs_remove_linkhNtauh1hhjYhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(hsysfs_remove_linkh]j5)}(hsysfs_remove_linkh]hsysfs_remove_link}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(h((struct kobject *kobj, const char *name)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubh)}(hhh]j5)}(hkobjecth]hkobject}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNjj)}j]j)}jjsbc.sysfs_remove_linkasbuh1hhj3ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj5)}(hkobjh]hkobj}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubj)}(hconst char *nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hjĂhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj҂hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(hhh]h)}(h%remove symlink in object's directory.h]h'remove 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&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhjYhNhNubj)}(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)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhj3ubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hjXh]hstruct kobject *kobj}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhjRubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhKhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhKhjOubj)}(h3``const char *name`` name of the symlink to remove.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.chKhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjOubeh}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sysfs_rename_link_ns (C function)c.sysfs_rename_link_nshNtauh1hhjYhhhNhNubh)}(hhh](j)}(h{int sysfs_rename_link_ns (struct kobject *kobj, struct kobject *targ, const char *old, const char *new, const void *new_ns)h]j)}(hzint sysfs_rename_link_ns(struct kobject *kobj, struct kobject *targ, const char *old, const char *new, const void *new_ns)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(hsysfs_rename_link_nsh]j5)}(hsysfs_rename_link_nsh]hsysfs_rename_link_ns}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(hb(struct kobject *kobj, struct kobject *targ, const char *old, const char *new, const void *new_ns)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubh)}(hhh]j5)}(hkobjecth]hkobject}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNjj)}j]j)}jjsbc.sysfs_rename_link_nsasbuh1hhj$ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubj*)}(hj-h]h*}(hjthhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj$ubj5)}(hkobjh]hkobj}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hstruct kobject *targh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hkobjecth]hkobject}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jbc.sysfs_rename_link_nsasbuh1hhjubj)}(h h]h }(hjքhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htargh]htarg}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hconst char *oldh](j )}(hjUh]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjAhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(holdh]hold}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hconst char *newh](j )}(hjUh]hconst}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjcubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj5)}(hnewh]hnew}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hconst void *new_nsh](j )}(hjUh]hconst}(hjąhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjхhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hj߅hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnew_nsh]hnew_ns}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jރah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(hhh]h)}(h%rename symlink in object's directory.h]h'rename symlink in object’s directory.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhj/hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1hhhhjYhNhNubj)}(hXd**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 void *new_ns`` new namespace of the symlink. **Description** A helper function for the common rename symlink idiom.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)}(hjsh]hstruct kobject *kobj}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhjmubj)}(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&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhKhjjubj)}(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&]uh1hhjhKhj†ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjjubj)}(h2``const char *old`` previous name of the symlink. h](j)}(h``const char *old``h]j)}(hjh]hconst char *old}(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.chKhj߆ubj)}(hhh]h)}(hprevious name of the symlink.h]hprevious name of the symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj߆ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjjubj)}(h-``const char *new`` new name of the symlink. h](j)}(h``const char *new``h]j)}(hjh]hconst char *new}(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 name of the symlink.h]hnew name of the symlink.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hKhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hKhjjubj)}(h5``const void *new_ns`` new namespace of the symlink. h](j)}(h``const void *new_ns``h]j)}(hjWh]hconst void *new_ns}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhjQubj)}(hhh]h)}(hnew namespace of the symlink.h]hnew namespace of the symlink.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhKhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhKhjjubeh}(h]h ]h"]h$]h&]uh1jhjNubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:137: ./fs/sysfs/symlink.chKhjNubj)}(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&]uh1jhjhKhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubeh}(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&]uh1hhjχhhhhhKubh)}(hhh](h)}(hdebugfs interfaceh]hdebugfs interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_lookup (C function)c.debugfs_lookuphNtauh1hhjhhhNhNubh)}(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 )}(hjzh]hstruct}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMNubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMNubh)}(hhh]j5)}(hdentryh]hdentry}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+modnameN classnameNjj)}j]j)}jdebugfs_lookupsbc.debugfs_lookupasbuh1hhjhhhjhMNubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMNubj*)}(hj-h]h*}(hjXhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMNubj/)}(hdebugfs_lookuph]j5)}(hjGh]hdebugfs_lookup}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMNubj)}(h)(const char *name, struct dentry *parent)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hjȈhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj|ubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj݈ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj݈ubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jEc.debugfs_lookupasbuh1hhj݈ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj݈ubj*)}(hj-h]h*}(hj+hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj݈ubj5)}(hparenth]hparent}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj݈ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj|ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMNubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMNubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMNhjhhubjc)}(hhh]h)}(h look up an existing debugfs fileh]h look up an existing debugfs file}(hjbhhhNhNubah}(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&]uh1jbhjhhhjhMNubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to look up. ``struct dentry *parent`` a pointer to the parent dentry of the file. **Description** This function will return a pointer to a dentry if it succeeds. If the file doesn't exist or an error occurs, ``NULL`` will be returned. The returned dentry must be passed to dput() when it is no longer needed. If debugfs is not enabled in the kernel, the value -``ENODEV`` will be returned.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMRhj~ubj)}(hhh](j)}(hW``const char *name`` a pointer to a string containing the name of the file to look up. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMOhjubj)}(hhh]h)}(hAa pointer to a string containing the name of the file to look up.h]hAa pointer to a string containing the name of the file to look up.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubj)}(hF``struct dentry *parent`` a pointer to the parent dentry of the file. h](j)}(h``struct dentry *parent``h]j)}(hj܉h]hstruct dentry *parent}(hjމhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjډubah}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhj։ubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubeh}(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&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMRhj~ubh)}(hThis function will return a pointer to a dentry if it succeeds. If the file doesn't exist or an error occurs, ``NULL`` will be returned. The returned dentry must be passed to dput() when it is no longer needed.h](hqThis function will return a pointer to a dentry if it succeeds. If the file doesn’t exist or an error occurs, }(hj-hhhNhNubj)}(h``NULL``h]hNULL}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh] will be returned. The returned dentry must be passed to dput() when it is no longer needed.}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMQhj~ubh)}(hPIf debugfs is not enabled in the kernel, the value -``ENODEV`` will be returned.h](h4If debugfs is not enabled in the kernel, the value -}(hjNhhhNhNubj)}(h ``ENODEV``h]hENODEV}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh will be returned.}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMUhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'debugfs_create_file_unsafe (C function)c.debugfs_create_file_unsafehNtauh1hhjhhhNhNubh)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jdebugfs_create_file_unsafesbc.debugfs_create_file_unsafeasbuh1hhjhhhjhMubj)}(h h]h }(hjϊhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hj݊hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hdebugfs_create_file_unsafeh]j5)}(hj̊h]hdebugfs_create_file_unsafe}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hg(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hj$hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj@hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNjj)}j]jʊc.debugfs_create_file_unsafeasbuh1hhjbubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hj̋hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjɋubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj΋modnameN classnameNjj)}j]jʊc.debugfs_create_file_unsafeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj:hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdatah]hdata}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h"const struct file_operations *fopsh](j )}(hjUh]hconst}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubj )}(hjzh]hstruct}(hj{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj\ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubh)}(hhh]j5)}(hfile_operationsh]hfile_operations}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jʊc.debugfs_create_file_unsafeasbuh1hhj\ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubj*)}(hj-h]h*}(hjŌhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj\ubj5)}(hfopsh]hfops}(hjҌhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hj=h]hconst char *name}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhj7ubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhj4ubj)}(h;``umode_t mode`` the permission that the file should have. h](j)}(h``umode_t mode``h]j)}(hjvh]h umode_t mode}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjpubj)}(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&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhMhj4ubj)}(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.}(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čhMhj4ubj)}(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.chMhjubj)}(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.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj4ubj)}(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.chMhjubj)}(hhh]h)}(hHa pointer to a struct file_operations that should be used for this file.h]hHa pointer to a struct file_operations that should be used for this file.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhj4ubeh}(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&]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.}(hjuhhhNhNubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%debugfs_create_file_size (C function)c.debugfs_create_file_sizehNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMubj)}(h h]h }(hjюhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjЎhMubj/)}(hdebugfs_create_file_sizeh]j5)}(hdebugfs_create_file_sizeh]hdebugfs_create_file_size}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjߎubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjЎhMubj)}(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 )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj6hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNjj)}j]j)}jjsbc.debugfs_create_file_sizeasbuh1hhjXubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjďhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjƏmodnameN classnameNjj)}j]j{c.debugfs_create_file_sizeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *datah](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj2hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdatah]hdata}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h"const struct file_operations *fopsh](j )}(hjUh]hconst}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj )}(hjzh]hstruct}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubh)}(hhh]j5)}(hfile_operationsh]hfile_operations}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j{c.debugfs_create_file_sizeasbuh1hhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjTubj5)}(hfopsh]hfops}(hjʐhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hloff_t file_sizeh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j{c.debugfs_create_file_sizeasbuh1hhjߐubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjߐubj5)}(h file_sizeh]h file_size}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjߐubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjЎhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjЎhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjЎhMhjhhubjc)}(hhh]h)}(h'create a file in the debugfs filesystemh]h'create a file 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.chMhj9hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjЎhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjTjjTjjjuh1hhhhjhNhNubj)}(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.chMhjXubj)}(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}(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.chMhjwubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjtubj)}(h;``umode_t mode`` the permission that the file should have. h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubj)}(hhh]h)}(h)the permission that the file should have.h]h)the permission that the file should have.}(hjϑhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjˑhMhj̑ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjˑhMhjtubj)}(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.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjtubj)}(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)}(hj)h]h void *data}(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 hj#ubj)}(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.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM hj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hM hjtubj)}(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)}(hjch]h"const struct file_operations *fops}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(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.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM hjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhMhjtubj)}(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&]uh1jhjhMhjtubeh}(h]h ]h"]h$]h&]uh1jhjXubh)}(h**Description**h]j)}(hjؒh]h Description}(hjڒhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj֒ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjXubh)}(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.)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_dir (C function)c.debugfs_create_dirhNtauh1hhjhhhNhNubh)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM#ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj*hM#ubh)}(hhh]j5)}(hdentryh]hdentry}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNjj)}j]j)}jdebugfs_create_dirsbc.debugfs_create_dirasbuh1hhjhhhj*hM#ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj*hM#ubj*)}(hj-h]h*}(hjkhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhj*hM#ubj/)}(hdebugfs_create_dirh]j5)}(hjZh]hdebugfs_create_dir}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj*hM#ubj)}(h)(const char *name, struct dentry *parent)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjΓhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hjۓhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jXc.debugfs_create_dirasbuh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj>hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj*hM#ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj*hM#ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj*hM#hjhhubjc)}(hhh]h)}(h,create a directory in the debugfs filesystemh]h,create a directory in the debugfs filesystem}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM#hjrhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj*hM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hXF**Parameters** ``const char *name`` a pointer to a string containing the name of the directory to create. ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the directory will be created in the root of the debugfs filesystem. **Description** This function creates a directory in debugfs with the given name. This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the file is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned. If debugfs is not enabled in the kernel, the value -``ENODEV`` will be returned. **NOTE** it's expected that most callers should _ignore_ the errors returned by this function. Other debugfs functions handle the fact that the "dentry" passed to them could be an error and they don't crash in that case. Drivers should generally work fine even if debugfs fails to init anyway.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM'hjubj)}(hhh](j)}(h[``const char *name`` a pointer to a string containing the name of the directory to create. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM%hjubj)}(hhh]h)}(hEa pointer to a string containing the name of the directory to create.h]hEa pointer to a string containing the name of the directory to create.}(hjϔhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM$hj̔ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj˔hM%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)}(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 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.}(hj hhhNhNubah}(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(hjubeh}(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.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.}(hjBhhhNhNubah}(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.}(hjQhhhNhNubah}(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}(hjhhhhNhNubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%debugfs_create_automount (C function)c.debugfs_create_automounthNtauh1hhjhhhNhNubh)}(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 )}(hjzh]hstruct}(hjȕhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjĕhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMWubj)}(h h]h }(hj֕hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjĕhhhjՕhMWubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jdebugfs_create_automountsbc.debugfs_create_automountasbuh1hhjĕhhhjՕhMWubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjĕhhhjՕhMWubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjĕhhhjՕhMWubj/)}(hdebugfs_create_automounth]j5)}(hjh]hdebugfs_create_automount}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjĕhhhjՕhMWubj)}(hL(const char *name, struct dentry *parent, debugfs_automount_t f, void *data)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj>ubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubj)}(hcharh]hchar}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj>ubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubj*)}(hj-h]h*}(hjyhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj>ubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj:ubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.debugfs_create_automountasbuh1hhjubj)}(h h]h }(hjۖhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj:ubj)}(hdebugfs_automount_t fh](h)}(hhh]j5)}(hdebugfs_automount_th]hdebugfs_automount_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.debugfs_create_automountasbuh1hhj ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj5)}(hjh]hf}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj:ubj)}(h void *datah](j)}(hvoidh]hvoid}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjRubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRubj*)}(hj-h]h*}(hjrhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjRubj5)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj:ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjĕhhhjՕhMWubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjՕhMWubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjՕhMWhjhhubjc)}(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&]uh1jbhjhhhjՕhMWubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem. ``debugfs_automount_t f`` function to be called when pathname resolution steps on that one. ``void *data`` opaque argument to pass to f(). **Description** **f** should return what ->d_automount() would.h](h)}(h**Parameters**h]j)}(hj˗h]h Parameters}(hj͗hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɗubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM[hjŗubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(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.chMXhjubj)}(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&]uh1hhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(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&]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.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMYhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hM[hjubj)}(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\hjWubj)}(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.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhM\hjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhM\hjubj)}(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]hjubeh}(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:146: ./fs/debugfs/inode.chM_hjŗubh)}(h/**f** should return what ->d_automount() would.h](j)}(h**f**h]hf}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh* should return what ->d_automount() would.}(hjhhhNhNubeh}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#debugfs_create_symlink (C function)c.debugfs_create_symlinkhNtauh1hhjhhhNhNubh)}(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 )}(hjzh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj1hMubh)}(hhh]j5)}(hdentryh]hdentry}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj)}j]j)}jdebugfs_create_symlinksbc.debugfs_create_symlinkasbuh1hhj hhhj1hMubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj1hMubj*)}(hj-h]h*}(hjrhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj hhhj1hMubj/)}(hdebugfs_create_symlinkh]j5)}(hjah]hdebugfs_create_symlink}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj1hMubj)}(h=(const char *name, struct dentry *parent, const char *target)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjǙhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjՙhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j_c.debugfs_create_symlinkasbuh1hhjubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjEhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst char *targeth](j )}(hjUh]hconst}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjgubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjgubj5)}(htargeth]htarget}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj hhhj1hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj1hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj1hMhjhhubjc)}(hhh]h)}(h0create a symbolic link in the debugfs filesystemh]h0create a symbolic link 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.chMhj֚hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj1hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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_``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.chMhjubj)}(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.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this 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)}(hjTh]hstruct dentry *parent}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjNubj)}(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.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjubj)}(he``const char *target`` a pointer to a string containing the path to the target of the symbolic link. h](j)}(h``const char *target``h]j)}(hjh]hconst char *target}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubj)}(hhh]h)}(hMa pointer to a string containing the path to the target of the symbolic link.h]hMa pointer to a string containing the path to the target of the symbolic link.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]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)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjubh)}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_remove (C function)c.debugfs_removehNtauh1hhjhhhNhNubh)}(hhh](j)}(h+void debugfs_remove (struct dentry *dentry)h]j)}(h*void debugfs_remove(struct dentry *dentry)h](j)}(hvoidh]hvoid}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj;hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;hhhjMhMubj/)}(hdebugfs_removeh]j5)}(hdebugfs_removeh]hdebugfs_remove}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj;hhhjMhMubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjbsbc.debugfs_removeasbuh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubj*)}(hj-h]h*}(hjȜhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjxubj5)}(hdentryh]hdentry}(hj՜hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjtubah}(h]h ]h"]h$]h&]jLjMuh1jhj;hhhjMhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj7hhhjMhMubah}(h]j2ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjMhMhj4hhubjc)}(hhh]h)}(hrecursively removes a directoryh]hrecursively removes a directory}(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&]uh1jbhj4hhhjMhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hj!h]h Parameters}(hj#hhhNhNubah}(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)}(hj@h]hstruct dentry *dentry}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhj:ubj)}(hhh]h)}(h}a pointer to a 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.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhj7ubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj|h]h Description}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.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.}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&debugfs_lookup_and_remove (C function)c.debugfs_lookup_and_removehNtauh1hhjhhhNhNubh)}(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}(hjНhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj̝hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMubj)}(h h]h }(hjߝhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj̝hhhjޝhMubj/)}(hdebugfs_lookup_and_removeh]j5)}(hdebugfs_lookup_and_removeh]hdebugfs_lookup_and_remove}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj̝hhhjޝhMubj)}(h)(const char *name, struct dentry *parent)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj)}(hcharh]hchar}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hjDhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hnameh]hname}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.debugfs_lookup_and_removeasbuh1hhjfubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjfubj5)}(hparenth]hparent}(hjÞhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj̝hhhjޝhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjȝhhhjޝhMubah}(h]jÝah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjޝhMhjŝhhubjc)}(hhh]h)}(h4lookup a directory or file and recursively remove ith]h4lookup a directory or file and recursively remove it}(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&]uh1jbhjŝhhhjޝhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhj ubj)}(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)}(hj.h]hconst char *name}(hj0hhhNhNubah}(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)}(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.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChMhjDubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhjChMhj%ubj)}(hF``struct dentry *parent`` a pointer to the parent dentry of the item. h](j)}(h``struct dentry *parent``h]j)}(hjgh]hstruct dentry *parent}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhjaubj)}(hhh]h)}(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&]uh1hhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj%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&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhj ubh)}(hThis is the equlivant of doing something like debugfs_remove(debugfs_lookup(..)) but with the proper reference counting handled for the directory being looked up.h]hThis is the equlivant of doing something like debugfs_remove(debugfs_lookup(..)) but with the proper reference counting handled for the directory being looked up.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h debugfs_change_name (C function)c.debugfs_change_namehNtauh1hhjhhhNhNubh)}(hhh](j)}(hEint 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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM)ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM)ubj/)}(hdebugfs_change_nameh]j5)}(hdebugfs_change_nameh]hdebugfs_change_name}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM)ubj)}(h-(struct dentry *dentry, const char *fmt, ...)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(hdentryh]hdentry}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNjj)}j]j)}jj sbc.debugfs_change_nameasbuh1hhj ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hjphhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hdentryh]hdentry}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst char *fmth](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj͠hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfmth]hfmt}(hjڠhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h...h]j*)}(hj(sh]h...}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubah}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM)ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjߟhhhjhM)ubah}(h]jڟah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM)hjܟhhubjc)}(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&]uh1jbhjܟhhhjhM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhjhNhNubj)}(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)}(hj>h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM-hj8ubj)}(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*hjWubj)}(hhh]h)}(h"dentry of an object to be renamed.h]h"dentry of an object to be renamed.}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhM*hjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhM*hjTubj)}(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+hjTubj)}(h``...`` variable arguments h](j)}(h``...``h]j)}(hjϡh]h...}(hjѡhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj͡ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chKhjɡubj)}(hhh]h)}(hvariable argumentsh]hvariable arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjɡubeh}(h]h ]h"]h$]h&]uh1jhjhKhjTubeh}(h]h ]h"]h$]h&]uh1jhj8ubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(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.chKhj8ubh)}(hdThis function renames a file/directory in debugfs. The target must not exist for rename to succeed.h]hdThis function renames a file/directory in debugfs. The target must not exist for rename to succeed.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chM,hj8ubh)}(hhhhNhNubj)}(h ``ENODEV``h]hENODEV}(hjFhhhNhNubah}(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.chM1hj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h debugfs_initialized (C function)c.debugfs_initializedhNtauh1hhjhhhNhNubh)}(hhh](j)}(hbool debugfs_initialized (void)h]j)}(hbool debugfs_initialized(void)h](j)}(hjh]hbool}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj{hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{hhhjhMjubj/)}(hdebugfs_initializedh]j5)}(hdebugfs_initializedh]hdebugfs_initialized}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj{hhhjhMjubj)}(h(void)h]j)}(hvoidh]j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhj{hhhjhMjubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjwhhhjhMjubah}(h]jrah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMjhjthhubjc)}(hhh]h)}(h)Tells whether debugfs has been registeredh]h)Tells whether debugfs has been registered}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chMjhjhhubah}(h]h ]h"]h$]h&]uh1jbhjthhhjhMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(h'**Parameters** ``void`` no argumentsh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(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.chMnhjubj)}(hhh]j)}(h``void`` no argumentsh](j)}(h``void``h]j)}(hj&h]hvoid}(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.chMphj ubj)}(hhh]h)}(h no argumentsh]h no arguments}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/inode.chKhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMphjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_file_get (C function)c.debugfs_file_gethNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhj|hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|hhhjhKubj/)}(hdebugfs_file_geth]j5)}(hdebugfs_file_geth]hdebugfs_file_get}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj|hhhjhKubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjʣhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjۣhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjأubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjݣmodnameN classnameNjj)}j]j)}jjsbc.debugfs_file_getasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhj|hhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjxhhhjhKubah}(h]jsah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjuhhubjc)}(hhh]h)}(h&mark the beginning of file data accessh]h&mark the beginning of file data access}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhj=hhubah}(h]h ]h"]h$]h&]uh1jbhjuhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXjjXjjjuh1hhhhjhNhNubj)}(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)}(hjbh]h Parameters}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhj\ubj)}(hhh]j)}(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.chKhj{ubj)}(hhh]h)}(h/the dentry object whose data is being accessed.h]h/the dentry object whose data is being accessed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhjhKhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhj\ubh)}(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 -}(hjhhhNhNubj)}(h``EIO``h]hEIO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 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.}(hjhhhNhNubeh}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_file_put (C function)c.debugfs_file_puthNtauh1hhjhhhNhNubh)}(hhh](j)}(h-void debugfs_file_put (struct dentry *dentry)h]j)}(h,void debugfs_file_put(struct dentry *dentry)h](j)}(hvoidh]hvoid}(hj"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj0hKubj/)}(hdebugfs_file_puth]j5)}(hdebugfs_file_puth]hdebugfs_file_put}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj0hKubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hj_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj[ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubh)}(hhh]j5)}(hdentryh]hdentry}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjEsbc.debugfs_file_putasbuh1hhj[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj[ubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjWubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj0hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj0hKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj0hKhjhhubjc)}(hhh]h)}(h mark the end of file data accessh]h mark the end of file data access}(hjhhhNhNubah}(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&]uh1jbhjhhhj0hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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)}(hS``struct dentry *dentry`` the dentry object formerly passed to debugfs_file_get(). 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&]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().}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hKhjubah}(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.chKhjubh)}(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.}(hjuhhhNhNubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'debugfs_enter_cancellation (C function)c.debugfs_enter_cancellationhNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(hdebugfs_enter_cancellationh]j5)}(hdebugfs_enter_cancellationh]hdebugfs_enter_cancellation}(hjŦhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(h>(struct file *file, struct debugfs_cancellation *cancellation)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjݦubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjݦubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjǦsbc.debugfs_enter_cancellationasbuh1hhjݦubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjݦubj*)}(hj-h]h*}(hj-hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjݦubj5)}(hfileh]hfile}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjݦubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj٦ubj)}(h)struct debugfs_cancellation *cancellationh](j )}(hjzh]hstruct}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubh)}(hhh]j5)}(hdebugfs_cancellationh]hdebugfs_cancellation}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNjj)}j]jc.debugfs_enter_cancellationasbuh1hhjOubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjOubj5)}(h cancellationh]h cancellation}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj٦ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(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&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjubj)}(hhh](j)}(h.``struct file *file`` the file being accessed h](j)}(h``struct file *file``h]j)}(hjh]hstruct file *file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjubj)}(hhh]h)}(hthe file being accessedh]hthe file being accessed}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hKhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hKhj ubj)}(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)}(hjNh]h)struct debugfs_cancellation *cancellation}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjHubj)}(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}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjdubah}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ]h"]h$]h&]uh1jhjchKhj 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&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjubh)}(hXWhen a debugfs file is removed it needs to wait for all active operations to complete. However, the operation itself may need to wait for hardware or completion of some asynchronous process or similar. As such, it may need to be cancelled to avoid long waits or even deadlocks.h]hXWhen a debugfs file is removed it needs to wait for all active operations to complete. However, the operation itself may need to wait for hardware or completion of some asynchronous process or similar. As such, it may need to be cancelled to avoid long waits or even deadlocks.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjubh)}(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.chKhjubh)}(h?This function must be paired with debugfs_leave_cancellation().h]h?This function must be paired with debugfs_leave_cancellation().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'debugfs_leave_cancellation (C function)c.debugfs_leave_cancellationhNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhKubj/)}(hdebugfs_leave_cancellationh]j5)}(hdebugfs_leave_cancellationh]hdebugfs_leave_cancellation}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhKubj)}(h>(struct file *file, struct debugfs_cancellation *cancellation)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubh)}(hhh]j5)}(hfileh]hfile}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj)}j]j)}jjsbc.debugfs_leave_cancellationasbuh1hhj&ubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj*)}(hj-h]h*}(hjvhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj&ubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj"ubj)}(h)struct debugfs_cancellation *cancellationh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdebugfs_cancellationh]hdebugfs_cancellation}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jdc.debugfs_leave_cancellationasbuh1hhjubj)}(h h]h }(hjةhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(h cancellationh]h cancellation}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj"ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(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&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhjhNhNubj)}(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)}(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.chKhj9ubj)}(hhh](j)}(h.``struct file *file`` the file being accessed 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&]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}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshKhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshKhjUubj)}(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&]uh1jhjhKhjUubeh}(h]h ]h"]h$]h&]uh1jhj9ubh)}(h**Description**h]j)}(hjӪh]h Description}(hjժhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjѪubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhj9ubh)}(h6See the documentation of debugfs_enter_cancellation().h]h6See the documentation of debugfs_enter_cancellation().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chKhj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_u8 (C function)c.debugfs_create_u8hNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMQubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj&hMQubj/)}(hdebugfs_create_u8h]j5)}(hdebugfs_create_u8h]hdebugfs_create_u8}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj&hMQubj)}(hB(const char *name, umode_t mode, struct dentry *parent, u8 *value)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjQubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQubj)}(hcharh]hchar}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjQubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjQubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj;sbc.debugfs_create_u8asbuh1hhjubj)}(h h]h }(hjիhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jѫc.debugfs_create_u8asbuh1hhjubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjFhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubj)}(h u8 *valueh](h)}(hhh]j5)}(hu8h]hu8}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj)}j]jѫc.debugfs_create_u8asbuh1hhjhubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjMubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj&hMQubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj&hMQubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj&hMQhj hhubjc)}(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.chMQhjϬhhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj&hMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chMUhjubj)}(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.chMRhj ubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hMRhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMRhj ubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjLh]h umode_t mode}(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.chMShjFubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahMShjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMShj 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.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&]uh1jhjhMVhj ubj)}(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&]uh1jhjϭubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMXhj˭ubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMWhjubah}(h]h ]h"]h$]h&]uh1jhj˭ubeh}(h]h ]h"]h$]h&]uh1jhjhMXhj ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMZhjubh)}(hThis function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](hdThis function creates a file in debugfs with the given name that contains the value of the variable }(hj#hhhNhNubj)}(h **value**h]hvalue}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh . If the }(hj#hhhNhNubj)}(h**mode**h]hmode}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh9 variable is so set, it can be read from, and written to.}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMYhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_u16 (C function)c.debugfs_create_u16hNtauh1hhjhhhNhNubh)}(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}(hjvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjrhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrhhhjhMuubj/)}(hdebugfs_create_u16h]j5)}(hdebugfs_create_u16h]hdebugfs_create_u16}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjrhhhjhMuubj)}(hC(const char *name, umode_t mode, struct dentry *parent, u16 *value)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hjήhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjܮhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.debugfs_create_u16asbuh1hhj ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj5)}(hmodeh]hmode}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubh)}(hhh]j5)}(hdentryh]hdentry}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNjj)}j]j/c.debugfs_create_u16asbuh1hhjVubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjVubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h u16 *valueh](h)}(hhh]j5)}(hu16h]hu16}(hjͯhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjʯubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjϯmodnameN classnameNjj)}j]j/c.debugfs_create_u16asbuh1hhjƯubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjƯubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjƯubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjƯubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjrhhhjhMuubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjnhhhjhMuubah}(h]jiah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMuhjkhhubjc)}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMuhj-hhubah}(h]h ]h"]h$]h&]uh1jbhjkhhhjhMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHjjHjjjuh1hhhhjhNhNubj)}(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)}(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.chMyhjLubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjqh]hconst char *name}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMvhjkubj)}(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&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjhubj)}(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.chMwhjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjðhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjhubj)}(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.chMzhjݰubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(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.chMxhjubah}(h]h ]h"]h$]h&]uh1jhjݰubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjhubj)}(hV``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}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.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.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM{hjEubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjDhM|hjhubeh}(h]h ]h"]h$]h&]uh1jhjLubh)}(h**Description**h]j)}(hjkh]h Description}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM~hjLubh)}(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}hjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_u32 (C function)c.debugfs_create_u32hNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjбhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjбhhhjhMubj/)}(hdebugfs_create_u32h]j5)}(hdebugfs_create_u32h]hdebugfs_create_u32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjбhhhjhMubj)}(hC(const char *name, umode_t mode, struct dentry *parent, u32 *value)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj)}(hcharh]hchar}(hj,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hjHhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hnameh]hname}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNjj)}j]j)}jjsbc.debugfs_create_u32asbuh1hhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjŲhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjֲhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjӲubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjزmodnameN classnameNjj)}j]jc.debugfs_create_u32asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h u32 *valueh](h)}(hhh]j5)}(hu32h]hu32}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNjj)}j]jc.debugfs_create_u32asbuh1hhj$ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubj*)}(hj-h]h*}(hjWhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj$ubj5)}(hvalueh]hvalue}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjбhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj̱hhhjhMubah}(h]jDZah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjɱhhubjc)}(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&]uh1jbhjɱhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hjϳh]hconst char *name}(hjѳhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjͳubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjɳubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjɳubeh}(h]h ]h"]h$]h&]uh1jhjhMhjƳubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(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&]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)}(hjAh]hstruct dentry *parent}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.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 }(hjZhhhNhNubj)}(h``NULL``h]hNULL}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubhF, then the file will be created in the root of the debugfs filesystem.}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjWubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjƳubj)}(hV``u32 *value`` a pointer to the variable that the file should read to and write from. h](j)}(h``u32 *value``h]j)}(hjh]h u32 *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjƳubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjɴh]h Description}(hj˴hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǴubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubh)}(hThis function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](hdThis function creates a file in debugfs with the given name that contains the value of the variable }(hjߴhhhNhNubj)}(h **value**h]hvalue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjߴubh . If the }(hjߴhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjߴubh9 variable is so set, it can be read from, and written to.}(hjߴhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_u64 (C function)c.debugfs_create_u64hNtauh1hhjhhhNhNubh)}(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}(hj2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj.hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.hhhj@hMubj/)}(hdebugfs_create_u64h]j5)}(hdebugfs_create_u64h]hdebugfs_create_u64}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj.hhhj@hMubj)}(hC(const char *name, umode_t mode, struct dentry *parent, u64 *value)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjkubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjϵhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj̵ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjѵmodnameN classnameNjj)}j]j)}jjUsbc.debugfs_create_u64asbuh1hhjȵubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjȵubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjȵubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j]jc.debugfs_create_u64asbuh1hhjubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj`hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(h u64 *valueh](h)}(hhh]j5)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.debugfs_create_u64asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hvalueh]hvalue}(hj¶hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubeh}(h]h ]h"]h$]h&]jLjMuh1jhj.hhhj@hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj*hhhj@hMubah}(h]j%ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj@hMhj'hhubjc)}(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}(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&]uh1jbhj'hhhj@hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hj-h]hconst char *name}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj'ubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhj$ubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjfh]h umode_t mode}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj`ubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hMhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhj$ubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF, then the file will be created in the root of the debugfs filesystem.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj$ubj)}(hV``u64 *value`` a pointer to the variable that the file should read to and write from. h](j)}(h``u64 *value``h]j)}(hjh]h u64 *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj$ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj'h]h Description}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubh)}(hThis function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](hdThis function creates a file in debugfs with the given name that contains the value of the variable }(hj=hhhNhNubj)}(h **value**h]hvalue}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh . If the }(hj=hhhNhNubj)}(h**mode**h]hmode}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh9 variable is so set, it can be read from, and written to.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!debugfs_create_ulong (C function)c.debugfs_create_ulonghNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hdebugfs_create_ulongh]j5)}(hdebugfs_create_ulongh]hdebugfs_create_ulong}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hM(const char *name, umode_t mode, struct dentry *parent, unsigned long *value)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hj͸hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjɸubj)}(h h]h }(hjڸhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjɸubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjɸubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjɸubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjɸubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjɸubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjŸubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNjj)}j]j)}jjsbc.debugfs_create_ulongasbuh1hhj&ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj5)}(hmodeh]hmode}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjŸubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jIc.debugfs_create_ulongasbuh1hhjpubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjpubj5)}(hparenth]hparent}(hj˹hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjŸubj)}(hunsigned long *valueh](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hvalueh]hvalue}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjŸubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjPhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjkjjkjjjuh1hhhhjhNhNubj)}(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)}(hjuh]h Parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjoubj)}(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}(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}(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.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(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)}(hjRh]hunsigned long *value}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjLubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjubeh}(h]h ]h"]h$]h&]uh1jhjoubh)}(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.chMhjoubh)}(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.chMhjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_x8 (C function)c.debugfs_create_x8hNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hdebugfs_create_x8h]j5)}(hdebugfs_create_x8h]hdebugfs_create_x8}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hB(const char *name, umode_t mode, struct dentry *parent, u8 *value)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0ubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubj)}(hcharh]hchar}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj0ubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubj*)}(hj-h]h*}(hjkhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj0ubj5)}(hnameh]hname}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj,ubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.debugfs_create_x8asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hj¼hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj,ubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjۼhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj׼ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj׼ubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.debugfs_create_x8asbuh1hhj׼ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj׼ubj*)}(hj-h]h*}(hj%hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj׼ubj5)}(hparenth]hparent}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj׼ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj,ubj)}(h u8 *valueh](h)}(hhh]j5)}(hu8h]hu8}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j]jc.debugfs_create_x8asbuh1hhjGubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubj*)}(hj-h]h*}(hjzhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjGubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj,ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjɽjjɽjjjuh1hhhhjhNhNubj)}(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.chMhjͽubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hj+h]h umode_t mode}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj%ubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjdh]hstruct dentry *parent}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj^ubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hj}hhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubhF, then the file will be created in the root of the debugfs filesystem.}(hj}hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjubj)}(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.}(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ͽubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_x16 (C function)c.debugfs_create_x16hNtauh1hhjhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM(ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM(ubj/)}(hdebugfs_create_x16h]j5)}(hdebugfs_create_x16h]hdebugfs_create_x16}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM(ubj)}(hC(const char *name, umode_t mode, struct dentry *parent, u16 *value)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubj)}(hcharh]hchar}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjBubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubj*)}(hj-h]h*}(hj}hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjBubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj,sbc.debugfs_create_x16asbuh1hhjubj)}(h h]h }(hjƿhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjԿhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j¿c.debugfs_create_x16asbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj7hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubj)}(h u16 *valueh](h)}(hhh]j5)}(hu16h]hu16}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNjj)}j]j¿c.debugfs_create_x16asbuh1hhjYubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjYubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM(ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM(ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM(hjhhubjc)}(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.chM(hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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)}(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.chM)hjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjubj)}(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.chM*hj7ubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhM*hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM*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 file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjvh]hstruct dentry *parent}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM-hjpubj)}(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&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjubj)}(hU``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&]uh1hhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_x32 (C function)c.debugfs_create_x32hNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM:ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj)hM:ubj/)}(hdebugfs_create_x32h]j5)}(hdebugfs_create_x32h]hdebugfs_create_x32}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj)hM:ubj)}(hC(const char *name, umode_t mode, struct dentry *parent, u32 *value)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj)}(hcharh]hchar}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjTubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj>sbc.debugfs_create_x32asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.debugfs_create_x32asbuh1hhjubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjIhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubj)}(h u32 *valueh](h)}(hhh]j5)}(hu32h]hu32}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj)}j]jc.debugfs_create_x32asbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjkubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj)hM:ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj)hM:ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj)hM:hjhhubjc)}(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.chM:hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj)hM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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)}(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.chM;hjubj)}(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+hM;hj,ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj+hM;hj ubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjOh]h umode_t mode}(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.chM<hjIubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhM<hjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhM<hj ubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the 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?hj ubj)}(hU``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.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&]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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_x64 (C function)c.debugfs_create_x64hNtauh1hhjhhhNhNubh)}(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}(hj-hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj)hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMLubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)hhhj;hMLubj/)}(hdebugfs_create_x64h]j5)}(hdebugfs_create_x64h]hdebugfs_create_x64}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj)hhhj;hMLubj)}(hC(const char *name, umode_t mode, struct dentry *parent, u64 *value)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjfubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjfubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjPsbc.debugfs_create_x64asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(hdentryh]hdentry}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1modnameN classnameNjj)}j]jc.debugfs_create_x64asbuh1hhj ubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hj[hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hparenth]hparent}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbubj)}(h u64 *valueh](h)}(hhh]j5)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.debugfs_create_x64asbuh1hhj}ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj}ubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbubeh}(h]h ]h"]h$]h&]jLjMuh1jhj)hhhj;hMLubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj%hhhj;hMLubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj;hMLhj"hhubjc)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMLhjhhubah}(h]h ]h"]h$]h&]uh1jbhj"hhhj;hMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMPhjubj)}(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.chMMhj"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.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hMMhj>ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhj=hMMhjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjah]h umode_t mode}(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.chMNhj[ubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhMNhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMNhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMQhjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhF, then the file will be created in the root of the debugfs filesystem.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]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)}(hjh]h u64 *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.chMRhjubj)}(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&]uh1hhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"debugfs_create_size_t (C function)c.debugfs_create_size_thNtauh1hhjhhhNhNubh)}(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}(hj?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj;hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMnubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;hhhjMhMnubj/)}(hdebugfs_create_size_th]j5)}(hdebugfs_create_size_th]hdebugfs_create_size_t}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj;hhhjMhMnubj)}(hF(const char *name, umode_t mode, struct dentry *parent, size_t *value)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjxubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjtubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjbsbc.debugfs_create_size_tasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjtubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj)}j]jc.debugfs_create_size_tasbuh1hhjubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjmhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjtubj)}(h size_t *valueh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.debugfs_create_size_tasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjtubeh}(h]h ]h"]h$]h&]jLjMuh1jhj;hhhjMhMnubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj7hhhjMhMnubah}(h]j2ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjMhMnhj4hhubjc)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMnhjhhubah}(h]h ]h"]h$]h&]uh1jbhj4hhhjMhMnubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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.chMrhjubj)}(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&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMohj4ubj)}(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.}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMohjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMohj1ubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjsh]h umode_t mode}(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.chMphjmubj)}(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&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMphj1ubj)}(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 }(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.chMqhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMshj1ubj)}(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)}(hjh]h size_t *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.chMthjubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMthjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMthj1ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$debugfs_create_atomic_t (C function)c.debugfs_create_atomic_thNtauh1hhjhhhNhNubh)}(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}(hjQhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjMhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMhhhj_hMubj/)}(hdebugfs_create_atomic_th]j5)}(hdebugfs_create_atomic_th]hdebugfs_create_atomic_t}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjMhhhj_hMubj)}(hH(const char *name, umode_t mode, struct dentry *parent, atomic_t *value)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjtsbc.debugfs_create_atomic_tasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubh)}(hhh]j5)}(hdentryh]hdentry}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj)}j]j c.debugfs_create_atomic_tasbuh1hhj1ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj1ubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hatomic_t *valueh](h)}(hhh]j5)}(hatomic_th]hatomic_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.debugfs_create_atomic_tasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjMhhhj_hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjIhhhj_hMubah}(h]jDah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj_hMhjFhhubjc)}(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}(hj hhhNhNubah}(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&]uh1jbhjFhhhj_hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1hhhhjhNhNubj)}(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)}(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.chMhj'ubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjLh]hconst char *name}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjFubj)}(hhh]h)}(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.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjCubj)}(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&]uh1jhjhMhjCubj)}(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&]uh1jhjhMhjCubj)}(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)}(hj h]hatomic_t *value}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjCubeh}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h debugfs_create_bool (C function)c.debugfs_create_boolhNtauh1hhjhhhNhNubh)}(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}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj_hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_hhhjqhMubj/)}(hdebugfs_create_boolh]j5)}(hdebugfs_create_boolh]hdebugfs_create_bool}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj_hhhjqhMubj)}(hD(const char *name, umode_t mode, struct dentry *parent, bool *value)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.debugfs_create_boolasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubh)}(hhh]j5)}(hdentryh]hdentry}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNjj)}j]jc.debugfs_create_boolasbuh1hhjCubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjCubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h bool *valueh](j)}(hjh]hbool}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj_hhhjqhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj[hhhjqhMubah}(h]jVah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjqhMhjXhhubjc)}(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}(hj hhhNhNubah}(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&]uh1jbhjXhhhjqhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1hhhhjhNhNubj)}(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)}(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.chMhj%ubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjJh]hconst char *name}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjDubj)}(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.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMhjAubj)}(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.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&]uh1jhjhMhjAubj)}(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&]uh1jhjhMhjAubj)}(hW``bool *value`` a pointer to the variable that the file should read to and write from. h](j)}(h``bool *value``h]j)}(hjh]h bool *value}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]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&]uh1jhjhMhjAubeh}(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&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj%ubh)}(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 }(hjZhhhNhNubj)}(h **value**h]hvalue}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh . If the }(hjZhhhNhNubj)}(h**mode**h]hmode}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh9 variable is so set, it can be read from, and written to.}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_str (C function)c.debugfs_create_strhNtauh1hhjhhhNhNubh)}(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 ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMcubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMcubj/)}(hdebugfs_create_strh]j5)}(hdebugfs_create_strh]hdebugfs_create_str}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMcubj)}(hE(const char *name, umode_t mode, struct dentry *parent, char **value)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj!hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNjj)}j]j)}jjsbc.debugfs_create_strasbuh1hhjCubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj5)}(hmodeh]hmode}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jfc.debugfs_create_strasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h char **valueh](j)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hj*hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hvalueh]hvalue}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMcubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMcubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMchjhhubjc)}(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}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMchj^hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMcubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhjhNhNubj)}(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. **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.chMghj}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.chMdhjubj)}(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&]uh1hhjhMdhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMdhjubj)}(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.chMehjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMehjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMehjubj)}(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.chMhhjubj)}(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}(hj5hhhNhNubah}(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.chMfhj*ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)hMhhjubj)}(hX``char **value`` a pointer to the variable that the file should read to and write from. h](j)}(h``char **value``h]j)}(hj`h]h char **value}(hjbhhhNhNubah}(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.chMjhjZubj)}(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.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMihjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhMjhjubeh}(h]h ]h"]h$]h&]uh1jhj}ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMlhj}ubh)}(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.chMkhj}ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h debugfs_create_blob (C function)c.debugfs_create_blobhNtauh1hhjhhhNhNubh)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(hdentryh]hdentry}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNjj)}j]j)}jdebugfs_create_blobsbc.debugfs_create_blobasbuh1hhjhhhjhMubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hjShhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hdebugfs_create_blobh]j5)}(hjBh]hdebugfs_create_blob}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj`ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hZ(const char *name, umode_t mode, struct dentry *parent, struct debugfs_blob_wrapper *blob)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj{ubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j@c.debugfs_create_blobasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(hhh]j5)}(hdentryh]hdentry}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDmodnameN classnameNjj)}j]j@c.debugfs_create_blobasbuh1hhj ubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hjnhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hparenth]hparent}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubj)}(h!struct debugfs_blob_wrapper *blobh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdebugfs_blob_wrapperh]hdebugfs_blob_wrapper}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j@c.debugfs_create_blobasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hblobh]hblob}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-jj-jjjuh1hhhhjhNhNubj)}(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)}(hj7h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj1ubj)}(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)}(hjVh]hconst char *name}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjPubj)}(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.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMhjMubj)}(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&]uh1jhjhMhjMubj)}(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&]uh1jhjhMhjMubj)}(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.}(hj-hhhNhNubah}(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)hMhjMubeh}(h]h ]h"]h$]h&]uh1jhj1ubh)}(h**Description**h]j)}(hjPh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj1ubh)}(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 }(hjfhhhNhNubj)}(h**blob->data**h]h blob->data}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh as a binary blob. If the }(hjfhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh7 variable is so set it can be read from and written to.}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj1ubh)}(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.chMhj1ubh)}(hUIf debugfs is not enabled in the kernel, the value ERR_PTR(-ENODEV) will be returned.h]hUIf debugfs is not enabled in the kernel, the value ERR_PTR(-ENODEV) will be returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%debugfs_create_u32_array (C function)c.debugfs_create_u32_arrayhNtauh1hhjhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hdebugfs_create_u32_arrayh]j5)}(hdebugfs_create_u32_arrayh]hdebugfs_create_u32_array}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hX(const char *name, umode_t mode, struct dentry *parent, struct debugfs_u32_array *array)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hj/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjKhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNjj)}j]j)}jjsbc.debugfs_create_u32_arrayasbuh1hhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.debugfs_create_u32_arrayasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hstruct debugfs_u32_array *arrayh](j )}(hjzh]hstruct}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubh)}(hhh]j5)}(hdebugfs_u32_arrayh]hdebugfs_u32_array}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNjj)}j]jc.debugfs_create_u32_arrayasbuh1hhj'ubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubj*)}(hj-h]h*}(hjuhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj'ubj5)}(harrayh]harray}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h5create a debugfs file that is used to read u32 array.h]h5create a debugfs file that is used to read u32 array.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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&]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 have.h]h)the permission that the file should have.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hj_h]hstruct dentry *parent}(hjahhhNhNubah}(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.chMhjYubj)}(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 }(hjxhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubhF, then the file will be created in the root of the debugfs filesystem.}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjubj)}(hb``struct debugfs_u32_array *array`` wrapper struct containing data pointer and size of the array. h](j)}(h#``struct debugfs_u32_array *array``h]j)}(hjh]hstruct debugfs_u32_array *array}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(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.}(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&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM hjubh)}(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 }(hjhhhNhNubj)}(h **array**h]harray}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh as data. If the }(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh 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.}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!debugfs_print_regs32 (C function)c.debugfs_print_regs32hNtauh1hhjhhhNhNubh)}(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}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjKhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKhhhj]hMubj/)}(hdebugfs_print_regs32h]j5)}(hdebugfs_print_regs32h]hdebugfs_print_regs32}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjKhhhj]hMubj)}(hc(struct seq_file *s, const struct debugfs_reg32 *regs, int nregs, void __iomem *base, char *prefix)h](j)}(hstruct seq_file *sh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hseq_fileh]hseq_file}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjrsbc.debugfs_print_regs32asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hjh]hs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h const struct debugfs_reg32 *regsh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h debugfs_reg32h]h debugfs_reg32}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj)}j]jc.debugfs_print_regs32asbuh1hhjubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjbhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hregsh]hregs}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int nregsh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hnregsh]hnregs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hvoid __iomem *baseh](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh__iomem}(hjhhhNhNubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbaseh]hbase}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h char *prefixh](j)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hj-hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hprefixh]hprefix}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjKhhhj]hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjGhhhj]hMubah}(h]jBah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj]hMhjDhhubjc)}(hhh]h)}(h,use seq_print to describe a set of registersh]h,use seq_print to describe a set of registers}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjahhubah}(h]h ]h"]h$]h&]uh1jbhjDhhhj]hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|jj|jjjuh1hhhhjhNhNubj)}(hX**Parameters** ``struct seq_file *s`` the seq_file structure being used to generate output ``const struct debugfs_reg32 *regs`` an array if struct debugfs_reg32 structures ``int nregs`` the length of the above array ``void __iomem *base`` the base address to be used in reading the registers ``char *prefix`` a string to be prefixed to every output line **Description** This function outputs a text block describing the current values of some 32-bit hardware registers. It is meant to be used within debugfs files based on seq_file that need to show registers, intermixed with other information. The prefix argument may be used to specify a leading string, because some peripherals have several blocks of identical registers, for example configuration of dma channelsh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM#hjubj)}(hhh](j)}(hL``struct seq_file *s`` the seq_file structure being used to generate output h](j)}(h``struct seq_file *s``h]j)}(hjh]hstruct seq_file *s}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM hjubj)}(hhh]h)}(h4the seq_file structure being used to generate outputh]h4the seq_file structure being used to generate output}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(hQ``const struct debugfs_reg32 *regs`` an array if struct debugfs_reg32 structures h](j)}(h$``const struct debugfs_reg32 *regs``h]j)}(hjh]h const struct debugfs_reg32 *regs}(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+an array if struct debugfs_reg32 structuresh]h+an array if struct debugfs_reg32 structures}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM!hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM!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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hM"hj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj,hM"hjubj)}(hL``void __iomem *base`` the base address to be used in reading the registers h](j)}(h``void __iomem *base``h]j)}(hjPh]hvoid __iomem *base}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM#hjJubj)}(hhh]h)}(h4the base address to be used in reading the registersh]h4the base address to be used in reading the registers}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehM#hjfubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjehM#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)}(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&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}(hjhhhNhNubah}(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&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$debugfs_create_regset32 (C function)c.debugfs_create_regset32hNtauh1hhjhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMOubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMOubj/)}(hdebugfs_create_regset32h]j5)}(hdebugfs_create_regset32h]hdebugfs_create_regset32}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMOubj)}(hX(const char *name, umode_t mode, struct dentry *parent, struct debugfs_regset32 *regset)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubj)}(hcharh]hchar}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjBubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubj*)}(hj-h]h*}(hj}hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjBubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubj)}(h umode_t modeh](h)}(hhh]j5)}(humode_th]humode_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj,sbc.debugfs_create_regset32asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdentryh]hdentry}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jc.debugfs_create_regset32asbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj7hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubj)}(hstruct debugfs_regset32 *regseth](j )}(hjzh]hstruct}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubh)}(hhh]j5)}(hdebugfs_regset32h]hdebugfs_regset32}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj)}j]jc.debugfs_create_regset32asbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjYubj5)}(hregseth]hregset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMOubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMOubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMOhjhhubjc)}(hhh]h)}(h2create a debugfs file that returns register values_h]h2create a debugfs file that returns register values}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMOhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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.chMShjubj)}(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}(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.chMPhjubj)}(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.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hMPhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMPhjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjXh]h umode_t mode}(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.chMQhjRubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMQhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMQhjubj)}(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.chMThjubj)}(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.chMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMThjubj)}(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)}(hjh]hstruct debugfs_regset32 *regset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMWhjubj)}(hhh]h)}(ha pointer to 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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMWhjubeh}(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.chMYhjubh)}(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 }(hj/hhhNhNubj)}(h**mode**h]hmode}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubhB variable is so set it can be read from. Writing is not supported.}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMXhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(debugfs_create_devm_seqfile (C function)c.debugfs_create_devm_seqfilehNtauh1hhjhhhNhNubh)}(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}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjlhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlhhhj~hM|ubj/)}(hdebugfs_create_devm_seqfileh]j5)}(hdebugfs_create_devm_seqfileh]hdebugfs_create_devm_seqfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjlhhhj~hM|ubj)}(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 )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hdeviceh]hdevice}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.debugfs_create_devm_seqfileasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst char *nameh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hj:hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjVhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.debugfs_create_devm_seqfileasbuh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjxubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h.int (*read_fn)(struct seq_file *s, void *data)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hjƗh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hread_fnh]hread_fn}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjh]h)}(hj0hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjƗh]h(}(hj=hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hseq_fileh]hseq_file}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNjj)}j]jc.debugfs_create_devm_seqfileasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hjh]hs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjSh]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjlhhhj~hM|ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhhj~hM|ubah}(h]jcah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj~hM|hjehhubjc)}(hhh]h)}(h.create a debugfs file that is bound to device.h]h.create a debugfs file that is bound to device.}(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&]uh1jbhjehhhj~hM|ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjAjjAjjjuh1hhhhjhNhNubj)}(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)}(hjKh]h Parameters}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjEubj)}(hhh](j)}(h<``struct device *dev`` device related to this debugfs file. h](j)}(h``struct device *dev``h]j)}(hjjh]hstruct device *dev}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chM~hjdubj)}(hhh]h)}(h$device related to this debugfs file.h]h$device related to this debugfs file.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhM~hjaubj)}(h/``const char *name`` name of the debugfs file. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:149: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(hname of the debugfs file.h]hname of the debugfs file.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjaubj)}(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&]uh1jhjhMhjaubj)}(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)}(hj(h]h.int (*read_fn)(struct seq_file *s, void *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:149: ./fs/debugfs/file.chMhj"ubj)}(hhh]h)}(h6function pointer called to print the seq_file content.h]h6function pointer called to print the seq_file content.}(hjAhhhNhNubah}(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=hMhjaubeh}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubeh}(h]debugfs-interfaceah ]h"]debugfs interfaceah$]h&]uh1hhjχhhhhhKubeh}(h]the-debugfs-filesystemah ]h"]the debugfs filesystemah$]h&]uh1hhhhhhhhKubeh}(h]linux-filesystems-api-summaryah ]h"]linux filesystems api summaryah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjerror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(j~j{j~j{jDjCjjjjjjjrJjoJjvjsj?j?j=j=j?j?jLjLjYjYj̇jɇjvjsjnjku nametypes}(j~j~jDjjjjrJjvj?j=j?jLjYj̇jvjnuh}(j{hj{hjChhjjkjpjjjz j jtjyjjjBjGjbjgjjjj j;"j@"j$j$j&j&jK)jP)j,j$,j-j-jU/jZ/j1j1jO3jT3jG5jL5j6j6jI8jN8j9j9jK;jP;j%=j*=ji>jn>j?j?jkAjpAjjDj Dj%DjEjEjGjGjgIjlIjKjKj!Mj&MjNjNjPjPjRjRjTjTjWjWjYjYj>\jC\ja_jf_j5bj:bjcjcj7ej