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.hhMhj#ubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hj $hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hMhj$ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#ubh)}(h**Description**h]j)}(hj-$h]h Description}(hj/$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+$ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.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.hhMubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1hhhj1hMubj/)}(h is_mgtimeh]j5)}(h is_mgtimeh]h is_mgtime}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj1hhhj1hMubj)}(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&]jLjMuh1jhj1hhhj1hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj1hhhj1hMubah}(h]j1ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj1hMhj1hhubjc)}(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.hhMhj2hhubah}(h]h ]h"]h$]h&]uh1jbhj1hhhj1hMubeh}(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.hhMhj2ubj)}(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.hhMhj2ubj)}(hhh]h)}(h'inode to test for multigrain timestampsh]h'inode to test for multigrain timestamps}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMhj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj2hMhj2ubah}(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.hhMhj2ubh)}(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.hhMhj2ubeh}(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.hhMo ubj)}(h h]h }(hjc5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjP5hhhjb5hMo 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.hjP5hhhjb5hMo 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&]jLjMuh1jhjP5hhhjb5hMo ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjL5hhhjb5hMo ubah}(h]jG5ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjb5hMo 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.hhMo hj6hhubah}(h]h ]h"]h$]h&]uh1jbhjI5hhhjb5hMo 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.hhMs 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.hhMp hjO6ubj)}(hhh]h)}(hthe file we want to write toh]hthe file we want to write to}(hjn6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjj6hMp hjk6ubah}(h]h ]h"]h$]h&]uh1jhjO6ubeh}(h]h ]h"]h$]h&]uh1jhjj6hMp 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.hhMr 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.hhMq 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](his_dot_dotdot (C function)c.is_dot_dotdothNtauh1hhhhhhNhNubh)}(hhh](j)}(h1bool is_dot_dotdot (const char *name, size_t len)h]j)}(h0bool 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.hhM ubj)}(h h]h }(hjf;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjT;hhhje;hM ubj/)}(h is_dot_dotdoth]j5)}(h is_dot_dotdoth]h is_dot_dotdot}(hjx;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjt;ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjT;hhhje;hM 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.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;hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjP;hhhje;hM ubah}(h]jK;ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhje;hM 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.hhM hjI<hhubah}(h]h ]h"]h$]h&]uh1jbhjM;hhhje;hM 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.hhM# 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.hhM hj<ubj)}(hhh]h)}(hfile name to checkh]hfile name to check}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<hM hj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hM hj<ubj)}(h,``size_t len`` length of file name, in bytesh](j)}(h``size_t len``h]j)}(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.hhM" 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.hhM! hj<ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj<hM" 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.hhM* ubj)}(h h]h }(hj@=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.=hhhj?=hM* 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?=hM* 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?=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)}(h2check if a file name contains ".." path componentsh]h6check if a file name contains “..” path components}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM* hj=hhubah}(h]h ]h"]h$]h&]uh1jbhj'=hhhj?=hM* 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.hhM. hj=ubj)}(hhh]j)}(ho``const char *name`` File path string to check Search for ".." surrounded by either '/' or start/end of string.h](j)}(h``const char *name``h]j)}(hj>h]hconst char *name}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM+ hj>ubj)}(hhh]h)}(hZFile path string to check Search for ".." surrounded by either '/' or start/end of string.h]hbFile path string to check Search for “..” surrounded by either ‘/’ or start/end of string.}(hj6>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2>hM+ hj3>ubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhj2>hM+ hj>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.hhM ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjr>hhhj>hM 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>hM 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>hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjn>hhhj>hM ubah}(h]ji>ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj>hM 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.hhM hj3?hhubah}(h]h ]h"]h$]h&]uh1jbhjk>hhhj>hM 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.hhM 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.hhM 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?hM hj?ubah}(h]h ]h"]h$]h&]uh1jhjq?ubeh}(h]h ]h"]h$]h&]uh1jhj?hM hjn?ubah}(h]h ]h"]h$]h&]uh1jhjR?ubh)}(h**Description**h]j)}(hj?h]h Description}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:14: ./include/linux/fs.hhM 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.hhM 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.hhM 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.hhM 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.hhM 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 AhM hjAubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj AhM 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.hhM 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.hhM 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](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}(hjtIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjpIhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpIhhhjIhMubj/)}(hshrink_dcache_sbh]j5)}(hshrink_dcache_sbh]hshrink_dcache_sb}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjpIhhhjIhMubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubh)}(hhh]j5)}(h super_blockh]h super_block}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNjj)}j]j)}jjIsbc.shrink_dcache_sbasbuh1hhjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubj*)}(hj-h]h*}(hjIhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjIubj5)}(hsbh]hsb}(hj JhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjIubah}(h]h ]h"]h$]h&]jLjMuh1jhjpIhhhjIhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjlIhhhjIhMubah}(h]jgIah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjIhMhjiIhhubjc)}(hhh]h)}(hshrink dcache for a superblockh]hshrink dcache for a superblock}(hj4JhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj1Jhhubah}(h]h ]h"]h$]h&]uh1jbhjiIhhhjIhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLJjjLJjjjuh1hhhhjDhNhNubj)}(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)}(hjVJh]h Parameters}(hjXJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTJubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjPJubj)}(hhh]j)}(h&``struct super_block *sb`` superblock h](j)}(h``struct super_block *sb``h]j)}(hjuJh]hstruct super_block *sb}(hjwJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsJubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjoJubj)}(hhh]h)}(h superblockh]h superblock}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMhjJubah}(h]h ]h"]h$]h&]uh1jhjoJubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjlJubah}(h]h ]h"]h$]h&]uh1jhjPJubh)}(h**Description**h]j)}(hjJh]h Description}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjPJubh)}(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.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjPJubeh}(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}(hjJhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjJhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJhhhjKhMubj/)}(hpath_has_submountsh]j5)}(hpath_has_submountsh]hpath_has_submounts}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjJhhhjKhMubj)}(h(const struct path *parent)h]j)}(hconst struct path *parenth](j )}(hjUh]hconst}(hj2KhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.Kubj)}(h h]h }(hj?KhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.Kubj )}(hjzh]hstruct}(hjMKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.Kubj)}(h h]h }(hjZKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.Kubh)}(hhh]j5)}(hpathh]hpath}(hjkKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmKmodnameN classnameNjj)}j]j)}jjKsbc.path_has_submountsasbuh1hhj.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)}(hparenth]hparent}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.Kubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj*Kubah}(h]h ]h"]h$]h&]jLjMuh1jhjJhhhjKhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjJhhhjKhMubah}(h]jJah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjKhMhjJhhubjc)}(hhh]h)}(h8check for mounts over a dentry in the current namespace.h]h8check for mounts over a dentry in the current namespace.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjKhhubah}(h]h ]h"]h$]h&]uh1jbhjJhhhjKhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjKjjKjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``const struct path *parent`` path to check. **Description** Return true if the parent or its subdirectories contain a mount point in the current namespace.h](h)}(h**Parameters**h]j)}(hjKh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjKubj)}(hhh]j)}(h-``const struct path *parent`` path to check. h](j)}(h``const struct path *parent``h]j)}(hjLh]hconst struct path *parent}(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.chMhj Lubj)}(hhh]h)}(hpath to check.h]hpath to check.}(hj*LhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&LhMhj'Lubah}(h]h ]h"]h$]h&]uh1jhj Lubeh}(h]h ]h"]h$]h&]uh1jhj&LhMhjLubah}(h]h ]h"]h$]h&]uh1jhjKubh)}(h**Description**h]j)}(hjLLh]h Description}(hjNLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJLubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjKubh)}(h_Return true if the parent or its subdirectories contain a mount point in the current namespace.h]h_Return true if the parent or its subdirectories contain a mount point in the current namespace.}(hjbLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_invalidate (C function)c.d_invalidatehNtauh1hhjDhhhNhNubh)}(hhh](j)}(h)void d_invalidate (struct dentry *dentry)h]j)}(h(void d_invalidate(struct dentry *dentry)h](j)}(hvoidh]hvoid}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjLhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLhhhjLhMubj/)}(h d_invalidateh]j5)}(h d_invalidateh]h d_invalidate}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjLhhhjLhMubj)}(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]j)}jjLsbc.d_invalidateasbuh1hhjLubj)}(h h]h }(hj MhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubj*)}(hj-h]h*}(hjMhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjLubj5)}(hdentryh]hdentry}(hj'MhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjLubah}(h]h ]h"]h$]h&]jLjMuh1jhjLhhhjLhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjLhhhjLhMubah}(h]jLah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjLhMhjLhhubjc)}(hhh]h)}(h(detach submounts, prune dcache, and droph]h(detach submounts, prune dcache, and drop}(hjQMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjNMhhubah}(h]h ]h"]h$]h&]uh1jbhjLhhhjLhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjiMjjiMjjjuh1hhhhjDhNhNubj)}(h]**Parameters** ``struct dentry *dentry`` dentry to invalidate (aka detach, prune and drop)h](h)}(h**Parameters**h]j)}(hjsMh]h Parameters}(hjuMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqMubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjmMubj)}(hhh]j)}(hK``struct dentry *dentry`` dentry to invalidate (aka detach, prune and drop)h](j)}(h``struct dentry *dentry``h]j)}(hjMh]hstruct dentry *dentry}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjMubj)}(hhh]h)}(h1dentry to invalidate (aka detach, prune and drop)h]h1dentry to invalidate (aka detach, prune and drop)}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjMubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjMubah}(h]h ]h"]h$]h&]uh1jhjmMubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_alloc (C function) c.d_allochNtauh1hhjDhhhNhNubh)}(hhh](j)}(hIstruct dentry * d_alloc (struct dentry * parent, const struct qstr *name)h]j)}(hFstruct dentry *d_alloc(struct dentry *parent, const struct qstr *name)h](j )}(hjzh]hstruct}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjMhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMhhhjMhMubh)}(hhh]j5)}(hdentryh]hdentry}(hj NhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj NmodnameN classnameNjj)}j]j)}jd_allocsb c.d_allocasbuh1hhjMhhhjMhMubj)}(h h]h }(hj,NhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMhhhjMhMubj*)}(hj-h]h*}(hj:NhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjMhhhjMhMubj/)}(hd_alloch]j5)}(hj)Nh]hd_alloc}(hjKNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGNubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjMhhhjMhMubj)}(h0(struct dentry *parent, const struct qstr *name)h](j)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjfNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjbNubj)}(h h]h }(hjsNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbNubh)}(hhh]j5)}(hdentryh]hdentry}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNjj)}j]j'N c.d_allocasbuh1hhjbNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbNubj*)}(hj-h]h*}(hjNhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjbNubj5)}(hparenth]hparent}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbNubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj^Nubj)}(hconst struct qstr *nameh](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)}(hqstrh]hqstr}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Oubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j]j'N c.d_allocasbuh1hhjNubj)}(h h]h }(hj-OhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubj*)}(hj-h]h*}(hj;OhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjNubj5)}(hnameh]hname}(hjHOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj^Nubeh}(h]h ]h"]h$]h&]jLjMuh1jhjMhhhjMhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjMhhhjMhMubah}(h]jMah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjMhMhjMhhubjc)}(hhh]h)}(hallocate a dcache entryh]hallocate a dcache entry}(hjrOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjoOhhubah}(h]h ]h"]h$]h&]uh1jbhjMhhhjMhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhjDhNhNubj)}(hXU**Parameters** ``struct dentry * parent`` parent of entry to allocate ``const struct qstr *name`` qstr of the name **Description** Allocates a dentry. It returns ``NULL`` if there is insufficient memory available. On a success the dentry is returned. The name passed in is copied and the copy passed in may be reused after this call.h](h)}(h**Parameters**h]j)}(hjOh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjOubj)}(hhh](j)}(h7``struct dentry * parent`` parent of entry to allocate h](j)}(h``struct dentry * parent``h]j)}(hjOh]hstruct dentry * parent}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjOubj)}(hhh]h)}(hparent of entry to allocateh]hparent of entry to allocate}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMhjOubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjOubj)}(h-``const struct qstr *name`` qstr of the name h](j)}(h``const struct qstr *name``h]j)}(hjOh]hconst struct qstr *name}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjOubj)}(hhh]h)}(hqstr of the nameh]hqstr of the name}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhM hjPubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjPhM hjOubeh}(h]h ]h"]h$]h&]uh1jhjOubh)}(h**Description**h]j)}(hj'Ph]h Description}(hj)PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Pubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjOubh)}(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 }(hj=PhhhNhNubj)}(h``NULL``h]hNULL}(hjEPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=Pubh 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.}(hj=PhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjOubeh}(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}(hj~PhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjzPhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzPhhhjPhMubj/)}(h d_instantiateh]j5)}(h d_instantiateh]h d_instantiate}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjzPhhhjPhMubj)}(h+(struct dentry *entry, struct inode *inode)h](j)}(hstruct dentry *entryh](j )}(hjzh]hstruct}(hjPhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubh)}(hhh]j5)}(hdentryh]hdentry}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j]j)}jjPsbc.d_instantiateasbuh1hhjPubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj*)}(hj-h]h*}(hjQhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjPubj5)}(hentryh]hentry}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj-QhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj)Qubj)}(h h]h }(hj:QhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)Qubh)}(hhh]j5)}(hinodeh]hinode}(hjKQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMQmodnameN classnameNjj)}j]jPc.d_instantiateasbuh1hhj)Qubj)}(h h]h }(hjiQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)Qubj*)}(hj-h]h*}(hjwQhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj)Qubj5)}(hinodeh]hinode}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)Qubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubeh}(h]h ]h"]h$]h&]jLjMuh1jhjzPhhhjPhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjvPhhhjPhMubah}(h]jqPah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjPhMhjsPhhubjc)}(hhh]h)}(h&fill in inode information for a dentryh]h&fill in inode information for a dentry}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjQhhubah}(h]h ]h"]h$]h&]uh1jbhjsPhhhjPhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjQjjQjjjuh1hhhhjDhNhNubj)}(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)}(hjQh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjQubj)}(hhh](j)}(h,``struct dentry *entry`` dentry to complete h](j)}(h``struct dentry *entry``h]j)}(hjQh]hstruct dentry *entry}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjQubj)}(hhh]h)}(hdentry to completeh]hdentry to complete}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhMhjRubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjQubj)}(h8``struct inode * inode`` inode to attach to this dentry h](j)}(h``struct inode * inode``h]j)}(hj(Rh]hstruct inode * inode}(hj*RhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&Rubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhj"Rubj)}(hhh]h)}(hinode to attach to this dentryh]hinode to attach to this dentry}(hjARhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=RhMhj>Rubah}(h]h ]h"]h$]h&]uh1jhj"Rubeh}(h]h ]h"]h$]h&]uh1jhj=RhMhjQubeh}(h]h ]h"]h$]h&]uh1jhjQubh)}(h**Description**h]j)}(hjcRh]h Description}(hjeRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaRubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjQubh)}(h'Fill in inode information in the entry.h]h'Fill in inode information in the entry.}(hjyRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjQubh)}(hEThis turns negative dentries into productive full members of society.h]hEThis turns negative dentries into productive full members of society.}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMhjQubh)}(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.}(hjRhhhNhNubah}(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_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}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM5ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRhhhjRhM5ubh)}(hhh]j5)}(hdentryh]hdentry}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjRmodnameN classnameNjj)}j]j)}jd_obtain_aliassbc.d_obtain_aliasasbuh1hhjRhhhjRhM5ubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRhhhjRhM5ubj*)}(hj-h]h*}(hjShhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjRhhhjRhM5ubj/)}(hd_obtain_aliash]j5)}(hjSh]hd_obtain_alias}(hj%ShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!Subah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjRhhhjRhM5ubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj@ShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`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)}(hdelete a dentryh]hdelete a dentry}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj`hhubah}(h]h ]h"]h$]h&]uh1jbhj_hhhj`hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1hhhhjDhNhNubj)}(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`h]h Parameters}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj`ubj)}(hhh]j)}(h0``struct dentry * dentry`` The dentry to delete h](j)}(h``struct dentry * dentry``h]j)}(hj ah]hstruct dentry * dentry}(hj ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjaubj)}(hhh]h)}(hThe dentry to deleteh]hThe dentry to delete}(hj#ahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahM hj aubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahM hjaubah}(h]h ]h"]h$]h&]uh1jhj`ubh)}(h**Description**h]j)}(hjEah]h Description}(hjGahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCaubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj`ubh)}(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}(hj[ahhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj`ubeh}(h]h ] kernelindentah"]h$]h&]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}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjahhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM ubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjahhhjahM ubj/)}(hd_rehashh]j5)}(hd_rehashh]hd_rehash}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjahhhjahM ubj)}(h(struct dentry *entry)h]j)}(hstruct dentry *entryh](j )}(hjzh]hstruct}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubh)}(hhh]j5)}(hdentryh]hdentry}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjamodnameN classnameNjj)}j]j)}jjasb c.d_rehashasbuh1hhjaubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubj*)}(hj-h]h*}(hjbhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjaubj5)}(hentryh]hentry}(hj bhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubah}(h]h ]h"]h$]h&]jLjMuh1jhjahhhjahM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjahhhjahM ubah}(h]j}aah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjahM hjahhubjc)}(hhh]h)}(hadd an entry back to the hashh]hadd an entry back to the hash}(hjJbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjGbhhubah}(h]h ]h"]h$]h&]uh1jbhjahhhjahM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjbbjjbbjjjuh1hhhhjDhNhNubj)}(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)}(hjlbh]h Parameters}(hjnbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjbubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjfbubj)}(hhh]j)}(h4``struct dentry * entry`` dentry to add to the hash h](j)}(h``struct dentry * entry``h]j)}(hjbh]hstruct dentry * entry}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjbubj)}(hhh]h)}(hdentry to add to the hashh]hdentry to add to the hash}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhM hjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhM hjbubah}(h]h ]h"]h$]h&]uh1jhjfbubh)}(h**Description**h]j)}(hjbh]h Description}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjfbubh)}(h0Adds a dentry to the hash according to its name.h]h0Adds a dentry to the hash according to its name.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjfbubeh}(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}(hj chhhNhNubah}(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_addh]j5)}(hd_addh]hd_add}(hj,chhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(cubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjchhhjchM ubj)}(h+(struct dentry *entry, struct inode *inode)h](j)}(hstruct dentry *entryh](j )}(hjzh]hstruct}(hjHchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDcubj)}(h h]h }(hjUchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDcubh)}(hhh]j5)}(hdentryh]hdentry}(hjfchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjccubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhcmodnameN classnameNjj)}j]j)}jj.csbc.d_addasbuh1hhjDcubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDcubj*)}(hj-h]h*}(hjchhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjDcubj5)}(hentryh]hentry}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDcubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj@cubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubh)}(hhh]j5)}(hinodeh]hinode}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNjj)}j]jcc.d_addasbuh1hhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj*)}(hj-h]h*}(hjdhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj5)}(hinodeh]hinode}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj@cubeh}(h]h ]h"]h$]h&]jLjMuh1jhjchhhjchM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjchhhjchM ubah}(h]jbah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjchM hjchhubjc)}(hhh]h)}(hadd dentry to hash queuesh]hadd dentry to hash queues}(hj;dhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hj8dhhubah}(h]h ]h"]h$]h&]uh1jbhjchhhjchM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSdjjSdjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct dentry *entry`` dentry to add ``struct inode *inode`` The inode to attach to this dentry **Description** This adds the entry to the hash queues and initializes **inode**. The entry was actually filled in earlier during d_alloc().h](h)}(h**Parameters**h]j)}(hj]dh]h Parameters}(hj_dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[dubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjWdubj)}(hhh](j)}(h'``struct dentry *entry`` dentry to add h](j)}(h``struct dentry *entry``h]j)}(hj|dh]hstruct dentry *entry}(hj~dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzdubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjvdubj)}(hhh]h)}(h dentry to addh]h dentry to add}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhM hjdubah}(h]h ]h"]h$]h&]uh1jhjvdubeh}(h]h ]h"]h$]h&]uh1jhjdhM hjsdubj)}(h;``struct inode *inode`` The inode to attach to this dentry h](j)}(h``struct inode *inode``h]j)}(hjdh]hstruct inode *inode}(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)}(h"The inode to attach to this dentryh]h"The inode to attach to this dentry}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhM hjdubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjdhM hjsdubeh}(h]h ]h"]h$]h&]uh1jhjWdubh)}(h**Description**h]j)}(hjdh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjWdubh)}(h|This adds the entry to the hash queues and initializes **inode**. The entry was actually filled in earlier during d_alloc().h](h7This adds the entry to the hash queues and initializes }(hjehhhNhNubj)}(h **inode**h]hinode}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh<. The entry was actually filled in earlier during d_alloc().}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM hjWdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjDhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_splice_alias (C function)c.d_splice_aliashNtauh1hhjDhhhNhNubh)}(hhh](j)}(hKstruct dentry * d_splice_alias (struct inode *inode, struct dentry *dentry)h]j)}(hIstruct dentry *d_splice_alias(struct inode *inode, struct dentry *dentry)h](j )}(hjzh]hstruct}(hjGehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCehhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM! ubj)}(h h]h }(hjUehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCehhhjTehM! ubh)}(hhh]j5)}(hdentryh]hdentry}(hjfehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjceubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhemodnameN classnameNjj)}j]j)}jd_splice_aliassbc.d_splice_aliasasbuh1hhjCehhhjTehM! ubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCehhhjTehM! ubj*)}(hj-h]h*}(hjehhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjCehhhjTehM! ubj/)}(hd_splice_aliash]j5)}(hjeh]hd_splice_alias}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjCehhhjTehM! ubj)}(h,(struct inode *inode, struct dentry *dentry)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubh)}(hhh]j5)}(hinodeh]hinode}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj)}j]jec.d_splice_aliasasbuh1hhjeubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubj*)}(hj-h]h*}(hj fhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjeubj5)}(hinodeh]hinode}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hj1fhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj-fubj)}(h h]h }(hj>fhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-fubh)}(hhh]j5)}(hdentryh]hdentry}(hjOfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQfmodnameN classnameNjj)}j]jec.d_splice_aliasasbuh1hhj-fubj)}(h h]h }(hjmfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-fubj*)}(hj-h]h*}(hj{fhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj-fubj5)}(hdentryh]hdentry}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-fubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubeh}(h]h ]h"]h$]h&]jLjMuh1jhjCehhhjTehM! ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj?ehhhjTehM! ubah}(h]j:eah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjTehM! hjlookup. 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)}(hjfh]h Parameters}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM% hjfubj)}(hhh](j)}(hG``struct inode *inode`` the inode which may have a disconnected dentry h](j)}(h``struct inode *inode``h]j)}(hjfh]hstruct inode *inode}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM" hjfubj)}(hhh]h)}(h.the inode which may have a disconnected dentryh]h.the inode which may have a disconnected dentry}(hj ghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghM" hj gubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjghM" hjfubj)}(hQ``struct dentry *dentry`` a negative dentry which we want to point to the inode. h](j)}(h``struct dentry *dentry``h]j)}(hj,gh]hstruct dentry *dentry}(hj.ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*gubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM# hj&gubj)}(hhh]h)}(h6a negative dentry which we want to point to the inode.h]h6a negative dentry which we want to point to the inode.}(hjEghhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAghM# hjBgubah}(h]h ]h"]h$]h&]uh1jhj&gubeh}(h]h ]h"]h$]h&]uh1jhjAghM# hjfubeh}(h]h ]h"]h$]h&]uh1jhjfubh)}(h**Description**h]j)}(hjggh]h Description}(hjighhhNhNubah}(h]h ]h"]h$]h&]uh1jhjegubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM% hjfubh)}(hIf inode is a directory and has an IS_ROOT alias, then d_move that in place of the given dentry and return it, else simply d_add the inode to the dentry and return NULL.h]hIf inode is a directory and has an IS_ROOT alias, then d_move that in place of the given dentry and return it, else simply d_add the inode to the dentry and return NULL.}(hj}ghhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM$ hjfubh)}(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.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM( hjfubh)}(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.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM+ hjfubh)}(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.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM. hjfubh)}(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.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chM1 hjfubeh}(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}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjghhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMD ubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjghhhjghMD ubj/)}(h is_subdirh]j5)}(h is_subdirh]h is_subdir}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjghhhjghMD ubj)}(h6(struct dentry *new_dentry, struct dentry *old_dentry)h](j)}(hstruct dentry *new_dentryh](j )}(hjzh]hstruct}(hj$hhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj hubj)}(h h]h }(hj1hhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hubh)}(hhh]j5)}(hdentryh]hdentry}(hjBhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?hubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDhmodnameN classnameNjj)}j]j)}jj hsb c.is_subdirasbuh1hhj hubj)}(h h]h }(hjbhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hubj*)}(hj-h]h*}(hjphhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj hubj5)}(h new_dentryh]h new_dentry}(hj}hhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj hubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjhubj)}(hstruct dentry *old_dentryh](j )}(hjzh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj)}j]j^h c.is_subdirasbuh1hhjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubj*)}(hj-h]h*}(hjhhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhubj5)}(h old_dentryh]h old_dentry}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjhubeh}(h]h ]h"]h$]h&]jLjMuh1jhjghhhjghMD ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjghhhjghMD ubah}(h]jgah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjghMD hjghhubjc)}(hhh]h)}(h*is new dentry a subdirectory of old_dentryh]h*is new dentry a subdirectory of old_dentry}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMD hjihhubah}(h]h ]h"]h$]h&]uh1jbhjghhhjghMD ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/ijj/ijjjuh1hhhhjDhNhNubj)}(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)}(hj9ih]h Parameters}(hj;ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7iubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMH hj3iubj)}(hhh](j)}(h)``struct dentry *new_dentry`` new dentry h](j)}(h``struct dentry *new_dentry``h]j)}(hjXih]hstruct dentry *new_dentry}(hjZihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjViubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chME hjRiubj)}(hhh]h)}(h new dentryh]h new dentry}(hjqihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmihME hjniubah}(h]h ]h"]h$]h&]uh1jhjRiubeh}(h]h ]h"]h$]h&]uh1jhjmihME hjOiubj)}(h)``struct dentry *old_dentry`` old dentry h](j)}(h``struct dentry *old_dentry``h]j)}(hjih]hstruct dentry *old_dentry}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMF hjiubj)}(hhh]h)}(h old dentryh]h old dentry}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihMF hjiubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjihMF hjOiubeh}(h]h ]h"]h$]h&]uh1jhj3iubh)}(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.chMH hj3iubh)}(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()}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:20: ./fs/dcache.chMG hj3iubeh}(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}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj jhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM;ubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj jhhhjjhM;ubh)}(hhh]j5)}(hdentryh]hdentry}(hj0jhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-jubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2jmodnameN classnameNjj)}j]j)}j dget_dlocksb c.dget_dlockasbuh1hhj jhhhjjhM;ubj)}(h h]h }(hjQjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj jhhhjjhM;ubj*)}(hj-h]h*}(hj_jhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj jhhhjjhM;ubj/)}(h dget_dlockh]j5)}(hjNjh]h dget_dlock}(hjpjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjljubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj jhhhjjhM;ubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *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]jLj c.dget_dlockasbuh1hhjjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubj*)}(hj-h]h*}(hjjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjjubj5)}(hdentryh]hdentry}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubah}(h]h ]h"]h$]h&]jLjMuh1jhj jhhhjjhM;ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj jhhhjjhM;ubah}(h]jjah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjjhM;hjjhhubjc)}(hhh]h)}(hget a reference to a dentryh]hget a reference to a dentry}(hj khhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM;hj khhubah}(h]h ]h"]h$]h&]uh1jbhjjhhhjjhM;ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj$kjj$kjjjuh1hhhhjDhNhNubj)}(hX**Parameters** ``struct dentry *dentry`` dentry to get a reference to **Description** Given a live dentry, increment the reference count and return the dentry. Caller must hold **dentry->d_lock**. Making sure that dentry is alive is caller's resonsibility. There are many conditions sufficient to guarantee that; e.g. anything with non-negative refcount is alive, so's anything hashed, anything positive, anyone's parent, etc.h](h)}(h**Parameters**h]j)}(hj.kh]h Parameters}(hj0khhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,kubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM?hj(kubj)}(hhh]j)}(h7``struct dentry *dentry`` dentry to get a reference to h](j)}(h``struct dentry *dentry``h]j)}(hjMkh]hstruct dentry *dentry}(hjOkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKkubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM<hjGkubj)}(hhh]h)}(hdentry to get a reference toh]hdentry to get a reference to}(hjfkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbkhM<hjckubah}(h]h ]h"]h$]h&]uh1jhjGkubeh}(h]h ]h"]h$]h&]uh1jhjbkhM<hjDkubah}(h]h ]h"]h$]h&]uh1jhj(kubh)}(h**Description**h]j)}(hjkh]h Description}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM>hj(kubh)}(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 }(hjkhhhNhNubj)}(h**dentry->d_lock**h]hdentry->d_lock}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh. 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.}(hjkhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhM=hj(kubeh}(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}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMLubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkhhhjkhMLubh)}(hhh]j5)}(hdentryh]hdentry}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj)}j]j)}jdgetsbc.dgetasbuh1hhjkhhhjkhMLubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkhhhjkhMLubj*)}(hj-h]h*}(hj-lhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjkhhhjkhMLubj/)}(hdgeth]j5)}(hjlh]hdget}(hj>lhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:lubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjkhhhjkhMLubj)}(h(struct dentry *dentry)h]j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjYlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUlubj)}(h h]h }(hjflhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUlubh)}(hhh]j5)}(hdentryh]hdentry}(hjwlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjylmodnameN classnameNjj)}j]jlc.dgetasbuh1hhjUlubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUlubj*)}(hj-h]h*}(hjlhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjUlubj5)}(hdentryh]hdentry}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUlubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjQlubah}(h]h ]h"]h$]h&]jLjMuh1jhjkhhhjkhMLubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjkhhhjkhMLubah}(h]jkah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjkhMLhjkhhubjc)}(hhh]h)}(hget a reference to a dentryh]hget a reference to a dentry}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMLhjlhhubah}(h]h ]h"]h$]h&]uh1jbhjkhhhjkhMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1hhhhjDhNhNubj)}(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)}(hjlh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMPhjlubj)}(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.hhMMhjmubj)}(hhh]h)}(hdentry to get a reference toh]hdentry to get a reference to}(hj4mhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0mhMMhj1mubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhj0mhMMhjmubah}(h]h ]h"]h$]h&]uh1jhjlubh)}(h**Description**h]j)}(hjVmh]h Description}(hjXmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTmubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMOhjlubh)}(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 }(hjlmhhhNhNubj)}(h``NULL``h]hNULL}(hjtmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlmubhXp 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.}(hjlmhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMNhjlubh)}(h**NOTE**h]j)}(hjmh]hNOTE}(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.hhMVhjlubh)}(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 }(hjmhhhNhNubj)}(h**dentry->d_lock**h]hdentry->d_lock}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubh is held. From the deadlock avoidance point of view it is equivalent to spin_lock()/increment refcount/spin_unlock(), so calling it under }(hjmhhhNhNubj)}(h**dentry->d_lock**h]hdentry->d_lock}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubhM is always a bug; so’s calling it under ->d_lock on any of its descendents.}(hjmhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMWhjlubeh}(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}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjmhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMgubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmhhhjnhMgubj/)}(h d_unhashedh]j5)}(h d_unhashedh]h d_unhashed}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjmhhhjnhMgubj)}(h(const struct dentry *dentry)h]j)}(hconst struct dentry *dentryh](j )}(hjUh]hconst}(hj5nhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1nubj)}(h h]h }(hjBnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1nubj )}(hjzh]hstruct}(hjPnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj1nubj)}(h h]h }(hj]nhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1nubh)}(hhh]j5)}(hdentryh]hdentry}(hjnnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjknubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpnmodnameN classnameNjj)}j]j)}jjnsb c.d_unhashedasbuh1hhj1nubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1nubj*)}(hj-h]h*}(hjnhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj1nubj5)}(hdentryh]hdentry}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1nubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj-nubah}(h]h ]h"]h$]h&]jLjMuh1jhjmhhhjnhMgubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjmhhhjnhMgubah}(h]jmah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjnhMghjmhhubjc)}(hhh]h)}(his dentry hashedh]his dentry hashed}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMghjnhhubah}(h]h ]h"]h$]h&]uh1jbhjmhhhjnhMgubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhjDhNhNubj)}(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)}(hjnh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMkhjnubj)}(hhh]j)}(h/``const struct dentry *dentry`` entry to check h](j)}(h``const struct dentry *dentry``h]j)}(hjoh]hconst struct dentry *dentry}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhhjoubj)}(hhh]h)}(hentry to checkh]hentry to check}(hj-ohhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)ohMhhj*oubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhj)ohMhhj oubah}(h]h ]h"]h$]h&]uh1jhjnubh)}(h**Description**h]j)}(hjOoh]h Description}(hjQohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMoubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMjhjnubh)}(h:Returns true if the dentry passed is not currently hashed.h]h:Returns true if the dentry passed is not currently hashed.}(hjeohhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMihjnubeh}(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}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjohhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjohhhjohMubj/)}(hd_really_is_negativeh]j5)}(hd_really_is_negativeh]hd_really_is_negative}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjohhhjohMubj)}(h(const struct dentry *dentry)h]j)}(hconst struct dentry *dentryh](j )}(hjUh]hconst}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubj )}(hjzh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubh)}(hhh]j5)}(hdentryh]hdentry}(hj phhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj pmodnameN classnameNjj)}j]j)}jjosbc.d_really_is_negativeasbuh1hhjoubj)}(h h]h }(hj)phhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubj*)}(hj-h]h*}(hj7phhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjoubj5)}(hdentryh]hdentry}(hjDphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjoubah}(h]h ]h"]h$]h&]jLjMuh1jhjohhhjohMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjohhhjohMubah}(h]joah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjohMhjohhubjc)}(hhh]h)}(h@Determine if a dentry is really negative (ignoring fallthroughs)h]h@Determine if a dentry is really negative (ignoring fallthroughs)}(hjnphhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjkphhubah}(h]h ]h"]h$]h&]uh1jbhjohhhjohMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjpjjpjjjuh1hhhhjDhNhNubj)}(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)}(hjph]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjpubj)}(hhh]j)}(h7``const struct dentry *dentry`` The dentry in question h](j)}(h``const struct dentry *dentry``h]j)}(hjph]hconst struct dentry *dentry}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjpubj)}(hhh]h)}(hThe dentry in questionh]hThe dentry in question}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphMhjpubah}(h]h ]h"]h$]h&]uh1jhjpubh)}(h**Description**h]j)}(hjph]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjpubh)}(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.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjpubh)}(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 }(hjqhhhNhNubj )}(h*only*h]honly}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjqubhXM 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.}(hjqhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjpubeh}(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}(hjPqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjLqhhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj)}(h h]h }(hj^qhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLqhhhj]qhMubj/)}(hd_really_is_positiveh]j5)}(hd_really_is_positiveh]hd_really_is_positive}(hjpqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlqubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjLqhhhj]qhMubj)}(h(const struct dentry *dentry)h]j)}(hconst struct dentry *dentryh](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)}(hdentryh]hdentry}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj)}j]j)}jjrqsbc.d_really_is_positiveasbuh1hhjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubj*)}(hj-h]h*}(hjqhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjqubj5)}(hdentryh]hdentry}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjqubah}(h]h ]h"]h$]h&]jLjMuh1jhjLqhhhj]qhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjHqhhhj]qhMubah}(h]jCqah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj]qhMhjEqhhubjc)}(hhh]h)}(h@Determine if a dentry is really positive (ignoring fallthroughs)h]h@Determine if a dentry is really positive (ignoring fallthroughs)}(hj*rhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj'rhhubah}(h]h ]h"]h$]h&]uh1jbhjEqhhhj]qhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjBrjjBrjjjuh1hhhhjDhNhNubj)}(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)}(hjLrh]h Parameters}(hjNrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJrubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjFrubj)}(hhh]j)}(h7``const struct dentry *dentry`` The dentry in question h](j)}(h``const struct dentry *dentry``h]j)}(hjkrh]hconst struct dentry *dentry}(hjmrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjirubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjerubj)}(hhh]h)}(hThe dentry in questionh]hThe dentry in question}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhMhjrubah}(h]h ]h"]h$]h&]uh1jhjerubeh}(h]h ]h"]h$]h&]uh1jhjrhMhjbrubah}(h]h ]h"]h$]h&]uh1jhjFrubh)}(h**Description**h]j)}(hjrh]h Description}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjFrubh)}(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.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjFrubh)}(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 }(hjrhhhNhNubj )}(h*only*h]honly}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjrubh 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.}(hjrhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjFrubeh}(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}(hj shhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjshhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjshhhjshMubh)}(hhh]j5)}(hinodeh]hinode}(hj+shhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(subah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-smodnameN classnameNjj)}j]j)}jd_inodesb c.d_inodeasbuh1hhjshhhjshMubj)}(h h]h }(hjLshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjshhhjshMubj*)}(hj-h]h*}(hjZshhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjshhhjshMubj/)}(hd_inodeh]j5)}(hjIsh]hd_inode}(hjkshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgsubah}(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 reftargetjsmodnameN classnameNjj)}j]jGs c.d_inodeasbuh1hhjsubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubj*)}(hj-h]h*}(hjshhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjsubj5)}(hdentryh]hdentry}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj~subah}(h]h ]h"]h$]h&]jLjMuh1jhjshhhjshMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjshhhjshMubah}(h]jrah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjshMhjshhubjc)}(hhh]h)}(h#Get the actual inode of this dentryh]h#Get the actual inode of this dentry}(hj"thhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjthhubah}(h]h ]h"]h$]h&]uh1jbhjshhhjshMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:tjj:tjjjuh1hhhhjDhNhNubj)}(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)}(hjDth]h Parameters}(hjFthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBtubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj>tubj)}(hhh]j)}(h4``const struct dentry *dentry`` The dentry to query h](j)}(h``const struct dentry *dentry``h]j)}(hjcth]hconst struct dentry *dentry}(hjethhhNhNubah}(h]h ]h"]h$]h&]uh1jhjatubah}(h]h ]h"]h$]h&]uh1jh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj]tubj)}(hhh]h)}(hThe dentry to queryh]hThe dentry to query}(hj|thhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxthMhjytubah}(h]h ]h"]h$]h&]uh1jhj]tubeh}(h]h ]h"]h$]h&]uh1jhjxthMhjZtubah}(h]h ]h"]h$]h&]uh1jhj>tubh)}(h**Description**h]j)}(hjth]h Description}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj>tubh)}(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.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhj>tubeh}(h]h ] kernelindentah"]h$]h&]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}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjthhh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjthhhjthMubh)}(hhh]j5)}(hinodeh]hinode}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNjj)}j]j)}j d_inode_rcusb c.d_inode_rcuasbuh1hhjthhhjthMubj)}(h h]h }(hj#uhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjthhhjthMubj*)}(hj-h]h*}(hj1uhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjthhhjthMubj/)}(h d_inode_rcuh]j5)}(hj uh]h d_inode_rcu}(hjBuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>uubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjthhhjthMubj)}(h(const struct dentry *dentry)h]j)}(hconst struct dentry *dentryh](j )}(hjUh]hconst}(hj]uhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYuubj)}(h h]h }(hjjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYuubj )}(hjzh]hstruct}(hjxuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjYuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYuubh)}(hhh]j5)}(hdentryh]hdentry}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNjj)}j]ju c.d_inode_rcuasbuh1hhjYuubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYuubj*)}(hj-h]h*}(hjuhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjYuubj5)}(hdentryh]hdentry}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjUuubah}(h]h ]h"]h$]h&]jLjMuh1jhjthhhjthMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjthhhjthMubah}(h]jtah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjthMhjthhubjc)}(hhh]h)}(h4Get the actual inode of this dentry with READ_ONCE()h]h4Get the actual inode of this dentry with READ_ONCE()}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjuhhubah}(h]h ]h"]h$]h&]uh1jbhjthhhjthMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhjDhNhNubj)}(h**Parameters** ``const struct dentry *dentry`` The dentry to query **Description** This is the helper normal filesystems should use to get at their own inodes in their own dentries and ignore the layering superimposed upon them.h](h)}(h**Parameters**h]j)}(hjvh]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1hh^/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:23: ./include/linux/dcache.hhMhjvubj)}(hhh]j)}(h4``const struct dentry *dentry`` The dentry to query h](j)}(h``const struct dentry *dentry``h]j)}(hj:vh]hconst struct dentry *dentry}(hjhhhR/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/)}(hinode_sb_list_addh]j5)}(hinode_sb_list_addh]hinode_sb_list_add}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj>hhhjPhMubj)}(h(struct inode *inode)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.inode_sb_list_addasbuh1hhj{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)}(hinodeh]hinode}(hj؆hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubah}(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)}(h*add inode to the superblock list of inodesh]h*add inode to the superblock list of inodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj7hhhjPhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj|hNhNubj)}(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.chMhjubj)}(hhh]j)}(h$``struct inode *inode`` inode to addh](j)}(h``struct inode *inode``h]j)}(hjCh]hstruct inode *inode}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj=ubj)}(hhh]h)}(h inode to addh]h inode to add}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __insert_inode_hash (C function)c.__insert_inode_hashhNtauh1hhj|hhhNhNubh)}(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}(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__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.hjhhhjhMubj)}(h,(struct inode *inode, unsigned long hashval)h](j)}(hstruct inode *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)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.__insert_inode_hashasbuh1hhjև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)}(hinodeh]hinode}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjևubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj҇ubj)}(hunsigned long hashvalh](j)}(hunsignedh]hunsigned}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjHubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHubj)}(hlongh]hlong}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjHubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHubj5)}(hhashvalh]hhashval}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubeh}(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 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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjƈjjƈjjjuh1hhhhj|hNhNubj)}(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&]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`` unhashed inode h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hunhashed inodeh]hunhashed inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(ha``unsigned long hashval`` unsigned long value used to locate this object in the inode_hashtable. 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.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.}(hjAhhhNhNubah}(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=hMhjubeh}(h]h ]h"]h$]h&]uh1jhjʈubh)}(h**Description**h]j)}(hjdh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjʈubh block_quote)}(h3Add an inode to the inode hash for this superblock.h]h)}(hj~h]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.chMhj|ubah}(h]h ]h"]h$]h&]uh1jzhjhMhjʈubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h __remove_inode_hash (C function)c.__remove_inode_hashhNtauh1hhj|hhhNhNubh)}(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 }(hjÉhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj‰hMubj/)}(h__remove_inode_hashh]j5)}(h__remove_inode_hashh]h__remove_inode_hash}(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&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj׉sbc.__remove_inode_hashasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj=hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hjJhhhNhNubah}(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)}(hremove an inode from the hashh]hremove an inode from the hash}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjqhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj‰hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj|hNhNubj)}(hu**Parameters** ``struct inode *inode`` inode to unhash **Description** Remove an inode from the superblock.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]j)}(h(``struct inode *inode`` 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}(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.chMhjubj{)}(h$Remove an inode from the superblock.h]h)}(hjh]h$Remove an inode from the superblock.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubah}(h]h ]h"]h$]h&]uh1jzhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hevict_inodes (C function)c.evict_inodeshNtauh1hhj|hhhNhNubh)}(hhh](j)}(h*void evict_inodes (struct super_block *sb)h]j)}(h)void evict_inodes(struct super_block *sb)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.chMuubj)}(h h]h }(hjMhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:hhhjLhMuubj/)}(h evict_inodesh]j5)}(h evict_inodesh]h evict_inodes}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj:hhhjLhMuubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](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 super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjasbc.evict_inodesasbuh1hhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubj*)}(hj-h]h*}(hjNjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjwubj5)}(hsbh]hsb}(hjԋhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjsubah}(h]h ]h"]h$]h&]jLjMuh1jhj:hhhjLhMuubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj6hhhjLhMuubah}(h]j1ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjLhMuhj3hhubjc)}(hhh]h)}(h+evict all evictable inodes for a superblockh]h+evict all evictable inodes for a superblock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMuhjhhubah}(h]h ]h"]h$]h&]uh1jbhj3hhhjLhMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj|hNhNubj)}(hX8**Parameters** ``struct super_block *sb`` superblock to operate on **Description** Make sure that no inodes with zero refcount are retained. This is called by superblock shutdown after having SB_ACTIVE flag removed, so any inode reaching zero refcount during or after that call will be immediately evicted.h](h)}(h**Parameters**h]j)}(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.chMyhjubj)}(hhh]j)}(h4``struct super_block *sb`` superblock to operate on h](j)}(h``struct super_block *sb``h]j)}(hj?h]hstruct super_block *sb}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMvhj9ubj)}(hhh]h)}(hsuperblock to operate onh]hsuperblock to operate on}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMvhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMvhj6ubah}(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:29: ./fs/inode.chMxhjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMwhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnew_inode (C function) c.new_inodehNtauh1hhj|hhhNhNubh)}(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 }(hj͌hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhǰhMubh)}(hhh]j5)}(hinodeh]hinode}(hjތhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjیubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j new_inodesb c.new_inodeasbuh1hhjhhhǰhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhǰhMubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhǰhMubj/)}(h new_inodeh]j5)}(hjh]h new_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhǰhMubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubh)}(hhh]j5)}(h super_blockh]h super_block}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj)}j]j c.new_inodeasbuh1hhj5ubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj5ubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj1ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhǰhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhǰhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhǰhMhjhhubjc)}(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&]uh1jbhjhhhǰhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjҍjjҍjjjuh1hhhhj|hNhNubj)}(hX**Parameters** ``struct super_block *sb`` superblock **Description** Allocates a new inode for given superblock. The default gfp_mask for allocations related to inode->i_mapping is GFP_HIGHUSER_MOVABLE. If HIGHMEM pages are unsuitable or it is known that pages allocated for the page cache are not reclaimable or migratable, mapping_set_gfp_mask() must be called with suitable flags on the newly created inode's mappingh](h)}(h**Parameters**h]j)}(hj܍h]h Parameters}(hjލhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjڍubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj֍ubj)}(hhh]j)}(h&``struct super_block *sb`` superblock h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h superblockh]h superblock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]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֍ubj{)}(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}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjLubah}(h]h ]h"]h$]h&]uh1jzhj^hMhj֍ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hunlock_new_inode (C function)c.unlock_new_inodehNtauh1hhj|hhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hunlock_new_inodeh]j5)}(hunlock_new_inodeh]hunlock_new_inode}(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 hjubj)}(h h]h }(hjώhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjݎubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.unlock_new_inodeasbuh1hhjubj)}(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&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj}hhhjhMubah}(h]jxah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjzhhubjc)}(hhh]h)}(h-clear the I_NEW state and wake up any waitersh]h-clear the I_NEW state and wake up any waiters}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjBhhubah}(h]h ]h"]h$]h&]uh1jbhjzhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhj|hNhNubj)}(h**Parameters** ``struct inode *inode`` new inode to unlock **Description** Called when the inode is fully initialised to clear the new state of the inode and wake up anyone waiting for the inode to finish initialisation.h](h)}(h**Parameters**h]j)}(hjgh]h Parameters}(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.chMhjaubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubh)}(h**Description**h]j)}(hjh]h Description}(hjÏhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjaubh)}(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.}(hj׏hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjaubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$lock_two_nondirectories (C function)c.lock_two_nondirectorieshNtauh1hhj|hhhNhNubh)}(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}(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/)}(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.hjhhhjhMubj)}(h,(struct inode *inode1, struct inode *inode2)h](j)}(hstruct inode *inode1h](j )}(hjzh]hstruct}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubh)}(hhh]j5)}(hinodeh]hinode}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNjj)}j]j)}jj)sbc.lock_two_nondirectoriesasbuh1hhj?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)}(hinode1h]hinode1}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj;ubj)}(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}(hjӐhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjАubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjՐmodnameN classnameNjj)}j]j}c.lock_two_nondirectoriesasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinode2h]hinode2}(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+take two i_mutexes on non-directory objectsh]h+take two i_mutexes on non-directory objects}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj3hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1hhhhj|hNhNubj)}(h**Parameters** ``struct inode *inode1`` first inode to lock ``struct inode *inode2`` second inode to lock **Description** Lock any non-NULL argument. Passed objects must not be directories. Zero, one or two objects may be locked by this function.h](h)}(h**Parameters**h]j)}(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:29: ./fs/inode.chMhjRubj)}(hhh](j)}(h-``struct inode *inode1`` first inode to lock h](j)}(h``struct inode *inode1``h]j)}(hjwh]hstruct inode *inode1}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjqubj)}(hhh]h)}(hfirst inode to lockh]hfirst inode to lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhjnubj)}(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}(hjɑhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjőhMhjƑubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjőhMhjnubeh}(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:29: ./fs/inode.chMhjRubh)}(h|Lock any non-NULL argument. Passed objects must not be directories. Zero, one or two objects may be locked by this function.h]h|Lock any non-NULL argument. Passed objects must not be directories. Zero, one or two objects may be locked by this function.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&unlock_two_nondirectories (C function)c.unlock_two_nondirectorieshNtauh1hhj|hhhNhNubh)}(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}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj,hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,hhhj>hMubj/)}(hunlock_two_nondirectoriesh]j5)}(hunlock_two_nondirectoriesh]hunlock_two_nondirectories}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj,hhhj>hMubj)}(h,(struct inode *inode1, struct inode *inode2)h](j)}(hstruct inode *inode1h](j )}(hjzh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjSsbc.unlock_two_nondirectoriesasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjiubj5)}(hinode1h]hinode1}(hjƒhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubj)}(hstruct inode *inode2h](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]jc.unlock_two_nondirectoriesasbuh1hhjے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)}(hinode2h]hinode2}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjےubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubeh}(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,release locks from lock_two_nondirectories()h]h,release locks from lock_two_nondirectories()}(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%hhhj>hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjxjjxjjjuh1hhhhj|hNhNubj)}(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.chMhj|ubj)}(hhh](j)}(h/``struct inode *inode1`` first inode to unlock 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 unlockh]hfirst inode to unlock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``struct inode *inode2`` second inode to unlockh](j)}(h``struct inode *inode2``h]j)}(hjړh]hstruct inode *inode2}(hjܓhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjؓubah}(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}(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ԓubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_insert5 (C function)c.inode_insert5hNtauh1hhj|hhhNhNubh)}(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}(hj4hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj0hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0hhhjAhMubh)}(hhh]j5)}(hinodeh]hinode}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj)}j]j)}j inode_insert5sbc.inode_insert5asbuh1hhj0hhhjAhMubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0hhhjAhMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj0hhhjAhMubj/)}(h inode_insert5h]j5)}(hjqh]h inode_insert5}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj0hhhjAhMubj)}(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}(hj̔hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjɔubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjΔmodnameN classnameNjj)}j]joc.inode_insert5asbuh1hhjubj)}(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)}(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}(hj:hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hhashvalh]hhashval}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h!int (*test)(struct inode*, void*)h](j)}(hinth]hint}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjkubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubj*)}(h(h]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjkubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjkubj5)}(htesth]htest}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubj*)}(h)h]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjkubj*)}(hjh]h(}(hj•hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjkubj )}(hjzh]hstruct}(hjϕhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkubj)}(h h]h }(hjܕhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]joc.inode_insert5asbuh1hhjkubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjkubj*)}(h,h]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjkubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubj)}(hvoidh]hvoid}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjkubj*)}(hj-h]h*}(hjBhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjkubj*)}(hjh]h)}(hjOhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjkubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int (*set)(struct inode*, void*)h](j)}(hinth]hint}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjcubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj*)}(hjh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj5)}(hseth]hset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj*)}(hjh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj )}(hjzh]hstruct}(hjŖhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj)}(h h]h }(hjҖhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]joc.inode_insert5asbuh1hhjcubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj*)}(hjh]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj)}(hvoidh]hvoid}(hj)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjcubj*)}(hj-h]h*}(hj7hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj*)}(hjh]h)}(hjDhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *datah](j)}(hvoidh]hvoid}(hj\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjXubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubj*)}(hj-h]h*}(hjxhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjXubj5)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj0hhhjAhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj,hhhjAhMubah}(h]j'ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjAhMhj)hhubjc)}(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&]uh1jbhj)hhhjAhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjǗjjǗjjjuh1hhhhj|hNhNubj)}(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&]uh1jhjϗubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj˗ubj)}(hhh](j)}(hG``struct inode *inode`` pre-allocated inode to use for insert to cache h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h.pre-allocated inode to use for insert to cacheh]h.pre-allocated inode to use for insert to cache}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hC``unsigned long hashval`` hash value (usually inode number) to get 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.chMhj#ubj)}(hhh]h)}(h(hash value (usually inode number) to geth]h(hash value (usually inode number) to get}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjubj)}(hU``int (*test)(struct inode *, void *)`` callback used for comparisons between inodes h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hjbh]h#int (*test)(struct inode *, void *)}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj\ubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjubj)}(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.chMhjubj)}(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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hC``void *data`` opaque data pointer to pass to **test** and **set** h](j)}(h``void *data``h]j)}(hjԘh]h void *data}(hj֘hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҘubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjΘubj)}(hhh]h)}(h3opaque data pointer to pass to **test** and **set**h](hopaque data pointer to pass to }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**set**h]hset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjΘubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhj˗ubh)}(h**Description**h]j)}(hj/h]h Description}(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˗ubh)}(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 }(hjEhhhNhNubj)}(h **hashval**h]hhashval}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh and }(hjEhhhNhNubj)}(h**data**h]hdata}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh 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.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj˗ubh)}(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().}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj˗ubh)}(hbNote that both **test** and **set** are called with the inode_hash_lock held, so they can't sleep.h](hNote that both }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**set**h]hset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhA are called with the inode_hash_lock held, so they can’t sleep.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj˗ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](higet5_locked (C function)c.iget5_lockedhNtauh1hhj|hhhNhNubh)}(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}(hjڙhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj֙hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMHubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj֙hhhjhMHubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j iget5_lockedsbc.iget5_lockedasbuh1hhj֙hhhjhMHubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj֙hhhjhMHubj*)}(hj-h]h*}(hj(hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj֙hhhjhMHubj/)}(h iget5_lockedh]j5)}(hjh]h iget5_locked}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj֙hhhjhMHubj)}(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}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubh)}(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]jc.iget5_lockedasbuh1hhjPubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjPubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjLubj)}(hunsigned long hashvalh](j)}(hunsignedh]hunsigned}(hjĚhhhNhNubah}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hhashvalh]hhashval}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjLubj)}(h!int (*test)(struct inode*, 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*)}(hjh]h(}(hj1hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hj>hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htesth]htest}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjh]h)}(hjYhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h(}(hjfhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hjshhhNhNubah}(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.iget5_lockedasbuh1hhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h,}(hjhhhNhNubah}(h]h ]j6ah"]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*)}(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&]noemphjLjMuh1jhjLubj)}(h int (*set)(struct inode*, void*)h](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hjh]h(}(hj&hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hj3hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hseth]hset}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjh]h)}(hjNhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h(}(hj[hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjuhhhNhNubah}(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.iget5_lockedasbuh1hhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h,}(hjhhhNhNubah}(h]h ]j6ah"]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*)}(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&]noemphjLjMuh1jhjLubj)}(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*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdatah]hdata}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjLubeh}(h]h ]h"]h$]h&]jLjMuh1jhj֙hhhjhMHubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjҙhhhjhMHubah}(h]j͙ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMHhjϙhhubjc)}(hhh]h)}(h*obtain an inode from a mounted file systemh]h*obtain an inode from a mounted file system}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMHhjOhhubah}(h]h ]h"]h$]h&]uh1jbhjϙhhhjhMHubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjjjuh1hhhhj|hNhNubj)}(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)}(hjth]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMLhjnubj)}(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.chMIhjubj)}(hhh]h)}(hsuper block of file systemh]hsuper block of file system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMIhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMIhjubj)}(hC``unsigned long hashval`` hash value (usually inode number) to get 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.chMJhjƝubj)}(hhh]h)}(h(hash value (usually inode number) to geth]h(hash value (usually inode number) to get}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjƝubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjubj)}(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.chMKhjubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMKhjubj)}(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.chMLhj8ubj)}(hhh]h)}(h.callback used to initialize a new struct inodeh]h.callback used to initialize a new struct inode}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMLhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMLhjubj)}(hC``void *data`` opaque data pointer to pass to **test** and **set** h](j)}(h``void *data``h]j)}(hjwh]h void *data}(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.chMMhjqubj)}(hhh]h)}(h3opaque data pointer to pass to **test** and **set**h](hopaque data pointer to pass to }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**set**h]hset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubeh}(h]h ]h"]h$]h&]uh1jhjnubh)}(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.chMOhjnubh)}(hXSearch for the inode specified by **hashval** and **data** in the inode cache, and if present return it with an increased reference count. This is a generalized version of iget_locked() for file systems where the inode number is not sufficient for unique identification of an inode.h](h"Search for the inode specified by }(hjhhhNhNubj)}(h **hashval**h]hhashval}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh in the inode cache, and if present return it with an increased reference count. This is a generalized version of iget_locked() for file systems where the inode number is not sufficient for unique identification of an inode.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMNhjnubh)}(hIf the inode is not present in the cache, allocate and insert a new inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode().h]hIf the inode is not present in the cache, allocate and insert a new inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMShjnubh)}(hbNote that both **test** and **set** are called with the inode_hash_lock held, so they can't sleep.h](hNote that both }(hj*hhhNhNubj)}(h**test**h]htest}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh and }(hj*hhhNhNubj)}(h**set**h]hset}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubhA are called with the inode_hash_lock held, so they can’t sleep.}(hj*hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMWhjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](higet5_locked_rcu (C function)c.iget5_locked_rcuhNtauh1hhj|hhhNhNubh)}(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}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMoubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyhhhjhMoubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jiget5_locked_rcusbc.iget5_locked_rcuasbuh1hhjyhhhjhMoubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyhhhjhMoubj*)}(hj-h]h*}(hj˟hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjyhhhjhMoubj/)}(higet5_locked_rcuh]j5)}(hjh]higet5_locked_rcu}(hjܟhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj؟ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjyhhhjhMoubj)}(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]jc.iget5_locked_rcuasbuh1hhjubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjAhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned long hashvalh](j)}(hunsignedh]hunsigned}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjcubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj)}(hlongh]hlong}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjcubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj5)}(hhashvalh]hhashval}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubeh}(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 }(hjƠhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hjh]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*)}(hjh]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}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j]jc.iget5_locked_rcuasbuh1hhjubj*)}(hj-h]h*}(hjRhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h,}(hj_hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hjzhhhNhNubah}(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 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*)}(hjh]h(}(hjɡhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hj֡hhhNhNubah}(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*)}(hjh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(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]jc.iget5_locked_rcuasbuh1hhjubj*)}(hj-h]h*}(hjGhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h,}(hjThhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hjohhhNhNubah}(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&]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}(hjˢhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjyhhhjhMoubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjuhhhjhMoubah}(h]jpah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMohjrhhubjc)}(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.chMohjhhubah}(h]h ]h"]h$]h&]uh1jbhjrhhhjhMoubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhj|hNhNubj)}(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)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMshjubj)}(hhh](j)}(h6``struct super_block *sb`` super block of file system h](j)}(h``struct super_block *sb``h]j)}(hj6h]hstruct super_block *sb}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMphj0ubj)}(hhh]h)}(hsuper block of file systemh]hsuper block of file system}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhMphjLubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjKhMphj-ubj)}(hC``unsigned long hashval`` hash value (usually inode number) to get h](j)}(h``unsigned long hashval``h]j)}(hjoh]hunsigned long hashval}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMqhjiubj)}(hhh]h)}(h(hash value (usually inode number) to geth]h(hash value (usually inode number) to get}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhjhMqhj-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.chMrhjubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMrhj-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)}(hjh]h"int (*set)(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.chMshjۣubj)}(hhh]h)}(h.callback used to initialize a new struct inodeh]h.callback used to initialize a new struct inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMshjubah}(h]h ]h"]h$]h&]uh1jhjۣubeh}(h]h ]h"]h$]h&]uh1jhjhMshj-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.chMthjubj)}(hhh]h)}(h3opaque data pointer to pass to **test** and **set**h](hopaque data pointer to pass to }(hj3hhhNhNubj)}(h**test**h]htest}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh and }(hj3hhhNhNubj)}(h**set**h]hset}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1hhj/hMthj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMthj-ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjuh]h Description}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMvhjubh)}(hThis is equivalent to iget5_locked, except the **test** callback must tolerate the inode not being stable, including being mid-teardown.h](h/This is equivalent to iget5_locked, except the }(hjhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhQ callback must tolerate the inode not being stable, including being mid-teardown.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMuhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](higet_locked (C function) c.iget_lockedhNtauh1hhj|hhhNhNubh)}(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}(hj̤hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjȤhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjڤhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjȤhhhj٤hMubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j iget_lockedsb c.iget_lockedasbuh1hhjȤhhhj٤hMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjȤhhhj٤hMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjȤhhhj٤hMubj/)}(h iget_lockedh]j5)}(hj h]h iget_locked}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjȤhhhj٤hMubj)}(h+(struct super_block *sb, unsigned long ino)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubh)}(hhh]j5)}(h super_blockh]h super_block}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j]j c.iget_lockedasbuh1hhjBubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjBubj5)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubj)}(hunsigned long inoh](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}(hjҥhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hinoh]hino}(hjhhhNhNubah}(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٤hMhjhhubjc)}(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&]uh1jbhjhhhj٤hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1hhhhj|hNhNubj)}(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)}(hj:h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj4ubj)}(hhh](j)}(h6``struct super_block *sb`` super block of file system h](j)}(h``struct super_block *sb``h]j)}(hjYh]hstruct super_block *sb}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjSubj)}(hhh]h)}(hsuper block of file systemh]hsuper block of file system}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjPubj)}(h*``unsigned long ino`` inode number to get 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 geth]hinode number to get}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjPubeh}(h]h ]h"]h$]h&]uh1jhj4ubh)}(h**Description**h]j)}(hjͦh]h Description}(hjϦhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj˦ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj4ubh)}(hSearch for the inode specified by **ino** in the inode cache and if present return it with an increased reference count. This is for file systems where the inode number is sufficient for unique identification of an inode.h](h"Search for the inode specified by }(hjhhhNhNubj)}(h**ino**h]hino}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh in the inode cache and if present return it with an increased reference count. This is for file systems where the inode number is sufficient for unique identification of an inode.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj4ubh)}(hIf the inode is not in cache, allocate a new inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode().h]hIf the inode is not in cache, allocate a new inode and return it locked, hashed, and with the I_NEW flag set. The file system gets to fill it in before unlocking it via unlock_new_inode().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hiunique (C function) c.iuniquehNtauh1hhj|hhhNhNubh)}(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}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj)}j]j)}jiuniquesb c.iuniqueasbuh1hhj/hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/hhhjWhMubj/)}(hiuniqueh]j5)}(hjTh]hiunique}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj/hhhjWhMubj)}(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 }(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]jR c.iuniqueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjϧhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hjܧhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj}ubj)}(hino_t max_reservedh](h)}(hhh]j5)}(hino_th]hino_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jR c.iuniqueasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h max_reservedh]h max_reserved}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj}ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj/hhhjWhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj+hhhjWhMubah}(h]j&ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjWhMhj(hhubjc)}(hhh]h)}(hget a unique inode numberh]hget a unique inode number}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjKhhubah}(h]h ]h"]h$]h&]uh1jbhj(hhhjWhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfjjfjjjuh1hhhhj|hNhNubj)}(hX**Parameters** ``struct super_block *sb`` superblock ``ino_t max_reserved`` highest reserved inode number **Description** Obtain an inode number that is unique on the system for a given superblock. This is used by file systems that have no natural permanent inode numbering system. An inode number is returned that is higher than the reserved limit but unique. BUGS: With a large number of inodes live on the file system this function currently becomes quite slow.h](h)}(h**Parameters**h]j)}(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 super_block *sb`` superblock h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h superblockh]h superblock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``ino_t max_reserved`` highest reserved inode number h](j)}(h``ino_t max_reserved``h]j)}(hjȨh]hino_t max_reserved}(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)}(hhighest reserved inode numberh]hhighest reserved inode number}(hjhhhNhNubah}(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&]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.chMhjjubj{)}(hXWObtain an inode number that is unique on the system for a given superblock. This is used by file systems that have no natural permanent inode numbering system. An inode number is returned that is higher than the reserved limit but unique. BUGS: With a large number of inodes live on the file system this function currently becomes quite slow.h](h)}(hObtain an inode number that is unique on the system for a given superblock. This is used by file systems that have no natural permanent inode numbering system. An inode number is returned that is higher than the reserved limit but unique.h]hObtain an inode number that is unique on the system for a given superblock. This is used by file systems that have no natural permanent inode numbering system. An inode number is returned that is higher than the reserved limit but unique.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hgBUGS: With a large number of inodes live on the file system this function currently becomes quite slow.h]hgBUGS: With a large number of inodes live on the file system this function currently becomes quite slow.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ]h"]h$]h&]uh1jzhj+hMhjjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hilookup5_nowait (C function)c.ilookup5_nowaithNtauh1hhj|hhhNhNubh)}(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}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM7ubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]hhhjnhM7ubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jilookup5_nowaitsbc.ilookup5_nowaitasbuh1hhj]hhhjnhM7ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]hhhjnhM7ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj]hhhjnhM7ubj/)}(hilookup5_nowaith]j5)}(hjh]hilookup5_nowait}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj]hhhjnhM7ubj)}(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}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.ilookup5_nowaitasbuh1hhjש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}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjשubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjөubj)}(hunsigned long hashvalh](j)}(hunsignedh]hunsigned}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjGubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubj)}(hlongh]hlong}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjGubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubj5)}(hhashvalh]hhashval}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubeh}(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*)}(hjh]h(}(hjhhhNhNubah}(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*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.ilookup5_nowaitasbuh1hhjubj*)}(hj-h]h*}(hj6hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h,}(hjChhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hvoidh]hvoid}(hj^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjlhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h)}(hjyhhhNhNubah}(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өubj)}(h bool *isnewh](j)}(hjh]hbool}(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)}(hisnewh]hisnew}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjϫubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjөubeh}(h]h ]h"]h$]h&]jLjMuh1jhj]hhhjnhM7ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjYhhhjnhM7ubah}(h]jTah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjnhM7hjVhhubjc)}(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.chM7hj"hhubah}(h]h ]h"]h$]h&]uh1jbhjVhhhjnhM7ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj=jj=jjjuh1hhhhj|hNhNubj)}(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** ``bool *isnew`` *undescribed* **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)}(hjGh]h Parameters}(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;hjAubj)}(hhh](j)}(h@``struct super_block *sb`` super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hjfh]hstruct super_block *sb}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM8hj`ubj)}(hhh]h)}(h$super block of file system to searchh]h$super block of file system to search}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hM8hj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hM8hj]ubj)}(hJ``unsigned long hashval`` hash value (usually inode number) to search for 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.chM9hjubj)}(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&]uh1hhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9hj]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.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:hj]ubj)}(h7``void *data`` opaque data pointer to pass to **test** h](j)}(h``void *data``h]j)}(hjh]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM;hj ubj)}(hhh]h)}(h'opaque data pointer to pass to **test**h](hopaque data pointer to pass to }(hj*hhhNhNubj)}(h**test**h]htest}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1hhj&hM;hj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hM;hj]ubj)}(h``bool *isnew`` *undescribed* h](j)}(h``bool *isnew``h]j)}(hjXh]h bool *isnew}(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.chKhjRubj)}(hhh]h)}(h *undescribed*h]j )}(hjsh]h undescribed}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjqubah}(h]h ]h"]h$]h&]uh1hhjmhKhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhKhj]ubeh}(h]h ]h"]h$]h&]uh1jhjAubh)}(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.chKhjAubh)}(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}(hj̭hhhNhNubah}(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.chM<hjAubh)}(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.chM@hjAubh)}(hI_NEW is not waited upon so you have to be very careful what you do with the returned inode. You probably should be using ilookup5() instead.h]hI_NEW is not waited upon so you have to be very careful what you do with the returned inode. You probably should be using ilookup5() instead.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMAhjAubh)}(hHNote2: **test** is called with the inode_hash_lock held, so can't sleep.h](hNote2: }(hj hhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(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.chMDhjAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hilookup5 (C function) c.ilookup5hNtauh1hhj|hhhNhNubh)}(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}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMUubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIhhhjZhMUubh)}(hhh]j5)}(hinodeh]hinode}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj)}j]j)}jilookup5sb c.ilookup5asbuh1hhjIhhhjZhMUubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIhhhjZhMUubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjIhhhjZhMUubj/)}(hilookup5h]j5)}(hjh]hilookup5}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjIhhhjZhMUubj)}(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 }(hjԮhhhNhNubah}(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.ilookup5asbuh1hhjî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&]noemphjLjMuh1jhjubj)}(hunsigned long hashvalh](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)}(hhashvalh]hhashval}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hjh]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)}(hj̯hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h(}(hjٯhhhNhNubah}(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.ilookup5asbuh1hhjubj*)}(hj-h]h*}(hj"hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h,}(hj/hhhNhNubah}(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)}(hjehhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *datah](j)}(hvoidh]hvoid}(hj}hhhNhNubah}(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)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjIhhhjZhMUubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjEhhhjZhMUubah}(h]j@ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjZhMUhjBhhubjc)}(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.chMUhjͰhhubah}(h]h ]h"]h$]h&]uh1jbhjBhhhjZhMUubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj|hNhNubj)}(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)}(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.chMYhjubj)}(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.chMVhj 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&]uh1hhj&hMVhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hMVhjubj)}(hJ``unsigned long hashval`` hash value (usually inode number) to search for h](j)}(h``unsigned long hashval``h]j)}(hjJh]hunsigned long hashval}(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.chMWhjDubj)}(hhh]h)}(h/hash value (usually inode number) to search forh]h/hash value (usually inode number) to search for}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hMWhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hMWhjubj)}(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.chMXhj}ubj)}(hhh]h)}(h,callback used for comparisons between inodesh]h,callback used for comparisons between inodes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(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.chMYhjubj)}(hhh]h)}(h'opaque data pointer to pass to **test**h](hopaque data pointer to pass to }(hjձhhhNhNubj)}(h**test**h]htest}(hjݱhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjձubeh}(h]h ]h"]h$]h&]uh1hhjѱhMYhjұubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjѱhMYhjubeh}(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)}(hXSearch for the inode specified by **hashval** and **data** in the inode cache, and if the inode is in the cache, return the inode with an incremented reference count. Waits on I_NEW before returning the inode. returned with an incremented reference count.h](h"Search for the inode specified by }(hjhhhNhNubj)}(h **hashval**h]hhashval}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**data**h]hdata}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh in the inode cache, and if the inode is in the cache, return the inode with an incremented reference count. Waits on I_NEW before returning the inode. returned with an incremented reference count.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMZhjubh)}(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.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM_hjubh)}(h**Note**h]j)}(hj_h]hNote}(hjahhhNhNubah}(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.chMbhjubh)}(hA**test** is called with the inode_hash_lock held, so can't sleep.h](j)}(h**test**h]htest}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh; is called with the inode_hash_lock held, so can’t sleep.}(hjuhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMchjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hilookup (C function) c.ilookuphNtauh1hhj|hhhNhNubh)}(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 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)}(hinodeh]hinode}(hjѲhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjβubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjӲmodnameN classnameNjj)}j]j)}jilookupsb c.ilookupasbuh1hhjhhhjhM|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM|ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhM|ubj/)}(hilookuph]j5)}(hjh]hilookup}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM|ubj)}(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 hj(ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubh)}(hhh]j5)}(h super_blockh]h super_block}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjLmodnameN classnameNjj)}j]j c.ilookupasbuh1hhj(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)}(hsbh]hsb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj$ubj)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjƳhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hinoh]hino}(hjԳhhhNhNubah}(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&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.chM|hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM|ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj|hNhNubj)}(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)}(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 super_block *sb`` super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hj?h]hstruct super_block *sb}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM}hj9ubj)}(hhh]h)}(h$super block of file system to searchh]h$super block of file system to search}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThM}hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThM}hj6ubj)}(h1``unsigned long ino`` inode number to search for h](j)}(h``unsigned long ino``h]j)}(hjxh]hunsigned long ino}(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.chM~hjrubj)}(hhh]h)}(hinode number to search forh]hinode number to search for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM~hjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhM~hj6ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hSearch for the inode **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 }(hjɴhhhNhNubj)}(h**ino**h]hino}(hjѴhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɴubhq in the inode cache, and if the inode is in the cache, the inode is returned with an incremented reference count.}(hjɴhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfind_inode_nowait (C function)c.find_inode_nowaithNtauh1hhj|hhhNhNubh)}(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 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)}jfind_inode_nowaitsbc.find_inode_nowaitasbuh1hhjhhhjhMubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hjXhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hfind_inode_nowaith]j5)}(hjGh]hfind_inode_nowait}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(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 }(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]jEc.find_inode_nowaitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjεhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hj۵hhhNhNubah}(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}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj|ubj)}(h1int (*match)(struct inode*, unsigned long, void*)h](j)}(hinth]hint}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjAubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubj*)}(hjh]h(}(hjahhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjAubj*)}(hj-h]h*}(hjnhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjAubj5)}(hmatchh]hmatch}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjAubj*)}(hjh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjAubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjömodnameN classnameNjj)}j]jEc.find_inode_nowaitasbuh1hhjAubj*)}(hj-h]h*}(hj߶hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjAubj*)}(hjh]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjAubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubj)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjAubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubj)}(hlongh]hlong}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjAubj*)}(hjh]h,}(hj1hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjAubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubj)}(hvoidh]hvoid}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjAubj*)}(hj-h]h*}(hjZhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjAubj*)}(hjh]h)}(hjghhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjAubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj|ubj)}(h void *datah](j)}(hvoidh]hvoid}(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)}(hdatah]hdata}(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)}(h find an inode in the inode cacheh]h find an inode in the inode cache}(hjҷhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjϷhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj|hNhNubj)}(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)}(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.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&]uh1hhj(hMhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhj ubj)}(hJ``unsigned long hashval`` hash value (usually inode number) to search for h](j)}(h``unsigned long hashval``h]j)}(hjLh]hunsigned long hashval}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjFubj)}(hhh]h)}(h/hash value (usually inode number) to search forh]h/hash value (usually inode number) to search for}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhj 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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj 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 }(hj׸hhhNhNubj)}(h **match**h]hmatch}(hj߸hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj׸ubeh}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(hXSearch for the inode specified by **hashval** and **data** in the inode cache, where the helper function **match** will return 0 if the inode does not match, 1 if the inode does match, and -1 if the search should be stopped. The **match** function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized, and incrementing the reference count before returning 1. It also must not sleep, since it is called with the inode_hash_lock spinlock held.h](h"Search for the inode specified by }(hjhhhNhNubj)}(h **hashval**h]hhashval}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**data**h]hdata}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ in the inode cache, where the helper function }(hjhhhNhNubj)}(h **match**h]hmatch}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubht will return 0 if the inode does not match, 1 if the inode does match, and -1 if the search should be stopped. The }(hjhhhNhNubj)}(h **match**h]hmatch}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhX function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized, and incrementing the reference count before returning 1. It also must not sleep, since it is called with the inode_hash_lock spinlock held.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.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 }(hjthhhNhNubj)}(h **match**h]hmatch}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubh, funtion must be very carefully implemented.}(hjthhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfind_inode_rcu (C function)c.find_inode_rcuhNtauh1hhj|hhhNhNubh)}(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 }(hjùhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj¹hMubh)}(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)}jfind_inode_rcusbc.find_inode_rcuasbuh1hhjhhhj¹hMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj¹hMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhj¹hMubj/)}(hfind_inode_rcuh]j5)}(hjh]hfind_inode_rcu}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj¹hMubj)}(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 }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubh)}(hhh]j5)}(h super_blockh]h super_block}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j]jc.find_inode_rcuasbuh1hhj+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)}(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*)}(hjh]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)}(hj4hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h(}(hjAhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj)}j]jc.find_inode_rcuasbuh1hhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]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}(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&]jLjMuh1jhjhhhj¹hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj¹hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj¹hMhjhhubjc)}(hhh]h)}(h find an inode in the inode cacheh]h find an inode in the inode cache}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhj5hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj¹hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPjjPjjjuh1hhhhj|hNhNubj)}(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)}(hjZh]h Parameters}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjTubj)}(hhh](j)}(h@``struct super_block *sb`` Super block of file system to search h](j)}(h``struct super_block *sb``h]j)}(hjyh]hstruct super_block *sb}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjsubj)}(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&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMhjpubj)}(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.chMhjubj)}(hhh]h)}(h Key to hashh]h Key to hash}(hj˼hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjǼhMhjȼubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjǼhMhjpubj)}(hK``int (*test)(struct inode *, void *)`` Function to test match on an inode h](j)}(h'``int (*test)(struct inode *, void *)``h]j)}(hjh]h#int (*test)(struct inode *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(h"Function to test match on an inodeh]h"Function to test match on an inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjpubj)}(h&``void *data`` Data for test function h](j)}(h``void *data``h]j)}(hj$h]h void *data}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]h)}(hData for test functionh]hData for test function}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9hMhj:ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj9hMhjpubeh}(h]h ]h"]h$]h&]uh1jhjTubh)}(h**Description**h]j)}(hj_h]h Description}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjTubh)}(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 }(hjuhhhNhNubj)}(h **hashval**h]hhashval}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh and }(hjuhhhNhNubj)}(h**data**h]hdata}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh/ in the inode cache, where the helper function }(hjuhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubhB will return 0 if the inode does not match and 1 if it does. The }(hjuhhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubh function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized.}(hjuhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjTubh)}(hhIf successful, this will return the inode for which the **test** function returned 1 and NULL otherwise.h](h8If successful, this will return the inode for which the }(hj̽hhhNhNubj)}(h**test**h]htest}(hjԽhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̽ubh( function returned 1 and NULL otherwise.}(hj̽hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjTubh)}(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.chMhjTubh)}(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.chMhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"find_inode_by_ino_rcu (C function)c.find_inode_by_ino_rcuhNtauh1hhj|hhhNhNubh)}(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}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9hhhjJhMubh)}(hhh]j5)}(hinodeh]hinode}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNjj)}j]j)}jfind_inode_by_ino_rcusbc.find_inode_by_ino_rcuasbuh1hhj9hhhjJhMubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9hhhjJhMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj9hhhjJhMubj/)}(hfind_inode_by_ino_rcuh]j5)}(hjzh]hfind_inode_by_ino_rcu}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj9hhhjJhMubj)}(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 }(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]jxc.find_inode_by_ino_rcuasbuh1hhjubj)}(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)}(hunsigned long inoh](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)}(hlongh]hlong}(hjChhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj#ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj#ubj5)}(hinoh]hino}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj9hhhjJhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj5hhhjJhMubah}(h]j0ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjJhMhj2hhubjc)}(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&]uh1jbhj2hhhjJhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj|hNhNubj)}(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)}(hjʿh]hstruct super_block *sb}(hj̿hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjȿubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjĿubj)}(hhh]h)}(h$Super block of file system to searchh]h$Super block of file system to search}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj߿hMhjubah}(h]h ]h"]h$]h&]uh1jhjĿubeh}(h]h ]h"]h$]h&]uh1jhj߿hMhjubj)}(h0``unsigned long ino`` The inode number to match 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)}(hThe inode number to matchh]hThe inode number to match}(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)}(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 }(hjThhhNhNubj)}(h **hashval**h]hhashval}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh and }(hjThhhNhNubj)}(h**data**h]hdata}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh/ in the inode cache, where the helper function }(hjThhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubhB will return 0 if the inode does not match and 1 if it does. The }(hjThhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh function must be responsible for taking the i_lock spin_lock and checking i_state for an inode being freed or being initialized.}(hjThhhNhNubeh}(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}(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&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hiput (C function)c.iputhNtauh1hhj|hhhNhNubh)}(hhh](j)}(hvoid iput (struct inode *inode)h]j)}(hvoid iput(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/)}(hiputh]j5)}(hiputh]hiput}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj*hMubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubh)}(hhh]j5)}(hinodeh]hinode}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj)}j]j)}jj?sbc.iputasbuh1hhjUubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjUubj5)}(hinodeh]hinode}(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 put an inodeh]h put 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&]uh1jbhjhhhj*hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj|hNhNubj)}(h**Parameters** ``struct inode *inode`` inode to put **Description** Puts an inode, dropping its usage count. If the inode use count hits zero, the inode is then freed and may also be destroyed. Consequently, iput() can sleep.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]j)}(h%``struct inode *inode`` inode to put h](j)}(h``struct inode *inode``h]Qj)}(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}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjXh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj{)}(hPuts an inode, dropping its usage count. If the inode use count hits zero, the inode is then freed and may also be destroyed. Consequently, iput() can sleep.h](h)}(h}Puts an inode, dropping its usage count. If the inode use count hits zero, the inode is then freed and may also be destroyed.h]h}Puts an inode, dropping its usage count. If the inode use count hits zero, the inode is then freed and may also be destroyed.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjnubh)}(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.chMhjnubeh}(h]h ]h"]h$]h&]uh1jzhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hiput_not_last (C function)c.iput_not_lasthNtauh1hhj|hhhNhNubh)}(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}(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.iput_not_lastasbuh1hhjubj)}(h h]h }(hj1hhhNhNubah}(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&]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}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjshhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj|hNhNubj)}(h6**Parameters** ``struct inode *inode`` inode to puth](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubj)}(hhh]j)}(h$``struct inode *inode`` inode to puth](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(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&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbmap (C function)c.bmaphNtauh1hhj|hhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhjhMubj/)}(hbmaph]j5)}(hbmaph]hbmap}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhjhMubj)}(h&(struct inode *inode, sector_t *block)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubh)}(hhh]j5)}(hinodeh]hinode}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj)}j]j)}jj4sbc.bmapasbuh1hhjJubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjJubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFubj)}(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*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hblockh]hblock}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFubeh}(h]h ]h"]h$]h&]jLjMuh1jhj hhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hfind a block number in a fileh]hfind a block number in a file}(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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhj|hNhNubj)}(hXj**Parameters** ``struct inode *inode`` inode owning the block number being requested ``sector_t *block`` pointer containing the block to find **Description** Replaces the value in ``*block`` with the block number on the device holding corresponding to the requested block number in the file. That is, asked for block 4 of inode 1 the function will replace the 4 in ``*block``, with disk block relative to the disk start that holds that block of the file. Returns -EINVAL in case of error, 0 otherwise. If mapping falls into a hole, returns 0 and ``*block`` is also set to 0.h](h)}(h**Parameters**h]j)}(hjHh]h Parameters}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjBubj)}(hhh](j)}(hF``struct inode *inode`` inode owning the block number being requested h](j)}(h``struct inode *inode``h]j)}(hjgh]hstruct inode *inode}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjaubj)}(hhh]h)}(h-inode owning the block number being requestedh]h-inode owning the block number being requested}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hMhj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hMhj^ubj)}(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&]uh1jhjhMhj^ubeh}(h]h ]h"]h$]h&]uh1jhjBubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjBubj{)}(hXReplaces the value in ``*block`` with the block number on the device holding corresponding to the requested block number in the file. That is, asked for block 4 of inode 1 the function will replace the 4 in ``*block``, with disk block relative to the disk start that holds that block of the file. Returns -EINVAL in case of error, 0 otherwise. If mapping falls into a hole, returns 0 and ``*block`` is also set to 0.h](h)}(hX(Replaces the value in ``*block`` with the block number on the device holding corresponding to the requested block number in the file. That is, asked for block 4 of inode 1 the function will replace the 4 in ``*block``, with disk block relative to the disk start that holds that block of the file.h](hReplaces the value in }(hjhhhNhNubj)}(h ``*block``h]h*block}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh with the block number on the device holding corresponding to the requested block number in the file. That is, asked for block 4 of inode 1 the function will replace the 4 in }(hjhhhNhNubj)}(h ``*block``h]h*block}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhO, with disk block relative to the disk start that holds that block of the file.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubh)}(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 }(hj(hhhNhNubj)}(h ``*block``h]h*block}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubh is also set to 0.}(hj(hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMhjubeh}(h]h ]h"]h$]h&]uh1jzhj'hMhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$inode_update_timestamps (C function)c.inode_update_timestampshNtauh1hhj|hhhNhNubh)}(hhh](j)}(hhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM-hjubh)}(h;Returns a set of S_* flags indicating which values changed.h]h;Returns a set of S_* flags indicating which values changed.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM1hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h generic_update_time (C function)c.generic_update_timehNtauh1hhj|hhhNhNubh)}(hhh](j)}(h8int generic_update_time (struct inode *inode, int flags)h]j)}(h7int generic_update_time(struct inode *inode, int flags)h](j)}(hinth]hint}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjxhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMWubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxhhhjhMWubj/)}(hgeneric_update_timeh]j5)}(hgeneric_update_timeh]hgeneric_update_time}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjxhhhjhMWubj)}(h (struct inode *inode, 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.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)}(h int flagsh](j)}(hinth]hint}(hj+hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj'ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubj5)}(hflagsh]hflags}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjxhhhjhMWubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjthhhjhMWubah}(h]joah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMWhjqhhubjc)}(hhh]h)}(h"update the timestamps on the inodeh]h"update the timestamps on the inode}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMWhjnhhubah}(h]h ]h"]h$]h&]uh1jbhjqhhhjhMWubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj|hNhNubj)}(hX**Parameters** ``struct inode *inode`` inode to be updated ``int flags`` S_* flags that needed to be updated **Description** The update_time function is called when an inode's timestamps need to be updated for a read or write operation. In the case where any of S_MTIME, S_CTIME, or S_VERSION need to be updated we attempt to update all three of them. S_ATIME updates can be handled done independently of the rest. Returns a S_* mask indicating which fields were 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:29: ./fs/inode.chM[hjubj)}(hhh](j)}(h,``struct inode *inode`` inode to be updated h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMXhjubj)}(hhh]h)}(hinode to be updatedh]hinode to be updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMXhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMXhjubj)}(h2``int flags`` S_* flags that needed to be updated 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:29: ./fs/inode.chMYhjubj)}(hhh]h)}(h#S_* flags that needed to be updatedh]h#S_* flags that needed to be updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMYhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj&h]h Description}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM[hjubh)}(hX!The update_time function is called when an inode's timestamps need to be updated for a read or write operation. In the case where any of S_MTIME, S_CTIME, or S_VERSION need to be updated we attempt to update all three of them. S_ATIME updates can be handled done independently of the rest.h]hX#The update_time function is called when an inode’s timestamps need to be updated for a read or write operation. In the case where any of S_MTIME, S_CTIME, or S_VERSION need to be updated we attempt to update all three of them. S_ATIME updates can be handled done independently of the rest.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMZhjubh)}(h8Returns a S_* mask indicating which fields were updated.h]h8Returns a S_* mask indicating which fields were updated.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM_hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfile_remove_privs (C function)c.file_remove_privshNtauh1hhj|hhhNhNubh)}(hhh](j)}(h)int file_remove_privs (struct file *file)h]j)}(h(int file_remove_privs(struct file *file)h](j)}(hinth]hint}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjvhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvhhhjhM 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.hjvhhhjhM 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_remove_privsasbuh1hhjubj)}(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&]jLjMuh1jhjvhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjrhhhjhM ubah}(h]jmah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hjohhubjc)}(hhh]h)}(h3remove special file privileges (suid, capabilities)h]h3remove special file privileges (suid, capabilities)}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj7hhubah}(h]h ]h"]h$]h&]uh1jbhjohhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhj|hNhNubj)}(h**Parameters** ``struct file *file`` file to remove privileges from **Description** When file is modified by a write or truncation ensure that special file privileges are removed. **Return** 0 on success, negative errno on failure.h](h)}(h**Parameters**h]j)}(hj\h]h Parameters}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjVubj)}(hhh]j)}(h5``struct file *file`` file to remove privileges from h](j)}(h``struct file *file``h]j)}(hj{h]hstruct file *file}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjuubj)}(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&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhM hjrubah}(h]h ]h"]h$]h&]uh1jhjVubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjVubh)}(h_When file is modified by a write or truncation ensure that special file privileges are removed.h]h_When file is modified by a write or truncation ensure that special file privileges are removed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjVubh)}(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 hjVubh)}(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 hjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hcurrent_time (C function)c.current_timehNtauh1hhj|hhhNhNubh)}(hhh](j)}(h4struct timespec64 current_time (struct inode *inode)h]j)}(h3struct timespec64 current_time(struct inode *inode)h](j )}(hjzh]hstruct}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj/hM ubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj)}j]j)}j current_timesbc.current_timeasbuh1hhjhhhj/hM ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj/hM ubj/)}(h current_timeh]j5)}(hj_h]h current_time}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj/hM 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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j]c.current_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&]noemphjLjMuh1jhjubah}(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&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.chM hj hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj/hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(jj(jjjuh1hhhhj|hNhNubj)}(hX**Parameters** ``struct inode *inode`` inode. **Description** Return the current time truncated to the time granularity supported by the fs, as suitable for a ctime/mtime change. If the ctime is flagged as having been QUERIED, get a fine-grained timestamp, but don't update the floor. For a multigrain inode, this is effectively an estimate of the timestamp that a file would receive. An actual update must go through inode_set_ctime_current().h](h)}(h**Parameters**h]j)}(hj2h]h Parameters}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj,ubj)}(hhh]j)}(h``struct inode *inode`` inode. h](j)}(h``struct inode *inode``h]j)}(hjQh]hstruct inode *inode}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjKubj)}(hhh]h)}(hinode.h]hinode.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhM hjgubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhjfhM hjHubah}(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)}(hReturn the current time truncated to the time granularity supported by the fs, as suitable for a ctime/mtime change. If the ctime is flagged as having been QUERIED, get a fine-grained timestamp, but don't update the floor.h]hReturn the current time truncated to the time granularity supported by the fs, as suitable for a ctime/mtime change. If the ctime is flagged as having been QUERIED, get a fine-grained timestamp, but don’t update the floor.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj,ubh)}(hFor a multigrain inode, this is effectively an estimate of the timestamp that a file would receive. An actual update must go through inode_set_ctime_current().h]hFor a multigrain inode, this is effectively an estimate of the timestamp that a file would receive. An actual update must go through inode_set_ctime_current().}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj,ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfile_update_time (C function)c.file_update_timehNtauh1hhj|hhhNhNubh)}(hhh](j)}(h(int file_update_time (struct file *file)h]j)}(h'int file_update_time(struct file *file)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMa ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMa 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.hjhhhjhMa ubj)}(h(struct file *file)h]j)}(hstruct file *fileh](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)}(hfileh]hfile}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj=modnameN classnameNjj)}j]j)}jjsbc.file_update_timeasbuh1hhjubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjihhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfileh]hfile}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMa ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMa ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMa hjhhubjc)}(hhh]h)}(hupdate mtime and ctime timeh]hupdate mtime and ctime time}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMa hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMa ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj|hNhNubj)}(hXD**Parameters** ``struct file *file`` file accessed **Description** Update the mtime and ctime members of an inode and mark the inode for writeback. Note that this function is meant exclusively for usage in the file write path of filesystems, and filesystems may choose to explicitly ignore updates via this function with the _NOCMTIME inode flag, e.g. for network filesystem where these imestamps are handled by the server. This can return an error for file systems who need to allocate space in order to update an inode. **Return** 0 on success, negative errno on failure.h](h)}(h**Parameters**h]j)}(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.chMe hjubj)}(hhh]j)}(h$``struct file *file`` file accessed h](j)}(h``struct file *file``h]j)}(hjh]hstruct file *file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMb hjubj)}(hhh]h)}(h file accessedh]h file accessed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMb hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMb 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.chMd hjubh)}(hXUpdate the mtime and ctime members of an inode and mark the inode for writeback. Note that this function is meant exclusively for usage in the file write path of filesystems, and filesystems may choose to explicitly ignore updates via this function with the _NOCMTIME inode flag, e.g. for network filesystem where these imestamps are handled by the server. This can return an error for file systems who need to allocate space in order to update an inode.h]hXUpdate the mtime and ctime members of an inode and mark the inode for writeback. Note that this function is meant exclusively for usage in the file write path of filesystems, and filesystems may choose to explicitly ignore updates via this function with the _NOCMTIME inode flag, e.g. for network filesystem where these imestamps are handled by the server. This can return an error for file systems who need to allocate space in order to update an inode.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMc hjubh)}(h **Return**h]j)}(hjCh]hReturn}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMk hjubh)}(h(0 on success, negative errno on failure.h]h(0 on success, negative errno on failure.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMl hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfile_modified (C function)c.file_modifiedhNtauh1hhj|hhhNhNubh)}(hhh](j)}(h%int file_modified (struct file *file)h]j)}(h$int file_modified(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj/)}(h file_modifiedh]j5)}(h file_modifiedh]h file_modified}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM 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_modifiedasbuh1hhjubj)}(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&]jLjMuh1jhjhhhjhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM ubah}(h]j{ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM hj}hhubjc)}(hhh]h)}(h1handle mandated vfs changes when modifying a fileh]h1handle mandated vfs changes when modifying a file}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjEhhubah}(h]h ]h"]h$]h&]uh1jbhj}hhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1hhhhj|hNhNubj)}(hX'**Parameters** ``struct file *file`` file that was modified **Description** When file has been modified ensure that special file privileges are removed and time settings are updated. **Context** Caller must hold the file's inode lock. **Return** 0 on success, negative errno on failure.h](h)}(h**Parameters**h]j)}(hjjh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjdubj)}(hhh]j)}(h-``struct file *file`` file that was modified 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 that was modifiedh]hfile 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&]uh1jhjdubh)}(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 hjdubh)}(hjWhen file has been modified ensure that special file privileges are removed and time settings are updated.h]hjWhen file has been modified ensure that special file privileges are removed and time settings are updated.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjdubh)}(h **Context**h]j)}(hjh]hContext}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjdubh)}(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 hjdubh)}(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 hjdubh)}(h(0 on success, negative errno on failure.h]h(0 on success, negative errno on failure.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hkiocb_modified (C function)c.kiocb_modifiedhNtauh1hhj|hhhNhNubh)}(hhh](j)}(h'int kiocb_modified (struct kiocb *iocb)h]j)}(h&int kiocb_modified(struct kiocb *iocb)h](j)}(hinth]hint}(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 }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjShhhjehM ubj/)}(hkiocb_modifiedh]j5)}(hkiocb_modifiedh]hkiocb_modified}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjShhhjehM ubj)}(h(struct kiocb *iocb)h]j)}(hstruct kiocb *iocbh](j )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hkiocbh]hkiocb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjzsbc.kiocb_modifiedasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hiocbh]hiocb}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjShhhjehM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjOhhhjehM ubah}(h]jJah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjehM hjLhhubjc)}(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&]uh1jbhjLhhhjehM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/jj/jjjuh1hhhhj|hNhNubj)}(hX(**Parameters** ``struct kiocb *iocb`` iocb that was modified **Description** When file has been modified ensure that special file privileges are removed and time settings are updated. **Context** Caller must hold the file's inode lock. **Return** 0 on success, negative errno on failure.h](h)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj3ubj)}(hhh]j)}(h.``struct kiocb *iocb`` iocb that was modified h](j)}(h``struct kiocb *iocb``h]j)}(hjXh]hstruct kiocb *iocb}(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.chM hjRubj)}(hhh]h)}(hiocb that was modifiedh]hiocb that was modified}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhM hjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhM hjOubah}(h]h ]h"]h$]h&]uh1jhj3ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj3ubh)}(hjWhen file has been modified ensure that special file privileges are removed and time settings are updated.h]hjWhen file has been modified ensure that special file privileges are removed and time settings are updated.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj3ubh)}(h **Context**h]j)}(hjh]hContext}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj3ubh)}(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 hj3ubh)}(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 hj3ubh)}(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 hj3ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_init_owner (C function)c.inode_init_ownerhNtauh1hhj|hhhNhNubh)}(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}(hj&hhhNhNubah}(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 }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"hhhj4hM; ubj/)}(hinode_init_ownerh]j5)}(hinode_init_ownerh]hinode_init_owner}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj"hhhj4hM; 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}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj)}(h h]h }(hjphhhNhNubah}(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)}jjIsbc.inode_init_ownerasbuh1hhj_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&]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]jc.inode_init_ownerasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(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)}(hconst struct inode *dirh](j )}(hjUh]hconst}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubj )}(hjzh]hstruct}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubh)}(hhh]j5)}(hinodeh]hinode}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.inode_init_ownerasbuh1hhjAubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjAubj5)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubeh}(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]jc.inode_init_ownerasbuh1hhjubj)}(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[ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj"hhhj4hM; ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj4hM; ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj4hM; hjhhubjc)}(hhh]h)}(h hjubj)}(hhh]h)}(hDirectory inodeh]hDirectory inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM> hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM> hjaubj)}(h'``umode_t mode`` mode of the new 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&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM? hjubj)}(hhh]h)}(hmode of the new inodeh]hmode of the new inode}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hM? hj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hM? hjaubeh}(h]h ]h"]h$]h&]uh1jhjEubh)}(h**Description**h]j)}(hjPh]h Description}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMA hjEubh)}(hXoIf the inode has been created 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 and initializing i_uid and i_gid. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hiIf the inode has been created through an idmapped mount the idmap of the vfsmount must be passed through }(hjfhhhNhNubj)}(h **idmap**h]hidmap}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubhB. This function will then take care to map the inode according to }(hjfhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh before checking permissions and initializing i_uid and i_gid. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjfhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh.}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM@ hjEubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#inode_owner_or_capable (C function)c.inode_owner_or_capablehNtauh1hhj|hhhNhNubh)}(hhh](j)}(hPbool inode_owner_or_capable (struct mnt_idmap *idmap, const struct inode *inode)h]j)}(hObool inode_owner_or_capable(struct mnt_idmap *idmap, const struct inode *inode)h](j)}(hjh]hbool}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMX ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMX ubj/)}(hinode_owner_or_capableh]j5)}(hinode_owner_or_capableh]hinode_owner_or_capable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMX ubj)}(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}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNjj)}j]j)}jjsbc.inode_owner_or_capableasbuh1hhjubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjShhhNhNubah}(h]h ]j6ah"]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 )}(hjUh]hconst}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jAc.inode_owner_or_capableasbuh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjuubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMX ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMX ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMX hjhhubjc)}(hhh]h)}(h'check current task permissions to inodeh]h'check current task permissions to inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMX hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMX ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-jj-jjjuh1hhhhj|hNhNubj)}(hX]**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``const struct inode *inode`` inode being checked **Description** Return true if current either has CAP_FOWNER in a namespace with the inode owner uid mapped, or owns the file. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(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:29: ./fs/inode.chM\ hj1ubj)}(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)}(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:29: ./fs/inode.chMY hjPubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMY hjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMY hjMubj)}(h2``const struct inode *inode`` inode being checked 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.chMZ hjubj)}(hhh]h)}(hinode being checkedh]hinode being checked}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMZ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMZ hjMubeh}(h]h ]h"]h$]h&]uh1jhj1ubh)}(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\ hj1ubh)}(hnReturn true if current either has CAP_FOWNER in a namespace with the inode owner uid mapped, or owns the file.h]hnReturn true if current either has CAP_FOWNER in a namespace with the inode owner uid mapped, or owns the file.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM[ hj1ubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB. This function will then take care to map the inode according to }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM^ hj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_dio_wait (C function)c.inode_dio_waithNtauh1hhj|hhhNhNubh)}(hhh](j)}(h)void inode_dio_wait (struct inode *inode)h]j)}(h(void inode_dio_wait(struct inode *inode)h](j)}(hvoidh]hvoid}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjPhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM ubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPhhhjbhM ubj/)}(hinode_dio_waith]j5)}(hinode_dio_waith]hinode_dio_wait}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjPhhhjbhM 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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjwsbc.inode_dio_waitasbuh1hhjubj)}(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&]jLjMuh1jhjPhhhjbhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjLhhhjbhM ubah}(h]jGah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjbhM hjIhhubjc)}(hhh]h)}(h+wait for outstanding DIO requests to finishh]h+wait for outstanding DIO requests to finish}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjhhubah}(h]h ]h"]h$]h&]uh1jbhjIhhhjbhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj,jj,jjjuh1hhhhj|hNhNubj)}(hX/**Parameters** ``struct inode *inode`` inode to wait for **Description** Waits for all pending direct I/O requests to finish so that we can proceed with a truncate or equivalent operation. Must be called under a lock that serializes taking new references to i_dio_count, usually by inode->i_rwsem.h](h)}(h**Parameters**h]j)}(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.chM hj0ubj)}(hhh]j)}(h*``struct inode *inode`` inode to wait for 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.chM hjOubj)}(hhh]h)}(hinode to wait forh]hinode to wait for}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhM hjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhM hjLubah}(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.chM hj0ubh)}(hsWaits for all pending direct I/O requests to finish so that we can proceed with a truncate or equivalent operation.h]hsWaits for all pending direct I/O requests to finish so that we can proceed with a truncate or equivalent operation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj0ubh)}(hlMust be called under a lock that serializes taking new references to i_dio_count, usually by inode->i_rwsem.h]hlMust be called under a lock that serializes taking new references to i_dio_count, usually by inode->i_rwsem.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](htimestamp_truncate (C function)c.timestamp_truncatehNtauh1hhj|hhhNhNubh)}(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}(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)}jtimestamp_truncatesbc.timestamp_truncateasbuh1hhjhhhjhM ubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM ubj/)}(htimestamp_truncateh]j5)}(hj!h]htimestamp_truncate}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM ubj)}(h*(struct timespec64 t, struct inode *inode)h](j)}(hstruct timespec64 th](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 timespec64h]h timespec64}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj)}j]jc.timestamp_truncateasbuh1hhjMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjMubj5)}(hth]ht}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjIubj)}(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.timestamp_truncateasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjIubeh}(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"Truncate timespec to a granularityh]h"Truncate timespec to a granularity}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj2hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjMjjMjjjuh1hhhhj|hNhNubj)}(hX!**Parameters** ``struct timespec64 t`` Timespec ``struct inode *inode`` inode being updated **Description** Truncate a timespec to the granularity supported by the fs containing the inode. Always rounds down. gran must not be 0 nor greater than a second (NSEC_PER_SEC, or 10^9 ns).h](h)}(h**Parameters**h]j)}(hjWh]h Parameters}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjQubj)}(hhh](j)}(h!``struct timespec64 t`` Timespec h](j)}(h``struct timespec64 t``h]j)}(hjvh]hstruct timespec64 t}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjpubj)}(hhh]h)}(hTimespech]hTimespec}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhM hjmubj)}(h,``struct inode *inode`` inode being updated h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjubj)}(hhh]h)}(hinode being updatedh]hinode being updated}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjmubeh}(h]h ]h"]h$]h&]uh1jhjQubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjQubh)}(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 hjQubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$inode_set_ctime_current (C function)c.inode_set_ctime_currenthNtauh1hhj|hhhNhNubh)}(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}(hj/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+hhhR/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&]uh1jhj+hhhj<hM ubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPmodnameN classnameNjj)}j]j)}jinode_set_ctime_currentsbc.inode_set_ctime_currentasbuh1hhj+hhhj<hM ubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+hhhj<hM ubj/)}(hinode_set_ctime_currenth]j5)}(hjlh]hinode_set_ctime_current}(hjhhhNhNubah}(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}(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]jjc.inode_set_ctime_currentasbuh1hhjubj)}(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&]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)}(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&]uh1jbhj$hhhj<hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhj|hNhNubj)}(hX**Parameters** ``struct inode *inode`` inode **Description** Set the inode's ctime to the current value for the inode. Returns the current value that was assigned. If this is not a multigrain inode, then we set it to the later of the coarse time and floor value. If it is multigrain, then we first see if the coarse-grained timestamp is distinct from what is already there. If so, then use that. Otherwise, get a fine-grained timestamp. After that, try to swap the new value into i_ctime_nsec. Accept the resulting ctime, regardless of the outcome of the swap. If it has already been replaced, then that timestamp is later than the earlier unacceptable one, and is thus acceptable.h](h)}(h**Parameters**h]j)}(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:29: ./fs/inode.chM hj9ubj)}(hhh]j)}(h``struct inode *inode`` inode h](j)}(h``struct inode *inode``h]j)}(hj^h]hstruct inode *inode}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hjXubj)}(hhh]h)}(hinodeh]hinode}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshM hjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshM hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj9ubh)}(hSet the inode's ctime to the current value for the inode. Returns the current value that was assigned. If this is not a multigrain inode, then we set it to the later of the coarse time and floor value.h]hSet the inode’s ctime to the current value for the inode. Returns the current value that was assigned. If this is not a multigrain inode, then we set it to the later of the coarse time and floor value.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj9ubh)}(hIf it is multigrain, then we first see if the coarse-grained timestamp is distinct from what is already there. If so, then use that. Otherwise, get a fine-grained timestamp.h]hIf it is multigrain, then we first see if the coarse-grained timestamp is distinct from what is already there. If so, then use that. Otherwise, get a fine-grained timestamp.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj9ubh)}(hAfter that, try to swap the new value into i_ctime_nsec. Accept the resulting ctime, regardless of the outcome of the swap. If it has already been replaced, then that timestamp is later than the earlier unacceptable one, and is thus acceptable.h]hAfter that, try to swap the new value into i_ctime_nsec. Accept the resulting ctime, regardless of the outcome of the swap. If it has already been replaced, then that timestamp is later than the earlier unacceptable one, and is thus acceptable.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj9ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"inode_set_ctime_deleg (C function)c.inode_set_ctime_deleghNtauh1hhj|hhhNhNubh)}(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 hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM0 ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hM0 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_delegasbuh1hhjhhhj hM0 ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hM0 ubj/)}(hinode_set_ctime_delegh]j5)}(hj9h]hinode_set_ctime_deleg}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hM0 ubj)}(h/(struct inode *inode, struct timespec64 update)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j7c.inode_set_ctime_delegasbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjeubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubj)}(hstruct timespec64 updateh](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]j7c.inode_set_ctime_delegasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hupdateh]hupdate}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj hM0 ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj hM0 ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hM0 hjhhubjc)}(hhh]h)}(h,try to update the ctime on a delegated inodeh]h,try to update the ctime on a delegated inode}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM0 hjJhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj hM0 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjejjejjjuh1hhhhj|hNhNubj)}(hXK**Parameters** ``struct inode *inode`` inode to update ``struct timespec64 update`` timespec64 to set the ctime **Description** Attempt to atomically update the ctime on behalf of a delegation holder. The nfs server can call back the holder of a delegation to get updated inode attributes, including the mtime. When updating the mtime, update the ctime to a value at least equal to that. This can race with concurrent updates to the inode, in which case the update is skipped. Note that this works even when multigrain timestamps are not enabled, so it is used in either case.h](h)}(h**Parameters**h]j)}(hjoh]h Parameters}(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.chM4 hjiubj)}(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.chM1 hjubj)}(hhh]h)}(hinode to updateh]hinode to update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM1 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM1 hjubj)}(h9``struct timespec64 update`` timespec64 to set the ctime h](j)}(h``struct timespec64 update``h]j)}(hjh]hstruct timespec64 update}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM2 hjubj)}(hhh]h)}(htimespec64 to set the ctimeh]htimespec64 to set the ctime}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM2 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2 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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM4 hjiubh)}(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.chM3 hjiubh)}(hThe nfs server can call back the holder of a delegation to get updated inode attributes, including the mtime. When updating the mtime, update the ctime to a value at least equal to that.h]hThe nfs server can call back the holder of a delegation to get updated inode attributes, including the mtime. When updating the mtime, update the ctime to a value at least equal to that.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM5 hjiubh)}(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.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM9 hjiubh)}(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.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM< hjiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h in_group_or_capable (C function)c.in_group_or_capablehNtauh1hhj|hhhNhNubh)}(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}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjphhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMy ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjphhhjhMy 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.hjphhhjhMy ubj)}(hE(struct mnt_idmap *idmap, const struct inode *inode, vfsgid_t vfsgid)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.in_group_or_capableasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]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 )}(hjUh]hconst}(hj"hhhNhNubah}(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 }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hinodeh]hinode}(hj[hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj]modnameN classnameNjj)}j]jc.in_group_or_capableasbuh1hhjubj)}(h h]h }(hjyhhhNhNubah}(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)}(hvfsgid_t vfsgidh](h)}(hhh]j5)}(hvfsgid_th]hvfsgid_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.in_group_or_capableasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hvfsgidh]hvfsgid}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjphhhjhMy ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjlhhhjhMy ubah}(h]jgah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMy hjihhubjc)}(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.chMy hjhhubah}(h]h ]h"]h$]h&]uh1jbhjihhhjhMy ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj|hNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from ``const struct inode *inode`` inode to check ``vfsgid_t vfsgid`` the new/current vfsgid of **inode** **Description** Check whether **vfsgid** is in the caller's group list or if the caller is privileged with CAP_FSETID over **inode**. This can be used to determine whether the setgid bit can be kept or must be dropped. **Return** true if the caller is sufficiently privileged, false if not.h](h)}(h**Parameters**h]j)}(hj(h]h Parameters}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM} hj"ubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjGh]hstruct mnt_idmap *idmap}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chMz hjAubj)}(hhh]h)}(h+idmap of the mount **inode** was found fromh](hidmap of the mount }(hj`hhhNhNubj)}(h **inode**h]hinode}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubh was found from}(hj`hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj\hMz hj]ubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhj\hMz hj>ubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM{ hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM{ hj>ubj)}(h8``vfsgid_t vfsgid`` the new/current vfsgid of **inode** h](j)}(h``vfsgid_t vfsgid``h]j)}(hjh]hvfsgid_t vfsgid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM| hjubj)}(hhh]h)}(h#the new/current vfsgid of **inode**h](hthe new/current vfsgid of }(hjhhhNhNubj)}(h **inode**h]hinode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhM| hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM| hj>ubeh}(h]h ]h"]h$]h&]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)}(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 }(hj*hhhNhNubj)}(h **vfsgid**h]hvfsgid}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubhU is in the caller’s group list or if the caller is privileged with CAP_FSETID over }(hj*hhhNhNubj)}(h **inode**h]hinode}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubhV. This can be used to determine whether the setgid bit can be kept or must be dropped.}(hj*hhhNhNubeh}(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)}(hj_h]hReturn}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:29: ./fs/inode.chM hj"ubh)}(hhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhj:ubah}(h]h ]h"]h$]h&]uh1jzhjLhKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](his_bad_inode (C function)c.is_bad_inodehNtauh1hhj|hhhNhNubh)}(hhh](j)}(h'bool is_bad_inode (struct inode *inode)h]j)}(h&bool is_bad_inode(struct inode *inode)h](j)}(hjh]hbool}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjohhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjohhhjhKubj/)}(h is_bad_inodeh]j5)}(h is_bad_inodeh]h is_bad_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjohhhjhKubj)}(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.is_bad_inodeasbuh1hhjubj)}(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&]jLjMuh1jhjohhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjkhhhjhKubah}(h]jfah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhhubjc)}(hhh]h)}(his an inode erroredh]his an inode errored}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhj/hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1hhhhj|hNhNubj)}(h**Parameters** ``struct inode *inode`` inode to test **Description** Returns true if the inode in question has been marked as bad.h](h)}(h**Parameters**h]j)}(hjTh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjNubj)}(hhh]j)}(h&``struct inode *inode`` inode to test h](j)}(h``struct inode *inode``h]j)}(hjsh]hstruct inode *inode}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjmubj)}(hhh]h)}(h inode to testh]h inode to test}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhKhjjubah}(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjNubj{)}(h=Returns true if the inode in question has been marked as bad.h]h)}(hjh]h=Returns true if the inode in question has been marked as bad.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubah}(h]h ]h"]h$]h&]uh1jzhjhKhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](higet_failed (C function) c.iget_failedhNtauh1hhj|hhhNhNubh)}(hhh](j)}(h&void iget_failed (struct inode *inode)h]j)}(h%void iget_failed(struct inode *inode)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hKubj/)}(h iget_failedh]j5)}(h iget_failedh]h iget_failed}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hKubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubh)}(hhh]j5)}(hinodeh]hinode}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj)}j]j)}jjsb c.iget_failedasbuh1hhj5ubj)}(h h]h }(hjwhhhNhNubah}(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&]noemphjLjMuh1jhj1ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj hKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hKhjhhubjc)}(hhh]h)}(h7Mark an under-construction inode as dead and release ith]h7Mark an under-construction inode as dead and release it}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj|hNhNubj)}(h**Parameters** ``struct inode *inode`` The inode to discard **Description** Mark an under-construction inode as dead and release it.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubj)}(hhh]j)}(h-``struct inode *inode`` The inode to discard h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]9h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubj)}(hhh]h)}(hThe inode to discardh]hThe inode to discard}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj8h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubh)}(h8Mark an under-construction inode as dead and release it.h]h8Mark an under-construction inode as dead and release it.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:32: ./fs/bad_inode.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj|hhhNhNubeh}(h]inode-handlingah ]h"]inode handlingah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hRegistration and Superblocksh]hRegistration and Superblocks}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhhhhhK$ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$deactivate_locked_super (C function)c.deactivate_locked_superhNtauh1hhjlhhhNhNubh)}(hhh](j)}(h4void deactivate_locked_super (struct super_block *s)h]j)}(h3void deactivate_locked_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_locked_superh]j5)}(hdeactivate_locked_superh]hdeactivate_locked_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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.deactivate_locked_superasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsh]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}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjShhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhjlhNhNubj)}(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)}(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:38: ./fs/super.chMhjrubj)}(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&]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:38: ./fs/super.chMhjrubj{)}(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&]uh1jzhjhMhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdeactivate_super (C function)c.deactivate_superhNtauh1hhjlhhhNhNubh)}(hhh](j)}(h-void deactivate_super (struct super_block *s)h]j)}(h,void deactivate_super(struct super_block *s)h](j)}(hvoidh]hvoid}(hj0hhhNhNubah}(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/)}(hdeactivate_superh]j5)}(hdeactivate_superh]hdeactivate_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_superasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjiubj5)}(hj.h]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&]jjjjjjjjjuh1hhhhjlhNhNubj)}(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.chMhj ubj)}(hhh]j)}(h3``struct super_block *s`` superblock to deactivate h](j)}(h``struct super_block *s``h]j)}(hj0h]hstruct super_block *s}(hj2hhhNhNubah}(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}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhMhjFubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1jhjEhMhj'ubah}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hjkh]h Description}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj ubj{)}(hVariant of deactivate_locked_super(), except that superblock is *not* locked by caller. If we are going to drop the final active reference, lock will be acquired prior to that.h]h)}(hVariant of deactivate_locked_super(), except that superblock is *not* locked by caller. If we are going to drop the final active reference, lock will be acquired prior to that.h](h@Variant of deactivate_locked_super(), except that superblock is }(hjhhhNhNubj )}(h*not*h]hnot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j hjubhl locked by caller. If we are going to drop the final active reference, lock will be acquired prior to that.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubah}(h]h ]h"]h$]h&]uh1jzhjhMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hretire_super (C function)c.retire_superhNtauh1hhjlhhhNhNubh)}(hhh](j)}(h*void retire_super (struct super_block *sb)h]j)}(h)void retire_super(struct super_block *sb)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]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/)}(h retire_superh]j5)}(h retire_superh]h retire_super}(hjhhhNhNubah}(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 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.retire_superasbuh1hhjubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjUhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hjbhhhNhNubah}(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)}(h%prevents superblock from being reusedh]h%prevents superblock from being reused}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM>hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM>ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjlhNhNubj)}(hX**Parameters** ``struct super_block *sb`` superblock to retire **Description** The function marks superblock to be ignored in superblock test, which prevents it from being reused for any new mounts. If the superblock has a private bdi, it also unregisters it, but doesn't reduce the refcount of the superblock to prevent potential races. The refcount is reduced by generic_shutdown_super(). The function can not be called concurrently with generic_shutdown_super(). It is safe to call the function multiple times, subsequent calls have no effect. The marker will affect the re-use only for block-device-based superblocks. Other superblocks will still get marked if this function is used, but that will not affect their reusability.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMBhjubj)}(hhh]j)}(h0``struct super_block *sb`` superblock to retire h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM?hjubj)}(hhh]h)}(hsuperblock to retireh]hsuperblock to retire}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMAhjubj{)}(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.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM@hjubh)}(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.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMHhjubeh}(h]h ]h"]h$]h&]uh1jzhj0hM@hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#generic_shutdown_super (C function)c.generic_shutdown_superhNtauh1hhjlhhhNhNubh)}(hhh](j)}(h4void generic_shutdown_super (struct super_block *sb)h]j)}(h3void generic_shutdown_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/)}(hgeneric_shutdown_superh]j5)}(hgeneric_shutdown_superh]hgeneric_shutdown_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.generic_shutdown_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)}(hcommon helper for ->kill_sb()h]hcommon helper for ->kill_sb()}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM[hj#hhubah}(h]h ]h"]h$]h&]uh1jbhj[hhhjthM[ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj>jj>jjjuh1hhhhjlhNhNubj)}(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)}(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.chM_hjBubj)}(hhh]j)}(h.``struct super_block *sb`` superblock to kill 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.chM\hjaubj)}(hhh]h)}(hsuperblock to killh]hsuperblock to kill}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|hM\hj}ubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhj|hM\hj^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.chM^hjBubj{)}(hXgeneric_shutdown_super() does all fs-independent work on superblock shutdown. Typical ->kill_sb() should pick all fs-specific objects that need destruction out of superblock, call generic_shutdown_super() and release aforementioned objects. Note: dentries and inodes _are_ taken care of and do not need specific handling. Upon calling this function, the filesystem may no longer alter or rearrange the set of dentries belonging to this super_block, nor may it change the attachments of dentries to inodes.h](h)}(hXCgeneric_shutdown_super() does all fs-independent work on superblock shutdown. Typical ->kill_sb() should pick all fs-specific objects that need destruction out of superblock, call generic_shutdown_super() and release aforementioned objects. Note: dentries and inodes _are_ taken care of and do not need specific handling.h]hXCgeneric_shutdown_super() does all fs-independent work on superblock shutdown. Typical ->kill_sb() should pick all fs-specific objects that need destruction out of superblock, call generic_shutdown_super() and release aforementioned objects. Note: dentries and inodes _are_ taken care of and do not need specific handling.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM]hjubh)}(hUpon calling this function, the filesystem may no longer alter or rearrange the set of dentries belonging to this super_block, nor may it change the attachments of dentries to inodes.h]hUpon calling this function, the filesystem may no longer alter or rearrange the set of dentries belonging to this super_block, nor may it change the attachments of dentries to inodes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMchjubeh}(h]h ]h"]h$]h&]uh1jzhjhM]hjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsget_fc (C function) c.sget_fchNtauh1hhjlhhhNhNubh)}(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&]uh1jhjhhhj hMubh)}(hhh]j5)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj!modnameN classnameNjj)}j]j)}jsget_fcsb c.sget_fcasbuh1hhjhhhj hMubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMubj*)}(hj-h]h*}(hjNhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhj hMubj/)}(hsget_fch]j5)}(hj=h]hsget_fc}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hMubj)}(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}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubh)}(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_fcasbuh1hhjvubj)}(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)}(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*)}(hjh]h(}(hjhhhNhNubah}(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)}(hj.hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h(}(hj;hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h super_blockh]h super_block}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN 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)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 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&]noemphjLjMuh1jhjrubj)}(h3int (*set)(struct super_block*, struct fs_context*)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*)}(hjh]h(}(hj)hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj*)}(hj-h]h*}(hj6hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hseth]hset}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubj*)}(hjh]h)}(hjQhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj*)}(hjh]h(}(hj^hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj )}(hjzh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj ubj)}(h h]h }(hjxhhhNhNubah}(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.sget_fcasbuh1hhj ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj*)}(hjh]h,}(hjhhhNhNubah}(h]h ]j6ah"]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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubh)}(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_fcasbuh1hhj ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjrubeh}(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)}(hFind or create a superblockh]hFind or create a superblock}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj>hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjYjjYjjjuh1hhhhjlhNhNubj)}(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)}(hjch]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj]ubj)}(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.chMhj|ubj)}(hhh]h)}(hFilesystem context.h]hFilesystem context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjyubj)}(hO``int (*test)(struct super_block *, struct fs_context *)`` Comparison callback h](j)}(h:``int (*test)(struct super_block *, struct fs_context *)``h]j)}(hjh]h6int (*test)(struct super_block *, struct fs_context *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hComparison callbackh]hComparison callback}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjyubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjyubeh}(h]h ]h"]h$]h&]uh1jhj]ubh)}(h**Description**h]j)}(hj/h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj]ubh)}(h0Create a new superblock or find an existing one.h]h0Create a new superblock or find an existing one.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj]ubh)}(hThe **test** callback is used to find a matching existing superblock. Whether or not the requested parameters in **fc** are taken into account is specific to the **test** callback that is used. They may even be completely ignored.h](hThe }(hjThhhNhNubj)}(h**test**h]htest}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubhe callback is used to find a matching existing superblock. Whether or not the requested parameters in }(hjThhhNhNubj)}(h**fc**h]hfc}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh+ are taken into account is specific to the }(hjThhhNhNubj)}(h**test**h]htest}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubh< callback that is used. They may even be completely ignored.}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj]ubh)}(h?If an extant superblock is matched, it will be returned unless:h]h?If an extant superblock is matched, it will be returned unless:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj]ubhenumerated_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 }(hjhhhNhNubj)}(h**fc**h]hfc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ and the extant superblock’s namespace differ}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubah}(h]h ]h"]h$]h&]uh1jChjubjC)}(h]the filesystem context **fc** has requested that reusing an extant superblock is not allowed h]h)}(h\the filesystem context **fc** has requested that reusing an extant superblock is not allowedh](hthe filesystem context }(hjhhhNhNubj)}(h**fc**h]hfc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh? has requested that reusing an extant superblock is not allowed}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubah}(h]h ]h"]h$]h&]uh1jChjubeh}(h]h ]h"]h$]h&]enumtypearabicprefixjsuffixjuh1jhj]ubh)}(h%In both cases EBUSY will be returned.h]h%In both cases EBUSY will be returned.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj]ubh)}(hX8If no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info and s_id will be set and the **set** callback will be invoked), the superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset.h](hIf no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info and s_id will be set and the }(hjhhhNhNubj)}(h**set**h]hset}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh callback will be invoked), the superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj]ubh)}(h **Return**h]j)}(hj?h]hReturn}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj]ubh)}(hgOn success, an extant or newly created superblock is returned. On failure an error pointer is returned.h]hgOn success, an extant or newly created superblock is returned. On failure an error pointer is returned.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsget (C function)c.sgethNtauh1hhjlhhhNhNubh)}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM)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)}jsgetsbc.sgetasbuh1hhjhhhjhM)ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM)ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhM)ubj/)}(hsgeth]j5)}(hjh]hsget}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM)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 }(hj hhhNhNubah}(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]jc.sgetasbuh1hhjubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjHhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htypeh]htype}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h'int (*test)(struct super_block*, 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*)}(hjh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjjubj*)}(hj-h]h*}(hjhhhNhNubah}(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*)}(hjh]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)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.sgetasbuh1hhjjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjjubj*)}(hjh]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubj)}(hvoidh]hvoid}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjjubj*)}(hj-h]h*}(hj>hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjjubj*)}(hjh]h)}(hjKhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h&int (*set)(struct super_block*, 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*)}(hjh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj_ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj_ubj5)}(hseth]hset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj_ubj*)}(hjh]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)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.sgetasbuh1hhj_ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj_ubj*)}(hjh]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}(hj%hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj_ubj*)}(hj-h]h*}(hj3hhhNhNubah}(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 int flagsh](j)}(hinth]hint}(hjXhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjTubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj5)}(hflagsh]hflags}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(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&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM)ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj|hhhjhM)ubah}(h]jwah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM)hjyhhubjc)}(hhh]h)}(hfind or create a superblockh]hfind or create a superblock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM)hjhhubah}(h]h ]h"]h$]h&]uh1jbhjyhhhjhM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjlhNhNubj)}(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.chM-hjubj)}(hhh](j)}(hN``struct file_system_type *type`` filesystem type superblock should belong to h](j)}(h!``struct file_system_type *type``h]j)}(hj!h]hstruct file_system_type *type}(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.chM*hjubj)}(hhh]h)}(h+filesystem type superblock should belong toh]h+filesystem type superblock should belong to}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hM*hj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj6hM*hjubj)}(hA``int (*test)(struct super_block *,void *)`` comparison callback h](j)}(h,``int (*test)(struct super_block *,void *)``h]j)}(hjZh]h(int (*test)(struct super_block *,void *)}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM+hjTubj)}(hhh]h)}(hcomparison callbackh]hcomparison callback}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohM+hjpubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjohM+hjubj)}(h;``int (*set)(struct super_block *,void *)`` setup callback h](j)}(h+``int (*set)(struct super_block *,void *)``h]j)}(hjh]h'int (*set)(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)}(hsetup callbackh]hsetup callback}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM,hjubj)}(h``int flags`` mount flags h](j)}(h ``int flags``h]j)}(hjh]h int flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chM-hjubj)}(hhh]h)}(h mount flagsh]h mount flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjubj)}(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.chM/hjubj)}(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.chM.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&]uh1jhjlhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h iterate_supers_type (C function)c.iterate_supers_typehNtauh1hhjlhhhNhNubh)}(hhh](j)}(hlvoid iterate_supers_type (struct file_system_type *type, void (*f)(struct super_block *, void *), void *arg)h]j)}(hivoid iterate_supers_type(struct file_system_type *type, void (*f)(struct super_block*, void*), void *arg)h](j)}(hvoidh]hvoid}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj[hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hjnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[hhhjmhMubj/)}(hiterate_supers_typeh]j5)}(hiterate_supers_typeh]hiterate_supers_type}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj[hhhjmhMubj)}(hQ(struct file_system_type *type, void (*f)(struct super_block*, void*), void *arg)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]j)}jjsbc.iterate_supers_typeasbuh1hhjubj)}(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%void (*f)(struct super_block*, void*)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hjh]h(}(hj*hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj*)}(hj-h]h*}(hj7hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj5)}(hfh]hf}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubj*)}(hjh]h)}(hjRhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj*)}(hjh]h(}(hj_hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj 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)}(h super_blockh]h super_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.iterate_supers_typeasbuh1hhj ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubj*)}(hjh]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)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(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}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj[hhhjmhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjWhhhjmhMubah}(h]jRah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjmhMhjThhubjc)}(hhh]h)}(h+call function for superblocks of given typeh]h+call function for superblocks of given type}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjShhubah}(h]h ]h"]h$]h&]uh1jbhjThhhjmhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhjlhNhNubj)}(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)}(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:38: ./fs/super.chMhjrubj)}(hhh](j)}(h*``struct file_system_type *type`` fs type h](j)}(h!``struct file_system_type *type``h]j)}(hjh]hstruct file_system_type *type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hfs typeh]hfs type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h=``void (*f)(struct super_block *, void *)`` function to call h](j)}(h+``void (*f)(struct super_block *, void *)``h]j)}(hjh]h'void (*f)(struct super_block *, void *)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hfunction to callh]hfunction to call}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h%``void *arg`` argument to pass to it h](j)}(h ``void *arg``h]j)}(hj h]h void *arg}(hj hhhNhNubah}(h]h ]h"]h$]h&]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}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjrubj{)}(hdScans the superblock list and calls given function, passing it locked superblock and given argument.h]h)}(hdScans the superblock list and calls given function, passing it locked superblock and given argument.h]hdScans the superblock list and calls given function, passing it locked superblock and given argument.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjZubah}(h]h ]h"]h$]h&]uh1jzhjlhMhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_anon_bdev (C function)c.get_anon_bdevhNtauh1hhjlhhhNhNubh)}(hhh](j)}(hint get_anon_bdev (dev_t *p)h]j)}(hint get_anon_bdev(dev_t *p)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 get_anon_bdevh]j5)}(h get_anon_bdevh]h get_anon_bdev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h (dev_t *p)h]j)}(hdev_t *ph](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)}jjsbc.get_anon_bdevasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hj6h]hp}(hjhhhNhNubah}(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=Allocate a block device for filesystems which don't have one.h]h?Allocate a block device for filesystems which don’t have one.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.c'hMhj4hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhjlhNhNubj)}(hXc**Parameters** ``dev_t *p`` Pointer to a dev_t. **Description** Filesystems which don't use real block devices can call this function to allocate a virtual block device. **Context** Any context. Frequently called while holding sb_lock. **Return** 0 on success, -EMFILE if there are no anonymous bdevs left or -ENOMEM if memory allocation failed.h](h)}(h**Parameters**h]j)}(hjYh]h Parameters}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjSubj)}(hhh]j)}(h!``dev_t *p`` Pointer to a dev_t. h](j)}(h ``dev_t *p``h]j)}(hjxh]hdev_t *p}(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)}(hPointer to a dev_t.h]hPointer to a dev_t.}(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:38: ./fs/super.chMhjSubh)}(hiFilesystems which don't use real block devices can call this function to allocate a virtual block device.h]hkFilesystems which don’t use real block devices can call this function to allocate a virtual block device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjSubh)}(h **Context**h]j)}(hjh]hContext}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjSubh)}(h6Any context. Frequently called while holding sb_lock.h]h6Any context. Frequently called while holding sb_lock.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjSubh)}(h **Return**h]j)}(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.chMhjSubh)}(hb0 on success, -EMFILE if there are no anonymous bdevs left or -ENOMEM if memory allocation failed.h]hb0 on success, -EMFILE if there are no anonymous bdevs left or -ENOMEM if memory allocation failed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsget_dev (C function) c.sget_devhNtauh1hhjlhhhNhNubh)}(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}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMgubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBhhhjShMgubh)}(hhh]j5)}(h super_blockh]h super_block}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNjj)}j]j)}jsget_devsb c.sget_devasbuh1hhjBhhhjShMgubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBhhhjShMgubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjBhhhjShMgubj/)}(hsget_devh]j5)}(hjh]hsget_dev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjBhhhjShMgubj)}(h"(struct fs_context *fc, dev_t dev)h](j)}(hstruct fs_context *fch](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 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_devasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfch]hfc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h dev_t devh](h)}(hhh]j5)}(hdev_th]hdev_t}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNjj)}j]j c.sget_devasbuh1hhj,ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubj5)}(hdevh]hdev}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjBhhhjShMgubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj>hhhjShMgubah}(h]j9ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjShMghj;hhubjc)}(hhh]h)}(h,Find or create a superblock by device numberh]h,Find or create a superblock by device number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMghjhhubah}(h]h ]h"]h$]h&]uh1jbhj;hhhjShMgubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjlhNhNubj)}(hX**Parameters** ``struct fs_context *fc`` Filesystem context. ``dev_t dev`` device number **Description** Find or create a superblock using the provided device number that will be stored in fc->sget_key. If an extant superblock is matched, then that will be returned with an elevated reference count that the caller must transfer or discard. If no match is made, a new superblock will be allocated and basic initialisation will be performed (s_type, s_fs_info, s_id, s_dev will be set). The superblock will be published and it will be returned in a partially constructed state with SB_BORN and SB_ACTIVE as yet unset. **Return** an existing or newly created superblock on success, an error pointer on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMkhjubj)}(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.chMhhjubj)}(hhh]h)}(hFilesystem context.h]hFilesystem context.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjubj)}(h``dev_t dev`` device number h](j)}(h ``dev_t dev``h]j)}(hjh]h dev_t dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMihjubj)}(hhh]h)}(h device numberh]h device number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMihjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMihjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj>h]h Description}(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.chMkhjubh)}(haFind or create a superblock using the provided device number that will be stored in fc->sget_key.h]haFind or create a superblock using the provided device number that will be stored in fc->sget_key.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMjhjubh)}(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.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMmhjubh)}(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.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMphjubh)}(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.chMvhjubh)}(hPan existing or newly created superblock on success, an error pointer on failure.h]hPan existing or newly created superblock on success, an error pointer on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMwhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h get_tree_bdev_flags (C function)c.get_tree_bdev_flagshNtauh1hhjlhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMvubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMvubj/)}(hget_tree_bdev_flagsh]j5)}(hget_tree_bdev_flagsh]hget_tree_bdev_flags}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMvubj)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(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)}jjsbc.get_tree_bdev_flagsasbuh1hhjubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjQhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfch]hfc}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h@int (*fill_super)(struct super_block *sb, struct fs_context *fc)h](j)}(hinth]hint}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubj*)}(hjh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjsubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjsubj5)}(h fill_superh]h fill_super}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjsubj*)}(hjh]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&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j?c.get_tree_bdev_flagsasbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjsubj5)}(hsbh]hsb}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubj*)}(hjh]h,}(hj:hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjsubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubj )}(hjzh]hstruct}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjsubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubh)}(hhh]j5)}(h fs_contexth]h fs_context}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNjj)}j]j?c.get_tree_bdev_flagsasbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjsubj5)}(hfch]hfc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjsubeh}(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}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMvubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMvubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMvhjhhubjc)}(hhh]h)}(h/Get a superblock based on a single block deviceh]h/Get a superblock based on a single block device}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMvhj1hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMvubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhjlhNhNubj)}(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)}(hjVh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMzhjPubj)}(hhh](j)}(hH``struct fs_context *fc`` The filesystem context holding the parameters h](j)}(h``struct fs_context *fc``h]j)}(hjuh]hstruct fs_context *fc}(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.chMwhjoubj)}(hhh]h)}(h-The filesystem context holding the parametersh]h-The filesystem context holding the parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjlubj)}(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@int (*fill_super)(struct super_block *sb, struct 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.chMxhjubj)}(hhh]h)}(h%Helper to initialise a new superblockh]h%Helper to initialise a new superblock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjlubj)}(h,``unsigned int flags`` GET_TREE_BDEV_* flagsh](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:38: ./fs/super.chMzhjubj)}(hhh]h)}(hGET_TREE_BDEV_* flagsh]hGET_TREE_BDEV_* flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMyhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjlubeh}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hget_tree_bdev (C function)c.get_tree_bdevhNtauh1hhjlhhhNhNubh)}(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}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj=hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=hhhjOhMubj/)}(h get_tree_bdevh]j5)}(h get_tree_bdevh]h get_tree_bdev}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj=hhhjOhMubj)}(hS(struct fs_context *fc, int (*fill_super)(struct super_block*, struct fs_context*))h](j)}(hstruct fs_context *fch](j )}(hjzh]hstruct}(hj~hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubh)}(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)}jjdsbc.get_tree_bdevasbuh1hhjzubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjzubj5)}(hfch]hfc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjvubj)}(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*)}(hjh]h(}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(h fill_superh]h fill_super}(hj& hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjh]h)}(hj4 hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h(}(hjA hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hjN hhhNhNubah}(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}(hjl hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hji ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjn modnameN classnameNjj)}j]jc.get_tree_bdevasbuh1hhjubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h,}(hj hhhNhNubah}(h]h ]j6ah"]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)}(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]jc.get_tree_bdevasbuh1hhjubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h)}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjvubeh}(h]h ]h"]h$]h&]jLjMuh1jhj=hhhjOhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj9hhhjOhMubah}(h]j4ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjOhMhj6hhubjc)}(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.chMhj! hhubah}(h]h ]h"]h$]h&]uh1jbhj6hhhjOhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj< jj< jjjuh1hhhhjlhNhNubj)}(h**Parameters** ``struct fs_context *fc`` The filesystem context holding the parameters ``int (*fill_super)(struct super_block *, struct fs_context *)`` Helper to initialise a new superblockh](h)}(h**Parameters**h]j)}(hjF h]h Parameters}(hjH hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj@ ubj)}(hhh](j)}(hH``struct fs_context *fc`` The filesystem context holding the parameters h](j)}(h``struct fs_context *fc``h]j)}(hje h]hstruct fs_context *fc}(hjg hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj_ ubj)}(hhh]h)}(h-The filesystem context holding the parametersh]h-The filesystem context holding the parameters}(hj~ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjz hMhj{ ubah}(h]h ]h"]h$]h&]uh1jhj_ ubeh}(h]h ]h"]h$]h&]uh1jhjz hMhj\ ubj)}(hf``int (*fill_super)(struct super_block *, struct fs_context *)`` Helper to initialise a new superblockh](j)}(h@``int (*fill_super)(struct super_block *, struct fs_context *)``h]j)}(hj h]hroot**.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj ubj)}(hhh]j)}(h@``struct fs_context *fc`` The superblock configuration context. h](j)}(h``struct fs_context *fc``h]j)}(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.chMhj ubj)}(hhh]h)}(h%The superblock configuration context.h]h%The superblock configuration context.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hj4 h]h Description}(hj6 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2 ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj ubh)}(hThe filesystem is invoked to get or create a superblock which can then later be used for mounting. The filesystem places a pointer to the root to be used for mounting in **fc->root**.h](hThe filesystem is invoked to get or create a superblock which can then later be used for mounting. The filesystem places a pointer to the root to be used for mounting in }(hjJ hhhNhNubj)}(h **fc->root**h]hfc->root}(hjR hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJ ubh.}(hjJ hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfreeze_super (C function)c.freeze_superhNtauh1hhjlhhhNhNubh)}(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 }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj hMubj/)}(h freeze_superh]j5)}(h freeze_superh]h freeze_super}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj hMubj)}(hJ(struct super_block *sb, enum freeze_holder who, const void *freeze_owner)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.freeze_superasbuh1hhj 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 ubj)}(henum freeze_holder whoh](j )}(hjh]henum}(hj: hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6 ubj)}(h h]h }(hjG hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6 ubh)}(hhh]j5)}(h freeze_holderh]h freeze_holder}(hjX hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjU ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZ modnameN classnameNjj)}j]j c.freeze_superasbuh1hhj6 ubj)}(h h]h }(hjv hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6 ubj5)}(hwhoh]hwho}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6 ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hconst void *freeze_ownerh](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)}(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)}(h freeze_ownerh]h freeze_owner}(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)}(h8lock the filesystem and force it into a consistent stateh]h8lock the filesystem and force it into a consistent state}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1hhhhjlhNhNubj)}(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)}(hj-h]h Parameters}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj'ubj)}(hhh](j)}(h-``struct super_block *sb`` the super to lock h](j)}(h``struct super_block *sb``h]j)}(hjLh]hstruct super_block *sb}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjFubj)}(hhh]h)}(hthe super to lockh]hthe super to lock}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahMhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMhjCubj)}(h8``enum freeze_holder who`` context that wants to freeze h](j)}(h``enum freeze_holder who``h]j)}(hjh]henum freeze_holder who}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(hcontext that wants to freezeh]hcontext that wants to freeze}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjCubj)}(h1``const void *freeze_owner`` owner of the freeze h](j)}(h``const void *freeze_owner``h]j)}(hjh]hconst void *freeze_owner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(howner of the freezeh]howner of the freeze}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjCubeh}(h]h ]h"]h$]h&]uh1jhj'ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj'ubh)}(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.chMhj'ubh)}(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}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh should be: * }(hjhhhNhNubj)}(h``FREEZE_HOLDER_USERSPACE``h]hFREEZE_HOLDER_USERSPACE}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh( if userspace wants to freeze the fs; * }(hjhhhNhNubj)}(h``FREEZE_HOLDER_KERNEL``h]hFREEZE_HOLDER_KERNEL}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) if the kernel wants to freeze the fs. * }(hjhhhNhNubj)}(h``FREEZE_MAY_NEST``h]hFREEZE_MAY_NEST}(hjXhhhNhNubah}(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.chMhj'ubh)}(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 }(hjqhhhNhNubj)}(h**who**h]hwho}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubhX[ 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.}(hjqhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj'ubh)}(hXnA filesystem may hold multiple devices and thus a filesystems may be frozen through the block layer via multiple block devices. In this case the request is marked as being allowed to nest by passing FREEZE_MAY_NEST. The filesystem remains frozen until all block devices are unfrozen. If multiple freezes are attempted without FREEZE_MAY_NEST -EBUSY will be returned.h]hXnA filesystem may hold multiple devices and thus a filesystems may be frozen through the block layer via multiple block devices. In this case the request is marked as being allowed to nest by passing FREEZE_MAY_NEST. The filesystem remains frozen until all block devices are unfrozen. If multiple freezes are attempted without FREEZE_MAY_NEST -EBUSY will be returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj'ubh)}(hEDuring this function, sb->s_writers.frozen goes through these values:h]hEDuring this function, sb->s_writers.frozen goes through these values:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj'ubh)}(hASB_UNFROZEN: File system is normal, all writes progress as usual.h]hASB_UNFROZEN: File system is normal, all writes progress as usual.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj'ubh)}(hSB_FREEZE_WRITE: The file system is in the process of being frozen. New writes should be blocked, though page faults are still allowed. We wait for all writes to complete and then proceed to the next stage.h]hSB_FREEZE_WRITE: The file system is in the process of being frozen. New writes should be blocked, though page faults are still allowed. We wait for all writes to complete and then proceed to the next stage.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj'ubh)}(hXSB_FREEZE_PAGEFAULT: Freezing continues. Now also page faults are blocked but internal fs threads can still modify the filesystem (although they should not dirty new pages or inodes), writeback can run etc. After waiting for all running page faults we sync the filesystem which will clean all dirty pages and inodes (no new dirty pages or inodes can be created when sync is running).h]hXSB_FREEZE_PAGEFAULT: Freezing continues. Now also page faults are blocked but internal fs threads can still modify the filesystem (although they should not dirty new pages or inodes), writeback can run etc. After waiting for all running page faults we sync the filesystem which will clean all dirty pages and inodes (no new dirty pages or inodes can be created when sync is running).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj'ubh)}(hXSB_FREEZE_FS: The file system is frozen. Now all internal sources of fs modification are blocked (e.g. XFS preallocation truncation on inode reclaim). This is usually implemented by blocking new transactions for filesystems that have them and need this additional guard. After all internal writers are finished we call ->freeze_fs() to finish filesystem freezing. Then we transition to SB_FREEZE_COMPLETE state. This state is mostly auxiliary for filesystems to verify they do not modify frozen fs.h]hXSB_FREEZE_FS: The file system is frozen. Now all internal sources of fs modification are blocked (e.g. XFS preallocation truncation on inode reclaim). This is usually implemented by blocking new transactions for filesystems that have them and need this additional guard. After all internal writers are finished we call ->freeze_fs() to finish filesystem freezing. Then we transition to SB_FREEZE_COMPLETE state. This state is mostly auxiliary for filesystems to verify they do not modify frozen fs.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhj'ubh)}(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.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:38: ./fs/super.chMhj'ubh)}(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.chMhj'ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hthaw_super (C function) c.thaw_superhNtauh1hhjlhhhNhNubh)}(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}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj>hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>hhhjPhMubj/)}(h thaw_superh]j5)}(h thaw_superh]h thaw_super}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj>hhhjPhMubj)}(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 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)}jjesb c.thaw_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&]noemphjLjMuh1jhjwubj)}(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&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.thaw_superasbuh1hhjubj)}(h h]h }(hj-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hwhoh]hwho}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjwubj)}(hconst void *freeze_ownerh](j )}(hjUh]hconst}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj)}(hvoidh]hvoid}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjPubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjPubj5)}(h freeze_ownerh]h freeze_owner}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(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]jC)}(hhh]jC)}(hunlock filesystemh]h)}(hjh]hunlock filesystem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubah}(h]h ]h"]h$]h&]uh1jChjhhhjhNubah}(h]h ]h"]h$]h&]jC-uh1jChjhMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj7hhhjPhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjlhNhNubj)}(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}(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``enum freeze_holder who`` context that wants to freeze h](j)}(h``enum freeze_holder who``h]j)}(hjOh]henum freeze_holder who}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjIubj)}(hhh]h)}(hcontext that wants to freezeh]hcontext that wants to freeze}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhj ubj)}(h1``const void *freeze_owner`` owner of the freeze h](j)}(h``const void *freeze_owner``h]j)}(hjh]hconst void *freeze_owner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubj)}(hhh]h)}(howner of the freezeh]howner of the freeze}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(h}Unlocks the filesystem and marks it writeable again after freeze_super() if there are no remaining freezes on the filesystem.h]h}Unlocks the filesystem and marks it writeable again after freeze_super() if there are no remaining freezes on the filesystem.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(h**who** should be: * ``FREEZE_HOLDER_USERSPACE`` if userspace wants to thaw the fs; * ``FREEZE_HOLDER_KERNEL`` if the kernel wants to thaw the fs. * ``FREEZE_MAY_NEST`` whether nesting freeze and thaw requests is allowedh](j)}(h**who**h]hwho}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh should be: * }(hjhhhNhNubj)}(h``FREEZE_HOLDER_USERSPACE``h]hFREEZE_HOLDER_USERSPACE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& if userspace wants to thaw the fs; * }(hjhhhNhNubj)}(h``FREEZE_HOLDER_KERNEL``h]hFREEZE_HOLDER_KERNEL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' if the kernel wants to thaw the fs. * }(hjhhhNhNubj)}(h``FREEZE_MAY_NEST``h]hFREEZE_MAY_NEST}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh4 whether nesting freeze and thaw requests is allowed}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubh)}(hA filesystem may hold multiple devices and thus a filesystems may have been frozen through the block layer via multiple block devices. The filesystem remains frozen until all block devices are unfrozen.h]hA filesystem may hold multiple devices and thus a filesystems may have been frozen through the block layer via multiple block devices. The filesystem remains frozen until all block devices are unfrozen.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:38: ./fs/super.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjlhhhNhNubeh}(h]registration-and-superblocksah ]h"]registration and superblocksah$]h&]uh1hhhhhhhhK$ubh)}(hhh](h)}(h File Locksh]h File Locks}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhhhhhK*ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%locks_owner_has_blockers (C function)c.locks_owner_has_blockershNtauh1hhjYhhhNhNubh)}(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.chMCubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMCubj/)}(hlocks_owner_has_blockersh]j5)}(hlocks_owner_has_blockersh]hlocks_owner_has_blockers}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMCubj)}(h3(struct file_lock_context *flctx, fl_owner_t owner)h](j)}(hstruct file_lock_context *flctxh](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_lock_contexth]hfile_lock_context}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.locks_owner_has_blockersasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hflctxh]hflctx}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hfl_owner_t ownerh](h)}(hhh]j5)}(h fl_owner_th]h fl_owner_t}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j]jc.locks_owner_has_blockersasbuh1hhj-ubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubj5)}(hownerh]howner}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMCubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj{hhhjhMCubah}(h]jvah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMChjxhhubjc)}(hhh]h)}(h Check for blocking lock requestsh]h Check for blocking lock requests}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMChjhhubah}(h]h ]h"]h$]h&]uh1jbhjxhhhjhMCubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct file_lock_context *flctx`` file lock context ``fl_owner_t owner`` lock owner **Description** Return values: ``true``: **owner** has at least one blocker ``false``: **owner** has no blockersh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMGhjubj)}(hhh](j)}(h6``struct file_lock_context *flctx`` file lock context h](j)}(h#``struct file_lock_context *flctx``h]j)}(hjh]hstruct file_lock_context *flctx}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMDhjubj)}(hhh]h)}(hfile lock contexth]hfile lock context}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMDhjubj)}(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.chMEhjubj)}(hhh]h)}(h lock ownerh]h lock owner}(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)}(hj?h]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMGhjubj)}(hhh]j)}(h`Return values: ``true``: **owner** has at least one blocker ``false``: **owner** has no blockersh](j)}(hReturn values:h]hReturn values:}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMGhjXubj)}(hhh]h)}(hQ``true``: **owner** has at least one blocker ``false``: **owner** has no blockersh](j)}(h``true``h]htrue}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh: }(hjnhhhNhNubj)}(h **owner**h]howner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh has at least one blocker }(hjnhhhNhNubj)}(h ``false``h]hfalse}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh: }hjnsbj)}(h **owner**h]howner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh has no blockers}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjjhMGhjkubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjjhMGhjUubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlocks_delete_block (C function)c.locks_delete_blockhNtauh1hhjYhhhNhNubh)}(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.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hlocks_delete_blockh]j5)}(hlocks_delete_blockh]hlocks_delete_block}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h(struct file_lock *waiter)h]j)}(hstruct file_lock *waiterh](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}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j]j)}jjsbc.locks_delete_blockasbuh1hhj+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)}(hwaiterh]hwaiter}(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)}(hstop waiting for a file lockh]hstop waiting for a file lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct file_lock *waiter`` the lock which was waiting **Description** lockd/nfsd need to disconnect the lock while working on it.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjubj)}(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.chMhjubj)}(hhh]h)}(hthe lock which was waitingh]hthe lock which was waiting}(hj hhhNhNubah}(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)}(hj.h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjubj{)}(h;lockd/nfsd need to disconnect the lock while working on it.h]h)}(hjFh]h;lockd/nfsd need to disconnect the lock while working on it.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjDubah}(h]h ]h"]h$]h&]uh1jzhjUhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hposix_lock_file (C function)c.posix_lock_filehNtauh1hhjYhhhNhNubh)}(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}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjxhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxhhhjhMjubj/)}(hposix_lock_fileh]j5)}(hposix_lock_fileh]hposix_lock_file}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjxhhhjhMjubj)}(hE(struct file *filp, struct file_lock *fl, struct file_lock *conflock)h](j)}(hstruct file *filph](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.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)}(hfilph]hfilp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct file_lock *flh](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)}(h file_lockh]h file_lock}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNjj)}j]jc.posix_lock_fileasbuh1hhj'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)}(hflh]hfl}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct file_lock *conflockh](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)}(hconflockh]hconflock}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjxhhhjhMjubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjthhhjhMjubah}(h]joah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMjhjqhhubjc)}(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.chMjhjhhubah}(h]h ]h"]h$]h&]uh1jbhjqhhhjhMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhjYhNhNubj)}(hX **Parameters** ``struct file *filp`` The file to apply the lock to ``struct file_lock *fl`` The lock to be applied ``struct file_lock *conflock`` Place to return a copy of the conflicting lock, if found. **Description** Add a POSIX style lock to a file. We merge adjacent & overlapping locks whenever possible. POSIX locks are sorted by owner task, then by starting address Note that if called with an FL_EXISTS argument, the caller may determine whether or not a lock was successfully freed by testing the return value for -ENOENT.h](h)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMnhj8ubj)}(hhh](j)}(h4``struct file *filp`` The file to apply the lock to h](j)}(h``struct file *filp``h]j)}(hj]h]hstruct file *filp}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMkhjWubj)}(hhh]h)}(hThe file to apply the lock toh]hThe file to apply the lock to}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjrhMkhjsubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjrhMkhjTubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hjh]hstruct file_lock *fl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMlhjubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjTubj)}(hY``struct file_lock *conflock`` Place to return a copy of the conflicting lock, if found. h](j)}(h``struct file_lock *conflock``h]j)}(hjh]hstruct file_lock *conflock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMmhjubj)}(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&]uh1hhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjTubeh}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMohj8ubh)}(hAdd a POSIX style lock to a file. We merge adjacent & overlapping locks whenever possible. POSIX locks are sorted by owner task, then by starting addressh]hAdd a POSIX style lock to a file. We merge adjacent & overlapping locks whenever possible. POSIX locks are sorted by owner task, then by starting address}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMnhj8ubh)}(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.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMrhj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__break_lease (C function)c.__break_leasehNtauh1hhjYhhhNhNubh)}(hhh](j)}(h;int __break_lease (struct inode *inode, unsigned int flags)h]j)}(h:int __break_lease(struct inode *inode, unsigned int flags)h](j)}(hinth]hint}(hj^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjZhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZhhhjlhMubj/)}(h __break_leaseh]j5)}(h __break_leaseh]h __break_lease}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjZhhhjlhMubj)}(h)(struct inode *inode, 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.__break_leaseasbuh1hhjubj)}(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)}(hunsigned int flagsh](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}(hj)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj5)}(hflagsh]hflags}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjZhhhjlhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjVhhhjlhMubah}(h]jQah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjlhMhjShhubjc)}(hhh]h)}(h%revoke all outstanding leases on fileh]h%revoke all outstanding leases on file}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjlhhubah}(h]h ]h"]h$]h&]uh1jbhjShhhjlhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(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)}(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)}(h8``struct inode *inode`` the inode of the file to return h](j)}(h``struct inode *inode``h]j)}(hjh]hstruct inode *inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjubj)}(hhh]h)}(hthe inode of the file to returnh]hthe inode of the file to return}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h+``unsigned int flags`` LEASE_BREAK_* flags h](j)}(h``unsigned int flags``h]j)}(hjh]hunsigned int flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjubj)}(hhh]h)}(hLEASE_BREAK_* flagsh]hLEASE_BREAK_* flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]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:44: ./fs/locks.chMhjubj{)}(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.chMhj:ubah}(h]h ]h"]h$]h&]uh1jzhjLhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlease_get_mtime (C function)c.lease_get_mtimehNtauh1hhjYhhhNhNubh)}(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}(hjshhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjohhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMvubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjohhhjhMvubj/)}(hlease_get_mtimeh]j5)}(hlease_get_mtimeh]hlease_get_mtime}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjohhhjhMvubj)}(h.(struct inode *inode, struct timespec64 *time)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.lease_get_mtimeasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct timespec64 *timeh](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)}(h timespec64h]h timespec64}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNjj)}j]jc.lease_get_mtimeasbuh1hhjubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjlhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htimeh]htime}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjohhhjhMvubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjkhhhjhMvubah}(h]jfah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMvhjhhhubjc)}(hhh]h)}(h5update modified time of an inode with exclusive leaseh]h5update modified time of an inode with exclusive lease}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMvhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhhjhMvubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjYhNhNubj)}(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)}(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.chMzhjubj)}(hhh](j)}(h"``struct inode *inode`` the 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:44: ./fs/locks.chMwhjubj)}(hhh]h)}(h the inodeh]h the inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMwhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMwhjubj)}(hX``struct timespec64 *time`` pointer to a timespec which contains the last modified time h](j)}(h``struct timespec64 *time``h]j)}(hjh]hstruct timespec64 *time}(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.chMxhjubj)}(hhh]h)}(h;pointer to a timespec which contains the last modified timeh]h;pointer to a timespec which contains the last modified time}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMxhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMxhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjXh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMzhjubh)}(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.}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMyhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_setlease (C function)c.generic_setleasehNtauh1hhjYhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hgeneric_setleaseh]j5)}(hgeneric_setleaseh]hgeneric_setlease}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hB(struct file *filp, int arg, struct file_lease **flp, void **priv)h](j)}(hstruct file *filph](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.generic_setleaseasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj&hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfilph]hfilp}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hint argh](j)}(hinth]hint}(hjLhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjHubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHubj5)}(hargh]harg}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct file_lease **flph](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 file_leaseh]h file_lease}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.generic_setleaseasbuh1hhj}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)}(hflph]hflp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void **privh](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)hjubj*)}(hj-h]h*}(hj' hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hprivh]hpriv}(hj4 hhhNhNubah}(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]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&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjv jjv jjjuh1hhhhjYhNhNubj)}(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.chMhjz ubj)}(hhh](j)}(h#``struct file *filp`` file pointer h](j)}(h``struct file *filp``h]j)}(hj h]hstruct file *filp}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj ubj)}(hhh]h)}(h file pointerh]h file pointer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(h$``int arg`` type of lease to obtain h](j)}(h ``int arg``h]j)}(hj h]hint arg}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj ubj)}(hhh]h)}(htype of lease to obtainh]htype of lease to obtain}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hMhj ubj)}(hR``struct file_lease **flp`` input - file_lock to use, output - file_lock inserted h](j)}(h``struct file_lease **flp``h]j)}(hj!h]hstruct file_lease **flp}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj !ubj)}(hhh]h)}(h5input - file_lock to use, output - file_lock insertedh]h5input - file_lock to use, output - file_lock inserted}(hj*!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&!hMhj'!ubah}(h]h ]h"]h$]h&]uh1jhj !ubeh}(h]h ]h"]h$]h&]uh1jhj&!hMhj ubj)}(hW``void **priv`` private data for lm_setup (may be NULL if lm_setup doesn't require it) h](j)}(h``void **priv``h]j)}(hjJ!h]h void **priv}(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.chMhjD!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)}(hjc!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&]uh1jhjD!ubeh}(h]h ]h"]h$]h&]uh1jhj_!hMhj ubeh}(h]h ]h"]h$]h&]uh1jhjz 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.chMhjz 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.chMhj!ubah}(h]h ]h"]h$]h&]uh1jzhj!hMhjz ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_setlease (C function)c.vfs_setleasehNtauh1hhjYhhhNhNubh)}(hhh](j)}(hUint vfs_setlease (struct file *filp, int arg, struct file_lease **lease, void **priv)h]j)}(hTint vfs_setlease(struct file *filp, int arg, struct file_lease **lease, void **priv)h](j)}(hinth]hint}(hj!hhhNhNubah}(h]h ]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_setleaseh]j5)}(h vfs_setleaseh]h vfs_setlease}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj!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}(hj0"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2"modnameN classnameNjj)}j]j)}jj!sbc.vfs_setleaseasbuh1hhj"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)}(hfilph]hfilp}(hjk"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}(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}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"modnameN classnameNjj)}j]jL"c.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"ubj*)}(hj-h]h*}(hj#hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj"ubj5)}(hleaseh]hlease}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj "ubj)}(h void **privh](j)}(hvoidh]hvoid}(hj6#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj2#ubj)}(h h]h }(hjD#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2#ubj*)}(hj-h]h*}(hjR#hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj2#ubj*)}(hj-h]h*}(hj_#hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj2#ubj5)}(hprivh]hpriv}(hjl#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2#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)}(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!hhhj!hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj#jj#jjjuh1hhhhjYhNhNubj)}(hX**Parameters** ``struct file *filp`` file pointer ``int arg`` type of lease to obtain ``struct file_lease **lease`` file_lock to use when adding a lease ``void **priv`` private info for lm_setup when adding a lease (may be NULL if lm_setup doesn't require it) **Description** Call this to establish a lease on the file. The "lease" argument is not used for F_UNLCK requests and may be NULL. For commands that set or alter an existing lease, the ``(*lease)->fl_lmops->lm_break`` operation must be set; if not, this function will return -ENOLCK (and generate a scary-looking stack trace). The "priv" pointer is passed directly to the lm_setup function as-is. It may be NULL if the lm_setup operation doesn't require it.h](h)}(h**Parameters**h]j)}(hj#h]h Parameters}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj#ubj)}(hhh](j)}(h#``struct file *filp`` file pointer h](j)}(h``struct file *filp``h]j)}(hj#h]hstruct file *filp}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj#ubj)}(hhh]h)}(h file pointerh]h file pointer}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhj#ubj)}(h$``int arg`` type of lease to obtain h](j)}(h ``int arg``h]j)}(hj$h]hint arg}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj $ubj)}(hhh]h)}(htype of lease to obtainh]htype of lease to obtain}(hj)$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%$hMhj&$ubah}(h]h ]h"]h$]h&]uh1jhj $ubeh}(h]h ]h"]h$]h&]uh1jhj%$hMhj#ubj)}(hC``struct file_lease **lease`` file_lock to use when adding a lease h](j)}(h``struct file_lease **lease``h]j)}(hjI$h]hstruct file_lease **lease}(hjK$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhjC$ubj)}(hhh]h)}(h$file_lock to use when adding a leaseh]h$file_lock to use when adding a lease}(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)}(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)}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj$ubah}(h]h ]h"]h$]h&]uh1jhj|$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhj#ubeh}(h]h ]h"]h$]h&]uh1jhj#ubh)}(h**Description**h]j)}(hj$h]h Description}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj#ubh)}(hX6Call this to establish a lease on the file. The "lease" argument is not used for F_UNLCK requests and may be NULL. For commands that set or alter an existing lease, the ``(*lease)->fl_lmops->lm_break`` operation must be set; if not, this function will return -ENOLCK (and generate a scary-looking stack trace).h](hCall this to establish a lease on the file. The “lease” argument is not used for F_UNLCK requests and may be NULL. For commands that set or alter an existing lease, the }(hj$hhhNhNubj)}(h ``(*lease)->fl_lmops->lm_break``h]h(*lease)->fl_lmops->lm_break}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubhm operation must be set; if not, this function will return -ENOLCK (and generate a scary-looking stack trace).}(hj$hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj#ubh)}(hThe "priv" pointer is passed directly to the lm_setup function as-is. It may be NULL if the lm_setup operation doesn't require it.h]hThe “priv” pointer is passed directly to the lm_setup function as-is. It may be NULL if the lm_setup operation doesn’t require it.}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"locks_lock_inode_wait (C function)c.locks_lock_inode_waithNtauh1hhjYhhhNhNubh)}(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.chMdubj)}(h h]h }(hj3%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj %hhhj2%hMdubj/)}(hlocks_lock_inode_waith]j5)}(hlocks_lock_inode_waith]hlocks_lock_inode_wait}(hjE%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjA%ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj %hhhj2%hMdubj)}(h+(struct inode *inode, struct file_lock *fl)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hja%hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]%ubj)}(h h]h }(hjn%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)}jjG%sbc.locks_lock_inode_waitasbuh1hhj]%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&]noemphjLjMuh1jhjY%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.locks_lock_inode_waitasbuh1hhj%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&]noemphjLjMuh1jhjY%ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj %hhhj2%hMdubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj%hhhj2%hMdubah}(h]j%ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj2%hMdhj%hhubjc)}(hhh]h)}(hApply a lock to an inodeh]hApply a lock to an inode}(hjT&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMdhjQ&hhubah}(h]h ]h"]h$]h&]uh1jbhj%hhhj2%hMdubeh}(h]h ](jfunctioneh"]h$]h&]jjjjl&jjl&jjjuh1hhhhjYhNhNubj)}(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)}(hjv&h]h Parameters}(hjx&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjt&ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhhjp&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}(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.chMehj&ubj)}(hhh]h)}(hinode of the file to apply toh]hinode of the file to apply to}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hMehj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMehj&ubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hj&h]hstruct file_lock *fl}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMfhj&ubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hMfhj&ubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhj&hMfhj&ubeh}(h]h ]h"]h$]h&]uh1jhjp&ubh)}(h**Description**h]j)}(hj 'h]h Description}(hj 'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhhjp&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.chMghjp&ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_test_lock (C function)c.vfs_test_lockhNtauh1hhjYhhhNhNubh)}(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}(hjN'hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjJ'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&]uh1jhjJ'hhhj\'hMubj/)}(h vfs_test_lockh]j5)}(h vfs_test_lockh]h vfs_test_lock}(hjo'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjk'ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjJ'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 }(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)}jjq'sbc.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)}(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 }(hj9(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubj*)}(hj-h]h*}(hjG(hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj'ubj5)}(hflh]hfl}(hjT(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj'ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjJ'hhhj\'hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjF'hhhj\'hMubah}(h]jA'ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj\'hMhjC'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&]uh1jbhjC'hhhj\'hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(jj(jjjuh1hhhhjYhNhNubj)}(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&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj(ubj)}(hhh](j)}(h0``struct file *filp`` The file to test lock for h](j)}(h``struct file *filp``h]j)}(hj(h]hstruct file *filp}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj(ubj)}(hhh]h)}(hThe file to test lock forh]hThe file to test lock for}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhj(ubj)}(hV``struct file_lock *fl`` The byte-range in the file to test; also used to hold result h](j)}(h``struct file_lock *fl``h]j)}(hj(h]hstruct file_lock *fl}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj(ubj)}(hhh]h)}(hfl_type to something other than F_UNLCK.h](h On entry, }(hjI)hhhNhNubj)}(h**fl**h]hfl}(hjQ)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI)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 }(hjI)hhhNhNubj)}(h**fl**h]hfl}(hjc)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI)ubh must be NULL. Returns -ERRNO on failure. Indicates presence of conflicting lock by setting fl->fl_type to something other than F_UNLCK.}(hjI)hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMhj(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.chMhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_lock_file (C function)c.vfs_lock_filehNtauh1hhjYhhhNhNubh)}(hhh](j)}(heint vfs_lock_file (struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf)h]j)}(hdint vfs_lock_file(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf)h](j)}(hinth]hint}(hj)hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj)hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMF ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)hhhj)hMF ubj/)}(h vfs_lock_fileh]j5)}(h vfs_lock_fileh]h vfs_lock_file}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj)hhhj)hMF 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)}jj)sbc.vfs_lock_fileasbuh1hhj)ubj)}(h h]h }(hj&*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)ubj*)}(hj-h]h*}(hj4*hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj)ubj5)}(hfilph]hfilp}(hjA*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj)ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj)ubj)}(hunsigned int cmdh](j)}(hunsignedh]hunsigned}(hjZ*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjV*ubj)}(h h]h }(hjh*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjV*ubj)}(hinth]hint}(hjv*hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjV*ubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjV*ubj5)}(hcmdh]hcmd}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjV*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_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)}(hflh]hfl}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj)ubj)}(hstruct file_lock *confh](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}(hj9+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;+modnameN classnameNjj)}j]j"*c.vfs_lock_fileasbuh1hhj+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+ubj5)}(hconfh]hconf}(hjr+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj)ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj)hhhj)hMF ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj)hhhj)hMF ubah}(h]j)ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj)hMF hj)hhubjc)}(hhh]h)}(hfile byte range lockh]hfile byte range lock}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMF hj+hhubah}(h]h ]h"]h$]h&]uh1jbhj)hhhj)hMF ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1hhhhjYhNhNubj)}(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)}(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.chMJ hj+ubj)}(hhh](j)}(h4``struct file *filp`` The file to apply the lock to h](j)}(h``struct file *filp``h]j)}(hj+h]hstruct file *filp}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMG hj+ubj)}(hhh]h)}(hThe file to apply the lock toh]hThe file to apply the lock to}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+hMG hj+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hMG hj+ubj)}(hH``unsigned int cmd`` type of locking operation (F_SETLK, F_GETLK, etc.) h](j)}(h``unsigned int cmd``h]j)}(hj,h]hunsigned int cmd}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMH hj,ubj)}(hhh]h)}(h2type of locking operation (F_SETLK, F_GETLK, etc.)h]h2type of locking operation (F_SETLK, F_GETLK, etc.)}(hj/,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+,hMH hj,,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj+,hMH hj+ubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hjO,h]hstruct file_lock *fl}(hjQ,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjM,ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMI hjI,ubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hjh,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjd,hMI hje,ubah}(h]h ]h"]h$]h&]uh1jhjI,ubeh}(h]h ]h"]h$]h&]uh1jhjd,hMI hj+ubj)}(hU``struct file_lock *conf`` Place to return a copy of the conflicting lock, if found. h](j)}(h``struct file_lock *conf``h]j)}(hj,h]hstruct file_lock *conf}(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.chMJ hj,ubj)}(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,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hMJ hj,ubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj,hMJ hj+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.chML hj+ubh)}(hZA caller that doesn't care about the conflicting lock may pass NULL as the final argument.h]h\A caller that doesn’t care about the conflicting lock may pass NULL as the final argument.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMK hj+ubh)}(hIf the filesystem defines a private ->lock() method, then **conf** will be left unchanged; so a caller that cares should initialize it to some acceptable default.h](h:If the filesystem defines a private ->lock() method, then }(hj,hhhNhNubj)}(h**conf**h]hconf}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubh` will be left unchanged; so a caller that cares should initialize it to some acceptable default.}(hj,hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMN hj+ubh)}(hX8To avoid blocking kernel daemons, such as lockd, that need to acquire POSIX locks, the ->lock() interface may return asynchronously, before the lock has been granted or denied by the underlying filesystem, if (and only if) lm_grant is set. Additionally FOP_ASYNC_LOCK in file_operations fop_flags need to be set.h]hX8To avoid blocking kernel daemons, such as lockd, that need to acquire POSIX locks, the ->lock() interface may return asynchronously, before the lock has been granted or denied by the underlying filesystem, if (and only if) lm_grant is set. Additionally FOP_ASYNC_LOCK in file_operations fop_flags need to be set.}(hj -hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMR hj+ubh)}(hXCallers expecting ->lock() to return asynchronously will only use F_SETLK, not F_SETLKW; they will set FL_SLEEP if (and only if) the request is for a blocking lock. When ->lock() does return asynchronously, it must return FILE_LOCK_DEFERRED, and call ->lm_grant() when the lock request completes. If the request is for non-blocking lock the file system should return FILE_LOCK_DEFERRED then try to get the lock and call the callback routine with the result. If the request timed out the callback routine will return a nonzero return code and the file system should release the lock. The file system is also responsible to keep a corresponding posix lock when it grants a lock so the VFS can find out which locks are locally held and do the correct lock cleanup when required. The underlying filesystem must not drop the kernel lock or call ->lm_grant() before returning to the caller with a FILE_LOCK_DEFERRED return code.h]hXCallers expecting ->lock() to return asynchronously will only use F_SETLK, not F_SETLKW; they will set FL_SLEEP if (and only if) the request is for a blocking lock. When ->lock() does return asynchronously, it must return FILE_LOCK_DEFERRED, and call ->lm_grant() when the lock request completes. If the request is for non-blocking lock the file system should return FILE_LOCK_DEFERRED then try to get the lock and call the callback routine with the result. If the request timed out the callback routine will return a nonzero return code and the file system should release the lock. The file system is also responsible to keep a corresponding posix lock when it grants a lock so the VFS can find out which locks are locally held and do the correct lock cleanup when required. The underlying filesystem must not drop the kernel lock or call ->lm_grant() before returning to the caller with a FILE_LOCK_DEFERRED return code.}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:44: ./fs/locks.chMX hj+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_cancel_lock (C function)c.vfs_cancel_lockhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h=int vfs_cancel_lock (struct file *filp, struct file_lock *fl)h]j)}(h8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:8hMhj;8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj:8hMhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7ubh)}(h**Description**h]j)}(hj`8h]h Description}(hjb8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^8ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj7ubh)}(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.}(hjv8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfcntl_setlease (C function)c.fcntl_setleasehNtauh1hhjYhhhNhNubh)}(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}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj8hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM#ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8hhhj8hM#ubj/)}(hfcntl_setleaseh]j5)}(hfcntl_setleaseh]hfcntl_setlease}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj8hhhj8hM#ubj)}(h-(unsigned int fd, struct file *filp, int arg)h](j)}(hunsigned int fdh](j)}(hunsignedh]hunsigned}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj8ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubj)}(hinth]hint}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj8ubj)}(h h]h }(hj 9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8ubj5)}(hfdh]hfd}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj8ubj)}(hstruct file *filph](j )}(hjzh]hstruct}(hj39hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/9ubj)}(h h]h }(hj@9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/9ubh)}(hhh]j5)}(hfileh]hfile}(hjQ9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjN9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjS9modnameN classnameNjj)}j]j)}jj8sbc.fcntl_setleaseasbuh1hhj/9ubj)}(h h]h }(hjq9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/9ubj*)}(hj-h]h*}(hj9hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj/9ubj5)}(hfilph]hfilp}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/9ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj8ubj)}(hint argh](j)}(hinth]hint}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9ubj5)}(hargh]harg}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj8ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj8hhhj8hM#ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj8hhhj8hM#ubah}(h]j8ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj8hM#hj8hhubjc)}(hhh]h)}(hsets a lease on an open fileh]hsets a lease on an open file}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM#hj9hhubah}(h]h ]h"]h$]h&]uh1jbhj8hhhj8hM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jj:jjjuh1hhhhjYhNhNubj)}(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)}(hj :h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj :ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM'hj:ubj)}(hhh](j)}(h)``unsigned int fd`` open file descriptor h](j)}(h``unsigned int fd``h]j)}(hj,:h]hunsigned int fd}(hj.:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*:ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM$hj&:ubj)}(hhh]h)}(hopen file descriptorh]hopen file descriptor}(hjE:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjA:hM$hjB:ubah}(h]h ]h"]h$]h&]uh1jhj&:ubeh}(h]h ]h"]h$]h&]uh1jhjA:hM$hj#:ubj)}(h#``struct file *filp`` file pointer h](j)}(h``struct file *filp``h]j)}(hje:h]hstruct file *filp}(hjg:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc:ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM%hj_:ubj)}(hhh]h)}(h file pointerh]h file pointer}(hj~:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjz:hM%hj{:ubah}(h]h ]h"]h$]h&]uh1jhj_:ubeh}(h]h ]h"]h$]h&]uh1jhjz:hM%hj#:ubj)}(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.chM&hj:ubj)}(hhh]h)}(htype of lease to obtainh]htype of lease to obtain}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM(hj: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.chM'hj:ubah}(h]h ]h"]h$]h&]uh1jzhj;hM'hj:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfcntl_setdeleg (C function)c.fcntl_setdeleghNtauh1hhjYhhhNhNubh)}(hhh](j)}(hQint fcntl_setdeleg (unsigned int fd, struct file *filp, struct delegation *deleg)h]j)}(hPint fcntl_setdeleg(unsigned int fd, struct file *filp, struct delegation *deleg)h](j)}(hinth]hint}(hj:;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj6;hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM7ubj)}(h h]h }(hjI;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6;hhhjH;hM7ubj/)}(hfcntl_setdelegh]j5)}(hfcntl_setdelegh]hfcntl_setdeleg}(hj[;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjW;ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj6;hhhjH;hM7ubj)}(h>(unsigned int fd, struct file *filp, struct delegation *deleg)h](j)}(hunsigned int fdh](j)}(hunsignedh]hunsigned}(hjw;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjs;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjs;ubj)}(hinth]hint}(hj;hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjs;ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjs;ubj5)}(hfdh]hfd}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjs;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjo;ubj)}(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.fcntl_setdelegasbuh1hhj;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&]noemphjLjMuh1jhjo;ubj)}(hstruct delegation *delegh](j )}(hjzh]hstruct}(hj:<hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6<ubj)}(h h]h }(hjG<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6<ubh)}(hhh]j5)}(h delegationh]h delegation}(hjX<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjU<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZ<modnameN classnameNjj)}j]j<c.fcntl_setdelegasbuh1hhj6<ubj)}(h h]h }(hjv<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6<ubj*)}(hj-h]h*}(hj<hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj6<ubj5)}(hdelegh]hdeleg}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6<ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjo;ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj6;hhhjH;hM7ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj2;hhhjH;hM7ubah}(h]j-;ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjH;hM7hj/;hhubjc)}(hhh]h)}(h!sets a delegation on an open fileh]h!sets a delegation on an open file}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM7hj<hhubah}(h]h ]h"]h$]h&]uh1jbhj/;hhhjH;hM7ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhjYhNhNubj)}(hXT**Parameters** ``unsigned int fd`` open file descriptor ``struct file *filp`` file pointer ``struct delegation *deleg`` delegation request from userland **Description** Call this fcntl to establish a delegation on the file. Note that you also need to call ``F_SETSIG`` to receive a signal when the lease is broken.h](h)}(h**Parameters**h]j)}(hj<h]h Parameters}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM;hj<ubj)}(hhh](j)}(h)``unsigned int fd`` open file descriptor h](j)}(h``unsigned int fd``h]j)}(hj<h]hunsigned int fd}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM8hj<ubj)}(hhh]h)}(hopen file descriptorh]hopen file descriptor}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hM8hj=ubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhj=hM8hj<ubj)}(h#``struct file *filp`` file pointer 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.chM9hj/=ubj)}(hhh]h)}(h file pointerh]h file pointer}(hjN=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJ=hM9hjK=ubah}(h]h ]h"]h$]h&]uh1jhj/=ubeh}(h]h ]h"]h$]h&]uh1jhjJ=hM9hj<ubj)}(h>``struct delegation *deleg`` delegation request from userland h](j)}(h``struct delegation *deleg``h]j)}(hjn=h]hstruct delegation *deleg}(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.chM:hjh=ubj)}(hhh]h)}(h delegation request from userlandh]h delegation request from userland}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hM:hj=ubah}(h]h ]h"]h$]h&]uh1jhjh=ubeh}(h]h ]h"]h$]h&]uh1jhj=hM:hj<ubeh}(h]h ]h"]h$]h&]uh1jhj<ubh)}(h**Description**h]j)}(hj=h]h Description}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM<hj<ubj{)}(hCall this fcntl to establish a delegation on the file. Note that you also need to call ``F_SETSIG`` to receive a signal when the lease is broken.h]h)}(hCall this fcntl to establish a delegation on the file. Note that you also need to call ``F_SETSIG`` to receive a signal when the lease is broken.h](hWCall this fcntl to establish a delegation on the file. Note that you also need to call }(hj=hhhNhNubj)}(h ``F_SETSIG``h]hF_SETSIG}(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.chM;hj=ubah}(h]h ]h"]h$]h&]uh1jzhj=hM;hj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"flock_lock_inode_wait (C function)c.flock_lock_inode_waithNtauh1hhjYhhhNhNubh)}(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}(hj >hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj>hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMLubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>hhhj>hMLubj/)}(hflock_lock_inode_waith]j5)}(hflock_lock_inode_waith]hflock_lock_inode_wait}(hj+>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'>ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj>hhhj>hMLubj)}(h+(struct inode *inode, struct file_lock *fl)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjG>hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjC>ubj)}(h h]h }(hjT>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjC>ubh)}(hhh]j5)}(hinodeh]hinode}(hje>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjb>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjg>modnameN classnameNjj)}j]j)}jj->sbc.flock_lock_inode_waitasbuh1hhjC>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjC>ubj*)}(hj-h]h*}(hj>hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjC>ubj5)}(hinodeh]hinode}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjC>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.flock_lock_inode_waitasbuh1hhj>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>hMLubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj>hhhj>hMLubah}(h]j=ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj>hMLhj=hhubjc)}(hhh]h)}(h"Apply a FLOCK-style lock to a fileh]h"Apply a FLOCK-style lock to a file}(hj:?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMLhj7?hhubah}(h]h ]h"]h$]h&]uh1jbhj=hhhj>hMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjjR?jjR?jjjuh1hhhhjYhNhNubj)}(h**Parameters** ``struct inode *inode`` inode of the file to apply to ``struct file_lock *fl`` The lock to be applied **Description** Apply a FLOCK style lock request to an inode.h](h)}(h**Parameters**h]j)}(hj\?h]h Parameters}(hj^?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZ?ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMPhjV?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}(hj}?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy?ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMMhju?ubj)}(hhh]h)}(hinode of the file to apply toh]hinode of the file to apply to}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hMMhj?ubah}(h]h ]h"]h$]h&]uh1jhju?ubeh}(h]h ]h"]h$]h&]uh1jhj?hMMhjr?ubj)}(h0``struct file_lock *fl`` The lock to be applied h](j)}(h``struct file_lock *fl``h]j)}(hj?h]hstruct file_lock *fl}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMNhj?ubj)}(hhh]h)}(hThe lock to be appliedh]hThe lock to be applied}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hMNhj?ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?hMNhjr?ubeh}(h]h ]h"]h$]h&]uh1jhjV?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.chMPhjV?ubh)}(h-Apply a FLOCK style lock request to an inode.h]h-Apply a FLOCK 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.chMOhjV?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsys_flock (C function) c.sys_flockhNtauh1hhjYhhhNhNubh)}(hhh](j)}(h2long sys_flock (unsigned int fd, unsigned int cmd)h]j)}(h1long sys_flock(unsigned int fd, unsigned int cmd)h](j)}(hlongh]hlong}(hj4@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj0@hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM|ubj)}(h h]h }(hjC@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0@hhhjB@hM|ubj/)}(h sys_flockh]j5)}(h sys_flockh]h sys_flock}(hjU@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQ@ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj0@hhhjB@hM|ubj)}(h#(unsigned int fd, unsigned int cmd)h](j)}(hunsigned int fdh](j)}(hunsignedh]hunsigned}(hjq@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjm@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjm@ubj)}(hinth]hint}(hj@hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjm@ubj)}(h h]h }(hj@hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjm@ubj5)}(hfdh]hfd}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjm@ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhji@ubj)}(hunsigned int cmdh](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)}(hcmdh]hcmd}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhji@ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj0@hhhjB@hM|ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj,@hhhjB@hM|ubah}(h]j'@ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjB@hM|hj)@hhubjc)}(hhh]jC)}(hhh]jC)}(hflock() system call.h]h)}(hj)Ah]hflock() system call.}(hj+AhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM|hj'Aubah}(h]h ]h"]h$]h&]uh1jChj$Ahhhj8AhNubah}(h]h ]h"]h$]h&]jCjuh1jChj8AhM|hj!Ahhubah}(h]h ]h"]h$]h&]uh1jbhj)@hhhjB@hM|ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNAjjNAjjjuh1hhhhjYhNhNubj)}(hX**Parameters** ``unsigned int fd`` the file descriptor to lock. ``unsigned int cmd`` the type of lock to apply. **Description** Apply a ``FL_FLOCK`` style lock to an open file descriptor. The **cmd** can be one of: - ``LOCK_SH`` -- a shared lock. - ``LOCK_EX`` -- an exclusive lock. - ``LOCK_UN`` -- remove an existing lock. - ``LOCK_MAND`` -- a 'mandatory' flock. (DEPRECATED) ``LOCK_MAND`` support has been removed from the kernel.h](h)}(h**Parameters**h]j)}(hjXAh]h Parameters}(hjZAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVAubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjRAubj)}(hhh](j)}(h1``unsigned int fd`` the file descriptor to lock. h](j)}(h``unsigned int fd``h]j)}(hjwAh]hunsigned int fd}(hjyAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuAubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM}hjqAubj)}(hhh]h)}(hthe file descriptor to lock.h]hthe file descriptor to lock.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhM}hjAubah}(h]h ]h"]h$]h&]uh1jhjqAubeh}(h]h ]h"]h$]h&]uh1jhjAhM}hjnAubj)}(h0``unsigned int cmd`` the type of lock to apply. h](j)}(h``unsigned int cmd``h]j)}(hjAh]hunsigned int cmd}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chM~hjAubj)}(hhh]h)}(hthe type of lock to apply.h]hthe type of lock to apply.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhM~hjAubah}(h]h ]h"]h$]h&]uh1jhjAubeh}(h]h ]h"]h$]h&]uh1jhjAhM~hjnAubeh}(h]h ]h"]h$]h&]uh1jhjRAubh)}(h**Description**h]j)}(hjAh]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjRAubj{)}(hX3Apply a ``FL_FLOCK`` style lock to an open file descriptor. The **cmd** can be one of: - ``LOCK_SH`` -- a shared lock. - ``LOCK_EX`` -- an exclusive lock. - ``LOCK_UN`` -- remove an existing lock. - ``LOCK_MAND`` -- a 'mandatory' flock. (DEPRECATED) ``LOCK_MAND`` support has been removed from the kernel.h](h)}(hVApply a ``FL_FLOCK`` style lock to an open file descriptor. The **cmd** can be one of:h](hApply a }(hjBhhhNhNubj)}(h ``FL_FLOCK``h]hFL_FLOCK}(hj BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh, style lock to an open file descriptor. The }(hjBhhhNhNubj)}(h**cmd**h]hcmd}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh can be one of:}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjBubjC)}(hhh](jC)}(h``LOCK_SH`` -- a shared lock.h]h)}(hj=Bh](j)}(h ``LOCK_SH``h]hLOCK_SH}(hjBBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?Bubh -- a shared lock.}(hj?BhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj;Bubah}(h]h ]h"]h$]h&]uh1jChj8BubjC)}(h!``LOCK_EX`` -- an exclusive lock.h]h)}(hjcBh](j)}(h ``LOCK_EX``h]hLOCK_EX}(hjhBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeBubh -- an exclusive lock.}(hjeBhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjaBubah}(h]h ]h"]h$]h&]uh1jChj8BubjC)}(h'``LOCK_UN`` -- remove an existing lock.h]h)}(hjBh](j)}(h ``LOCK_UN``h]hLOCK_UN}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh -- remove an existing lock.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjBubah}(h]h ]h"]h$]h&]uh1jChj8BubjC)}(h3``LOCK_MAND`` -- a 'mandatory' flock. (DEPRECATED) h]h)}(h2``LOCK_MAND`` -- a 'mandatory' flock. (DEPRECATED)h](j)}(h ``LOCK_MAND``h]h LOCK_MAND}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh) -- a ‘mandatory’ flock. (DEPRECATED)}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjBubah}(h]h ]h"]h$]h&]uh1jChj8Bubeh}(h]h ]h"]h$]h&]jCjuh1jChjZBhMhjBubh)}(h7``LOCK_MAND`` support has been removed from the kernel.h](j)}(h ``LOCK_MAND``h]h LOCK_MAND}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh* support has been removed from the kernel.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhjBubeh}(h]h ]h"]h$]h&]uh1jzhj7BhMhjRAubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h locks_translate_pid (C function)c.locks_translate_pidhNtauh1hhjYhhhNhNubh)}(hhh](j)}(hOpid_t locks_translate_pid (struct file_lock_core *fl, struct pid_namespace *ns)h]j)}(hNpid_t locks_translate_pid(struct file_lock_core *fl, struct pid_namespace *ns)h](h)}(hhh]j5)}(hpid_th]hpid_t}(hj ChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"CmodnameN classnameNjj)}j]j)}jlocks_translate_pidsbc.locks_translate_pidasbuh1hhjChhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMubj)}(h h]h }(hjBChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjChhhjAChMubj/)}(hlocks_translate_pidh]j5)}(hj>Ch]hlocks_translate_pid}(hjTChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPCubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjChhhjAChMubj)}(h5(struct file_lock_core *fl, struct pid_namespace *ns)h](j)}(hstruct file_lock_core *flh](j )}(hjzh]hstruct}(hjoChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjkCubj)}(h h]h }(hj|ChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkCubh)}(hhh]j5)}(hfile_lock_coreh]hfile_lock_core}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj)}j]jUsed to translate a fl_pid into a namespace virtual pid numberh]h>Used to translate a fl_pid into a namespace virtual pid number}(hj+EhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:47: ./fs/locks.chMhj|Dubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjYhhhNhNubeh}(h] file-locksah ]h"] file locksah$]h&]uh1hhhhhhhhK*ubh)}(hhh](h)}(hOther Functionsh]hOther Functions}(hjLEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIEhhhhhK3ubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmpage_readahead (C function)c.mpage_readaheadhNtauh1hhjIEhhhNhNubh)}(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}(hjsEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjoEhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMAubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoEhhhjEhMAubj/)}(hmpage_readaheadh]j5)}(hmpage_readaheadh]hmpage_readahead}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjoEhhhjEhMAubj)}(h6(struct readahead_control *rac, get_block_t get_block)h](j)}(hstruct readahead_control *rach](j )}(hjzh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubh)}(hhh]j5)}(hreadahead_controlh]hreadahead_control}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj)}j]j)}jjEsbc.mpage_readaheadasbuh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubj*)}(hj-h]h*}(hjEhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjEubj5)}(hrach]hrac}(hj FhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjEubj)}(hget_block_t get_blockh](h)}(hhh]j5)}(h get_block_th]h get_block_t}(hj%FhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"Fubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'FmodnameN classnameNjj)}j]jEc.mpage_readaheadasbuh1hhjFubj)}(h h]h }(hjCFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj5)}(h get_blockh]h get_block}(hjQFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjEubeh}(h]h ]h"]h$]h&]jLjMuh1jhjoEhhhjEhMAubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjkEhhhjEhMAubah}(h]jfEah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjEhMAhjhEhhubjc)}(hhh]h)}(hstart reads against pagesh]hstart reads against pages}(hj{FhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMAhjxFhhubah}(h]h ]h"]h$]h&]uh1jbhjhEhhhjEhMAubeh}(h]h ](jfunctioneh"]h$]h&]jjjjFjjFjjjuh1hhhhjIEhNhNubj)}(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)}(hjFh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMEhjFubj)}(hhh](j)}(hA``struct readahead_control *rac`` Describes which pages to read. h](j)}(h!``struct readahead_control *rac``h]j)}(hjFh]hstruct readahead_control *rac}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMBhjFubj)}(hhh]h)}(hDescribes which pages to read.h]hDescribes which pages to read.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhMBhjFubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjFhMBhjFubj)}(hB``get_block_t get_block`` The filesystem's block mapper function. h](j)}(h``get_block_t get_block``h]j)}(hjFh]hget_block_t get_block}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMChjFubj)}(hhh]h)}(h'The filesystem's block mapper function.h]h)The filesystem’s block mapper function.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj GhMChj Gubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhj GhMChjFubeh}(h]h ]h"]h$]h&]uh1jhjFubh)}(h**Description**h]j)}(hj0Gh]h Description}(hj2GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.Gubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMEhjFubh)}(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.}(hjFGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMDhjFubh)}(h%If anything unusual happens, such as:h]h%If anything unusual happens, such as:}(hjUGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMGhjFubjC)}(hhh](jC)}(h%encountering a page which has buffersh]h)}(hjiGh]h%encountering a page which has buffers}(hjkGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMIhjgGubah}(h]h ]h"]h$]h&]uh1jChjdGubjC)}(h5encountering a page which has a non-hole after a holeh]h)}(hjGh]h5encountering a page which has a non-hole after a hole}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMJhjGubah}(h]h ]h"]h$]h&]uh1jChjdGubjC)}(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}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMKhjGubah}(h]h ]h"]h$]h&]uh1jChjdGubeh}(h]h ]h"]h$]h&]jCjuh1jChjxGhMIhjFubh)}(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.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMMhjFubh)}(hBH_Boundary explanation:h]hBH_Boundary explanation:}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMQhjFubh)}(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.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMShjFubh)}(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:}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMWhjFubj{)}(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}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMZhjGubah}(h]h ]h"]h$]h&]uh1jzhjHhMZhjFubh)}(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.}(hj HhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chM\hjFubh)}(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.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chM_hjFubh)}(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.}(hj)HhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMdhjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmpage_writepages (C function)c.mpage_writepageshNtauh1hhjIEhhhNhNubh)}(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}(hjXHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjTHhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMubj)}(h h]h }(hjgHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTHhhhjfHhMubj/)}(hmpage_writepagesh]j5)}(hmpage_writepagesh]hmpage_writepages}(hjyHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuHubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjTHhhhjfHhMubj)}(hU(struct address_space *mapping, struct writeback_control *wbc, get_block_t get_block)h](j)}(hstruct address_space *mappingh](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 address_spaceh]h address_space}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNjj)}j]j)}jj{Hsbc.mpage_writepagesasbuh1hhjHubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHubj*)}(hj-h]h*}(hjHhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjHubj5)}(hmappingh]hmapping}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjHubj)}(hstruct writeback_control *wbch](j )}(hjzh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubh)}(hhh]j5)}(hwriteback_controlh]hwriteback_control}(hj%IhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"Iubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'ImodnameN classnameNjj)}j]jHc.mpage_writepagesasbuh1hhjIubj)}(h h]h }(hjCIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubj*)}(hj-h]h*}(hjQIhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjIubj5)}(hwbch]hwbc}(hj^IhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjHubj)}(hget_block_t get_blockh](h)}(hhh]j5)}(h get_block_th]h get_block_t}(hjzIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|ImodnameN classnameNjj)}j]jHc.mpage_writepagesasbuh1hhjsIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsIubj5)}(h get_blockh]h get_block}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjHubeh}(h]h ]h"]h$]h&]jLjMuh1jhjTHhhhjfHhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjPHhhhjfHhMubah}(h]jKHah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjfHhMhjMHhhubjc)}(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}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjIhhubah}(h]h ]h"]h$]h&]uh1jbhjMHhhhjfHhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1hhhhjIEhNhNubj)}(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)}(hjIh]h Parameters}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjIubj)}(hhh](j)}(hC``struct address_space *mapping`` address space structure to write h](j)}(h!``struct address_space *mapping``h]j)}(hjJh]hstruct address_space *mapping}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhj Jubj)}(hhh]h)}(h address space structure to writeh]h address space structure to write}(hj*JhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&JhMhj'Jubah}(h]h ]h"]h$]h&]uh1jhj Jubeh}(h]h ]h"]h$]h&]uh1jhj&JhMhjJubj)}(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)}(hjJJh]hstruct writeback_control *wbc}(hjLJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHJubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjDJubj)}(hhh]h)}(h?subtract the number of written pages from ***wbc->nr_to_write**h](h*subtract the number of written pages from }(hjcJhhhNhNubj)}(h***wbc->nr_to_write**h]h*wbc->nr_to_write}(hjkJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcJubeh}(h]h ]h"]h$]h&]uh1hhj_JhMhj`Jubah}(h]h ]h"]h$]h&]uh1jhjDJubeh}(h]h ]h"]h$]h&]uh1jhj_JhMhjJubj)}(hB``get_block_t get_block`` the filesystem's block mapper function. h](j)}(h``get_block_t get_block``h]j)}(hjJh]hget_block_t get_block}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjJubj)}(hhh]h)}(h'the filesystem's block mapper function.h]h)the filesystem’s block mapper function.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMhjJubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjJubeh}(h]h ]h"]h$]h&]uh1jhjIubh)}(h**Description**h]j)}(hjJh]h Description}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjIubh)}(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.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:53: ./fs/mpage.chMhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_permission (C function)c.generic_permissionhNtauh1hhjIEhhhNhNubh)}(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}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj KhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hj KhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj KhhhjKhMubj/)}(hgeneric_permissionh]j5)}(hgeneric_permissionh]hgeneric_permission}(hj2KhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.Kubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj KhhhjKhMubj)}(h8(struct mnt_idmap *idmap, struct inode *inode, int mask)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjNKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJKubj)}(h h]h }(hj[KhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJKubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjlKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnKmodnameN classnameNjj)}j]j)}jj4Ksbc.generic_permissionasbuh1hhjJKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJKubj*)}(hj-h]h*}(hjKhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjJKubj5)}(hidmaph]hidmap}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJKubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFKubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubh)}(hhh]j5)}(hinodeh]hinode}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNjj)}j]jKc.generic_permissionasbuh1hhjKubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKubj*)}(hj-h]h*}(hj LhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjKubj5)}(hinodeh]hinode}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFKubj)}(hint maskh](j)}(hinth]hint}(hj0LhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj,Lubj)}(h h]h }(hj>LhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,Lubj5)}(hmaskh]hmask}(hjLLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,Lubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFKubeh}(h]h ]h"]h$]h&]jLjMuh1jhj KhhhjKhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj KhhhjKhMubah}(h]jKah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjKhMhjKhhubjc)}(hhh]h)}(h2check for access rights on a Posix-like filesystemh]h2check for access rights on a Posix-like filesystem}(hjvLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjsLhhubah}(h]h ]h"]h$]h&]uh1jbhjKhhhjKhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjLjjLjjjuh1hhhhjIEhNhNubj)}(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)}(hjLh]h Parameters}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjLubj)}(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)}(hjLh]hstruct mnt_idmap *idmap}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjLubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhMhjLubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjLubj)}(h9``struct inode *inode`` inode to check access rights for h](j)}(h``struct inode *inode``h]j)}(hjLh]hstruct inode *inode}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjLubj)}(hhh]h)}(h inode to check access rights forh]h inode to check access rights for}(hj MhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhMhjMubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjLubj)}(hc``int mask`` right to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``, ``MAY_NOT_BLOCK`` ...) h](j)}(h ``int mask``h]j)}(hj)Mh]hint mask}(hj+MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'Mubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj#Mubj)}(hhh]h)}(hUright to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``, ``MAY_NOT_BLOCK`` ...)h](hright to check for (}(hjBMhhhNhNubj)}(h ``MAY_READ``h]hMAY_READ}(hjJMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBMubh, }(hjBMhhhNhNubj)}(h ``MAY_WRITE``h]h MAY_WRITE}(hj\MhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBMubh, }hjBMsbj)}(h ``MAY_EXEC``h]hMAY_EXEC}(hjnMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBMubh, }(hjBMhhhNhNubj)}(h``MAY_NOT_BLOCK``h]h MAY_NOT_BLOCK}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBMubh ...)}(hjBMhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj?Mubah}(h]h ]h"]h$]h&]uh1jhj#Mubeh}(h]h ]h"]h$]h&]uh1jhj>MhMhjLubeh}(h]h ]h"]h$]h&]uh1jhjLubh)}(h**Description**h]j)}(hjMh]h Description}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjLubh)}(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.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjLubh)}(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.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjLubh)}(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 }(hjMhhhNhNubj)}(h **idmap**h]hidmap}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubhB. This function will then take care to map the inode according to }(hjMhhhNhNubj)}(h **idmap**h]hidmap}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjMhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hj NhhhNhNubah}(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.chMhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_permission (C function)c.inode_permissionhNtauh1hhjIEhhhNhNubh)}(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}(hjFNhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjBNhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM0ubj)}(h h]h }(hjUNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBNhhhjTNhM0ubj/)}(hinode_permissionh]j5)}(hinode_permissionh]hinode_permission}(hjgNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcNubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjBNhhhjTNhM0ubj)}(h8(struct mnt_idmap *idmap, struct inode *inode, int mask)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNjj)}j]j)}jjiNsbc.inode_permissionasbuh1hhjNubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubj*)}(hj-h]h*}(hjNhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjNubj5)}(hidmaph]hidmap}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj{Nubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjNubj)}(h h]h }(hjOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubh)}(hhh]j5)}(hinodeh]hinode}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j]jNc.inode_permissionasbuh1hhjNubj)}(h h]h }(hj1OhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubj*)}(hj-h]h*}(hj?OhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjNubj5)}(hinodeh]hinode}(hjLOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj{Nubj)}(hint maskh](j)}(hinth]hint}(hjeOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjaOubj)}(h h]h }(hjsOhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaOubj5)}(hmaskh]hmask}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaOubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj{Nubeh}(h]h ]h"]h$]h&]jLjMuh1jhjBNhhhjTNhM0ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj>NhhhjTNhM0ubah}(h]j9Nah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjTNhM0hj;Nhhubjc)}(hhh]h)}(h(Check for access rights to a given inodeh]h(Check for access rights to a given inode}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM0hjOhhubah}(h]h ]h"]h$]h&]uh1jbhj;NhhhjTNhM0ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhjIEhNhNubj)}(hX **Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct inode *inode`` Inode to check permission on ``int mask`` Right to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``) **Description** Check for read/write/execute permissions on an inode. We use fs[ug]id for this, letting us set arbitrary permissions for filesystem access without changing the "normal" UIDs which are used for other things. When checking for MAY_APPEND, MAY_WRITE must also be set in **mask**.h](h)}(h**Parameters**h]j)}(hjOh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM4hjOubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjOh]hstruct mnt_idmap *idmap}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM1hjOubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhM1hjPubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjPhM1hjOubj)}(h5``struct inode *inode`` Inode to check permission on h](j)}(h``struct inode *inode``h]j)}(hj%Ph]hstruct inode *inode}(hj'PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#Pubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM2hjPubj)}(hhh]h)}(hInode to check permission onh]hInode to check permission on}(hj>PhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:PhM2hj;Pubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhj:PhM2hjOubj)}(hL``int mask`` Right to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``) h](j)}(h ``int mask``h]j)}(hj^Ph]hint mask}(hj`PhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\Pubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM3hjXPubj)}(hhh]h)}(h>Right to check for (``MAY_READ``, ``MAY_WRITE``, ``MAY_EXEC``)h](hRight to check for (}(hjwPhhhNhNubj)}(h ``MAY_READ``h]hMAY_READ}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwPubh, }(hjwPhhhNhNubj)}(h ``MAY_WRITE``h]h MAY_WRITE}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwPubh, }hjwPsbj)}(h ``MAY_EXEC``h]hMAY_EXEC}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwPubh)}(hjwPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjsPhM3hjtPubah}(h]h ]h"]h$]h&]uh1jhjXPubeh}(h]h ]h"]h$]h&]uh1jhjsPhM3hjOubeh}(h]h ]h"]h$]h&]uh1jhjOubh)}(h**Description**h]j)}(hjPh]h Description}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM5hjOubh)}(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.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM4hjOubh)}(hEWhen checking for MAY_APPEND, MAY_WRITE must also be set in **mask**.h](hThhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hend_dirop (C function) c.end_dirophNtauh1hhjIEhhhNhNubh)}(hhh](j)}(h"void end_dirop (struct dentry *de)h]j)}(h!void end_dirop(struct dentry *de)h](j)}(hvoidh]hvoid}(hjmThhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjiThhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM? ubj)}(h h]h }(hj|ThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiThhhj{ThM? ubj/)}(h end_diroph]j5)}(h end_diroph]h end_dirop}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjiThhhj{ThM? ubj)}(h(struct dentry *de)h]j)}(hstruct dentry *deh](j )}(hjzh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubh)}(hhh]j5)}(hdentryh]hdentry}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjTmodnameN classnameNjj)}j]j)}jjTsb c.end_diropasbuh1hhjTubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj*)}(hj-h]h*}(hjThhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjTubj5)}(hdeh]hde}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjTubah}(h]h ]h"]h$]h&]jLjMuh1jhjiThhhj{ThM? ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjeThhhj{ThM? ubah}(h]j`Tah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj{ThM? hjbThhubjc)}(hhh]h)}(hsignal completion of a diroph]hsignal completion of a dirop}(hj-UhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM? hj*Uhhubah}(h]h ]h"]h$]h&]uh1jbhjbThhhj{ThM? ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEUjjEUjjjuh1hhhhjIEhNhNubj)}(h**Parameters** ``struct dentry *de`` the dentry which was returned by start_dirop or similar. **Description** If the de is an error, nothing happens. Otherwise any lock taken to protect the dentry is dropped and the dentry itself is release (dput()).h](h)}(h**Parameters**h]j)}(hjOUh]h Parameters}(hjQUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMUubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMC hjIUubj)}(hhh]j)}(hO``struct dentry *de`` the dentry which was returned by start_dirop or similar. h](j)}(h``struct dentry *de``h]j)}(hjnUh]hstruct dentry *de}(hjpUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlUubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM@ hjhUubj)}(hhh]h)}(h8the dentry which was returned by start_dirop or similar.h]h8the dentry which was returned by start_dirop or similar.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhM@ hjUubah}(h]h ]h"]h$]h&]uh1jhjhUubeh}(h]h ]h"]h$]h&]uh1jhjUhM@ hjeUubah}(h]h ]h"]h$]h&]uh1jhjIUubh)}(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.chMB hjIUubh)}(hIf the de is an error, nothing happens. Otherwise any lock taken to protect the dentry is dropped and the dentry itself is release (dput()).h]hIf the de is an error, nothing happens. Otherwise any lock taken to protect the dentry is dropped and the dentry itself is release (dput()).}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMA hjIUubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#vfs_path_parent_lookup (C function)c.vfs_path_parent_lookuphNtauh1hhjIEhhhNhNubh)}(hhh](j)}(hint vfs_path_parent_lookup (struct filename *filename, unsigned int flags, struct path *parent, struct qstr *last, int *type, const struct path *root)h]j)}(hint vfs_path_parent_lookup(struct filename *filename, unsigned int flags, struct path *parent, struct qstr *last, int *type, const struct path *root)h](j)}(hinth]hint}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjUhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUhhhjUhM ubj/)}(hvfs_path_parent_lookuph]j5)}(hvfs_path_parent_lookuph]hvfs_path_parent_lookup}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Vubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjUhhhjUhM ubj)}(h{(struct filename *filename, unsigned int flags, struct path *parent, struct qstr *last, int *type, const struct path *root)h](j)}(hstruct filename *filenameh](j )}(hjzh]hstruct}(hj+VhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'Vubj)}(h h]h }(hj8VhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'Vubh)}(hhh]j5)}(hfilenameh]hfilename}(hjIVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKVmodnameN classnameNjj)}j]j)}jjVsbc.vfs_path_parent_lookupasbuh1hhj'Vubj)}(h h]h }(hjiVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'Vubj*)}(hj-h]h*}(hjwVhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj'Vubj5)}(hfilenameh]hfilename}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'Vubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#Vubj)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubj)}(hinth]hint}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubj5)}(hflagsh]hflags}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#Vubj)}(hstruct path *parenth](j )}(hjzh]hstruct}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubh)}(hhh]j5)}(hpathh]hpath}(hj WhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Wubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNjj)}j]jeVc.vfs_path_parent_lookupasbuh1hhjVubj)}(h h]h }(hj*WhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubj*)}(hj-h]h*}(hj8WhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjVubj5)}(hparenth]hparent}(hjEWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#Vubj)}(hstruct qstr *lasth](j )}(hjzh]hstruct}(hj^WhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZWubj)}(h h]h }(hjkWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZWubh)}(hhh]j5)}(hqstrh]hqstr}(hj|WhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~WmodnameN classnameNjj)}j]jeVc.vfs_path_parent_lookupasbuh1hhjZWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZWubj*)}(hj-h]h*}(hjWhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjZWubj5)}(hlasth]hlast}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZWubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#Vubj)}(h int *typeh](j)}(hinth]hint}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWubj*)}(hj-h]h*}(hjWhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjWubj5)}(htypeh]htype}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#Vubj)}(hconst struct path *rooth](j )}(hjUh]hconst}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Xubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Xubj )}(hjzh]hstruct}(hj+XhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Xubj)}(h h]h }(hj8XhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Xubh)}(hhh]j5)}(hpathh]hpath}(hjIXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFXubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKXmodnameN classnameNjj)}j]jeVc.vfs_path_parent_lookupasbuh1hhj Xubj)}(h h]h }(hjgXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Xubj*)}(hj-h]h*}(hjuXhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj Xubj5)}(hrooth]hroot}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Xubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#Vubeh}(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)}(h7lookup a parent path relative to a dentry-vfsmount pairh]h7lookup a parent path relative to a dentry-vfsmount pair}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjXhhubah}(h]h ]h"]h$]h&]uh1jbhjUhhhjUhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXjjXjjjuh1hhhhjIEhNhNubj)}(hXC**Parameters** ``struct filename *filename`` filename structure ``unsigned int flags`` lookup flags ``struct path *parent`` pointer to struct path to fill ``struct qstr *last`` last component ``int *type`` type of the last component ``const struct path *root`` pointer to struct path of the base directoryh](h)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjXubj)}(hhh](j)}(h1``struct filename *filename`` filename structure h](j)}(h``struct filename *filename``h]j)}(hjXh]hstruct filename *filename}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjXubj)}(hhh]h)}(hfilename structureh]hfilename structure}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhM hjYubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjYhM hjXubj)}(h$``unsigned int flags`` lookup flags h](j)}(h``unsigned int flags``h]j)}(hj&Yh]hunsigned int flags}(hj(YhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Yubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj Yubj)}(hhh]h)}(h lookup flagsh]h lookup flags}(hj?YhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;YhM hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-\ubh)}(hhh]j5)}(hpathh]hpath}(hjO\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjL\ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjQ\modnameN classnameNjj)}j]jZc.vfs_path_lookupasbuh1hhj-\ubj)}(h h]h }(hjm\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-\ubj*)}(hj-h]h*}(hj{\hhhNhNubah}(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&]noemphjLjMuh1jhjZubeh}(h]h ]h"]h$]h&]jLjMuh1jhj`ZhhhjrZhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj\ZhhhjrZhM ubah}(h]jWZah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjrZhM hjYZhhubjc)}(hhh]h)}(h5lookup a file path relative to a dentry-vfsmount pairh]h5lookup a file path relative to a dentry-vfsmount pair}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj\hhubah}(h]h ]h"]h$]h&]uh1jbhjYZhhhjrZhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj\jj\jjjuh1hhhhjIEhNhNubj)}(hX&**Parameters** ``struct dentry *dentry`` pointer to dentry of the base directory ``struct vfsmount *mnt`` pointer to vfs mount of the base directory ``const char *name`` pointer to file name ``unsigned int flags`` lookup flags ``struct path *path`` pointer to struct path to fillh](h)}(h**Parameters**h]j)}(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)}(hB``struct dentry *dentry`` pointer to dentry of the base 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.chM hj\ubj)}(hhh]h)}(h'pointer to dentry of the base directoryh]h'pointer to dentry of the base directory}(hj ]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hM hj ]ubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhj]hM hj\ubj)}(hD``struct vfsmount *mnt`` pointer to vfs mount of the base directory h](j)}(h``struct vfsmount *mnt``h]j)}(hj,]h]hstruct vfsmount *mnt}(hj.]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*]ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj&]ubj)}(hhh]h)}(h*pointer to vfs mount of the base directoryh]h*pointer to vfs mount of the base directory}(hjE]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjA]hM hjB]ubah}(h]h ]h"]h$]h&]uh1jhj&]ubeh}(h]h ]h"]h$]h&]uh1jhjA]hM hj\ubj)}(h*``const char *name`` pointer to file name h](j)}(h``const char *name``h]j)}(hje]h]hconst char *name}(hjg]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc]ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj_]ubj)}(hhh]h)}(hpointer to file nameh]hpointer to file name}(hj~]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjz]hM hj{]ubah}(h]h ]h"]h$]h&]uh1jhj_]ubeh}(h]h ]h"]h$]h&]uh1jhjz]hM hj\ubj)}(h$``unsigned int flags`` lookup flags h](j)}(h``unsigned int flags``h]j)}(hj]h]hunsigned int flags}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj]ubj)}(hhh]h)}(h lookup flagsh]h lookup flags}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hM hj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hM hj\ubj)}(h4``struct path *path`` pointer to struct path to fillh](j)}(h``struct path *path``h]j)}(hj]h]hstruct path *path}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj]ubj)}(hhh]h)}(hpointer to struct path to fillh]hpointer to struct path to fill}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hM hj\ubeh}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](htry_lookup_noperm (C function)c.try_lookup_nopermhNtauh1hhjIEhhhNhNubh)}(hhh](j)}(hJstruct dentry * try_lookup_noperm (struct qstr *name, struct dentry *base)h]j)}(hHstruct dentry *try_lookup_noperm(struct qstr *name, struct dentry *base)h](j )}(hjzh]hstruct}(hj1^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 }(hj?^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-^hhhj>^hM ubh)}(hhh]j5)}(hdentryh]hdentry}(hjP^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjM^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjR^modnameN classnameNjj)}j]j)}jtry_lookup_nopermsbc.try_lookup_nopermasbuh1hhj-^hhhj>^hM ubj)}(h h]h }(hjq^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-^hhhj>^hM ubj*)}(hj-h]h*}(hj^hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj-^hhhj>^hM ubj/)}(htry_lookup_nopermh]j5)}(hjn^h]htry_lookup_noperm}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj-^hhhj>^hM ubj)}(h((struct qstr *name, struct dentry *base)h](j)}(hstruct qstr *nameh](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}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj^modnameN classnameNjj)}j]jl^c.try_lookup_nopermasbuh1hhj^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)}(hstruct dentry *baseh](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}(hj9_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;_modnameN classnameNjj)}j]jl^c.try_lookup_nopermasbuh1hhj_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_ubj5)}(hbaseh]hbase}(hjr_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)}(h5filesystem helper to lookup single pathname componenth]h5filesystem helper to lookup single pathname component}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj_hhubah}(h]h ]h"]h$]h&]uh1jbhj&^hhhj>^hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj_jj_jjjuh1hhhhjIEhNhNubj)}(hX***Parameters** ``struct qstr *name`` qstr storing pathname component to lookup ``struct dentry *base`` base directory to lookup from **Description** Look up a dentry by name in the dcache, returning NULL if it does not currently exist. The function does not try to create a dentry and if one is found it doesn't try to revalidate it. Note that this routine is purely a helper for filesystem usage and should not be called by generic code. It does no permission checking. No locks need be held - only a counted reference to **base** is needed.h](h)}(h**Parameters**h]j)}(hj_h]h Parameters}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj_ubj)}(hhh](j)}(h@``struct qstr *name`` qstr storing pathname component to lookup 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)}(h)qstr storing pathname component to lookuph]h)qstr storing pathname component to lookup}(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)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hj`h]hstruct dentry *base}(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)}(hbase directory to lookup fromh]hbase directory to lookup 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)}(hjQ`h]h Description}(hjS`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjO`ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj_ubh)}(hLook up a dentry by name in the dcache, returning NULL if it does not currently exist. The function does not try to create a dentry and if one is found it doesn't try to revalidate it.h]hLook up a dentry by name in the dcache, returning NULL if it does not currently exist. The function does not try to create a dentry and if one is found it doesn’t try to revalidate it.}(hjg`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj_ubh)}(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.}(hjv`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj_ubh)}(hGNo locks need be held - only a counted reference to **base** is needed.h](h4No locks need be held - only a counted reference to }(hj`hhhNhNubj)}(h**base**h]hbase}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubh is needed.}(hj`hhhNhNubeh}(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&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlookup_noperm (C function)c.lookup_nopermhNtauh1hhjIEhhhNhNubh)}(hhh](j)}(hFstruct dentry * lookup_noperm (struct qstr *name, struct dentry *base)h]j)}(hDstruct dentry *lookup_noperm(struct qstr *name, struct dentry *base)h](j )}(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 }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`hhhj`hM 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)}j lookup_nopermsbc.lookup_nopermasbuh1hhj`hhhj`hM ubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`hhhj`hM ubj*)}(hj-h]h*}(hjahhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj`hhhj`hM ubj/)}(h lookup_nopermh]j5)}(hjah]h lookup_noperm}(hj%ahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!aubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj`hhhj`hM ubj)}(h((struct qstr *name, struct dentry *base)h](j)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hj@ahhhNhNubah}(h]h ]jah"]h$]h&]uh1j hji_rwsem.h](h)}(h**Parameters**h]j)}(hjSbh]h Parameters}(hjUbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQbubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM$ hjMbubj)}(hhh](j)}(h@``struct qstr *name`` qstr storing pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjrbh]hstruct qstr *name}(hjtbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpbubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM! hjlbubj)}(hhh]h)}(h)qstr storing pathname component to lookuph]h)qstr storing pathname component to lookup}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhM! hjbubah}(h]h ]h"]h$]h&]uh1jhjlbubeh}(h]h ]h"]h$]h&]uh1jhjbhM! hjibubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjbh]hstruct dentry *base}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM" hjbubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhM" hjbubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjbhM" hjibubeh}(h]h ]h"]h$]h&]uh1jhjMbubh)}(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:56: ./fs/namei.chM$ hjMbubh)}(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.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM# hjMbubh)}(h#The caller must hold base->i_rwsem.h]h#The caller must hold base->i_rwsem.}(hj chhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM& hjMbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hlookup_one (C function) c.lookup_onehNtauh1hhjIEhhhNhNubh)}(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}(hj:chhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6chhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM: ubj)}(h h]h }(hjHchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6chhhjGchM: ubh)}(hhh]j5)}(hdentryh]hdentry}(hjYchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[cmodnameN classnameNjj)}j]j)}j lookup_onesb c.lookup_oneasbuh1hhj6chhhjGchM: ubj)}(h h]h }(hjzchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6chhhjGchM: ubj*)}(hj-h]h*}(hjchhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj6chhhjGchM: ubj/)}(h lookup_oneh]j5)}(hjwch]h lookup_one}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj6chhhjGchM: ubj)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j)}(hstruct mnt_idmap *idmaph](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 mnt_idmaph]h mnt_idmap}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNjj)}j]juc c.lookup_oneasbuh1hhjcubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj*)}(hj-h]h*}(hjchhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj5)}(hidmaph]hidmap}(hj dhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjcubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hj$dhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj dubj)}(h h]h }(hj1dhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj dubh)}(hhh]j5)}(hqstrh]hqstr}(hjBdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?dubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjDdmodnameN classnameNjj)}j]juc c.lookup_oneasbuh1hhj dubj)}(h h]h }(hj`dhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj dubj*)}(hj-h]h*}(hjndhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj dubj5)}(hnameh]hname}(hj{dhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj dubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjcubj)}(hstruct dentry *baseh](j )}(hjzh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubh)}(hhh]j5)}(hdentryh]hdentry}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNjj)}j]juc c.lookup_oneasbuh1hhjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj*)}(hj-h]h*}(hjdhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjdubj5)}(hbaseh]hbase}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjcubeh}(h]h ]h"]h$]h&]jLjMuh1jhj6chhhjGchM: ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj2chhhjGchM: ubah}(h]j-cah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjGchM: hj/chhubjc)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM: hjehhubah}(h]h ]h"]h$]h&]uh1jbhj/chhhjGchM: ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-ejj-ejjjuh1hhhhjIEhNhNubj)}(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)}(hj7eh]h Parameters}(hj9ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5eubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM> hj1eubj)}(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)}(hjVeh]hstruct mnt_idmap *idmap}(hjXehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTeubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM; hjPeubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hjoehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkehM; hjleubah}(h]h ]h"]h$]h&]uh1jhjPeubeh}(h]h ]h"]h$]h&]uh1jhjkehM; hjMeubj)}(h@``struct qstr *name`` qstr holding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjeh]hstruct qstr *name}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM< hjeubj)}(hhh]h)}(h)qstr holding pathname component to lookuph]h)qstr holding pathname component to lookup}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehM< hjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehM< hjMeubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjeh]hstruct dentry *base}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM= hjeubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehM= hjeubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjehM= hjMeubeh}(h]h ]h"]h$]h&]uh1jhj1eubh)}(h**Description**h]j)}(hjfh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM? hj1eubh)}(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.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM> hj1eubh)}(h#The caller must hold base->i_rwsem.h]h#The caller must hold base->i_rwsem.}(hj(fhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM@ hj1eubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h lookup_one_unlocked (C function)c.lookup_one_unlockedhNtauh1hhjIEhhhNhNubh)}(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}(hjWfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjSfhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMU ubj)}(h h]h }(hjefhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSfhhhjdfhMU ubh)}(hhh]j5)}(hdentryh]hdentry}(hjvfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxfmodnameN classnameNjj)}j]j)}jlookup_one_unlockedsbc.lookup_one_unlockedasbuh1hhjSfhhhjdfhMU ubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSfhhhjdfhMU ubj*)}(hj-h]h*}(hjfhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjSfhhhjdfhMU ubj/)}(hlookup_one_unlockedh]j5)}(hjfh]hlookup_one_unlocked}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjSfhhhjdfhMU ubj)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j]jfc.lookup_one_unlockedasbuh1hhjfubj)}(h h]h }(hj ghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubj*)}(hj-h]h*}(hjghhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjfubj5)}(hidmaph]hidmap}(hj(ghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjfubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hjAghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=gubj)}(h h]h }(hjNghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=gubh)}(hhh]j5)}(hqstrh]hqstr}(hj_ghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\gubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjagmodnameN classnameNjj)}j]jfc.lookup_one_unlockedasbuh1hhj=gubj)}(h h]h }(hj}ghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=gubj*)}(hj-h]h*}(hjghhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj=gubj5)}(hnameh]hname}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=gubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjfubj)}(hstruct dentry *baseh](j )}(hjzh]hstruct}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubh)}(hhh]j5)}(hdentryh]hdentry}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNjj)}j]jfc.lookup_one_unlockedasbuh1hhjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubj*)}(hj-h]h*}(hjghhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjgubj5)}(hbaseh]hbase}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjfubeh}(h]h ]h"]h$]h&]jLjMuh1jhjSfhhhjdfhMU ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjOfhhhjdfhMU ubah}(h]jJfah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjdfhMU hjLfhhubjc)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hj2hhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMU hj/hhhubah}(h]h ]h"]h$]h&]uh1jbhjLfhhhjdfhMU ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJhjjJhjjjuh1hhhhjIEhNhNubj)}(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)}(hjThh]h Parameters}(hjVhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRhubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMY hjNhubj)}(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)}(hjshh]hstruct mnt_idmap *idmap}(hjuhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqhubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMV hjmhubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMV hjhubah}(h]h ]h"]h$]h&]uh1jhjmhubeh}(h]h ]h"]h$]h&]uh1jhjhhMV hjjhubj)}(h?``struct qstr *name`` qstr olding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjhh]hstruct qstr *name}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMW hjhubj)}(hhh]h)}(h(qstr olding pathname component to lookuph]h(qstr olding pathname component to lookup}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMW hjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhMW hjjhubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjhh]hstruct dentry *base}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMX hjhubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMX hjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhMX hjjhubeh}(h]h ]h"]h$]h&]uh1jhjNhubh)}(h**Description**h]j)}(hj ih]h Description}(hj"ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMZ hjNhubh)}(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.}(hj6ihhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMY hjNhubh)}(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.}(hjEihhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM[ hjNhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)lookup_one_positive_killable (C function)c.lookup_one_positive_killablehNtauh1hhjIEhhhNhNubh)}(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}(hjtihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjpihhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMq ubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpihhhjihMq ubh)}(hhh]j5)}(hdentryh]hdentry}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNjj)}j]j)}jlookup_one_positive_killablesbc.lookup_one_positive_killableasbuh1hhjpihhhjihMq ubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjpihhhjihMq ubj*)}(hj-h]h*}(hjihhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjpihhhjihMq ubj/)}(hlookup_one_positive_killableh]j5)}(hjih]hlookup_one_positive_killable}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjpihhhjihMq ubj)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj jhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj jubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNjj)}j]jic.lookup_one_positive_killableasbuh1hhjiubj)}(h h]h }(hj*jhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj*)}(hj-h]h*}(hj8jhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjiubj5)}(hidmaph]hidmap}(hjEjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hj^jhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjZjubj)}(h h]h }(hjkjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZjubh)}(hhh]j5)}(hqstrh]hqstr}(hj|jhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj~jmodnameN classnameNjj)}j]jic.lookup_one_positive_killableasbuh1hhjZjubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZjubj*)}(hj-h]h*}(hjjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjZjubj5)}(hnameh]hname}(hjjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(hstruct dentry *baseh](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]jic.lookup_one_positive_killableasbuh1hhjjubj)}(h h]h }(hj khhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubj*)}(hj-h]h*}(hjkhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjjubj5)}(hbaseh]hbase}(hj%khhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubeh}(h]h ]h"]h$]h&]jLjMuh1jhjpihhhjihMq ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjlihhhjihMq ubah}(h]jgiah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjihMq hjiihhubjc)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hjOkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMq hjLkhhubah}(h]h ]h"]h$]h&]uh1jbhjiihhhjihMq ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjgkjjgkjjjuh1hhhhjIEhNhNubj)}(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)}(hjqkh]h Parameters}(hjskhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjokubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMu hjkkubj)}(hhh](j)}(hL``struct mnt_idmap *idmap`` idmap of the mount the lookup is performed from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjkh]hstruct mnt_idmap *idmap}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMr hjkubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMr hjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMr hjkubj)}(h?``struct qstr *name`` qstr olding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjkh]hstruct qstr *name}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMs hjkubj)}(hhh]h)}(h(qstr olding pathname component to lookuph]h(qstr olding pathname component to lookup}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMs hjkubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjkhMs hjkubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjlh]hstruct dentry *base}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMt hjkubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMt hjlubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjlhMt hjkubeh}(h]h ]h"]h$]h&]uh1jhjkkubh)}(h**Description**h]j)}(hj=lh]h Description}(hj?lhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;lubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMv hjkkubh)}(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.}(hjSlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMu hjkkubh)}(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.}(hjblhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMx hjkkubh)}(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.}(hjqlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM| hjkkubh)}(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 }(hjlhhhNhNubj)}(h ``-EINTR``h]h-EINTR}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh if the lock is needed.}(hjlhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM~ hjkkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h)lookup_one_positive_unlocked (C function)c.lookup_one_positive_unlockedhNtauh1hhjIEhhhNhNubh)}(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}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlhhhjlhM ubh)}(hhh]j5)}(hdentryh]hdentry}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjlmodnameN classnameNjj)}j]j)}jlookup_one_positive_unlockedsbc.lookup_one_positive_unlockedasbuh1hhjlhhhjlhM ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlhhhjlhM ubj*)}(hj-h]h*}(hjmhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjlhhhjlhM ubj/)}(hlookup_one_positive_unlockedh]j5)}(hjlh]hlookup_one_positive_unlocked}(hj mhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjlhhhjlhM ubj)}(hA(struct mnt_idmap *idmap, struct qstr *name, struct dentry *base)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hj;mhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7mubj)}(h h]h }(hjHmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7mubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjYmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[mmodnameN classnameNjj)}j]jlc.lookup_one_positive_unlockedasbuh1hhj7mubj)}(h h]h }(hjwmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7mubj*)}(hj-h]h*}(hjmhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7mubj5)}(hidmaph]hidmap}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7mubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj3mubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubh)}(hhh]j5)}(hqstrh]hqstr}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmmodnameN classnameNjj)}j]jlc.lookup_one_positive_unlockedasbuh1hhjmubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubj*)}(hj-h]h*}(hjmhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjmubj5)}(hnameh]hname}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj3mubj)}(hstruct dentry *baseh](j )}(hjzh]hstruct}(hjnhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(h h]h }(hj(nhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubh)}(hhh]j5)}(hdentryh]hdentry}(hj9nhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6nubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;nmodnameN classnameNjj)}j]jlc.lookup_one_positive_unlockedasbuh1hhjnubj)}(h h]h }(hjWnhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj*)}(hj-h]h*}(hjenhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjnubj5)}(hbaseh]hbase}(hjrnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj3mubeh}(h]h ]h"]h$]h&]jLjMuh1jhjlhhhjlhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjlhhhjlhM ubah}(h]jlah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjlhM hjlhhubjc)}(hhh]h)}(h lookup single pathname componenth]h lookup single pathname component}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjnhhubah}(h]h ]h"]h$]h&]uh1jbhjlhhhjlhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjnjjnjjjuh1hhhhjIEhNhNubj)}(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)}(hjnh]h Parameters}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjnubj)}(hhh](j)}(hL``struct mnt_idmap *idmap`` idmap of the mount the lookup is performed from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjnh]hstruct mnt_idmap *idmap}(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 hjnubj)}(hhh]h)}(h/idmap of the mount the lookup is performed fromh]h/idmap of the mount the lookup is performed from}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhM hjnubah}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]uh1jhjnhM hjnubj)}(h@``struct qstr *name`` qstr holding pathname component to lookup h](j)}(h``struct qstr *name``h]j)}(hjoh]hstruct qstr *name}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjoubj)}(hhh]h)}(h)qstr holding pathname component to lookuph]h)qstr holding pathname component to lookup}(hj/ohhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+ohM hj,oubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhj+ohM hjnubj)}(h6``struct dentry *base`` base directory to lookup from h](j)}(h``struct dentry *base``h]j)}(hjOoh]hstruct dentry *base}(hjQohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMoubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjIoubj)}(hhh]h)}(hbase directory to lookup fromh]hbase directory to lookup from}(hjhohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdohM hjeoubah}(h]h ]h"]h$]h&]uh1jhjIoubeh}(h]h ]h"]h$]h&]uh1jhjdohM hjnubeh}(h]h ]h"]h$]h&]uh1jhjnubh)}(h**Description**h]j)}(hjoh]h Description}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjnubh)}(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.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjnubh)}(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.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjnubh)}(hGThis can be used for in-kernel filesystem clients such as file servers.h]hGThis can be used for in-kernel filesystem clients such as file servers.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjnubh)}(h1The helper should be called without i_rwsem held.h]h1The helper should be called without i_rwsem held.}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjnubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#lookup_noperm_unlocked (C function)c.lookup_noperm_unlockedhNtauh1hhjIEhhhNhNubh)}(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}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hj phhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjohhhj phM ubh)}(hhh]j5)}(hdentryh]hdentry}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN classnameNjj)}j]j)}jlookup_noperm_unlockedsbc.lookup_noperm_unlockedasbuh1hhjohhhj phM ubj)}(h h]h }(hj``struct dentry *parent`` directory in which to find the name h](j)}(h``struct dentry *parent``h]j)}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:xubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj6xubj)}(hhh]h)}(h#directory in which to find the nameh]h#directory in which to find the name}(hjUxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQxhM hjRxubah}(h]h ]h"]h$]h&]uh1jhj6xubeh}(h]h ]h"]h$]h&]uh1jhjQxhM hjwubj)}(h-``struct qstr *name`` the name to be removed h](j)}(h``struct qstr *name``h]j)}(hjuxh]hstruct qstr *name}(hjwxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsxubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjoxubj)}(hhh]h)}(hthe name to be removedh]hthe name to be removed}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhM hjxubah}(h]h ]h"]h$]h&]uh1jhjoxubeh}(h]h ]h"]h$]h&]uh1jhjxhM hjwubeh}(h]h ]h"]h$]h&]uh1jhjwubh)}(h**Description**h]j)}(hjxh]h Description}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjwubh)}(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 }(hjxhhhNhNubj)}(h **idmap**h]hidmap}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh.}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjwubh)}(h0If the name doesn't exist, an error is returned.h]h2If the name doesn’t exist, an error is returned.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjwubh)}(hEend_removing() should be called when removal is complete, or aborted.h]hEend_removing() should be called when removal is complete, or aborted.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjwubh)}(h **Return**h]j)}(hjyh]hReturn}(hj yhhhNhNubah}(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 hjwubh)}(ha positive dentry, or an error.h]ha positive dentry, or an error.}(hjyhhhNhNubah}(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&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$start_creating_killable (C function)c.start_creating_killablehNtauh1hhjIEhhhNhNubh)}(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}(hjLyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjHyhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM# ubj)}(h h]h }(hjZyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHyhhhjYyhM# ubh)}(hhh]j5)}(hdentryh]hdentry}(hjkyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmymodnameN classnameNjj)}j]j)}jstart_creating_killablesbc.start_creating_killableasbuh1hhjHyhhhjYyhM# ubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHyhhhjYyhM# ubj*)}(hj-h]h*}(hjyhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjHyhhhjYyhM# ubj/)}(hstart_creating_killableh]j5)}(hjyh]hstart_creating_killable}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjHyhhhjYyhM# ubj)}(hC(struct mnt_idmap *idmap, struct dentry *parent, struct qstr *name)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj)}j]jyc.start_creating_killableasbuh1hhjyubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj*)}(hj-h]h*}(hjzhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjyubj5)}(hidmaph]hidmap}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjyubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hj6zhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2zubj)}(h h]h }(hjCzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2zubh)}(hhh]j5)}(hdentryh]hdentry}(hjTzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVzmodnameN classnameNjj)}j]jyc.start_creating_killableasbuh1hhj2zubj)}(h h]h }(hjrzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2zubj*)}(hj-h]h*}(hjzhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj2zubj5)}(hparenth]hparent}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2zubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjyubj)}(hstruct qstr *nameh](j )}(hjzh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubh)}(hhh]j5)}(hqstrh]hqstr}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzmodnameN classnameNjj)}j]jyc.start_creating_killableasbuh1hhjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubj*)}(hj-h]h*}(hjzhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjzubj5)}(hnameh]hname}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjyubeh}(h]h ]h"]h$]h&]jLjMuh1jhjHyhhhjYyhM# ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjDyhhhjYyhM# ubah}(h]j?yah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjYyhM# hjAyhhubjc)}(hhh]h)}(h7prepare to create a given name with permission checkingh]h7prepare to create a given name with permission checking}(hj'{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM# hj${hhubah}(h]h ]h"]h$]h&]uh1jbhjAyhhhjYyhM# ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?{jj?{jjjuh1hhhhjIEhNhNubj)}(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)}(hjI{h]h Parameters}(hjK{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG{ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM' hjC{ubj)}(hhh](j)}(h/``struct mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh{h]hstruct mnt_idmap *idmap}(hjj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf{ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM$ hjb{ubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}{hM$ hj~{ubah}(h]h ]h"]h$]h&]uh1jhjb{ubeh}(h]h ]h"]h$]h&]uh1jhj}{hM$ hj_{ubj)}(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.chM% hj{ubj)}(hhh]h)}(h0directory in which to prepare to create the nameh]h0directory in which to prepare to create the name}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hM% hj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hM% hj_{ubj)}(h-``struct qstr *name`` the name to be created h](j)}(h``struct qstr *name``h]j)}(hj{h]hstruct qstr *name}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM& hj{ubj)}(hhh]h)}(hthe name to be createdh]hthe name to be created}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hM& hj{ubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1jhj{hM& hj_{ubeh}(h]h ]h"]h$]h&]uh1jhjC{ubh)}(h**Description**h]j)}(hj|h]h Description}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM( hjC{ubh)}(hLocks are taken and a lookup in performed prior to creating an object in a directory. Permission checking (MAY_EXEC) is performed against **idmap**.h](hLocks are taken and a lookup in performed prior to creating an object in a directory. Permission checking (MAY_EXEC) is performed against }(hj+|hhhNhNubj)}(h **idmap**h]hidmap}(hj3|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+|ubh.}(hj+|hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM' hjC{ubh)}(h:If the name already exists, a positive dentry is returned.h]h:If the name already exists, a positive dentry is returned.}(hjL|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM+ hjC{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;}(hj[|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM- hjC{ubh)}(h **Return**h]j)}(hjl|h]hReturn}(hjn|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj|ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM0 hjC{ubh)}(h+a negative or positive dentry, or an error.h]h+a negative or positive dentry, or an error.}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM1 hjC{ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$start_removing_killable (C function)c.start_removing_killablehNtauh1hhjIEhhhNhNubh)}(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.chM@ ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|hhhj|hM@ 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_removing_killablesbc.start_removing_killableasbuh1hhj|hhhj|hM@ ubj)}(h h]h }(hj|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|hhhj|hM@ ubj*)}(hj-h]h*}(hj|hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj|hhhj|hM@ ubj/)}(hstart_removing_killableh]j5)}(hj|h]hstart_removing_killable}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj }ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj|hhhj|hM@ 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 }(hj8}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'}ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjI}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjF}ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjK}modnameN classnameNjj)}j]j|c.start_removing_killableasbuh1hhj'}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)}(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]j|c.start_removing_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)}(hparenth]hparent}(hj}hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}ubeh}(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 }(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.start_removing_killableasbuh1hhj~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)}(hnameh]hname}(hjb~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)}(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.chM@ hj~hhubah}(h]h ]h"]h$]h&]uh1jbhj|hhhj|hM@ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj~jj~jjjuh1hhhhjIEhNhNubj)}(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.chMD hj~ubj)}(hhh](j)}(h/``struct mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj~h]hstruct mnt_idmap *idmap}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMA hj~ubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj~hMA hj~ubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj~hMA hj~ubj)}(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.chMB 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&]uh1hhjhMB hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMB hj~ubj)}(h-``struct qstr *name`` the name to be removed h](j)}(h``struct qstr *name``h]j)}(hj?h]hstruct qstr *name}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMC hj9ubj)}(hhh]h)}(hthe name to be removedh]hthe name to be removed}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMC hjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMC hj~ubeh}(h]h ]h"]h$]h&]uh1jhj~ubh)}(h**Description**h]j)}(hjzh]h Description}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chME 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}(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.chMD hj~ubh)}(h0If the name doesn't exist, an error is returned.h]h2If the name doesn’t exist, an error is returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMH 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.chMJ 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.chML 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.chMO hj~ubh)}(ha positive dentry, or an error.h]ha positive dentry, or an error.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMP hj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"start_creating_noperm (C function)c.start_creating_nopermhNtauh1hhjIEhhhNhNubh)}(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}(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 }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!hhhj2hM_ ubh)}(hhh]j5)}(hdentryh]hdentry}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjFmodnameN classnameNjj)}j]j)}jstart_creating_nopermsbc.start_creating_nopermasbuh1hhj!hhhj2hM_ ubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj!hhhj2hM_ ubj*)}(hj-h]h*}(hjshhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj!hhhj2hM_ ubj/)}(hstart_creating_nopermh]j5)}(hjbh]hstart_creating_noperm}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj!hhhj2hM_ ubj)}(h*(struct dentry *parent, struct qstr *name)h](j)}(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.start_creating_nopermasbuh1hhjubj)}(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&]noemphjLjMuh1jhjubj)}(hstruct qstr *nameh](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)}(hqstrh]hqstr}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNjj)}j]j`c.start_creating_nopermasbuh1hhj 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}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj!hhhj2hM_ ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj2hM_ ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj2hM_ hjhhubjc)}(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&]uh1jbhjhhhj2hM_ ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(hXi**Parameters** ``struct dentry *parent`` directory in which to prepare to create the name ``struct qstr *name`` the name to be created **Description** Locks are taken and a lookup in performed prior to creating an object in a directory. If the name already exists, a positive dentry is returned. **Return** a negative or positive dentry, or an error.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMc hjubj)}(hhh](j)}(hK``struct dentry *parent`` directory in which to prepare to create the name h](j)}(h``struct dentry *parent``h]j)}(hjсh]hstruct dentry *parent}(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)}(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&]uh1jhjˁubeh}(h]h ]h"]h$]h&]uh1jhjhM` hjȁubj)}(h-``struct qstr *name`` the name to be created h](j)}(h``struct qstr *name``h]j)}(hj h]hstruct qstr *name}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMa hjubj)}(hhh]h)}(hthe name to be createdh]hthe name to be created}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMa hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMa hjȁubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjEh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMc hjubh)}(hULocks are taken and a lookup in performed prior to creating an object in a directory.h]hULocks are taken and a lookup in performed prior to creating an object in a directory.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMb hjubh)}(h:If the name already exists, a positive dentry is returned.h]h:If the name already exists, a positive dentry is returned.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMe hjubh)}(h **Return**h]j)}(hj{h]hReturn}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMg hjubh)}(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.chMh hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"start_removing_noperm (C function)c.start_removing_nopermhNtauh1hhjIEhhhNhNubh)}(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.chMv ubj)}(h h]h }(hj΂hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj͂hMv ubh)}(hhh]j5)}(hdentryh]hdentry}(hj߂hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj܂ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jstart_removing_nopermsbc.start_removing_nopermasbuh1hhjhhhj͂hMv ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj͂hMv ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhj͂hMv ubj/)}(hstart_removing_nopermh]j5)}(hjh]hstart_removing_noperm}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj͂hMv ubj)}(h*(struct dentry *parent, struct qstr *name)h](j)}(hstruct dentry *parenth](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]jc.start_removing_nopermasbuh1hhj6ubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj6ubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj2ubj)}(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}(hjȃhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjŃubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjʃmodnameN classnameNjj)}j]jc.start_removing_nopermasbuh1hhjubj)}(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&]noemphjLjMuh1jhj2ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj͂hMv ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj͂hMv ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj͂hMv hjhhubjc)}(hhh]h)}(h:prepare to remove a given name without permission checkingh]h:prepare to remove a given name without permission checking}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMv hj(hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj͂hMv ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjCjjCjjjuh1hhhhjIEhNhNubj)}(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)}(hjMh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMz hjGubj)}(hhh](j)}(h>``struct dentry *parent`` directory in which to find the name h](j)}(h``struct dentry *parent``h]j)}(hjlh]hstruct dentry *parent}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMw hjfubj)}(hhh]h)}(h#directory in which to find the nameh]h#directory in which to find the name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMw hjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMw hjcubj)}(h-``struct qstr *name`` the name to be removed h](j)}(h``struct qstr *name``h]j)}(hjh]hstruct qstr *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMx hjubj)}(hhh]h)}(hthe name to be removedh]hthe name to be removed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMx hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMx hjcubeh}(h]h ]h"]h$]h&]uh1jhjGubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjބubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMz hjGubh)}(hWLocks are taken and a lookup in performed prior to removing an object from a directory.h]hWLocks are taken and a lookup in performed prior to removing an object from a directory.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMy hjGubh)}(h0If the name doesn't exist, an error is returned.h]h2If the name doesn’t exist, an error is returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM| hjGubh)}(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~ hjGubh)}(h **Return**h]j)}(hj%h]hReturn}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjGubh)}(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 hjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"start_creating_dentry (C function)c.start_creating_dentryhNtauh1hhjIEhhhNhNubh)}(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}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfhhhjwhM 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_dentryasbuh1hhjfhhhjwhM ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfhhhjwhM ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjfhhhjwhM ubj/)}(hstart_creating_dentryh]j5)}(hjh]hstart_creating_dentry}(hjɅhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjŅubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjfhhhjwhM 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 }(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.start_creating_dentryasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj.hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj܅ubj)}(hstruct dentry *childh](j )}(hjzh]hstruct}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjPubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubh)}(hhh]j5)}(hdentryh]hdentry}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj)}j]jc.start_creating_dentryasbuh1hhjPubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjPubj5)}(hchildh]hchild}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj܅ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjfhhhjwhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjbhhhjwhM ubah}(h]j]ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjwhM hj_hhubjc)}(hhh]h)}(h prepare to create a given dentryh]h prepare to create a given dentry}(hjՆhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj҆hhubah}(h]h ]h"]h$]h&]uh1jbhj_hhhjwhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(hX**Parameters** ``struct dentry *parent`` directory from which dentry should be removed ``struct dentry *child`` the dentry to be removed **Description** A lock is taken to protect the dentry again other dirops and the validity of the dentry is checked: correct parent and still hashed. If the dentry is valid and negative a reference is taken and returned. If not an error is returned. end_creating() should be called when creation is complete, or aborted. **Return** the valid dentry, or an error.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh](j)}(hH``struct dentry *parent`` directory from which dentry should be removed h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh]h)}(h-directory from which dentry should be removedh]h-directory from which dentry should be removed}(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)}(h2``struct dentry *child`` the dentry to be removed h](j)}(h``struct dentry *child``h]j)}(hjOh]hstruct dentry *child}(hjQhhhNhNubah}(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 hjIubj)}(hhh]h)}(hthe dentry to be removedh]hthe dentry to be removed}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhM hjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhM hj ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(hA lock is taken to protect the dentry again other dirops and the validity of the dentry is checked: correct parent and still hashed.h]hA lock is taken to protect the dentry again other dirops and the validity of the dentry is checked: correct parent and still hashed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM 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.}(hjhhhNhNubah}(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)}(hjχh]hReturn}(hjчhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj͇ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(hthe valid dentry, or an error.h]hthe valid dentry, or an error.}(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&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"start_removing_dentry (C function)c.start_removing_dentryhNtauh1hhjIEhhhNhNubh)}(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}(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 }(hj"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj!hM ubh)}(hhh]j5)}(hdentryh]hdentry}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNjj)}j]j)}jstart_removing_dentrysbc.start_removing_dentryasbuh1hhjhhhj!hM ubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj!hM ubj*)}(hj-h]h*}(hjbhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhj!hM ubj/)}(hstart_removing_dentryh]j5)}(hjQh]hstart_removing_dentry}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj!hM 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 }(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]jOc.start_removing_dentryasbuh1hhjubj)}(h h]h }(hjʈhhhNhNubah}(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&]noemphjLjMuh1jhjubj)}(hstruct dentry *childh](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]jOc.start_removing_dentryasbuh1hhjubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjHhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hchildh]hchild}(hjUhhhNhNubah}(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&]jLjMjTuh1jjUjVhj hhhj!hM ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj!hM hj hhubjc)}(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 hj|hhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj!hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(hX**Parameters** ``struct dentry *parent`` directory from which dentry should be removed ``struct dentry *child`` the dentry to be removed **Description** A lock is taken to protect the dentry again other dirops and the validity of the dentry is checked: correct parent and still hashed. If the dentry is valid and positive, a reference is taken and returned. If not an error is returned. end_removing() should be called when removal is complete, or aborted. **Return** the valid dentry, or an error.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh](j)}(hH``struct dentry *parent`` directory from which dentry should be removed h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hj‰hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh]h)}(h-directory from which dentry should be removedh]h-directory from which dentry should be removed}(hjىhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjՉhM hj։ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjՉhM hjubj)}(h2``struct dentry *child`` the dentry to be removed h](j)}(h``struct dentry *child``h]j)}(hjh]hstruct dentry *child}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(hhh]h)}(hthe dentry to be removedh]hthe dentry to be removed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj4h]h Description}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(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.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(heIf the dentry is valid and positive, a reference is taken and returned. If not an error is returned.h]heIf the dentry is valid and positive, a reference is taken and returned. If not an error is returned.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(hEend_removing() should be called when removal is complete, or aborted.h]hEend_removing() should be called when removal is complete, or aborted.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubh)}(h **Return**h]j)}(hjyh]hReturn}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM 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&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hstart_renaming (C function)c.start_renaminghNtauh1hhjIEhhhNhNubh)}(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.chMubj)}(h h]h }(hj͊hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj̊hMubj/)}(hstart_renamingh]j5)}(hstart_renamingh]hstart_renaming}(hjߊhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjۊubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj̊hMubj)}(hW(struct renamedata *rd, int lookup_flags, struct qstr *old_last, struct qstr *new_last)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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.start_renamingasbuh1hhjubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjGhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hrdh]hrd}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hint lookup_flagsh](j)}(hinth]hint}(hjmhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjiubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj5)}(h lookup_flagsh]h lookup_flags}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct qstr *old_lasth](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 reftargetj‹modnameN classnameNjj)}j]j5c.start_renamingasbuh1hhjubj)}(h h]h }(hjދhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hold_lasth]hold_last}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct qstr *new_lasth](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}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j]j5c.start_renamingasbuh1hhjubj)}(h h]h }(hjNhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj\hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnew_lasth]hnew_last}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(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)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj̊hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(hX**Parameters** ``struct renamedata *rd`` rename data containing parents and flags, and for receiving found dentries ``int lookup_flags`` extra flags to pass to ->lookup (e.g. LOOKUP_REVAL, LOOKUP_NO_SYMLINKS etc). ``struct qstr *old_last`` name of object in **rd.old_parent** ``struct qstr *new_last`` name of object in **rd.new_parent** **Description** Look up two names and ensure locks are in place for rename. On success the found dentries are stored in **rd.old_dentry**, **rd.new_dentry**. Also the refcount on **rd->old_parent** is increased. These references and the lock are dropped by end_renaming(). The passed in qstrs need not have the hash calculated, and basic eXecute permission checking is performed against **rd.mnt_idmap**. **Return** zero or an error.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh](j)}(he``struct renamedata *rd`` rename data containing parents and flags, and for receiving found dentries h](j)}(h``struct renamedata *rd``h]j)}(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.chMhjΌubj)}(hhh]h)}(hJrename data containing parents and flags, and for receiving found dentriesh]hJrename data containing parents and flags, and for receiving found dentries}(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&]uh1jhjΌubeh}(h]h ]h"]h$]h&]uh1jhjhMhjˌubj)}(hb``int lookup_flags`` extra flags to pass to ->lookup (e.g. LOOKUP_REVAL, LOOKUP_NO_SYMLINKS etc). h](j)}(h``int lookup_flags``h]j)}(hjh]hint lookup_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hLextra flags to pass to ->lookup (e.g. LOOKUP_REVAL, LOOKUP_NO_SYMLINKS etc).h]hLextra flags to pass to ->lookup (e.g. LOOKUP_REVAL, LOOKUP_NO_SYMLINKS etc).}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjˌubj)}(h>``struct qstr *old_last`` name of object in **rd.old_parent** h](j)}(h``struct qstr *old_last``h]j)}(hjHh]hstruct qstr *old_last}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjBubj)}(hhh]h)}(h#name of object in **rd.old_parent**h](hname of object in }(hjahhhNhNubj)}(h**rd.old_parent**h]h rd.old_parent}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1hhj]hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhjˌubj)}(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.chMhjubj)}(hhh]h)}(h#name of object in **rd.new_parent**h](hname of object in }(hjhhhNhNubj)}(h**rd.new_parent**h]h rd.new_parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]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&]uh1jhj֍ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(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.chMhjubh)}(hOn success the found dentries are stored in **rd.old_dentry**, **rd.new_dentry**. Also the refcount on **rd->old_parent** is increased. These references and the lock are dropped by end_renaming().h](h,On success the found dentries are stored in }(hjhhhNhNubj)}(h**rd.old_dentry**h]h rd.old_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h**rd.new_dentry**h]h rd.new_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. Also the refcount on }(hjhhhNhNubj)}(h**rd->old_parent**h]hrd->old_parent}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhK is increased. These references and the lock are dropped by end_renaming().}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(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 }(hjBhhhNhNubj)}(h**rd.mnt_idmap**h]h rd.mnt_idmap}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(h **Return**h]j)}(hjeh]hReturn}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(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.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"start_renaming_dentry (C function)c.start_renaming_dentryhNtauh1hhjIEhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMlubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMlubj/)}(hstart_renaming_dentryh]j5)}(hstart_renaming_dentryh]hstart_renaming_dentry}(hjˎhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjǎubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMlubj)}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h renamedatah]h renamedata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj͎sbc.start_renaming_dentryasbuh1hhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj3hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hrdh]hrd}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjߎubj)}(hint lookup_flagsh](j)}(hinth]hint}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjUubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubj5)}(h lookup_flagsh]h lookup_flags}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubeh}(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]j!c.start_renaming_dentryasbuh1hhjubj)}(h h]h }(hjʏhhhNhNubah}(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&]noemphjLjMuh1jhjߎubj)}(hstruct qstr *new_lasth](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)}(hqstrh]hqstr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j!c.start_renaming_dentryasbuh1hhjubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjHhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnew_lasth]hnew_last}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(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)}(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.chMlhj|hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMlubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(hX**Parameters** ``struct renamedata *rd`` rename data containing parents and flags, and for receiving found dentries ``int lookup_flags`` extra flags to pass to ->lookup (e.g. LOOKUP_REVAL, LOOKUP_NO_SYMLINKS etc). ``struct dentry *old_dentry`` dentry of name to move ``struct qstr *new_last`` name of target in **rd.new_parent** **Description** Look up target name and ensure locks are in place for rename. On success the found dentry is stored in **rd.new_dentry** and **rd.old_parent** is confirmed to be the parent of **old_dentry**. If it was originally ``NULL``, it is set. In either case a reference is taken so that end_renaming() can have a stable reference to unlock. References and the lock can be dropped with end_renaming() The passed in qstr need not have the hash calculated, and basic eXecute permission checking is performed against **rd.mnt_idmap**. **Return** zero or an error.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMphjubj)}(hhh](j)}(he``struct renamedata *rd`` rename data containing parents and flags, and for receiving found dentries h](j)}(h``struct renamedata *rd``h]j)}(hjh]hstruct renamedata *rd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMnhjubj)}(hhh]h)}(hJrename data containing parents and flags, and for receiving found dentriesh]hJrename data containing parents and flags, and for receiving found dentries}(hjِhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMmhj֐ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjՐhMnhjubj)}(hb``int lookup_flags`` extra flags to pass to ->lookup (e.g. LOOKUP_REVAL, LOOKUP_NO_SYMLINKS etc). h](j)}(h``int lookup_flags``h]j)}(hjh]hint lookup_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMphjubj)}(hhh]h)}(hLextra flags to pass to ->lookup (e.g. LOOKUP_REVAL, LOOKUP_NO_SYMLINKS etc).h]hLextra flags to pass to ->lookup (e.g. LOOKUP_REVAL, LOOKUP_NO_SYMLINKS etc).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMphjubj)}(h5``struct dentry *old_dentry`` dentry of name to move h](j)}(h``struct dentry *old_dentry``h]j)}(hj4h]hstruct dentry *old_dentry}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMqhj.ubj)}(hhh]h)}(hdentry of name to moveh]hdentry of name to move}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhMqhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhjIhMqhjubj)}(h>``struct qstr *new_last`` name of target in **rd.new_parent** h](j)}(h``struct qstr *new_last``h]j)}(hjmh]hstruct qstr *new_last}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMrhjgubj)}(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&]uh1hhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjubeh}(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.chMthjubh)}(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.}(hj̑hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMshjubh)}(hXOn success the found dentry is stored in **rd.new_dentry** and **rd.old_parent** is confirmed to be the parent of **old_dentry**. If it was originally ``NULL``, it is set. In either case a reference is taken so that end_renaming() can have a stable reference to unlock.h](h)On success the found dentry is stored in }(hjۑhhhNhNubj)}(h**rd.new_dentry**h]h rd.new_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjۑubh and }(hjۑhhhNhNubj)}(h**rd.old_parent**h]h rd.old_parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjۑubh" is confirmed to be the parent of }(hjۑhhhNhNubj)}(h**old_dentry**h]h old_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjۑubh. If it was originally }(hjۑhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjۑubho, it is set. In either case a reference is taken so that end_renaming() can have a stable reference to unlock.}(hjۑhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMvhjubh)}(h:References and the lock can be dropped with end_renaming()h]h:References and the lock can be dropped with end_renaming()}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM{hjubh)}(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 }(hjAhhhNhNubj)}(h**rd.mnt_idmap**h]h rd.mnt_idmap}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubh.}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.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:56: ./fs/namei.chMhjubh)}(hzero or an error.h]hzero or an error.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(start_renaming_two_dentries (C function)c.start_renaming_two_dentrieshNtauh1hhjIEhhhNhNubh)}(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}(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/)}(hstart_renaming_two_dentriesh]j5)}(hstart_renaming_two_dentriesh]hstart_renaming_two_dentries}(hjʒhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjƒubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj̒sbc.start_renaming_two_dentriesasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj2hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hrdh]hrd}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjޒubj)}(hstruct dentry *old_dentryh](j )}(hjzh]hstruct}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjTubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubh)}(hhh]j5)}(hdentryh]hdentry}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj)}j]j c.start_renaming_two_dentriesasbuh1hhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjTubj5)}(h old_dentryh]h old_dentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjޒubj)}(hstruct dentry *new_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]j c.start_renaming_two_dentriesasbuh1hhjē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 new_dentryh]h new_dentry}(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)}(h,Lock to dentries in given parents for renameh]h,Lock to dentries in given parents for rename}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjFhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhjIEhNhNubj)}(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)}(hjkh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjeubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h5``struct dentry *old_dentry`` dentry of name to move h](j)}(h``struct dentry *old_dentry``h]j)}(hjÔh]hstruct dentry *old_dentry}(hjŔhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hdentry of name to moveh]hdentry of name to move}(hjܔhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjؔhMhjٔubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjؔhMhjubj)}(h0``struct dentry *new_dentry`` dentry to move to h](j)}(h``struct dentry *new_dentry``h]j)}(hjh]hstruct dentry *new_dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hdentry to move toh]hdentry to move to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjeubh)}(h**Description**h]j)}(hj7h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjeubh)}(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.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjeubh)}(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 }(hj\hhhNhNubj)}(h**rd.old_dentry**h]h rd.old_dentry}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh and }(hj\hhhNhNubj)}(h**rd.new_dentry**h]h rd.new_dentry}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh and }(hj\hhhNhNubj)}(h**rd.old_parent**h]h rd.old_parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh and }hj\sbj)}(h**rd.new_parent**h]h rd.new_parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubh1 are confirmed to be the parents of the dentries.}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjeubh)}(h:References and the lock can be dropped with end_renaming()h]h:References and the lock can be dropped with end_renaming()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjeubh)}(h **Return**h]j)}(hjĕh]hReturn}(hjƕhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj•ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjeubh)}(hzero or an error.h]hzero or an error.}(hjڕhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_create (C function) c.vfs_createhNtauh1hhjIEhhhNhNubh)}(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}(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_createh]j5)}(h vfs_createh]h vfs_create}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hZ(struct mnt_idmap *idmap, struct dentry *dentry, umode_t mode, struct delegated_inode *di)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j]j)}jj,sb c.vfs_createasbuh1hhjBubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjBubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubj)}(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 c.vfs_createasbuh1hhjubj)}(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}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNjj)}j]j c.vfs_createasbuh1hhj$ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubj5)}(hmodeh]hmode}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubj)}(hstruct delegated_inode *dih](j )}(hjzh]hstruct}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjlubj)}(h h]h }(hj}hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubh)}(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_createasbuh1hhjlubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjlubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjlubj5)}(hdih]hdi}(hjǗhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubeh}(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)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjIEhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct dentry *dentry`` dentry of the child file ``umode_t mode`` mode of the child file ``struct delegated_inode *di`` returns parent inode, if the inode is delegated. **Description** Create a new file. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.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)}(hj2h]hstruct mnt_idmap *idmap}(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.chMhj,ubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhj)ubj)}(h3``struct dentry *dentry`` dentry of the child 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)}(hdentry of the child fileh]hdentry of the child file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMhj)ubj)}(h(``umode_t mode`` mode of the child file h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hmode of the child fileh]hmode of the child file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj)ubj)}(hP``struct delegated_inode *di`` returns parent inode, if the inode is delegated. h](j)}(h``struct delegated_inode *di``h]j)}(hjݘh]hstruct delegated_inode *di}(hjߘhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjۘubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjטubj)}(hhh]h)}(h0returns parent inode, if the inode is delegated.h]h0returns parent inode, if the inode is delegated.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjטubeh}(h]h ]h"]h$]h&]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:56: ./fs/namei.chMhj ubh)}(hCreate a new file.h]hCreate a new file.}(hj.hhhNhNubah}(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 }(hj=hhhNhNubj)}(h **idmap**h]hidmap}(hjEhhhNhNubah}(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}(hjWhhhNhNubah}(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}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h kernel_tmpfile_open (C function)c.kernel_tmpfile_openhNtauh1hhjIEhhhNhNubh)}(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}(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)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjÙmodnameN classnameNjj)}j]j)}jkernel_tmpfile_opensbc.kernel_tmpfile_openasbuh1hhjhhhjhM\ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM\ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhM\ubj/)}(hkernel_tmpfile_openh]j5)}(hjߙh]hkernel_tmpfile_open}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM\ubj)}(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}(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}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj<modnameN classnameNjj)}j]jݙc.kernel_tmpfile_openasbuh1hhjubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjfhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hidmaph]hidmap}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst struct path *parentpathh](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)}(hpathh]hpath}(hjŚhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjšubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjǚmodnameN 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}(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ݙc.kernel_tmpfile_openasbuh1hhjubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int open_flagh](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)}(h open_flagh]h open_flag}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst struct cred *credh](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)}(hcredh]hcred}(hj͛hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjʛubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjϛmodnameN 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)}(hcredh]hcred}(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&open a tmpfile for kernel internal useh]h&open a tmpfile for kernel internal use}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM\hj-hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM\ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHjjHjjjuh1hhhhjIEhNhNubj)}(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)}(hjRh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM`hjLubj)}(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}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM]hjkubj)}(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&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjhubj)}(h=``const struct path *parentpath`` path of the base directory h](j)}(h!``const struct path *parentpath``h]j)}(hjh]hconst struct path *parentpath}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM^hjubj)}(hhh]h)}(hpath of the base directoryh]hpath of the base directory}(hjÜhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM^hjhubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM_hjݜubj)}(hhh]h)}(hmode of the new tmpfileh]hmode of the new tmpfile}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM_hjubah}(h]h ]h"]h$]h&]uh1jhjݜubeh}(h]h ]h"]h$]h&]uh1jhjhM_hjhubj)}(h``int open_flag`` flags h](j)}(h``int open_flag``h]j)}(hjh]h int open_flag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM`hjubj)}(hhh]h)}(hflagsh]hflags}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hM`hj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hM`hjhubj)}(h1``const struct cred *cred`` credentials for open h](j)}(h``const struct cred *cred``h]j)}(hjUh]hconst struct cred *cred}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMahjOubj)}(hhh]h)}(hcredentials for openh]hcredentials for open}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMahjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMahjhubeh}(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:56: ./fs/namei.chMchjLubh)}(hCreate and open a temporary file. The file is not accounted in nr_files, hence this is only for kernel internal use, and must not be installed into file tables or such.h]hCreate and open a temporary file. The file is not accounted in nr_files, hence this is only for kernel internal use, and must not be installed into file tables or such.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMbhjLubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hend_creating_path (C function)c.end_creating_pathhNtauh1hhjIEhhhNhNubh)}(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}(hj՝hhhNhNubah}(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/)}(hend_creating_pathh]j5)}(hend_creating_pathh]hend_creating_path}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjѝhhhjhM.ubj)}(h0(const struct path *path, struct dentry *dentry)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}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNjj)}j]j)}jjsbc.end_creating_pathasbuh1hhjubj)}(h h]h }(hjkhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjyhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hpathh]hpath}(hjhhhNhNubah}(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]jgc.end_creating_pathasbuh1hhjubj)}(h h]h }(hj۞hhhNhNubah}(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 ubeh}(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)}(h6finish a code section started by start_creating_path()h]h6finish a code section started by start_creating_path()}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM.hjhhubah}(h]h ]h"]h$]h&]uh1jbhjʝhhhjhM.ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhjIEhNhNubj)}(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)}(hjBh]h Parameters}(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.chM2hj<ubj)}(hhh](j)}(hK``const struct path *path`` the path instantiated by start_creating_path() h](j)}(h``const struct path *path``h]j)}(hjah]hconst struct path *path}(hjchhhNhNubah}(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.the path instantiated by start_creating_path()h]h.the path instantiated by start_creating_path()}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhM/hjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhM/hjXubj)}(hG``struct dentry *dentry`` the dentry returned by start_creating_path() h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM0hjubj)}(hhh]h)}(h,the dentry returned by start_creating_path()h]h,the dentry returned by start_creating_path()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM0hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM0hjXubeh}(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.chM2hj<ubh)}(hX:end_creating_path() will unlock and locks taken by start_creating_path() and drop an references that were taken. It should only be called if start_creating_path() returned a non-error. If vfs_mkdir() was called and it returned an error, that error *should* be passed to end_creating_path() together with the path.h](hend_creating_path() will unlock and locks taken by start_creating_path() and drop an references that were taken. It should only be called if start_creating_path() returned a non-error. If vfs_mkdir() was called and it returned an error, that error }(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.chM1hj<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_mknod (C function) c.vfs_mknodhNtauh1hhjIEhhhNhNubh)}(hhh](j)}(hint vfs_mknod (struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev, struct delegated_inode *delegated_inode)h]j)}(hint vfs_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev, struct delegated_inode *delegated_inode)h](j)}(hinth]hint}(hj,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj(hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMNubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(hhhj:hMNubj/)}(h vfs_mknodh]j5)}(h vfs_mknodh]h vfs_mknod}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj(hhhj:hMNubj)}(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}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjOsb c.vfs_mknodasbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjeubj5)}(hidmaph]hidmap}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubj)}(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_mknodasbuh1hhjנ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}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjנubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubj)}(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}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNjj)}j]j c.vfs_mknodasbuh1hhjGubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjGubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubj)}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubj)}(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 }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hdevh]hdev}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubj)}(h'struct delegated_inode *delegated_inodeh](j )}(hjzh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubh)}(hhh]j5)}(hdelegated_inodeh]hdelegated_inode}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNjj)}j]j c.vfs_mknodasbuh1hhjGubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjGubj5)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubeh}(h]h ]h"]h$]h&]jLjMuh1jhj(hhhj:hMNubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj$hhhj:hMNubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj:hMNhj!hhubjc)}(hhh]h)}(hcreate device node or fileh]hcreate device node or file}(hj̢hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMNhjɢhhubah}(h]h ]h"]h$]h&]uh1jbhj!hhhj:hMNubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct inode *dir`` inode of the parent directory ``struct dentry *dentry`` dentry of the child device node ``umode_t mode`` mode of the child device node ``dev_t dev`` device number of device to create ``struct delegated_inode *delegated_inode`` returns parent inode, if the inode is delegated. **Description** Create a device node or file. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMRhjubj)}(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}(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.chMOhjubj)}(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"hMOhj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj"hMOhjubj)}(h4``struct inode *dir`` inode of the parent directory h](j)}(h``struct inode *dir``h]j)}(hjFh]hstruct inode *dir}(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.chMPhj@ubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hMPhj\ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMPhjubj)}(h:``struct dentry *dentry`` dentry of the child device node 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.chMQhjyubj)}(hhh]h)}(hdentry of the child device nodeh]hdentry of the child device node}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubj)}(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.chMRhjubj)}(hhh]h)}(hmode of the child device nodeh]hmode of the child device node}(hjѣhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjͣhMRhjΣubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjͣhMRhjubj)}(h0``dev_t dev`` device number of device to create h](j)}(h ``dev_t dev``h]j)}(hjh]h dev_t dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMShjubj)}(hhh]h)}(h!device number of device to createh]h!device number of device to create}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMShjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMShjubj)}(h]``struct delegated_inode *delegated_inode`` returns parent inode, if the inode is delegated. h](j)}(h+``struct delegated_inode *delegated_inode``h]j)}(hj*h]h'struct delegated_inode *delegated_inode}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMThj$ubj)}(hhh]h)}(h0returns parent inode, if the inode is delegated.h]h0returns parent inode, if the inode is delegated.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hMThj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMThjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjeh]h Description}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMVhjubh)}(hCreate a device node or file.h]hCreate a device node or file.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMUhjubh)}(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.chMWhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_mkdir (C function) c.vfs_mkdirhNtauh1hhjIEhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}j vfs_mkdirsb c.vfs_mkdirasbuh1hhjhhhjhMubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hj=hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(h vfs_mkdirh]j5)}(hj,h]h vfs_mkdir}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(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}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j* c.vfs_mkdirasbuh1hhjeubj)}(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 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_mkdirasbuh1hhjե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}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjեubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubh)}(hhh]j5)}(hdentryh]hdentry}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjimodnameN classnameNjj)}j]j* c.vfs_mkdirasbuh1hhjEubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjEubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubj)}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(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 reftargetj!modnameN classnameNjj)}j]j* c.vfs_mkdirasbuh1hhjubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjKhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdelegated_inodeh]hdelegated_inode}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h5create directory returning correct dentry if possibleh]h5create directory returning correct dentry if possible}(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&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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.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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjܧhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjاhMhj٧ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjاhMhjubj)}(h4``struct inode *dir`` inode of the parent directory h](j)}(h``struct inode *dir``h]j)}(hjh]hstruct inode *dir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h8``struct dentry *dentry`` dentry of the child directory h](j)}(h``struct dentry *dentry``h]j)}(hj5h]hstruct dentry *dentry}(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)}(hdentry of the child directoryh]hdentry of the child directory}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMhjubj)}(h-``umode_t mode`` mode of the child directory h](j)}(h``umode_t mode``h]j)}(hjnh]h umode_t mode}(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)}(hmode of the child directoryh]hmode of the child directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(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.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}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(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 }(hjLhhhNhNubj)}(h ***dentry**h]h*dentry}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubh 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.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(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.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_rmdir (C function) c.vfs_rmdirhNtauh1hhjIEhhhNhNubh)}(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.chMKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMKubj/)}(h vfs_rmdirh]j5)}(h vfs_rmdirh]h vfs_rmdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMKubj)}(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 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 reftargetjmodnameN classnameNjj)}j]j)}jjsb c.vfs_rmdirasbuh1hhjթ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)}(hidmaph]hidmap}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjթubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjѩubj)}(hstruct inode *dirh](j )}(hjzh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubh)}(hhh]j5)}(hinodeh]hinode}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNjj)}j]j c.vfs_rmdirasbuh1hhjGubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjGubj5)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjѩubj)}(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 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&]noemphjLjMuh1jhjѩubj)}(h'struct delegated_inode *delegated_inodeh](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)}(hdelegated_inodeh]hdelegated_inode}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjKmodnameN classnameNjj)}j]j c.vfs_rmdirasbuh1hhj'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)}(hdelegated_inodeh]hdelegated_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjѩubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMKhjhhubjc)}(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.chMKhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjījjījjjuh1hhhhjIEhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct inode *dir`` inode of the parent directory ``struct dentry *dentry`` dentry of the child directory ``struct delegated_inode *delegated_inode`` returns parent inode, if it's delegated. **Description** Remove a directory. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hjΫh]h Parameters}(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.chMOhjȫ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.chMLhjubj)}(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&]uh1hhjhMLhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMLhjubj)}(h4``struct inode *dir`` inode of the parent directory h](j)}(h``struct inode *dir``h]j)}(hj&h]hstruct inode *dir}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMMhj ubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hMMhj<ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj;hMMhjubj)}(h8``struct dentry *dentry`` dentry of the child directory h](j)}(h``struct dentry *dentry``h]j)}(hj_h]hstruct dentry *dentry}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMNhjYubj)}(hhh]h)}(hdentry of the child directoryh]hdentry of the child directory}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthMNhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMNhjubj)}(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.chMOhjubj)}(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&]uh1hhjhMOhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMOhjubeh}(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.chMQhjȫubh)}(hRemove a directory.h]hRemove a directory.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMPhjȫ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 }(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.chMRhjȫubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_unlink (C function) c.vfs_unlinkhNtauh1hhjIEhhhNhNubh)}(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}(hj]hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjYhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYhhhjkhMubj/)}(h vfs_unlinkh]j5)}(h vfs_unlinkh]h vfs_unlink}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjYhhhjkhMubj)}(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)}jjsb c.vfs_unlinkasbuh1hhjubj)}(h h]h }(hjحhhhNhNubah}(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 inode *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ԭ c.vfs_unlinkasbuh1hhjubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjVhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdirh]hdir}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(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ԭ c.vfs_unlinkasbuh1hhjxubj)}(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&]noemphjLjMuh1jhjubj)}(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}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jԭ c.vfs_unlinkasbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj6hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdelegated_inodeh]hdelegated_inode}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjYhhhjkhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjUhhhjkhMubah}(h]jPah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjkhMhjRhhubjc)}(hhh]h)}(hunlink a filesystem objecth]hunlink a filesystem object}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjjhhubah}(h]h ]h"]h$]h&]uh1jbhjRhhhjkhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(hX`**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct inode *dir`` parent directory ``struct dentry *dentry`` victim ``struct delegated_inode *delegated_inode`` returns victim inode, if the inode is delegated. **Description** The caller must hold dir->i_rwsem exclusively. If vfs_unlink discovers a delegation, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation on that inode and retry. Because breaking a delegation may take a long time, the caller should drop dir->i_rwsem before doing so. Alternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjh]hstruct mnt_idmap *idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjǯhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjïhMhjįubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjïhMhjubj)}(h'``struct inode *dir`` parent directory h](j)}(h``struct inode *dir``h]j)}(hjh]hstruct inode *dir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hparent directoryh]hparent directory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h!``struct dentry *dentry`` victim h](j)}(h``struct dentry *dentry``h]j)}(hj h]hstruct dentry *dentry}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(hvictimh]hvictim}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hMhj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMhjubj)}(h]``struct delegated_inode *delegated_inode`` returns victim inode, if the inode is delegated. h](j)}(h+``struct delegated_inode *delegated_inode``h]j)}(hjYh]h'struct delegated_inode *delegated_inode}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjSubj)}(hhh]h)}(h0returns victim inode, if the inode is delegated.h]h0returns victim inode, if the inode is delegated.}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhMhjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(h.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.chMhjubh)}(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.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.}(hjȰhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hjװhhhNhNubj)}(h **idmap**h]hidmap}(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.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_symlink (C function) c.vfs_symlinkhNtauh1hhjIEhhhNhNubh)}(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&]uh1jhj8hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMfubj)}(h h]h }(hjKhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj8hhhjJhMfubj/)}(h vfs_symlinkh]j5)}(h vfs_symlinkh]h vfs_symlink}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj8hhhjJhMfubj)}(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}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubh)}(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)}jj_sb c.vfs_symlinkasbuh1hhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj*)}(hj-h]h*}(hjűhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjuubj5)}(hidmaph]hidmap}(hjұhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjqubj)}(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}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j c.vfs_symlinkasbuh1hhjubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj5hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdirh]hdir}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjqubj)}(hstruct dentry *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]j c.vfs_symlinkasbuh1hhjWubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjWubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjqubj)}(hconst char *oldnameh](j )}(hjUh]hconst}(hj˲hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDzubj)}(h h]h }(hjزhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDzubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjDzubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDzubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjDzubj5)}(holdnameh]holdname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDzubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjqubj)}(h'struct delegated_inode *delegated_inodeh](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)}(hdelegated_inodeh]hdelegated_inode}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNjj)}j]j c.vfs_symlinkasbuh1hhj$ubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubj*)}(hj-h]h*}(hjrhhhNhNubah}(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&]noemphjLjMuh1jhjqubeh}(h]h ]h"]h$]h&]jLjMuh1jhj8hhhjJhMfubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj4hhhjJhMfubah}(h]j/ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjJhMfhj1hhubjc)}(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.chMfhjhhubah}(h]h ]h"]h$]h&]uh1jbhj1hhhjJhMfubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount the inode was found from ``struct inode *dir`` inode of the parent directory ``struct dentry *dentry`` dentry of the child symlink file ``const char *oldname`` name of the file to link to ``struct delegated_inode *delegated_inode`` returns victim inode, if the inode is delegated. **Description** Create a symlink. If the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hj˳h]h Parameters}(hjͳhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjɳubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMjhjų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.chMghjubj)}(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&]uh1hhjhMghjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMghjubj)}(h4``struct inode *dir`` inode of the parent directory h](j)}(h``struct inode *dir``h]j)}(hj#h]hstruct inode *dir}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhhjubj)}(hhh]h)}(hinode of the parent directoryh]hinode of the parent directory}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hMhhj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMhhjubj)}(h;``struct dentry *dentry`` dentry of the child symlink file 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 of the child symlink fileh]h dentry of the child symlink file}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhMihjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMihjubj)}(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.chMjhjubj)}(hhh]h)}(hname of the file to link toh]hname of the file to link to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMjhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMjhjubj)}(h]``struct delegated_inode *delegated_inode`` returns victim inode, if the inode is delegated. h](j)}(h+``struct delegated_inode *delegated_inode``h]j)}(hjδh]h'struct delegated_inode *delegated_inode}(hjдhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̴ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMkhjȴubj)}(hhh]h)}(h0returns victim inode, if the inode is delegated.h]h0returns victim inode, if the inode is delegated.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjȴubeh}(h]h ]h"]h$]h&]uh1jhjhMkhjubeh}(h]h ]h"]h$]h&]uh1jhjųubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMmhjųubh)}(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.chMlhjųubh)}(hXLIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](hgIf the inode has been found through an idmapped mount the idmap of the vfsmount must be passed through }(hj.hhhNhNubj)}(h **idmap**h]hidmap}(hj6hhhNhNubah}(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}(hjHhhhNhNubah}(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}(hjZhhhNhNubah}(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.chMnhjųubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_link (C function) c.vfs_linkhNtauh1hhjIEhhhNhNubh)}(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&]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/)}(hvfs_linkh]j5)}(hvfs_linkh]hvfs_link}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(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}(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]j)}jjsb 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)}(h old_dentryh]h old_dentry}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj̵ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjȵubj)}(hstruct mnt_idmap *idmaph](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 mnt_idmaph]h mnt_idmap}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNjj)}j]j  c.vfs_linkasbuh1hhj>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)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjȵubj)}(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}(hjжhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjͶubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjҶmodnameN classnameNjj)}j]j  c.vfs_linkasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdirh]hdir}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjȵubj)}(hstruct dentry *new_dentryh](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)}(hdentryh]hdentry}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNjj)}j]j  c.vfs_linkasbuh1hhjubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjlhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(h new_dentryh]h new_dentry}(hjyhhhNhNubah}(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 }(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_linkasbuh1hhjubj)}(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}(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)}(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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj+jj+jjjuh1hhhhjIEhNhNubj)}(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)}(hj5h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj/ubj)}(hhh](j)}(h2``struct dentry *old_dentry`` object to be linked h](j)}(h``struct dentry *old_dentry``h]j)}(hjTh]hstruct dentry *old_dentry}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjNubj)}(hhh]h)}(hobject to be linkedh]hobject to be linked}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihMhjjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjihMhjKubj)}(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.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&]uh1jhjhMhjKubj)}(h!``struct inode *dir`` new parent 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.chMhjubj)}(hhh]h)}(h new parenth]h new parent}(hj߸hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj۸hMhjܸubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj۸hMhjKubj)}(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.chMhjubj)}(hhh]h)}(hwhere to create the new linkh]hwhere to create the new link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjKubj)}(hU``struct delegated_inode *delegated_inode`` returns inode needing a delegation break h](j)}(h+``struct delegated_inode *delegated_inode``h]j)}(hj8h]h'struct delegated_inode *delegated_inode}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj2ubj)}(hhh]h)}(h(returns inode needing a delegation breakh]h(returns inode needing a delegation break}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhMhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhjMhMhjKubeh}(h]h ]h"]h$]h&]uh1jhj/ubh)}(h**Description**h]j)}(hjsh]h Description}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj/ubh)}(h.The caller must hold dir->i_rwsem exclusively.h]h.The caller must hold dir->i_rwsem exclusively.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj/ubh)}(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.chMhj/ubh)}(hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.h]hAlternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.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 }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB. This function will then take care to map the inode according to }(hjhhhNhNubj)}(h **idmap**h]hidmap}(hjйhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj/ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_rename (C function) c.vfs_renamehNtauh1hhjIEhhhNhNubh)}(hhh](j)}(h&int vfs_rename (struct renamedata *rd)h]j)}(h%int vfs_rename(struct renamedata *rd)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMzubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj)hMzubj/)}(h vfs_renameh]j5)}(h vfs_renameh]h vfs_rename}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj)hMzubj)}(h(struct renamedata *rd)h]j)}(hstruct renamedata *rdh](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 renamedatah]h renamedata}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj)}j]j)}jj>sb c.vfs_renameasbuh1hhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjTubj5)}(hrdh]hrd}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjPubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj)hMzubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj)hMzubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj)hMzhjhhubjc)}(hhh]h)}(hrename a filesystem objecth]hrename a filesystem object}(hjۺhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMzhjغhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj)hMzubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(hXr **Parameters** ``struct renamedata *rd`` pointer to :c:type:`struct renamedata ` info **Description** The caller must hold multiple mutexes--see lock_rename()). If vfs_rename discovers a delegation in need of breaking at either the source or destination, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop all locks before doing so. Alternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported. The worst of all namespace operations - renaming directory. "Perverted" doesn't even start to describe it. Somebody in UCB had a heck of a trip... Problems: a) we can get into loop creation. b) race potential - two innocent renames can create a loop together. That's where 4.4BSD screws up. Current fix: serialization on sb->s_vfs_rename_mutex. We might be more accurate, but that's another story. c) we may have to lock up to _four_ objects - parents and victim (if it exists), and source (if it's a non-directory or a subdirectory that moves to different parent). And that - after we got ->i_rwsem on parents (until then we don't know whether the target exists). Solution: try to be smart with locking order for inodes. We rely on the fact that tree topology may change only under ->s_vfs_rename_mutex _and_ that parent of the object we move will be locked. Thus we can rank directories by the tree (ancestors first) and rank all non-directories after them. That works since everybody except rename does "lock parent, lookup, lock child" and rename is under ->s_vfs_rename_mutex. HOWEVER, it relies on the assumption that any object with ->lookup() has no more than 1 dentry. If "hybrid" objects will ever appear, we'd better make sure that there's no link(2) for them. d) conversion from fhandle to dentry may come in the wrong moment - when we are removing the target. Solution: we will have to grab ->i_rwsem in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_rwsem on parents, which works but leads to some truly excessive locking].h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM~hjubj)}(hhh]j)}(hS``struct renamedata *rd`` pointer to :c:type:`struct renamedata ` info h](j)}(h``struct renamedata *rd``h]j)}(hjh]hstruct renamedata *rd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM{hjubj)}(hhh]h)}(h8pointer to :c:type:`struct renamedata ` infoh](h pointer to }(hj5hhhNhNubh)}(h(:c:type:`struct renamedata `h]j)}(hj?h]hstruct renamedata}(hjAhhhNhNubah}(h]h ](xrefjc-typeeh"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]refdocfilesystems/api-summary refdomainjreftypetype refexplicitrefwarnjj)}j]sb reftarget renamedatauh1hhj1hM{hj5ubh info}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj1hM{hj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hM{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:56: ./fs/namei.chM}hjubh)}(h:The caller must hold multiple mutexes--see lock_rename()).h]h:The caller must hold multiple mutexes--see lock_rename()).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM|hjubh)}(hXPIf vfs_rename discovers a delegation in need of breaking at either the source or destination, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop all locks before doing so.h]hXPIf vfs_rename discovers a delegation in need of breaking at either the source or destination, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop all locks before doing so.}(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.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:}(hjûhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj{)}(hXa) we can get into loop creation. b) race potential - two innocent renames can create a loop together. That's where 4.4BSD screws up. Current fix: serialization on sb->s_vfs_rename_mutex. We might be more accurate, but that's another story. c) we may have to lock up to _four_ objects - parents and victim (if it exists), and source (if it's a non-directory or a subdirectory that moves to different parent). And that - after we got ->i_rwsem on parents (until then we don't know whether the target exists). Solution: try to be smart with locking order for inodes. We rely on the fact that tree topology may change only under ->s_vfs_rename_mutex _and_ that parent of the object we move will be locked. Thus we can rank directories by the tree (ancestors first) and rank all non-directories after them. That works since everybody except rename does "lock parent, lookup, lock child" and rename is under ->s_vfs_rename_mutex. HOWEVER, it relies on the assumption that any object with ->lookup() has no more than 1 dentry. If "hybrid" objects will ever appear, we'd better make sure that there's no link(2) for them. d) conversion from fhandle to dentry may come in the wrong moment - when we are removing the target. Solution: we will have to grab ->i_rwsem in the fhandle_to_dentry code. [FIXME - current nfsfh.c relies on ->i_rwsem on parents, which works but leads to some truly excessive locking].h]j)}(hhh](jC)}(hwe can get into loop creation.h]h)}(hjۻh]hwe can get into loop creation.}(hjݻhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjٻubah}(h]h ]h"]h$]h&]uh1jChjֻubjC)}(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&]uh1jChjֻubjC)}(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.chMhj ubah}(h]h ]h"]h$]h&]uh1jChjֻubjC)}(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].}(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&]uh1jChjֻubeh}(h]h ]h"]h$]h&]j loweralphaj hj juh1jhjһubah}(h]h ]h"]h$]h&]uh1jzhjhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_readlink (C function)c.vfs_readlinkhNtauh1hhjIEhhhNhNubh)}(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}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjehhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjehhhjwhMubj/)}(h vfs_readlinkh]j5)}(h vfs_readlinkh]h vfs_readlink}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjehhhjwhMubj)}(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}(hjļhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjƼmodnameN classnameNjj)}j]j)}jjsbc.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 }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh__user}(hjhhhNhNubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjFhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbufferh]hbuffer}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int buflenh](j)}(hinth]hint}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubj5)}(hbuflenh]hbuflen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubeh}(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'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.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj^hhhjwhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjʽjjʽjjjuh1hhhhjIEhNhNubj)}(hX **Parameters** ``struct dentry *dentry`` dentry on which to get symbolic link ``char __user *buffer`` user memory pointer ``int buflen`` size of buffer **Description** Does not touch atime. That's up to the caller if necessary Does not call security hook.h](h)}(h**Parameters**h]j)}(hjԽh]h Parameters}(hjֽhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjҽubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjνubj)}(hhh](j)}(h?``struct dentry *dentry`` dentry on which to get symbolic link h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h$dentry on which to get symbolic linkh]h$dentry on which to get symbolic link}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h,``char __user *buffer`` user memory pointer h](j)}(h``char __user *buffer``h]j)}(hj,h]hchar __user *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:56: ./fs/namei.chMhj&ubj)}(hhh]h)}(huser memory pointerh]huser memory pointer}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjubj)}(h``int buflen`` size of buffer h](j)}(h``int buflen``h]j)}(hjeh]h int buflen}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhj_ubj)}(hhh]h)}(hsize of bufferh]hsize of buffer}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhMhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMhjubeh}(h]h ]h"]h$]h&]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;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.chMhjνubh)}(hDoes not call security hook.h]hDoes not call security hook.}(hjžhhhNhNubah}(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&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_get_link (C function)c.vfs_get_linkhNtauh1hhjIEhhhNhNubh)}(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.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj)}(hcharh]hchar}(hjhhhNhNubah}(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/)}(h vfs_get_linkh]j5)}(h vfs_get_linkh]h vfs_get_link}(hj=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h2(struct dentry *dentry, struct delayed_call *done)h](j)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjUubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubh)}(hhh]j5)}(hdentryh]hdentry}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjymodnameN classnameNjj)}j]j)}jj?sbc.vfs_get_linkasbuh1hhjUubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjUubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjQubj)}(hstruct delayed_call *doneh](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 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_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)}(hdoneh]hdone}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjǿubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjQubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(hget symlink bodyh]hget symlink body}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjIhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjdjjdjjjuh1hhhhjIEhNhNubj)}(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)}(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.chM hjhubj)}(hhh](j)}(h?``struct dentry *dentry`` dentry on which to get symbolic link h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjubj)}(hhh]h)}(h$dentry on which to get symbolic linkh]h$dentry on which to get symbolic link}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hK``struct delayed_call *done`` caller needs to free returned data with this h](j)}(h``struct delayed_call *done``h]j)}(hjh]hstruct delayed_call *done}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjubj)}(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&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(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.chM hjhubh)}(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.chM hjhubh)}(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.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM hjhubh)}(h6Does not work on "special" symlinks like /proc/$$/fd/Nh]h:Does not work on “special” symlinks like /proc/$$/fd/N}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMhjhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpage_get_link (C function)c.page_get_linkhNtauh1hhjIEhhhNhNubh)}(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}(hjdhhhNhNubah}(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 }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`hhhjqhM@ubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj`hhhjqhM@ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj`hhhjqhM@ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj`hhhjqhM@ubj/)}(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.hj`hhhjqhM@ubj)}(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}(hj"hhhNhNubah}(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 hj7ubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubh)}(hhh]j5)}(hinodeh]hinode}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[modnameN classnameNjj)}j]jc.page_get_linkasbuh1hhj7ubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubeh}(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&]jLjMuh1jhj`hhhjqhM@ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj\hhhjqhM@ubah}(h]jWah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjqhM@hjYhhubjc)}(hhh]h)}(h2An implementation of the get_link inode_operation.h]h2An implementation of the get_link inode_operation.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chM@hj)hhubah}(h]h ]h"]h$]h&]uh1jbhjYhhhjqhM@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhjIEhNhNubj)}(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)}(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.chMDhjHubj)}(hhh](j)}(hD``struct dentry *dentry`` The directory entry which is the symlink. h](j)}(h``struct dentry *dentry``h]j)}(hjmh]hstruct dentry *dentry}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMAhjgubj)}(hhh]h)}(h)The directory entry which is the symlink.h]h)The directory entry which is the symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjdubj)}(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.chMBhjubj)}(hhh]h)}(hThe inode for the symlink.h]hThe inode for the symlink.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjdubj)}(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.chMChjubj)}(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&]uh1hhjhMChjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMChjdubeh}(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.chMEhjHubh)}(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.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMDhjHubh)}(h **Return**h]j)}(hjAh]hReturn}(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.chMGhjHubh)}(h(A pointer to the NUL-terminated symlink.h]h(A pointer to the NUL-terminated symlink.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMHhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpage_put_link (C function)c.page_put_linkhNtauh1hhjIEhhhNhNubh)}(hhh](j)}(hvoid page_put_link (void *arg)h]j)}(hvoid page_put_link(void *arg)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/)}(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.hjhhhjhMVubj)}(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&]jLjMuh1jhjhhhjhMVubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj~hhhjhMVubah}(h]jyah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMVhj{hhubjc)}(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.chMVhjhhubah}(h]h ]h"]h$]h&]uh1jbhj{hhhjhMVubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.jjjuh1hhhhjIEhNhNubj)}(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)}(hj8h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMZhj2ubj)}(hhh]j)}(h4``void *arg`` The folio which contains the symlink. h](j)}(h ``void *arg``h]j)}(hjWh]h void *arg}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMWhjQubj)}(hhh]h)}(h%The folio which contains the symlink.h]h%The folio which contains the symlink.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMWhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMWhjNubah}(h]h ]h"]h$]h&]uh1jhj2ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:56: ./fs/namei.chMYhj2ubh)}(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.chMXhj2ubh)}(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.chM]hj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_reset (C function) c.bio_resethNtauh1hhjIEhhhNhNubh)}(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:59: ./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}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj)}j]j)}jj sb c.bio_resetasbuh1hhjubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjohhhNhNubah}(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}(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] c.bio_resetasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbdevh]hbdev}(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 reftargetj modnameN classnameNjj)}j]j] c.bio_resetasbuh1hhjubj)}(h h]h }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hopfh]hopf}(hj4hhhNhNubah}(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}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM#hj[hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjvjjvjjjuh1hhhhjIEhNhNubj)}(hX**Parameters** ``struct bio *bio`` bio to reset ``struct block_device *bdev`` block device to use the bio for ``blk_opf_t opf`` operation and flags for bio **Description** After calling bio_reset(), **bio** will be in the same state as a freshly allocated bio returned bio bio_alloc_bioset() - the only fields that are preserved are the ones that are initialized by bio_alloc_bioset(). See comment in struct bio.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM'hjzubj)}(hhh](j)}(h!``struct bio *bio`` bio to reset h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM$hjubj)}(hhh]h)}(h bio to reseth]h bio to reset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjubj)}(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:59: ./block/bio.chM%hjubj)}(hhh]h)}(hblock device to use the bio forh]hblock device to use the bio for}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM%hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM%hjubj)}(h.``blk_opf_t opf`` operation and flags for bio h](j)}(h``blk_opf_t opf``h]j)}(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:59: ./block/bio.chM&hj ubj)}(hhh]h)}(hoperation and flags for bioh]hoperation and flags for bio}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hM&hj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hM&hjubeh}(h]h ]h"]h$]h&]uh1jhjzubh)}(h**Description**h]j)}(hjLh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM(hjzubj{)}(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(), }(hjfhhhNhNubj)}(h**bio**h]hbio}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh 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.}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM(hjbubah}(h]h ]h"]h$]h&]uh1jzhjhM(hjzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_chain (C function) c.bio_chainhNtauh1hhjIEhhhNhNubh)}(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:59: ./block/bio.chMNubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMNubj/)}(h bio_chainh]j5)}(h bio_chainh]h bio_chain}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMNubj)}(h%(struct bio *bio, struct bio *parent)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)}jjsb c.bio_chainasbuh1hhjubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj6hhhNhNubah}(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 }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubh)}(hhh]j5)}(hbioh]hbio}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj)}j]j$ 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&]jLjMuh1jhjhhhjhMNubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMNubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMNhjhhubjc)}(hhh]h)}(hchain bio completionsh]hchain bio completions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMNhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMNubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(hX**Parameters** ``struct bio *bio`` the target bio ``struct bio *parent`` the parent bio of **bio** **Description** The caller won't have a bi_end_io called when **bio** completes - instead, **parent**'s bi_end_io won't be called until both **parent** and **bio** have completed; the chained bio will also be freed when it completes. The caller must not set bi_private or bi_end_io in **bio**.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMRhjubj)}(hhh](j)}(h#``struct bio *bio`` the target bio h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMOhjubj)}(hhh]h)}(hthe target bioh]hthe target bio}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMOhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMOhjubj)}(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:59: ./block/bio.chMPhjQubj)}(hhh]h)}(hthe parent bio of **bio**h](hthe parent bio of }(hjphhhNhNubj)}(h**bio**h]hbio}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1hhjlhMPhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMPhjubeh}(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:59: ./block/bio.chMRhjubh)}(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:59: ./block/bio.chMQhjubh)}(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}(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:59: ./block/bio.chMUhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_alloc_bioset (C function)c.bio_alloc_biosethNtauh1hhjIEhhhNhNubh)}(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:59: ./block/bio.chMubj)}(h h]h }(hj\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJhhhj[hMubh)}(hhh]j5)}(hbioh]hbio}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN 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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbdevh]hbdev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned short nr_vecsh](j)}(hunsignedh]hunsigned}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj4ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj)}(hshorth]hshort}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj4ubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj5)}(hnr_vecsh]hnr_vecs}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(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}(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 }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbio_seth]hbio_set}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj)}j]jc.bio_alloc_biosetasbuh1hhjubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjchhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbsh]hbs}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(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:59: ./block/bio.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjChhhj[hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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:59: ./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:59: ./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)}(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:59: ./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)}(hj_h]h blk_opf_t opf}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjYubj)}(hhh]h)}(hoperation and flags for bioh]hoperation and flags for bio}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthMhjuubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjthMhjubj)}(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:59: ./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:59: ./block/bio.chMhjubj)}(hhh]h)}(hthe bio_set to allocate from.h]hthe bio_set to allocate from.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubh)}(h+Allocate a bio from the mempools in **bs**.h](h$Allocate a bio from the mempools in }(hj"hhhNhNubj)}(h**bs**h]hbs}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh.}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubh)}(hXIf ``__GFP_DIRECT_RECLAIM`` is set then bio_alloc will always be able to allocate a bio. This is due to the mempool guarantees. To make this work, callers must never allocate more than 1 bio at a time from the general pool. Callers that need to allocate more than 1 bio must always submit the previously allocated bio for IO before attempting to allocate a new one. Failure to do so can cause deadlocks under memory pressure.h](hIf }(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:59: ./block/bio.chMhjubh)}(hNote that when running under submit_bio_noacct() (i.e. any block driver), bios are not submitted until after you return - see the code in submit_bio_noacct() that converts recursion into iteration, to prevent stack overflows.h]hNote that when running under submit_bio_noacct() (i.e. any block driver), bios are not submitted until after you return - see the code in submit_bio_noacct() that converts recursion into iteration, to prevent stack overflows.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./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.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./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:59: ./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:59: ./block/bio.chMhjubh)}(h/Pointer to new bio on success, NULL on failure.h]h/Pointer to new bio on success, NULL on failure.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_kmalloc (C function) c.bio_kmallochNtauh1hhjIEhhhNhNubh)}(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:59: ./block/bio.chMZubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMZubh)}(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_kmallocasbuh1hhjhhhjhMZubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMZubj*)}(hj-h]h*}(hj&hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMZubj/)}(h bio_kmalloch]j5)}(hjh]h bio_kmalloc}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMZubj)}(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 }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNubj)}(hshorth]hshort}(hjnhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjNubj)}(h h]h }(hj|hhhNhNubah}(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]j 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&]jLjMuh1jhjhhhjhMZubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMZubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMZhjhhubjc)}(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:59: ./block/bio.chMZhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMZubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(hX**Parameters** ``unsigned short nr_vecs`` number of bio_vecs to allocate ``gfp_t gfp_mask`` the GFP_* mask given to the slab allocator **Description** Use kmalloc to allocate a bio (including bvecs). The bio must be initialized using bio_init() before use. To free a bio returned from this function use kfree() after calling bio_uninit(). A bio returned from this function can be reused by calling bio_uninit() before calling bio_init() again. Note that unlike bio_alloc() or bio_alloc_bioset() allocations from this function are not backed by a mempool can fail. Do not use this function for allocations in the file system I/O path. **Return** Pointer to new bio on success, NULL on failure.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM^hjubj)}(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:59: ./block/bio.chM[hj7ubj)}(hhh]h)}(hnumber of bio_vecs to allocateh]hnumber of bio_vecs to allocate}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhM[hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM[hj4ubj)}(h>``gfp_t gfp_mask`` the GFP_* mask given to the slab allocator h](j)}(h``gfp_t gfp_mask``h]j)}(hjvh]hgfp_t gfp_mask}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM\hjpubj)}(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&]uh1hhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjhM\hj4ubeh}(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:59: ./block/bio.chM^hjubh)}(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:59: ./block/bio.chM]hjubh)}(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:59: ./block/bio.chMbhjubh)}(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:59: ./block/bio.chMfhjubh)}(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:59: ./block/bio.chMghjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_put (C function) c.bio_puthNtauh1hhjIEhhhNhNubh)}(hhh](j)}(hvoid bio_put (struct bio *bio)h]j)}(hvoid bio_put(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:59: ./block/bio.chM,ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(hhhj:hM,ubj/)}(hbio_puth]j5)}(hbio_puth]hbio_put}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj(hhhj:hM,ubj)}(h(struct bio *bio)h]j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubh)}(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_putasbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjeubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubah}(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,hj!hhubjc)}(hhh]h)}(hrelease a reference to a bioh]hrelease a reference to a bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM,hjhhubah}(h]h ]h"]h$]h&]uh1jbhj!hhhj:hM,ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(h**Parameters** ``struct bio *bio`` bio to release reference to **Description** Put a reference to a :c:type:`struct bio `, either one you have gotten with bio_alloc, bio_get or bio_clone_*. The last put of a bio will free it.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM0hjubj)}(hhh]j)}(h0``struct bio *bio`` bio to release reference to 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:59: ./block/bio.chM-hj'ubj)}(hhh]h)}(hbio to release reference toh]hbio to release reference to}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhM-hjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhM-hj$ubah}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM/hjubj{)}(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 ](jKjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocjW refdomainjreftypetype refexplicitrefwarnjj]j`biouh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM/hjubhh, either one you have gotten with bio_alloc, bio_get or bio_clone_*. The last put of a bio will free it.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhM/hj~ubah}(h]h ]h"]h$]h&]uh1jzhjhM/hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_alloc_clone (C function)c.bio_alloc_clonehNtauh1hhjIEhhhNhNubh)}(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:59: ./block/bio.chMYubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMYubh)}(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_cloneasbuh1hhjhhhjhMYubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMYubj*)}(hj-h]h*}(hj(hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMYubj/)}(hbio_alloc_cloneh]j5)}(hjh]hbio_alloc_clone}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMYubj)}(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 }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubh)}(hhh]j5)}(h block_deviceh]h block_device}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj)}j]jc.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]jc.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)}(hbio_srch]hbio_src}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjLubj)}(h gfp_t gfph](h)}(hhh]j5)}(hgfp_th]hgfp_t}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj)}j]jc.bio_alloc_cloneasbuh1hhj0ubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubj5)}(hgfph]hgfp}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjLubj)}(hstruct bio_set *bsh](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)}(hbio_seth]hbio_set}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.bio_alloc_cloneasbuh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjxubj5)}(hbsh]hbs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjLubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMYubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMYubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMYhjhhubjc)}(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:59: ./block/bio.chMYhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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)}(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:59: ./block/bio.chM]hjubj)}(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:59: ./block/bio.chMZhj8ubj)}(hhh]h)}(hblock_device to clone ontoh]hblock_device to clone onto}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMZhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMZhj5ubj)}(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:59: ./block/bio.chM[hjqubj)}(hhh]h)}(hbio to clone fromh]hbio to clone from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM[hjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhM[hj5ubj)}(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:59: ./block/bio.chM\hjubj)}(hhh]h)}(hallocation priorityh]hallocation priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM\hj5ubj)}(h0``struct bio_set *bs`` bio_set to allocate from h](j)}(h``struct bio_set *bs``h]j)}(hjh]hstruct bio_set *bs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM]hjubj)}(hhh]h)}(hbio_set to allocate fromh]hbio_set to allocate from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hj5ubeh}(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:59: ./block/bio.chM_hjubh)}(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 }(hj:hhhNhNubj)}(h **bio_src**h]hbio_src}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubhI. The caller owns the returned bio, but not the actual data it points to.}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM^hjubh)}(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}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubh.}(hj[hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMahjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_init_clone (C function)c.bio_init_clonehNtauh1hhjIEhhhNhNubh)}(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:59: ./block/bio.chMxubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMxubj/)}(hbio_init_cloneh]j5)}(hbio_init_cloneh]hbio_init_clone}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMxubj)}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj%hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbdevh]hbdev}(hj2hhhNhNubah}(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}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNjj)}j]jc.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]jc.bio_init_cloneasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbio_srch]hbio_src}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h gfp_t gfph](h)}(hhh]j5)}(hgfp_th]hgfp_t}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNjj)}j]jc.bio_init_cloneasbuh1hhj'ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'ubj5)}(hgfph]hgfp}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMxubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMxubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMxhjhhubjc)}(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:59: ./block/bio.chMxhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMxubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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:59: ./block/bio.chM|hjubj)}(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:59: ./block/bio.chMyhjubj)}(hhh]h)}(hblock_device to clone ontoh]hblock_device to clone onto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMyhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMyhjubj)}(h&``struct bio *bio`` bio to clone into h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMzhjubj)}(hhh]h)}(hbio to clone intoh]hbio to clone into}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMzhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMzhjubj)}(h*``struct bio *bio_src`` bio to clone from h](j)}(h``struct bio *bio_src``h]j)}(hj7h]hstruct bio *bio_src}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM{hj1ubj)}(hhh]h)}(hbio to clone fromh]hbio to clone from}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhM{hjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhM{hjubj)}(h"``gfp_t gfp`` allocation priority h](j)}(h ``gfp_t gfp``h]j)}(hjph]h gfp_t gfp}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM|hjjubj)}(hhh]h)}(hallocation priorityh]hallocation priority}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM|hjubah}(h]h ]h"]h$]h&]uh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjhM|hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM~hjubh)}(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:59: ./block/bio.chM}hjubh)}(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}(hjhhhNhNubah}(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:59: ./block/bio.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__bio_add_page (C function)c.__bio_add_pagehNtauh1hhjIEhhhNhNubh)}(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}(hj5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj1hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj1hhhjChMubj/)}(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.hj1hhhjChMubj)}(hH(struct bio *bio, struct page *page, unsigned int len, unsigned int off)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubh)}(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_pageasbuh1hhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjnubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubj)}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.__bio_add_pageasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj.hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hpageh]hpage}(hj;hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjThhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjPubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj)}(hinth]hint}(hjphhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjPubj)}(h h]h }(hj~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj5)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubj)}(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&]noemphjLjMuh1jhjjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj1hhhjChMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj-hhhjChMubah}(h]j(ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjChMhj*hhubjc)}(hhh]h)}(h%add page(s) to a bio in a new segmenth]h%add page(s) to a bio in a new segment}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj*hhhjChMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(hX**Parameters** ``struct bio *bio`` destination bio ``struct page *page`` start page to add ``unsigned int len`` length of the data to add, may cross pages ``unsigned int off`` offset of the data relative to **page**, may cross pages **Description** Add the data at **page** + **off** to **bio** as a new bvec. The caller must ensure that **bio** has space for another bvec.h](h)}(h**Parameters**h]j)}(hj)h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj#ubj)}(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:59: ./block/bio.chMhjBubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjahhhNhNubah}(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:59: ./block/bio.chMhj{ubj)}(hhh]h)}(hstart page to addh]hstart page to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(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:59: ./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:59: ./block/bio.chMhjubj)}(hhh]h)}(h8offset of the data relative to **page**, may cross pagesh](hoffset of the data relative to }(hj hhhNhNubj)}(h**page**h]hpage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh, may cross pages}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj?ubeh}(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&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj#ubh)}(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}(hjphhhNhNubah}(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:59: ./block/bio.chMhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h bio_add_virt_nofail (C function)c.bio_add_virt_nofailhNtauh1hhjIEhhhNhNubh)}(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:59: ./block/bio.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hbio_add_virt_nofailh]j5)}(hbio_add_virt_nofailh]hbio_add_virt_nofail}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h,(struct bio *bio, void *vaddr, unsigned len)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)}jjsbc.bio_add_virt_nofailasbuh1hhjubj)}(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)}(h void *vaddrh](j)}(hvoidh]hvoid}(hj|hhhNhNubah}(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)}(hvaddrh]hvaddr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(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&]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.add data in the direct kernel mapping to a bioh]h.add data in the direct kernel mapping to a bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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)}(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:59: ./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:59: ./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)}(hj~h]h void *vaddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjxubj)}(hhh]h)}(h data to addh]h data to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(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:59: ./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:59: ./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 }(hjhhhNhNubj)}(h **vaddr**h]hvaddr}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to }(hjhhhNhNubj)}(h**bio**h]hbio}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. The caller must have ensure a segment is available for the added data. No merging into an existing segment will be performed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_add_page (C function)c.bio_add_pagehNtauh1hhjIEhhhNhNubh)}(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:59: ./block/bio.chMubj)}(h h]h }(hjjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWhhhjihMubj/)}(h bio_add_pageh]j5)}(h bio_add_pageh]h bio_add_page}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjWhhhjihMubj)}(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)}jj~sbc.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 hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hpageh]hpage}(hj(hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj%ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj*modnameN classnameNjj)}j]jc.bio_add_pageasbuh1hhjubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjThhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hpageh]hpage}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int lenh](j)}(hunsignedh]hunsigned}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubj5)}(hlenh]hlen}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubeh}(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}(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)}(hattempt to add page(s) to bioh]hattempt to add page(s) to bio}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj*hhubah}(h]h ]h"]h$]h&]uh1jbhjPhhhjihMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEjjEjjjuh1hhhhjIEhNhNubj)}(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:59: ./block/bio.chMhjIubj)}(hhh](j)}(h$``struct bio *bio`` destination bio h](j)}(h``struct bio *bio``h]j)}(hjnh]hstruct bio *bio}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjhubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMhjeubj)}(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:59: ./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&]uh1jhjhMhjeubj)}(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:59: ./block/bio.chMhjubj)}(hhh]h)}(h!vec entry length, may cross pagesh]h!vec entry length, may cross pages}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjeubj)}(hO``unsigned int offset`` vec entry offset relative to **page**, may cross pages h](j)}(h``unsigned int offset``h]j)}(hjh]hunsigned int offset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(h6vec entry offset relative to **page**, may cross pagesh](hvec entry offset relative to }(hj2hhhNhNubj)}(h**page**h]hpage}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh, may cross pages}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjeubeh}(h]h ]h"]h$]h&]uh1jhjIubh)}(h**Description**h]j)}(hjfh]h Description}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjIubj{)}(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:59: ./block/bio.chMhj|ubah}(h]h ]h"]h$]h&]uh1jzhjhMhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_add_folio (C function)c.bio_add_foliohNtauh1hhjIEhhhNhNubh)}(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:59: ./block/bio.chM'ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM'ubj/)}(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.hjhhhjhM'ubj)}(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 hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.bio_add_folioasbuh1hhjubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj=hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbioh]hbio}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct folio *folioh](j )}(hjzh]hstruct}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj_ubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_ubh)}(hhh]j5)}(hfolioh]hfolio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j+c.bio_add_folioasbuh1hhj_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)}(hfolioh]hfolio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubeh}(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]j+c.bio_add_folioasbuh1hhjubj)}(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)}(h size_t offh](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]j+c.bio_add_folioasbuh1hhjubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hoffh]hoff}(hjJhhhNhNubah}(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(Attempt to add part of a folio to a bio.h]h(Attempt to add part of a folio to a bio.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM'hjqhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM'ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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:59: ./block/bio.chM+hjubj)}(hhh](j)}(h#``struct bio *bio`` BIO to add to. h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM(hjubj)}(hhh]h)}(hBIO to add to.h]hBIO to add to.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM(hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM(hjubj)}(h&``struct folio *folio`` Folio to add. h](j)}(h``struct folio *folio``h]j)}(hjh]hstruct folio *folio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM)hjubj)}(hhh]h)}(h Folio to add.h]h Folio to add.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjubj)}(h5``size_t len`` How many bytes from the folio to add. 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:59: ./block/bio.chM*hj!ubj)}(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<hM*hj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hM*hjubj)}(h0``size_t off`` First byte in this folio to add. h](j)}(h``size_t off``h]j)}(hj`h]h size_t off}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM+hjZubj)}(hhh]h)}(h First byte in this folio to add.h]h First byte in this folio to add.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhM+hjvubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhjuhM+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:59: ./block/bio.chM-hjubh)}(hXFilesystems that use folios can call this function instead of calling bio_add_page() for each page in the folio. If **off** is bigger than PAGE_SIZE, this function can create a bio_vec that starts in a page after the bv_page. BIOs do not support folios that are 4GiB or larger.h](huFilesystems that use folios can call this function instead of calling bio_add_page() for each page in the folio. If }(hjhhhNhNubj)}(h**off**h]hoff}(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:59: ./block/bio.chM,hjubh)}(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:59: ./block/bio.chM1hjubh)}(h$Whether the addition was successful.h]h$Whether the addition was successful.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM2hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"bio_add_vmalloc_chunk (C function)c.bio_add_vmalloc_chunkhNtauh1hhjIEhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM@ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj'hM@ubj)}(hinth]hint}(hj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhj'hM@ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj'hM@ubj/)}(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.hjhhhj'hM@ubj)}(h,(struct bio *bio, void *vaddr, unsigned len)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubh)}(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_chunkasbuh1hhjnubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjnubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubj)}(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}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubj)}(h unsigned lenh](j)}(hunsignedh]hunsigned}(hj&hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj"ubj)}(h h]h }(hj4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj"ubj5)}(hlenh]hlen}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj'hM@ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj'hM@ubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj'hM@hjhhubjc)}(hhh]h)}(hadd a vmalloc chunk to a bioh]hadd a vmalloc chunk to a bio}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM@hjihhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj'hM@ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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:59: ./block/bio.chMDhjubj)}(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:59: ./block/bio.chMAhjubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMAhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMAhjubj)}(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:59: ./block/bio.chMBhjubj)}(hhh]h)}(hvmalloc address to addh]hvmalloc address to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMBhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjubj)}(h:``unsigned len`` total length in bytes of the data to add h](j)}(h``unsigned len``h]j)}(hjh]h unsigned len}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMChjubj)}(hhh]h)}(h(total length in bytes of the data to addh]h(total length in bytes of the data to add}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hMChj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMChjubeh}(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:59: ./block/bio.chMEhjubh)}(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 }(hjphhhNhNubj)}(h **vaddr**h]hvaddr}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh to }(hjphhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh 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 }(hjphhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubh.}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMDhjubh)}(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:59: ./block/bio.chMHhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_add_vmalloc (C function)c.bio_add_vmallochNtauh1hhjIEhhhNhNubh)}(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:59: ./block/bio.chM[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM[ubj/)}(hbio_add_vmalloch]j5)}(hbio_add_vmalloch]hbio_add_vmalloc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM[ubj)}(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 hjubj)}(h h]h }(hj-hhhNhNubah}(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)}jjsbc.bio_add_vmallocasbuh1hhjubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjlhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbioh]hbio}(hjyhhhNhNubah}(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*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hvaddrh]hvaddr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(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}(hj hhhNhNubah}(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)}(hadd a vmalloc region to a bioh]hadd a vmalloc region to a bio}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM[hj3hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM[ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1hhhhjIEhNhNubj)}(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:59: ./block/bio.chM_hjRubj)}(hhh](j)}(h$``struct bio *bio`` destination bio h](j)}(h``struct bio *bio``h]j)}(hjwh]hstruct bio *bio}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM\hjqubj)}(hhh]h)}(hdestination bioh]hdestination bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhM\hjnubj)}(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:59: ./block/bio.chM]hjubj)}(hhh]h)}(hvmalloc address to addh]hvmalloc address to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM]hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM]hjnubj)}(h>``unsigned int len`` total length in bytes of the data to add h](j)}(h``unsigned int len``h]j)}(hjh]hunsigned int len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM^hjubj)}(hhh]h)}(h(total length in bytes of the data to addh]h(total length in bytes of the data to add}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM^hjnubeh}(h]h ]h"]h$]h&]uh1jhjRubh)}(h**Description**h]j)}(hj$h]h Description}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM`hjRubh)}(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 }(hj:hhhNhNubj)}(h **vaddr**h]hvaddr}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh to }(hj:hhhNhNubj)}(h**bio**h]hbio}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh . Return }(hj:hhhNhNubj)}(h``true``h]htrue}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh on success or }(hj:hhhNhNubj)}(h ``false``h]hfalse}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh if }(hj:hhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubh, does not have enough space for the payload.}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM_hjRubh)}(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:59: ./block/bio.chMbhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsubmit_bio_wait (C function)c.submit_bio_waithNtauh1hhjIEhhhNhNubh)}(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:59: ./block/bio.chM]ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM]ubj/)}(hsubmit_bio_waith]j5)}(hsubmit_bio_waith]hsubmit_bio_wait}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM]ubj)}(h(struct bio *bio)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 reftargetj/modnameN 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}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(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)}(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:59: ./block/bio.chM]hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM]ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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:59: ./block/bio.chMahjubj)}(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:59: ./block/bio.chM^hjubj)}(hhh]h)}(h6The :c:type:`struct bio ` which describes the I/Oh](hThe }(hjhhhNhNubh)}(h:c:type:`struct bio `h]j)}(hjh]h struct bio}(hjhhhNhNubah}(h]h ](jKjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocjW refdomainjreftypetype refexplicitrefwarnjj]j`biouh1hhjhM^hjubh which describes the I/O}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM^hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj1h]h Description}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM`hjubh)}(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:59: ./block/bio.chM_hjubh)}(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:59: ./block/bio.chMbhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbdev_rw_virt (C function)c.bdev_rw_virthNtauh1hhjIEhhhNhNubh)}(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:59: ./block/bio.chMwubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMwubj/)}(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.hjhhhjhMwubj)}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbdevh]hbdev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hsector_t sectorh](h)}(hhh]j5)}(hsector_th]hsector_t}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj)}j]jc.bdev_rw_virtasbuh1hhj0ubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubj5)}(hsectorh]hsector}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *datah](j)}(hvoidh]hvoid}(hj|hhhNhNubah}(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)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(henum req_op oph](j )}(hjh]henum}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hreq_oph]hreq_op}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj!ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj&modnameN classnameNjj)}j]jc.bdev_rw_virtasbuh1hhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hoph]hop}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMwubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj}hhhjhMwubah}(h]jxah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMwhjzhhubjc)}(hhh]h)}(h3synchronously read into / write from kernel mappingh]h3synchronously read into / write from kernel mapping}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMwhjwhhubah}(h]h ]h"]h$]h&]uh1jbhjzhhhjhMwubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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:59: ./block/bio.chM{hjubj)}(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:59: ./block/bio.chMxhjubj)}(hhh]h)}(hblock device to accessh]hblock device to access}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMxhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMxhjubj)}(h%``sector_t sector`` sector to access h](j)}(h``sector_t sector``h]j)}(hjh]hsector_t sector}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMyhjubj)}(hhh]h)}(hsector to accessh]hsector to access}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMyhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMyhjubj)}(h"``void *data`` data to read/write h](j)}(h``void *data``h]j)}(hj-h]h void *data}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMzhj'ubj)}(hhh]h)}(hdata to read/writeh]hdata to read/write}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhMzhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMzhjubj)}(h,``size_t len`` length in byte to read/write h](j)}(h``size_t len``h]j)}(hjfh]h size_t len}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM{hj`ubj)}(hhh]h)}(hlength in byte to read/writeh]hlength in byte to read/write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hM{hj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hM{hjubj)}(h=``enum req_op op`` operation (e.g. REQ_OP_READ/REQ_OP_WRITE) h](j)}(h``enum req_op op``h]j)}(hjh]henum req_op op}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM|hjubj)}(hhh]h)}(h)operation (e.g. REQ_OP_READ/REQ_OP_WRITE)h]h)operation (e.g. REQ_OP_READ/REQ_OP_WRITE)}(hjhhhNhNubah}(h]h ]h"]h$]h&]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:59: ./block/bio.chM~hjubh)}(hPerforms synchronous I/O to **bdev** for **data**/**len**. **data** must be in the kernel direct mapping and not a vmalloc address.h](hPerforms synchronous I/O to }(hjhhhNhNubj)}(h**bdev**h]hbdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh for }(hjhhhNhNubj)}(h**data**h]hdata}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/}(hjhhhNhNubj)}(h**len**h]hlen}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. }(hjhhhNhNubj)}(h**data**h]hdata}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh@ must be in the kernel direct mapping and not a vmalloc address.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM}hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_copy_data (C function)c.bio_copy_datahNtauh1hhjIEhhhNhNubh)}(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}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjchhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjchhhjuhMubj/)}(h bio_copy_datah]j5)}(h bio_copy_datah]h bio_copy_data}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjchhhjuhMubj)}(h"(struct bio *dst, struct bio *src)h](j)}(hstruct bio *dsth](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_copy_dataasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdsth]hdst}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct bio *srch](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)}(hbioh]hbio}(hj4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj6modnameN classnameNjj)}j]jc.bio_copy_dataasbuh1hhjubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj`hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsrch]hsrc}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjchhhjuhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj_hhhjuhMubah}(h]jZah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjuhMhj\hhubjc)}(hhh]h)}(h5copy contents of data buffers from one bio to anotherh]h5copy contents of data buffers from one bio to another}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj\hhhjuhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(hX**Parameters** ``struct bio *dst`` destination bio ``struct bio *src`` source bio **Description** Stops when it reaches the end of either **src** or **dst** - that is, copies min(src->bi_size, dst->bi_size) bytes (or the equivalent for lists of bios).h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh](j)}(h$``struct bio *dst`` destination bio h](j)}(h``struct bio *dst``h]j)}(hjh]hstruct bio *dst}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./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 bio *src`` source bio h](j)}(h``struct bio *src``h]j)}(hjh]hstruct bio *src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj ubj)}(hhh]h)}(h source bioh]h source bio}(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)}(hjLh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubh)}(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 }(hjbhhhNhNubj)}(h**src**h]hsrc}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh or }(hjbhhhNhNubj)}(h**dst**h]hdst}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh_ - that is, copies min(src->bi_size, dst->bi_size) bytes (or the equivalent for lists of bios).}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_endio (C function) c.bio_endiohNtauh1hhjIEhhhNhNubh)}(hhh](j)}(h void bio_endio (struct bio *bio)h]j)}(hvoid bio_endio(struct bio *bio)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMTubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMTubj/)}(h bio_endioh]j5)}(h bio_endioh]h bio_endio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMTubj)}(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&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsb c.bio_endioasbuh1hhjubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj>hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbioh]hbio}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMTubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMTubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMThjhhubjc)}(hhh]h)}(hend I/O on a bioh]hend I/O on a bio}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMThjrhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMTubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(hX**Parameters** ``struct bio *bio`` bio **Description** bio_endio() will end I/O on the whole bio. bio_endio() is the preferred way to end I/O on a bio. No one should call bi_end_io() directly on a bio unless they own it and thus know that it has an end_io function. bio_endio() can be called several times on a bio that has been chained using bio_chain(). The ->bi_end_io() function will only be called the last time.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMXhjubj)}(hhh]j)}(h``struct bio *bio`` bio h](j)}(h``struct bio *bio``h]j)}(hjh]hstruct bio *bio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMUhjubj)}(hhh]h)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMUhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMUhjubah}(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:59: ./block/bio.chMWhjubj{)}(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:59: ./block/bio.chMWhjubh)}(hbio_endio() can be called several times on a bio that has been chained using bio_chain(). The ->bi_end_io() function will only be called the last time.h]hbio_endio() can be called several times on a bio that has been chained using bio_chain(). The ->bi_end_io() function will only be called the last time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chM[hjubeh}(h]h ]h"]h$]h&]uh1jzhjhMWhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_split (C function) c.bio_splithNtauh1hhjIEhhhNhNubh)}(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:59: ./block/bio.chMubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKhhhj\hMubh)}(hhh]j5)}(hbioh]hbio}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjpmodnameN 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 reftargetjmodnameN classnameNjj)}j]j c.bio_splitasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(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}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj5ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubj5)}(hsectorsh]hsectors}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h gfp_t gfph](h)}(hhh]j5)}(hgfp_th]hgfp_t}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNjj)}j]j c.bio_splitasbuh1hhjjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjubj5)}(hgfph]hgfp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjjubeh}(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*}(hjhhhNhNubah}(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}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj4hhubah}(h]h ]h"]h$]h&]uh1jbhjDhhhj\hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjOjjOjjjuh1hhhhjIEhNhNubj)}(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:59: ./block/bio.chMhjSubj)}(hhh](j)}(h!``struct bio *bio`` bio to split h](j)}(h``struct bio *bio``h]j)}(hjxh]hstruct bio *bio}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjrubj)}(hhh]h)}(h bio to splith]h bio to split}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjoubj)}(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:59: ./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&]uh1jhjhMhjoubj)}(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:59: ./block/bio.chMhjubj)}(hhh]h)}(hgfp maskh]hgfp mask}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjoubj)}(h0``struct bio_set *bs`` bio set to allocate from h](j)}(h``struct bio_set *bs``h]j)}(hj1h]hstruct bio_set *bs}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhj+ubj)}(hhh]h)}(hbio set to allocate fromh]hbio set to allocate from}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjoubeh}(h]h ]h"]h$]h&]uh1jhjSubh)}(h**Description**h]j)}(hjlh]h Description}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjSubh)}(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:59: ./block/bio.chMhjSubh)}(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:59: ./block/bio.chMhjSubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbio_trim (C function) c.bio_trimhNtauh1hhjIEhhhNhNubh)}(hhh](j)}(h?void bio_trim (struct bio *bio, sector_t offset, sector_t size)h]j)}(h>void bio_trim(struct bio *bio, sector_t offset, sector_t size)h](j)}(hvoidh]hvoid}(hj,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj(hhhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(hhhj:hMubj/)}(hbio_trimh]j5)}(hbio_trimh]hbio_trim}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj(hhhj:hMubj)}(h1(struct bio *bio, sector_t offset, sector_t size)h](j)}(hstruct bio *bioh](j )}(hjzh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubh)}(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_trimasbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjeubj5)}(hbioh]hbio}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubj)}(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&]noemphjLjMuh1jhjaubj)}(h sector_t sizeh](h)}(hhh]j5)}(hsector_th]hsector_t}(hj&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(modnameN classnameNjj)}j]j c.bio_trimasbuh1hhjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hsizeh]hsize}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubeh}(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 trim a bioh]h trim a bio}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjyhhubah}(h]h ]h"]h$]h&]uh1jbhj!hhhj:hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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:59: ./block/bio.chMhjubj)}(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:59: ./block/bio.chMhjubj)}(hhh]h)}(h bio to trimh]h bio to trim}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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:59: ./block/bio.chMhjubj)}(hhh]h)}(h3number of sectors to trim from the front of **bio**h](h,number of sectors to trim from the front of }(hjhhhNhNubj)}(h**bio**h]hbio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhj hMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(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:59: ./block/bio.chMhj7ubj)}(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&]uh1hhjRhMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjubeh}(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:59: ./block/bio.chMhjubh)}(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:59: ./block/bio.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hbioset_init (C function) c.bioset_inithNtauh1hhjIEhhhNhNubh)}(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:59: ./block/bio.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(h bioset_inith]j5)}(h bioset_inith]h bioset_init}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(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 hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hbio_seth]hbio_set}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj,modnameN classnameNjj)}j]j)}jjsb c.bioset_initasbuh1hhjubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjXhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbsh]hbs}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int pool_sizeh](j)}(hunsignedh]hunsigned}(hj~hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjzubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjzubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubj5)}(h pool_sizeh]h pool_size}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(h front_padh]h front_pad}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int flagsh](j)}(hinth]hint}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hflagsh]hflags}(hj<hhhNhNubah}(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]h)}(hInitialize a bio_seth]hInitialize a bio_set}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjchhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj~jj~jjjuh1hhhhjIEhNhNubj)}(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:59: ./block/bio.chMhjubj)}(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:59: ./block/bio.chMhjubj)}(hhh]h)}(hpool to initializeh]hpool to initialize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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:59: ./block/bio.chMhjubj)}(hhh]h)}(h2Number of bio and bio_vecs to cache in the mempoolh]h2Number of bio and bio_vecs to cache in the mempool}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hT``unsigned int front_pad`` Number of bytes to allocate in front of the returned bio h](j)}(h``unsigned int front_pad``h]j)}(hjh]hunsigned int front_pad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjubj)}(hhh]h)}(h8Number of bytes to allocate in front of the returned bioh]h8Number of bytes to allocate in front of the returned bio}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hMhj/ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj.hMhjubj)}(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:59: ./block/bio.chMhjLubj)}(hhh]h)}(hUFlags to modify behavior, currently ``BIOSET_NEED_BVECS`` and ``BIOSET_NEED_RESCUER``h](h$Flags to modify behavior, currently }(hjkhhhNhNubj)}(h``BIOSET_NEED_BVECS``h]hBIOSET_NEED_BVECS}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh and }(hjkhhhNhNubj)}(h``BIOSET_NEED_RESCUER``h]hBIOSET_NEED_RESCUER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./block/bio.chMhjhubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhjghMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhS/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:59: ./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}(hjhhhNhNubah}(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:59: ./block/bio.chM hjubah}(h]h ]h"]h$]h&]uh1jzhjhM hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_open (C function) c.seq_openhNtauh1hhjIEhhhNhNubh)}(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:62: ./fs/seq_file.chK*ubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAhhhjShK*ubj/)}(hseq_openh]j5)}(hseq_openh]hseq_open}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(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 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)}jjhsb c.seq_openasbuh1hhj~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&]noemphjLjMuh1jhjzubj)}(hconst struct seq_operations *oph](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)}(hseq_operationsh]hseq_operations}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN 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}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzubeh}(h]h ]h"]h$]h&]jLjMuh1jhjAhhhjShK*ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj=hhhjShK*ubah}(h]j8ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjShK*hj:hhubjc)}(hhh]h)}(hinitialize sequential fileh]hinitialize sequential file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK*hjhhubah}(h]h ]h"]h$]h&]uh1jbhj:hhhjShK*ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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:62: ./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:62: ./fs/seq_file.chK+hjubj)}(hhh]h)}(hfile we initializeh]hfile we initialize}(hjhhhNhNubah}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK,hjubj)}(hhh]h)}(h$method table describing the sequenceh]h$method table describing the sequence}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhK,hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhK,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:62: ./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 }(hj_hhhNhNubj)}(h**file**h]hfile}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh., associating it with a sequence described by }(hj_hhhNhNubj)}(h**op**h]hop}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh. }(hj_hhhNhNubj)}(h**op->start\(\)**h]h op->start()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubhA sets the iterator up and returns the first element of sequence. }(hj_hhhNhNubj)}(h**op->stop\(\)**h]h op->stop()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh shuts it down. }(hj_hhhNhNubj)}(h**op->next\(\)**h]h op->next()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh( returns the next element of sequence. }(hj_hhhNhNubj)}(h**op->show\(\)**h]h op->show()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh prints element into the buffer. In case of error ->start() and ->next() return ERR_PTR(error). In the end of sequence they return }(hj_hhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh. ->show() returns 0 in case of success and negative number in case of error. Returning SEQ_SKIP means “discard this element and move on”.}(hj_hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK-hj[ubah}(h]h ]h"]h$]h&]uh1jzhjhK-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:62: ./fs/seq_file.chK6hjubj)}(hhh]j)}(hseq_open() will allocate a struct seq_file and store its pointer in **file->private_data**. This pointer should not be modified.h](j)}(h8seq_open() will allocate a struct seq_file and store itsh]h8seq_open() will allocate a struct seq_file and store its}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK6hj ubj)}(hhh]h)}(hGpointer in **file->private_data**. This pointer should not be modified.h](h pointer in }(hj#hhhNhNubj)}(h**file->private_data**h]hfile->private_data}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh&. This pointer should not be modified.}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chK7hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjhK6hj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_read (C function) c.seq_readhNtauh1hhjIEhhhNhNubh)}(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}(hjyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNjj)}j]j)}jseq_readsb c.seq_readasbuh1hhjrhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrhhhjhKubj/)}(hseq_readh]j5)}(hjh]hseq_read}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjrhhhjhKubj)}(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 }(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)}(hchar __user *bufh](j)}(hcharh]hchar}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj4ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubh__user}(hj4hhhNhNubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj*)}(hj-h]h*}(hjfhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj4ubj5)}(hbufh]hbuf}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(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*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjrhhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjnhhhjhKubah}(h]jiah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjkhhubjc)}(hhh]h)}(h%->read() method for sequential files.h]h%->read() method for sequential files.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKhj7hhubah}(h]h ]h"]h$]h&]uh1jbhjkhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjRjjRjjjuh1hhhhjIEhNhNubj)}(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:62: ./fs/seq_file.chKhjVubj)}(hhh](j)}(h,``struct file *file`` the file to read from h](j)}(h``struct file *file``h]j)}(hj{h]hstruct file *file}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKhjuubj)}(hhh]h)}(hthe file to read fromh]hthe file to read from}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjhKhjrubj)}(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:62: ./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&]uh1jhjhKhjrubj)}(h4``size_t size`` the maximum number of bytes to read h](j)}(h``size_t size``h]j)}(hjh]h size_t size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKhjubj)}(hhh]h)}(h#the maximum number of bytes to readh]h#the maximum number of bytes to read}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjrubj)}(h2``loff_t *ppos`` the current position in the file h](j)}(h``loff_t *ppos``h]j)}(hj&h]h loff_t *ppos}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./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;hKhjrubeh}(h]h ]h"]h$]h&]uh1jhjVubh)}(h**Description**h]j)}(hjah]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKhjVubj{)}(hReady-made ->f_op->read()h]h)}(hjyh]hReady-made ->f_op->read()}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chKhjwubah}(h]h ]h"]h$]h&]uh1jzhjhKhjVubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_lseek (C function) c.seq_lseekhNtauh1hhjIEhhhNhNubh)}(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:62: ./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}(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 reftargetj!modnameN 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}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNjj)}j]j c.seq_lseekasbuh1hhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubj5)}(hoffseth]hoffset}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubeh}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM-hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM-ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjIEhNhNubj)}(h**Parameters** ``struct file *file`` the file in question ``loff_t offset`` new position ``int whence`` 0 for absolute, 1 for relative position **Description** Ready-made ->f_op->llseek()h](h)}(h**Parameters**h]j)}(hj! h]h Parameters}(hj# hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM1hj 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:62: ./fs/seq_file.chM.hj: 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&]uh1jhj: ubeh}(h]h ]h"]h$]h&]uh1jhjU hM.hj7 ubj)}(h``loff_t offset`` new position h](j)}(h``loff_t offset``h]j)}(hjy h]h loff_t offset}(hj{ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM/hjs ubj)}(hhh]h)}(h new positionh]h new position}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hM/hj ubah}(h]h ]h"]h$]h&]uh1jhjs ubeh}(h]h ]h"]h$]h&]uh1jhj hM/hj7 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:62: ./fs/seq_file.chM0hj 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 hM0hj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hM0hj7 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:62: ./fs/seq_file.chM2hj 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:62: ./fs/seq_file.chM1hj ubah}(h]h ]h"]h$]h&]uh1jzhj hM1hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_release (C function) c.seq_releasehNtauh1hhjIEhhhNhNubh)}(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&]uh1jhj7 hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMYubj)}(h h]h }(hjJ hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7 hhhjI hMYubj/)}(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.hj7 hhhjI hMYubj)}(h((struct inode *inode, struct file *file)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjx hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjt ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjt 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_releaseasbuh1hhjt ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjt ubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjt ubj5)}(hinodeh]hinode}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjt ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjp 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 }(hj& hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj*)}(hj-h]h*}(hj4 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&]noemphjLjMuh1jhjp ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj7 hhhjI hMYubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj3 hhhjI hMYubah}(h]j. ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjI hMYhj0 hhubjc)}(hhh]h)}(h4free the structures associated with sequential file.h]h4free the structures associated with sequential file.}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMYhjh hhubah}(h]h ]h"]h$]h&]uh1jbhj0 hhhjI hMYubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjIEhNhNubj)}(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:62: ./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:62: ./fs/seq_file.chMZhj ubj)}(hhh]h)}(h its inodeh]h its inode}(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)}(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:62: ./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}(hj" hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM]hj ubj{)}(hFrees the structures associated with sequential file; can be used as ->f_op->release() if you don't have private data to destroy.h]h)}(hFrees the structures associated with sequential file; can be used as ->f_op->release() if you don't have private data to destroy.h]hFrees the structures associated with sequential file; can be used as ->f_op->release() if you don’t have private data to destroy.}(hj: hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM\hj6 ubah}(h]h ]h"]h$]h&]uh1jzhjH hM\hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_escape_mem (C function)c.seq_escape_memhNtauh1hhjIEhhhNhNubh)}(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}(hjo hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjk hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMjubj)}(h h]h }(hj~ hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjk hhhj} hMjubj/)}(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.hjk hhhj} hMjubj)}(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 }(hj+ hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj)}(hcharh]hchar}(hj9 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}(hjb 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_memasbuh1hhjw ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjw ubj5)}(hlenh]hlen}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjw 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}(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)}(hesch]hesc}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjk hhhj} hMjubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjg hhhj} hMjubah}(h]jb ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj} hMjhjd hhubjc)}(hhh]h)}(h0print data into buffer, escaping some charactersh]h0print data into buffer, escaping some characters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMjhjhhubah}(h]h ]h"]h$]h&]uh1jbhjd hhhj} hMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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)}(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:62: ./fs/seq_file.chMnhjubj)}(hhh](j)}(h%``struct seq_file *m`` target buffer h](j)}(h``struct seq_file *m``h]j)}(hjh]hstruct seq_file *m}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMkhjubj)}(hhh]h)}(h target bufferh]h target buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMkhjubj)}(h"``const char *src`` source buffer h](j)}(h``const char *src``h]j)}(hjh]hconst char *src}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMlhjubj)}(hhh]h)}(h source bufferh]h source buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjubj)}(h%``size_t len`` size of source buffer h](j)}(h``size_t len``h]j)}(hj5h]h size_t len}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMmhj/ubj)}(hhh]h)}(hsize of source bufferh]hsize of source buffer}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhMmhjKubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjJhMmhjubj)}(h<``unsigned int flags`` flags to pass to string_escape_mem() h](j)}(h``unsigned int flags``h]j)}(hjnh]hunsigned int flags}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMnhjhubj)}(hhh]h)}(h$flags to pass to string_escape_mem()h]h$flags to pass to string_escape_mem()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubj)}(h9``const char *esc`` set of characters that need escaping h](j)}(h``const char *esc``h]j)}(hjh]hconst char *esc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMohjubj)}(hhh]h)}(h$set of characters that need escapingh]h$set of characters that need escaping}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMohjubeh}(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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMqhjubh)}(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 }(hjhhhNhNubj)}(h **flags**h]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h**esc**h]hesc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh") with printable escaped sequence.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMphjubh)}(h-Use seq_has_overflowed() to check for errors.h]h-Use seq_has_overflowed() to check for errors.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMshjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmangle_path (C function) c.mangle_pathhNtauh1hhjIEhhhNhNubh)}(hhh](j)}(hhMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjubj)}(h9``const char *esc`` set of characters that need escaping h](j)}(h``const char *esc``h]j)}(hjbh]hconst char *esc}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj\ubj)}(hhh]h)}(h$set of characters that need escapingh]h$set of characters that need escaping}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubj{)}(hCopy the path from **p** to **s**, replacing each occurrence of character from **esc** with usual octal escape. Returns pointer past last written character in **s**, or NULL in case of failure.h]h)}(hCopy the path from **p** to **s**, replacing each occurrence of character from **esc** with usual octal escape. Returns pointer past last written character in **s**, or NULL in case of failure.h](hCopy the path from }(hjhhhNhNubj)}(h**p**h]hp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to }(hjhhhNhNubj)}(h**s**h]hs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh., replacing each occurrence of character from }(hjhhhNhNubj)}(h**esc**h]hesc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhI with usual octal escape. Returns pointer past last written character in }(hjhhhNhNubj)}(h**s**h]hs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, or NULL in case of failure.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubah}(h]h ]h"]h$]h&]uh1jzhj hMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_path (C function) c.seq_pathhNtauh1hhjIEhhhNhNubh)}(hhh](j)}(hKint seq_path (struct seq_file *m, const struct path *path, const char *esc)h]j)}(hJint seq_path(struct seq_file *m, const struct path *path, const char *esc)h](j)}(hinth]hint}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj0hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0hhhjBhMubj/)}(hseq_pathh]j5)}(hseq_pathh]hseq_path}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj0hhhjBhMubj)}(h>(struct seq_file *m, const struct path *path, const char *esc)h](j)}(hstruct seq_file *mh](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)}(hseq_fileh]hseq_file}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjWsb c.seq_pathasbuh1hhjmubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjmubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjmubj5)}(hj h]hm}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjmubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(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 c.seq_pathasbuh1hhjubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjGhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hpathh]hpath}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubj)}(hconst char *esch](j )}(hjUh]hconst}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjiubj5)}(hesch]hesc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjiubeh}(h]h ]h"]h$]h&]jLjMuh1jhj0hhhjBhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj,hhhjBhMubah}(h]j'ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjBhMhj)hhubjc)}(hhh]h)}(h&seq_file interface to print a pathnameh]h&seq_file interface to print a pathname}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj)hhhjBhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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)}(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:62: ./fs/seq_file.chMhjubj)}(hhh](j)}(h+``struct seq_file *m`` the seq_file handle h](j)}(h``struct seq_file *m``h]j)}(hjh]hstruct seq_file *m}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubj)}(hhh]h)}(hthe seq_file handleh]hthe seq_file handle}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMhj2ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj1hMhjubj)}(h5``const struct path *path`` the struct path to print h](j)}(h``const struct path *path``h]j)}(hjUh]hconst struct path *path}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjOubj)}(hhh]h)}(hthe struct path to printh]hthe struct path to print}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjjhMhjkubah}(h]h ]h"]h$]h&]uh1jhjOubeh}(h]h ]h"]h$]h&]uh1jhjjhMhjubj)}(h>``const char *esc`` set of characters to escape in the output h](j)}(h``const char *esc``h]j)}(hjh]hconst char *esc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubj)}(hhh]h)}(h)set of characters to escape in the outputh]h)set of characters to escape in the output}(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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_file_path (C function)c.seq_file_pathhNtauh1hhjIEhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhjhMubj/)}(h seq_file_pathh]j5)}(h seq_file_pathh]h seq_file_path}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhjhMubj)}(h8(struct seq_file *m, struct file *file, const char *esc)h](j)}(hstruct seq_file *mh](j )}(hjzh]hstruct}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjGubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubh)}(hhh]j5)}(hseq_fileh]hseq_file}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjkmodnameN classnameNjj)}j]j)}jj1sbc.seq_file_pathasbuh1hhjGubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjGubj5)}(hj h]hm}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjCubj)}(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]jc.seq_file_pathasbuh1hhjubj)}(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&]noemphjLjMuh1jhjCubj)}(hconst char *esch](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)}(hcharh]hchar}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj(ubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(ubj*)}(hj-h]h*}(hjchhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj(ubj5)}(hesch]hesc}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjCubeh}(h]h ]h"]h$]h&]jLjMuh1jhj hhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h0seq_file interface to print a pathname of a fileh]h0seq_file interface to print a pathname of a file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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)}(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:62: ./fs/seq_file.chMhjubj)}(hhh](j)}(h+``struct seq_file *m`` the seq_file handle h](j)}(h``struct seq_file *m``h]j)}(hjh]hstruct seq_file *m}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubj)}(hhh]h)}(hthe seq_file handleh]hthe seq_file handle}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h/``struct file *file`` the struct file to print 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:62: ./fs/seq_file.chMhjubj)}(hhh]h)}(hthe struct file to printh]hthe struct file to print}(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 char *esc`` set of characters to escape in the output h](j)}(h``const char *esc``h]j)}(hjMh]hconst char *esc}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjGubj)}(hhh]h)}(h)set of characters to escape in the outputh]h)set of characters to escape in the output}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjbhMhjcubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjbhMhjubeh}(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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubh)}(h%return the absolute path to the file.h]h%return the absolute path to the file.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_write (C function) c.seq_writehNtauh1hhjIEhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM0ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM0ubj/)}(h seq_writeh]j5)}(h seq_writeh]h seq_write}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM0ubj)}(h4(struct seq_file *seq, const void *data, size_t len)h](j)}(hstruct seq_file *seqh](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)}(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)}jjsb c.seq_writeasbuh1hhjubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjVhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hseqh]hseq}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst void *datah](j )}(hjUh]hconst}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubj)}(hvoidh]hvoid}(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)}(hdatah]hdata}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(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]jD c.seq_writeasbuh1hhjubj)}(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&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM0ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM0ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM0hjhhubjc)}(hhh]h)}(hwrite arbitrary data to bufferh]hwrite arbitrary data to buffer}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM0hj/hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM0ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1hhhhjIEhNhNubj)}(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)}(hjTh]h Parameters}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM4hjNubj)}(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)}(hjsh]hstruct seq_file *seq}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM1hjmubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM1hjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhM1hjjubj)}(h"``const void *data`` data address h](j)}(h``const void *data``h]j)}(hjh]hconst void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM2hjubj)}(hhh]h)}(h data addressh]h data address}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjjubj)}(h``size_t len`` number of bytes h](j)}(h``size_t len``h]j)}(hjh]h size_t len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM3hjubj)}(hhh]h)}(hnumber of bytesh]hnumber of bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM3hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM3hjjubeh}(h]h ]h"]h$]h&]uh1jhjNubh)}(h**Description**h]j)}(hj h]h Description}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM5hjNubh)}(h(Return 0 on success, non-zero otherwise.h]h(Return 0 on success, non-zero otherwise.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM4hjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_pad (C function) c.seq_padhNtauh1hhjIEhhhNhNubh)}(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}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjahhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMDubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjahhhjshMDubj/)}(hseq_padh]j5)}(hseq_padh]hseq_pad}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjahhhjshMDubj)}(h(struct seq_file *m, char c)h](j)}(hstruct seq_file *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)}(hseq_fileh]hseq_file}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsb c.seq_padasbuh1hhjubj)}(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&]noemphjLjMuh1jhjubj)}(hchar ch](j)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj!hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hjh]hc}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjahhhjshMDubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj]hhhjshMDubah}(h]jXah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjshMDhjZhhubjc)}(hhh]h)}(hwrite padding spaces to bufferh]hwrite padding spaces to buffer}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMDhjUhhubah}(h]h ]h"]h$]h&]uh1jbhjZhhhjshMDubeh}(h]h ](jfunctioneh"]h$]h&]jjjjpjjpjjjuh1hhhhjIEhNhNubj)}(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)}(hjzh]h Parameters}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMHhjtubj)}(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)}(hjh]hstruct seq_file *m}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMEhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMEhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMEhjubj)}(h7``char c`` the byte to append after padding if non-zeroh](j)}(h ``char c``h]j)}(hjh]hchar c}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMGhjubj)}(hhh]h)}(h,the byte to append after padding if non-zeroh]h,the byte to append after padding if non-zero}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMGhjubeh}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_hlist_start (C function)c.seq_hlist_starthNtauh1hhjIEhhhNhNubh)}(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}(hj,hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj(hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(hhhj9hMubh)}(hhh]j5)}(h hlist_nodeh]h hlist_node}(hjKhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjMmodnameN classnameNjj)}j]j)}jseq_hlist_startsbc.seq_hlist_startasbuh1hhj(hhhj9hMubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(hhhj9hMubj*)}(hj-h]h*}(hjzhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj(hhhj9hMubj/)}(hseq_hlist_starth]j5)}(hjih]hseq_hlist_start}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj(hhhj9hMubj)}(h%(struct hlist_head *head, loff_t pos)h](j)}(hstruct hlist_head *headh](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 hlist_headh]h hlist_head}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jgc.seq_hlist_startasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hheadh]hhead}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t posh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jgc.seq_hlist_startasbuh1hhjubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hposh]hpos}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(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)}(hstart an iteration of a hlisth]hstart an iteration of a hlist}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjlhhubah}(h]h ]h"]h$]h&]uh1jbhj!hhhj9hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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)}(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:62: ./fs/seq_file.chMhjubj)}(hhh](j)}(h2``struct hlist_head *head`` the head of the hlist h](j)}(h``struct hlist_head *head``h]j)}(hjh]hstruct hlist_head *head}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h2``loff_t pos`` the start position of the sequence h](j)}(h``loff_t pos``h]j)}(hjh]h loff_t pos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubj)}(hhh]h)}(h"the start position of the sequenceh]h"the start position of the sequence}(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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjubh)}(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:62: ./fs/seq_file.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!seq_hlist_start_head (C function)c.seq_hlist_start_headhNtauh1hhjIEhhhNhNubh)}(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}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjehhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjehhhjvhMubh)}(hhh]j5)}(h hlist_nodeh]h hlist_node}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jseq_hlist_start_headsbc.seq_hlist_start_headasbuh1hhjehhhjvhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjehhhjvhMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjehhhjvhMubj/)}(hseq_hlist_start_headh]j5)}(hjh]hseq_hlist_start_head}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjehhhjvhMubj)}(h%(struct hlist_head *head, loff_t pos)h](j)}(hstruct hlist_head *headh](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 hlist_headh]h hlist_head}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jc.seq_hlist_start_headasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj- hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hheadh]hhead}(hj: hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h loff_t posh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjV hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjS ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjX modnameN classnameNjj)}j]jc.seq_hlist_start_headasbuh1hhjO ubj)}(h h]h }(hjt hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjO ubj5)}(hposh]hpos}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjO ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjehhhjvhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjahhhjvhMubah}(h]j\ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjvhMhj^hhubjc)}(hhh]h)}(hstart an iteration of a hlisth]hstart an iteration of a hlist}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj hhubah}(h]h ]h"]h$]h&]uh1jbhj^hhhjvhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjIEhNhNubj)}(h**Parameters** ``struct hlist_head *head`` the head of the hlist ``loff_t pos`` the start position of the sequence **Description** Called at seq_file->op->start(). Call this function if you want to print a header at the top of the output.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./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:62: ./fs/seq_file.chMhj ubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!hMhj!ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj!hMhj ubj)}(h2``loff_t pos`` the start position of the sequence h](j)}(h``loff_t pos``h]j)}(hj&!h]h loff_t pos}(hj(!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$!ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./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;!hMhjop->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.}(hjw!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_hlist_next (C function)c.seq_hlist_nexthNtauh1hhjIEhhhNhNubh)}(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}(hj!hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj!hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./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_nextsbc.seq_hlist_nextasbuh1hhj!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_nexth]j5)}(hj!h]hseq_hlist_next}(hj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj!hhhj!hMubj)}(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)}(hvh]hv}(hjI"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj"ubj)}(hstruct hlist_head *headh](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)}(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_nextasbuh1hhj^"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)}(hheadh]hhead}(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.seq_hlist_nextasbuh1hhj"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!hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj!hhhj!hMubah}(h]j!ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj!hMhj!hhubjc)}(hhh]h)}(h&move to the next position of the hlisth]h&move to the next position of the hlist}(hj8#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj5#hhubah}(h]h ]h"]h$]h&]uh1jbhj!hhhj!hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjP#jjP#jjjuh1hhhhjIEhNhNubj)}(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:62: ./fs/seq_file.chMhjT#ubj)}(hhh](j)}(h!``void *v`` the current iterator h](j)}(h ``void *v``h]j)}(hjy#h]hvoid *v}(hj{#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw#ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjs#ubj)}(hhh]h)}(hthe current iteratorh]hthe current iterator}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#hMhj#ubah}(h]h ]h"]h$]h&]uh1jhjs#ubeh}(h]h ]h"]h$]h&]uh1jhj#hMhjp#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:62: ./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#hMhjp#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:62: ./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$hMhjp#ubeh}(h]h ]h"]h$]h&]uh1jhjT#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:62: ./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:62: ./fs/seq_file.chMhjT#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h seq_hlist_start_rcu (C function)c.seq_hlist_start_rcuhNtauh1hhjIEhhhNhNubh)}(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}(hjk$hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjg$hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMubj)}(h h]h }(hjy$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjg$hhhjx$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_rcuasbuh1hhjg$hhhjx$hMubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjg$hhhjx$hMubj*)}(hj-h]h*}(hj$hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjg$hhhjx$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.hjg$hhhjx$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 }(hj!%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubj*)}(hj-h]h*}(hj/%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 }(hjv%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&]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.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:62: ./fs/seq_file.chMhj%hhubah}(h]h ]h"]h$]h&]uh1jbhj`$hhhjx$hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj%jj%jjjuh1hhhhjIEhNhNubj)}(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:62: ./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:62: ./fs/seq_file.chMhj%ubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hMhj&ubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj&hMhj%ubj)}(h2``loff_t pos`` the start position of the sequence h](j)}(h``loff_t pos``h]j)}(hj(&h]h loff_t pos}(hj*&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&&ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj"&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&]uh1jhj"&ubeh}(h]h ]h"]h$]h&]uh1jhj=&hMhj%ubeh}(h]h ]h"]h$]h&]uh1jhj%ubh)}(h**Description**h]j)}(hjc&h]h Description}(hje&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhja&ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj%ubh)}(h Called at seq_file->op->start().h]h Called at seq_file->op->start().}(hjy&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./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:62: ./fs/seq_file.chMhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%seq_hlist_start_head_rcu (C function)c.seq_hlist_start_head_rcuhNtauh1hhjIEhhhNhNubh)}(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:62: ./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}(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}(hj1'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}(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_rcuasbuh1hhj-'ubj)}(h h]h }(hjm'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-'ubj*)}(hj-h]h*}(hj{'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}(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&]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:62: ./fs/seq_file.chMhj'hhubah}(h]h ]h"]h$]h&]uh1jbhj&hhhj&hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj(jj(jjjuh1hhhhjIEhNhNubj)}(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(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:62: ./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&]uh1jhj9(ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhj5(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&]uh1jhj5(ubeh}(h]h ]h"]h$]h&]uh1jhjP(hMhj2(ubj)}(h2``loff_t pos`` the start position of the sequence h](j)}(h``loff_t pos``h]j)}(hjt(h]h loff_t pos}(hjv(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjr(ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMhjn(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&]uh1jhjn(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMhj2(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:62: ./fs/seq_file.chMhj(ubh)}(hkCalled at seq_file->op->start(). Call this function if you want to print a header at the top of the output.h]hkCalled at seq_file->op->start(). Call this function if you want to print a header at the top of the output.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./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:62: ./fs/seq_file.chMhj(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hseq_hlist_next_rcu (C function)c.seq_hlist_next_rcuhNtauh1hhjIEhhhNhNubh)}(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:62: ./fs/seq_file.chM%ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(hhhj)hM%ubh)}(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_next_rcusbc.seq_hlist_next_rcuasbuh1hhj(hhhj)hM%ubj)}(h h]h }(hjC)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(hhhj)hM%ubj*)}(hj-h]h*}(hjQ)hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj(hhhj)hM%ubj/)}(hseq_hlist_next_rcuh]j5)}(hj@)h]hseq_hlist_next_rcu}(hjb)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^)ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj(hhhj)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&]uh1jhjy)ubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjy)ubj*)}(hj-h]h*}(hj)hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjy)ubj5)}(hjK"h]hv}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjy)ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhju)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 }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj)ubj*)}(hj-h]h*}(hj*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&]noemphjLjMuh1jhju)ubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj1*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj3*modnameN classnameNjj)}j]j>)c.seq_hlist_next_rcuasbuh1hhj**ubj)}(h h]h }(hjO*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj**ubj*)}(hj-h]h*}(hj]*hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj**ubj5)}(hpposh]hppos}(hjj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj**ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhju)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)}(h7move to the next position of the hlist protected by RCUh]h7move to the next position of the hlist protected by RCU}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM%hj*hhubah}(h]h ]h"]h$]h&]uh1jbhj(hhhj)hM%ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj*jj*jjjuh1hhhhjIEhNhNubj)}(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)}(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:62: ./fs/seq_file.chM)hj*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:62: ./fs/seq_file.chM&hj*ubj)}(hhh]h)}(hthe current iteratorh]hthe current iterator}(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)}(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:62: ./fs/seq_file.chM'hj+ubj)}(hhh]h)}(hthe head of the hlisth]hthe head of the hlist}(hj'+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#+hM'hj$+ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhj#+hM'hj*ubj)}(h&``loff_t *ppos`` the current position h](j)}(h``loff_t *ppos``h]j)}(hjG+h]h loff_t *ppos}(hjI+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjE+ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM(hjA+ubj)}(hhh]h)}(hthe current positionh]hthe current position}(hj`+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\+hM(hj]+ubah}(h]h ]h"]h$]h&]uh1jhjA+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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM*hj*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:62: ./fs/seq_file.chM)hj*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:62: ./fs/seq_file.chM+hj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#seq_hlist_start_percpu (C function)c.seq_hlist_start_percpuhNtauh1hhjIEhhhNhNubh)}(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}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj+hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM?ubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+hhhj+hM?ubh)}(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_percpusbc.seq_hlist_start_percpuasbuh1hhj+hhhj+hM?ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+hhhj+hM?ubj*)}(hj-h]h*}(hj$,hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj+hhhj+hM?ubj/)}(hseq_hlist_start_percpuh]j5)}(hj,h]hseq_hlist_start_percpu}(hj5,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj1,ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj+hhhj+hM?ubj)}(h8(struct hlist_head __percpu *head, int *cpu, loff_t pos)h](j)}(h struct hlist_head __percpu *headh](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)}(h hlist_headh]h hlist_head}(hjn,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjk,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjp,modnameN classnameNjj)}j]j,c.seq_hlist_start_percpuasbuh1hhjL,ubj)}(h h]h }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjL,ubh__percpu}(hjL,hhhNhNubj)}(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)}(hheadh]hhead}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjL,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjH,ubj)}(hint *cpuh](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,ubj5)}(hcpuh]hcpu}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjH,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_percpuasbuh1hhj-ubj)}(h h]h }(hj5-hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubj5)}(hposh]hpos}(hjC-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjH,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*start an iteration of a percpu hlist arrayh]h*start an iteration of a percpu hlist array}(hjm-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM?hjj-hhubah}(h]h ]h"]h$]h&]uh1jbhj+hhhj+hM?ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj-jj-jjjuh1hhhhjIEhNhNubj)}(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)}(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:62: ./fs/seq_file.chMChj-ubj)}(hhh](j)}(hS``struct hlist_head __percpu *head`` pointer to percpu array of struct hlist_heads h](j)}(h$``struct hlist_head __percpu *head``h]j)}(hj-h]h struct hlist_head __percpu *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:62: ./fs/seq_file.chM@hj-ubj)}(hhh]h)}(h-pointer to percpu array of struct hlist_headsh]h-pointer to percpu array of struct hlist_heads}(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 *cpu`` pointer to cpu "cursor" h](j)}(h ``int *cpu``h]j)}(hj-h]hint *cpu}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMAhj-ubj)}(hhh]h)}(hpointer to cpu "cursor"h]hpointer to cpu “cursor”}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hMAhj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hMAhj-ubj)}(h*``loff_t pos`` start position of 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:62: ./fs/seq_file.chMBhj.ubj)}(hhh]h)}(hstart position of sequenceh]hstart position of sequence}(hj9.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5.hMBhj6.ubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1jhj5.hMBhj-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&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMDhj-ubh)}(h Called at seq_file->op->start().h]h Called at seq_file->op->start().}(hjq.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMChj-ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"seq_hlist_next_percpu (C function)c.seq_hlist_next_percpuhNtauh1hhjIEhhhNhNubh)}(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}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj.hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMVubj)}(h h]h }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.hhhj.hMVubh)}(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_next_percpusbc.seq_hlist_next_percpuasbuh1hhj.hhhj.hMVubj)}(h h]h }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.hhhj.hMVubj*)}(hj-h]h*}(hj.hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj.hhhj.hMVubj/)}(hseq_hlist_next_percpuh]j5)}(hj.h]hseq_hlist_next_percpu}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj.hhhj.hMVubj)}(hB(void *v, struct hlist_head __percpu *head, int *cpu, loff_t *pos)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*}(hj6/hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj/ubj5)}(hjK"h]hv}(hjC/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubj)}(h struct hlist_head __percpu *headh](j )}(hjzh]hstruct}(hj[/hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjW/ubj)}(h h]h }(hjh/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjW/ubh)}(hhh]j5)}(h hlist_headh]h hlist_head}(hjy/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjv/ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{/modnameN classnameNjj)}j]j.c.seq_hlist_next_percpuasbuh1hhjW/ubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjW/ubh__percpu}(hjW/hhhNhNubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjW/ubj*)}(hj-h]h*}(hj/hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjW/ubj5)}(hheadh]hhead}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjW/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubj)}(hint *cpuh](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/ubj5)}(hcpuh]hcpu}(hj0hhhNhNubah}(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}(hj"0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$0modnameN classnameNjj)}j]j.c.seq_hlist_next_percpuasbuh1hhj0ubj)}(h h]h }(hj@0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubj*)}(hj-h]h*}(hjN0hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj0ubj5)}(hposh]hpos}(hj[0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj.hhhj.hMVubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj.hhhj.hMVubah}(h]j.ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj.hMVhj.hhubjc)}(hhh]h)}(h3move to the next position of the percpu hlist arrayh]h3move to the next position of the percpu hlist array}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMVhj0hhubah}(h]h ]h"]h$]h&]uh1jbhj.hhhj.hMVubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0jj0jjjuh1hhhhjIEhNhNubj)}(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)}(hj0h]h Parameters}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMZhj0ubj)}(hhh](j)}(h*``void *v`` pointer to current hlist_node h](j)}(h ``void *v``h]j)}(hj0h]hvoid *v}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMWhj0ubj)}(hhh]h)}(hpointer to current hlist_nodeh]hpointer to current hlist_node}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hMWhj0ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0hMWhj0ubj)}(hS``struct hlist_head __percpu *head`` pointer to percpu array of struct hlist_heads h](j)}(h$``struct hlist_head __percpu *head``h]j)}(hj0h]h struct hlist_head __percpu *head}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMXhj0ubj)}(hhh]h)}(h-pointer to percpu array of struct hlist_headsh]h-pointer to percpu array of struct hlist_heads}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMXhj1ubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhj1hMXhj0ubj)}(h%``int *cpu`` pointer to cpu "cursor" h](j)}(h ``int *cpu``h]j)}(hj81h]hint *cpu}(hj:1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj61ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMYhj21ubj)}(hhh]h)}(hpointer to cpu "cursor"h]hpointer to cpu “cursor”}(hjQ1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjM1hMYhjN1ubah}(h]h ]h"]h$]h&]uh1jhj21ubeh}(h]h ]h"]h$]h&]uh1jhjM1hMYhj0ubj)}(h+``loff_t *pos`` start position of sequence h](j)}(h``loff_t *pos``h]j)}(hjq1h]h loff_t *pos}(hjs1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo1ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chMZhjk1ubj)}(hhh]h)}(hstart position of sequenceh]hstart position of sequence}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hMZhj1ubah}(h]h ]h"]h$]h&]uh1jhjk1ubeh}(h]h ]h"]h$]h&]uh1jhj1hMZhj0ubeh}(h]h ]h"]h$]h&]uh1jhj0ubh)}(h**Description**h]j)}(hj1h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM\hj0ubh)}(hCalled at seq_file->op->next().h]hCalled at seq_file->op->next().}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:62: ./fs/seq_file.chM[hj0ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h register_filesystem (C function)c.register_filesystemhNtauh1hhjIEhhhNhNubh)}(hhh](j)}(h6int register_filesystem (struct file_system_type * fs)h]j)}(h4int register_filesystem(struct file_system_type *fs)h](j)}(hinth]hint}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj1hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./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)}(hj2h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chK@hj2ubj)}(hhh]j)}(h;``struct file_system_type * fs`` the file system structure h](j)}(h ``struct file_system_type * fs``h]j)}(hj2h]hstruct file_system_type * fs}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chK=hj2ubj)}(hhh]h)}(hthe file system structureh]hthe file system structure}(hj 3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hK=hj3ubah}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ]h"]h$]h&]uh1jhj3hK=hj2ubah}(h]h ]h"]h$]h&]uh1jhj2ubh)}(h**Description**h]j)}(hj-3h]h Description}(hj/3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+3ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chK?hj2ubj{)}(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.}(hjG3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chK>hjC3ubh)}(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 }(hjV3hhhNhNubh)}(h4:c:type:`struct file_system_type `h]j)}(hj`3h]hstruct file_system_type}(hjb3hhhNhNubah}(h]h ](jKjc-typeeh"]h$]h&]uh1jhj^3ubah}(h]h ]h"]h$]h&]refdocjW refdomainjreftypetype refexplicitrefwarnjj]j`file_system_typeuh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKBhjV3ubhw that is passed is linked into the kernel structures and must not be freed until the file system has been unregistered.}(hjV3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj}3hKBhjC3ubeh}(h]h ]h"]h$]h&]uh1jzhjU3hK>hj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"unregister_filesystem (C function)c.unregister_filesystemhNtauh1hhjIEhhhNhNubh)}(hhh](j)}(h8int unregister_filesystem (struct file_system_type * fs)h]j)}(h6int unregister_filesystem(struct file_system_type *fs)h](j)}(hinth]hint}(hj3hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj3hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKaubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3hhhj3hKaubj/)}(hunregister_filesystemh]j5)}(hunregister_filesystemh]hunregister_filesystem}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj3hhhj3hKaubj)}(h(struct file_system_type *fs)h]j)}(hstruct file_system_type *fsh](j )}(hjzh]hstruct}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubh)}(hhh]j5)}(hfile_system_typeh]hfile_system_type}(hj 4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj 4modnameN classnameNjj)}j]j)}jj3sbc.unregister_filesystemasbuh1hhj3ubj)}(h h]h }(hj)4hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj*)}(hj-h]h*}(hj74hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj5)}(hfsh]hfs}(hjD4hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj3ubah}(h]h ]h"]h$]h&]jLjMuh1jhj3hhhj3hKaubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj3hhhj3hKaubah}(h]j3ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj3hKahj3hhubjc)}(hhh]h)}(hunregister a file systemh]hunregister a file system}(hjn4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKahjk4hhubah}(h]h ]h"]h$]h&]uh1jbhj3hhhj3hKaubeh}(h]h ](jfunctioneh"]h$]h&]jjjj4jj4jjjuh1hhhhjIEhNhNubj)}(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)}(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:65: ./fs/filesystems.chKehj4ubj)}(hhh]j)}(h:``struct file_system_type * fs`` filesystem to unregister h](j)}(h ``struct file_system_type * fs``h]j)}(hj4h]hstruct file_system_type * fs}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKbhj4ubj)}(hhh]h)}(hfilesystem to unregisterh]hfilesystem to unregister}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hKbhj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hKbhj4ubah}(h]h ]h"]h$]h&]uh1jhj4ubh)}(h**Description**h]j)}(hj4h]h Description}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKdhj4ubj{)}(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.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKchj5ubh)}(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 }(hj5hhhNhNubh)}(h4:c:type:`struct file_system_type `h]j)}(hj5h]hstruct file_system_type}(hj5hhhNhNubah}(h]h ](jKjc-typeeh"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]refdocjW refdomainjreftypetype refexplicitrefwarnjj]j`file_system_typeuh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:65: ./fs/filesystems.chKghj5ubh" structure may be freed or reused.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj:5hKghj5ubeh}(h]h ]h"]h$]h&]uh1jzhj5hKchj4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(wbc_attach_fdatawrite_inode (C function)c.wbc_attach_fdatawrite_inodehNtauh1hhjIEhhhNhNubh)}(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}(hjk5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjg5hhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM1ubj)}(h h]h }(hjz5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjg5hhhjy5hM1ubj/)}(hwbc_attach_fdatawrite_inodeh]j5)}(hwbc_attach_fdatawrite_inodeh]hwbc_attach_fdatawrite_inode}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjg5hhhjy5hM1ubj)}(h4(struct writeback_control *wbc, struct inode *inode)h](j)}(hstruct writeback_control *wbch](j )}(hjzh]hstruct}(hj5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubh)}(hhh]j5)}(hwriteback_controlh]hwriteback_control}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNjj)}j]j)}jj5sbc.wbc_attach_fdatawrite_inodeasbuh1hhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubj*)}(hj-h]h*}(hj5hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj5ubj5)}(hwbch]hwbc}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj5ubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(h h]h }(hj'6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubh)}(hhh]j5)}(hinodeh]hinode}(hj86hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj56ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:6modnameN classnameNjj)}j]j5c.wbc_attach_fdatawrite_inodeasbuh1hhj6ubj)}(h h]h }(hjV6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj*)}(hj-h]h*}(hjd6hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj6ubj5)}(hinodeh]hinode}(hjq6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj5ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjg5hhhjy5hM1ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjc5hhhjy5hM1ubah}(h]j^5ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjy5hM1hj`5hhubjc)}(hhh]h)}(h&associate wbc and inode for fdatawriteh]h&associate wbc and inode for fdatawrite}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM1hj6hhubah}(h]h ]h"]h$]h&]uh1jbhj`5hhhjy5hM1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj6jj6jjjuh1hhhhjIEhNhNubj)}(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)}(hj6h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM5hj6ubj)}(hhh](j)}(h@``struct writeback_control *wbc`` writeback_control of interest h](j)}(h!``struct writeback_control *wbc``h]j)}(hj6h]hstruct writeback_control *wbc}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM2hj6ubj)}(hhh]h)}(hwriteback_control of interesth]hwriteback_control of interest}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hM2hj6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj6hM2hj6ubj)}(h%``struct inode *inode`` target inode h](j)}(h``struct inode *inode``h]j)}(hj7h]hstruct inode *inode}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM3hj7ubj)}(hhh]h)}(h target inodeh]h target inode}(hj.7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*7hM3hj+7ubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj*7hM3hj6ubeh}(h]h ]h"]h$]h&]uh1jhj6ubh)}(h**Description**h]j)}(hjP7h]h Description}(hjR7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjN7ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM5hj6ubh)}(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 }(hjf7hhhNhNubj)}(h **inode**h]hinode}(hjn7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf7ubh7 is associated with a bdi_writeback and attaches it to }(hjf7hhhNhNubj)}(h**wbc**h]hwbc}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjf7ubh.}(hjf7hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM4hj6ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hwbc_detach_inode (C function)c.wbc_detach_inodehNtauh1hhjIEhhhNhNubh)}(hhh](j)}(h5void wbc_detach_inode (struct writeback_control *wbc)h]j)}(h4void wbc_detach_inode(struct writeback_control *wbc)h](j)}(hvoidh]hvoid}(hj7hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj7hhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMCubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7hhhj7hMCubj/)}(hwbc_detach_inodeh]j5)}(hwbc_detach_inodeh]hwbc_detach_inode}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj7hhhj7hMCubj)}(h(struct writeback_control *wbc)h]j)}(hstruct writeback_control *wbch](j )}(hjzh]hstruct}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7ubj)}(h h]h }(hj8hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubh)}(hhh]j5)}(hwriteback_controlh]hwriteback_control}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj8ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj)}j]j)}jj7sbc.wbc_detach_inodeasbuh1hhj7ubj)}(h h]h }(hj48hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7ubj*)}(hj-h]h*}(hjB8hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7ubj5)}(hwbch]hwbc}(hjO8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj7ubah}(h]h ]h"]h$]h&]jLjMuh1jhj7hhhj7hMCubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj7hhhj7hMCubah}(h]j7ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj7hMChj7hhubjc)}(hhh]h)}(h9disassociate wbc from inode and perform foreign detectionh]h9disassociate wbc from inode and perform foreign detection}(hjy8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMChjv8hhubah}(h]h ]h"]h$]h&]uh1jbhj7hhhj7hMCubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhjIEhNhNubj)}(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)}(hj8h]h Parameters}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMGhj8ubj)}(hhh]j)}(hS``struct writeback_control *wbc`` writeback_control of the just finished writeback h](j)}(h!``struct writeback_control *wbc``h]j)}(hj8h]hstruct writeback_control *wbc}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMDhj8ubj)}(hhh]h)}(h0writeback_control of the just finished writebackh]h0writeback_control of the just finished writeback}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hMDhj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhj8hMDhj8ubah}(h]h ]h"]h$]h&]uh1jhj8ubh)}(h**Description**h]j)}(hj8h]h Description}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMFhj8ubh)}(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 9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMEhj8ubh)}(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).}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMHhj8ubh)}(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.}(hj)9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMRhj8ubh)}(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, }(hj89hhhNhNubj)}(h**wbc**h]hwbc}(hj@9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj89ubhX 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.}(hj89hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMXhj8ubh)}(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.}(hjY9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMahj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%wbc_account_cgroup_owner (C function)c.wbc_account_cgroup_ownerhNtauh1hhjIEhhhNhNubh)}(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}(hj9hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj9hhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9hhhj9hMubj/)}(hwbc_account_cgroup_ownerh]j5)}(hwbc_account_cgroup_ownerh]hwbc_account_cgroup_owner}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj9hhhj9hMubj)}(hB(struct writeback_control *wbc, struct folio *folio, size_t bytes)h](j)}(hstruct writeback_control *wbch](j )}(hjzh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj9ubj)}(h h]h }(hj9hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9ubh)}(hhh]j5)}(hwriteback_controlh]hwriteback_control}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj9modnameN classnameNjj)}j]j)}jj9sbc.wbc_account_cgroup_ownerasbuh1hhj9ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9ubj*)}(hj-h]h*}(hj:hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj9ubj5)}(hwbch]hwbc}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj9ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj9ubj)}(hstruct folio *folioh](j )}(hjzh]hstruct}(hj7:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3:ubj)}(h h]h }(hjD:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3:ubh)}(hhh]j5)}(hfolioh]hfolio}(hjU:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjR:ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjW:modnameN classnameNjj)}j]j9c.wbc_account_cgroup_ownerasbuh1hhj3:ubj)}(h h]h }(hjs:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3:ubj*)}(hj-h]h*}(hj:hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3:ubj5)}(hfolioh]hfolio}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj9ubj)}(h size_t bytesh](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]j9c.wbc_account_cgroup_ownerasbuh1hhj:ubj)}(h h]h }(hj:hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj:ubj5)}(hbytesh]hbytes}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj:ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj9ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj9hhhj9hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj9hhhj9hMubah}(h]j{9ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj9hMhj}9hhubjc)}(hhh]h)}(h2account writeback to update inode cgroup ownershiph]h2account writeback to update inode cgroup ownership}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhj:hhubah}(h]h ]h"]h$]h&]uh1jbhj}9hhhj9hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj;jj;jjjuh1hhhhjIEhNhNubj)}(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)}(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:68: ./fs/fs-writeback.chMhj;ubj)}(hhh](j)}(hQ``struct writeback_control *wbc`` writeback_control of the writeback in progress h](j)}(h!``struct writeback_control *wbc``h]j)}(hjA;h]hstruct writeback_control *wbc}(hjC;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?;ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhj;;ubj)}(hhh]h)}(h.writeback_control of the writeback in progressh]h.writeback_control of the writeback in progress}(hjZ;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjV;hMhjW;ubah}(h]h ]h"]h$]h&]uh1jhj;;ubeh}(h]h ]h"]h$]h&]uh1jhjV;hMhj8;ubj)}(h0``struct folio *folio`` folio being written out h](j)}(h``struct folio *folio``h]j)}(hjz;h]hstruct folio *folio}(hj|;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjx;ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhjt;ubj)}(hhh]h)}(hfolio being written outh]hfolio being written out}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjt;ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhj8;ubj)}(h3``size_t bytes`` number of bytes being written out h](j)}(h``size_t bytes``h]j)}(hj;h]h size_t bytes}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhj;ubj)}(hhh]h)}(h!number of bytes being written outh]h!number of bytes being written out}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;hMhj;ubah}(h]h ]h"]h$]h&]uh1jhj;ubeh}(h]h ]h"]h$]h&]uh1jhj;hMhj8;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:68: ./fs/fs-writeback.chMhj;ubh)}(h**bytes** from **folio** are about to written out during the writeback controlled by **wbc**. Keep the book for foreign inode detection. See wbc_detach_inode().h](j)}(h **bytes**h]hbytes}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh from }(hj<hhhNhNubj)}(h **folio**h]hfolio}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh= are about to written out during the writeback controlled by }(hj<hhhNhNubj)}(h**wbc**h]hwbc}(hj,<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubhF. Keep the book for foreign inode detection. See wbc_detach_inode().}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMhj;ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h__mark_inode_dirty (C function)c.__mark_inode_dirtyhNtauh1hhjIEhhhNhNubh)}(hhh](j)}(h8void __mark_inode_dirty (struct inode *inode, int flags)h]j)}(h7void __mark_inode_dirty(struct inode *inode, int flags)h](j)}(hvoidh]hvoid}(hje<hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhja<hhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM ubj)}(h h]h }(hjt<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhja<hhhjs<hM ubj/)}(h__mark_inode_dirtyh]j5)}(h__mark_inode_dirtyh]h__mark_inode_dirty}(hj<hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hja<hhhjs<hM ubj)}(h (struct inode *inode, int flags)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.__mark_inode_dirtyasbuh1hhj<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 int flagsh](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)}(hflagsh]hflags}(hj0=hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj<ubeh}(h]h ]h"]h$]h&]jLjMuh1jhja<hhhjs<hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj]<hhhjs<hM ubah}(h]jX<ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjs<hM hjZ<hhubjc)}(hhh]h)}(h(internal function to mark an inode dirtyh]h(internal function to mark an inode dirty}(hjZ=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjW=hhubah}(h]h ]h"]h$]h&]uh1jbhjZ<hhhjs<hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjr=jjr=jjjuh1hhhhjIEhNhNubj)}(hX**Parameters** ``struct inode *inode`` inode to mark ``int flags`` what kind of dirty, e.g. I_DIRTY_SYNC. This can be a combination of multiple I_DIRTY_* flags, except that I_DIRTY_TIME can't be combined with I_DIRTY_PAGES. **Description** Mark an inode as dirty. We notify the filesystem, then update the inode's dirty flags. Then, if needed we add the inode to the appropriate dirty list. Most callers should use mark_inode_dirty() or mark_inode_dirty_sync() instead of calling this directly. CAREFUL! We only add the inode to the dirty list if it is hashed or if it refers to a blockdev. Unhashed inodes will never be added to the dirty list even if they are later hashed, as they will have been marked dirty already. In short, ensure you hash any inodes _before_ you start marking them dirty. Note that for blockdevs, inode->dirtied_when represents the dirtying time of the block-special inode (/dev/hda1) itself. And the ->dirtied_when field of the kernel-internal blockdev inode represents the dirtying time of the blockdev's pages. This is why for I_DIRTY_PAGES we always use page->mapping->host, so the page-dirtying time is recorded in the internal blockdev inode.h](h)}(h**Parameters**h]j)}(hj|=h]h Parameters}(hj~=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz=ubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjv=ubj)}(hhh](j)}(h&``struct inode *inode`` inode to mark 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&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj=ubj)}(hhh]h)}(h inode to markh]h inode to mark}(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 flags`` what kind of dirty, e.g. I_DIRTY_SYNC. This can be a combination of multiple I_DIRTY_* flags, except that I_DIRTY_TIME can't be combined with I_DIRTY_PAGES. h](j)}(h ``int flags``h]j)}(hj=h]h int flags}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj=ubj)}(hhh]h)}(hwhat kind of dirty, e.g. I_DIRTY_SYNC. This can be a combination of multiple I_DIRTY_* flags, except that I_DIRTY_TIME can't be combined with I_DIRTY_PAGES.h]hwhat kind of dirty, e.g. I_DIRTY_SYNC. This can be a combination of multiple I_DIRTY_* flags, except that I_DIRTY_TIME can’t be combined with I_DIRTY_PAGES.}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj=ubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj=hM hj=ubeh}(h]h ]h"]h$]h&]uh1jhjv=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:68: ./fs/fs-writeback.chM hjv=ubh)}(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.}(hj&>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjv=ubh)}(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.}(hj5>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjv=ubh)}(hCAREFUL! We only add the inode to the dirty list if it is hashed or if it refers to a blockdev. Unhashed inodes will never be added to the dirty list even if they are later hashed, as they will have been marked dirty already.h]hCAREFUL! We only add the inode to the dirty list if it is hashed or if it refers to a blockdev. Unhashed inodes will never be added to the dirty list even if they are later hashed, as they will have been marked dirty already.}(hjD>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjv=ubh)}(hKIn short, ensure you hash any inodes _before_ you start marking them dirty.h]hKIn short, ensure you hash any inodes _before_ you start marking them dirty.}(hjS>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjv=ubh)}(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.}(hjb>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjv=ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#writeback_inodes_sb_nr (C function)c.writeback_inodes_sb_nrhNtauh1hhjIEhhhNhNubh)}(hhh](j)}(h]void writeback_inodes_sb_nr (struct super_block *sb, unsigned long nr, enum wb_reason reason)h]j)}(h\void writeback_inodes_sb_nr(struct super_block *sb, unsigned long nr, enum wb_reason reason)h](j)}(hvoidh]hvoid}(hj>hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj>hhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>hhhj>hM ubj/)}(hwriteback_inodes_sb_nrh]j5)}(hwriteback_inodes_sb_nrh]hwriteback_inodes_sb_nr}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj>hhhj>hM ubj)}(hA(struct super_block *sb, unsigned long nr, enum wb_reason reason)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.writeback_inodes_sb_nrasbuh1hhj>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>ubj)}(hunsigned long nrh](j)}(hunsignedh]hunsigned}(hj@?hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(henum wb_reason reasonh](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 wb_reasonh]h wb_reason}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj?modnameN classnameNjj)}j]j?c.writeback_inodes_sb_nrasbuh1hhj?ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?ubj5)}(hreasonh]hreason}(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-writeback dirty inodes from given super_blockh]h-writeback dirty inodes from given super_block}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj@hhubah}(h]h ]h"]h$]h&]uh1jbhj>hhhj>hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj@jj@jjjuh1hhhhjIEhNhNubj)}(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)}(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:68: ./fs/fs-writeback.chM hj!@ubj)}(hhh](j)}(h*``struct super_block *sb`` the superblock h](j)}(h``struct super_block *sb``h]j)}(hjF@h]hstruct super_block *sb}(hjH@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD@ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./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)}(h2``unsigned long nr`` the number of pages to write h](j)}(h``unsigned long nr``h]j)}(hj@h]hunsigned long nr}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}@ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjy@ubj)}(hhh]h)}(hthe number of pages to writeh]hthe number of pages to write}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hM hj@ubah}(h]h ]h"]h$]h&]uh1jhjy@ubeh}(h]h ]h"]h$]h&]uh1jhj@hM hj=@ubj)}(hC``enum wb_reason reason`` reason why some writeback work initiated h](j)}(h``enum wb_reason reason``h]j)}(hj@h]henum wb_reason reason}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj@ubj)}(hhh]h)}(h(reason why some writeback work initiatedh]h(reason why some writeback work initiated}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hM hj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hM hj=@ubeh}(h]h ]h"]h$]h&]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:68: ./fs/fs-writeback.chM hj!@ubh)}(hStart writeback on some inodes on this super_block. No guarantees are made on how many (if any) will be written, and this function does not wait for IO completion of submitted IO.h]hStart writeback on some inodes on this super_block. No guarantees are made on how many (if any) will be written, and this function does not wait for IO completion of submitted IO.}(hj AhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hj!@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h writeback_inodes_sb (C function)c.writeback_inodes_sbhNtauh1hhjIEhhhNhNubh)}(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}(hj8AhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj4AhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM ubj)}(h h]h }(hjGAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4AhhhjFAhM ubj/)}(hwriteback_inodes_sbh]j5)}(hwriteback_inodes_sbh]hwriteback_inodes_sb}(hjYAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUAubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj4AhhhjFAhM ubj)}(h/(struct super_block *sb, enum wb_reason reason)h](j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjuAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqAubh)}(hhh]j5)}(h super_blockh]h super_block}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNjj)}j]j)}jj[Asbc.writeback_inodes_sbasbuh1hhjqAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqAubj*)}(hj-h]h*}(hjAhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjqAubj5)}(hsbh]hsb}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqAubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjmAubj)}(henum wb_reason reasonh](j )}(hjh]henum}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubh)}(hhh]j5)}(h wb_reasonh]h wb_reason}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjBmodnameN classnameNjj)}j]jAc.writeback_inodes_sbasbuh1hhjAubj)}(h h]h }(hj#BhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubj5)}(hreasonh]hreason}(hj1BhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjmAubeh}(h]h ]h"]h$]h&]jLjMuh1jhj4AhhhjFAhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj0AhhhjFAhM ubah}(h]j+Aah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjFAhM hj-Ahhubjc)}(hhh]h)}(h-writeback dirty inodes from given super_blockh]h-writeback dirty inodes from given super_block}(hj[BhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjXBhhubah}(h]h ]h"]h$]h&]uh1jbhj-AhhhjFAhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsBjjsBjjjuh1hhhhjIEhNhNubj)}(hXK**Parameters** ``struct super_block *sb`` the superblock ``enum wb_reason reason`` reason why some writeback work was initiated **Description** Start writeback on some inodes on this super_block. No guarantees are made on how many (if any) will be written, and this function does not wait for IO completion of submitted IO.h](h)}(h**Parameters**h]j)}(hj}Bh]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{Bubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjwBubj)}(hhh](j)}(h*``struct super_block *sb`` the superblock h](j)}(h``struct super_block *sb``h]j)}(hjBh]hstruct super_block *sb}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjBubj)}(hhh]h)}(hthe superblockh]hthe superblock}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhM hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhM hjBubj)}(hG``enum wb_reason reason`` reason why some writeback work was initiated h](j)}(h``enum wb_reason reason``h]j)}(hjBh]henum wb_reason reason}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjBubj)}(hhh]h)}(h,reason why some writeback work was initiatedh]h,reason why some writeback work was initiated}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhM hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhM hjBubeh}(h]h ]h"]h$]h&]uh1jhjwBubh)}(h**Description**h]j)}(hjCh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjwBubh)}(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&ChhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjwBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'try_to_writeback_inodes_sb (C function)c.try_to_writeback_inodes_sbhNtauh1hhjIEhhhNhNubh)}(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}(hjUChhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjQChhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM ubj)}(h h]h }(hjdChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjQChhhjcChM ubj/)}(htry_to_writeback_inodes_sbh]j5)}(htry_to_writeback_inodes_sbh]htry_to_writeback_inodes_sb}(hjvChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrCubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjQChhhjcChM ubj)}(h/(struct super_block *sb, enum wb_reason reason)h](j)}(hstruct super_block *sbh](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 super_blockh]h super_block}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj)}j]j)}jjxCsbc.try_to_writeback_inodes_sbasbuh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj*)}(hj-h]h*}(hjChhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjCubj5)}(hsbh]hsb}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjCubj)}(henum wb_reason reasonh](j )}(hjh]henum}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubh)}(hhh]j5)}(h wb_reasonh]h wb_reason}(hj"DhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$DmodnameN classnameNjj)}j]jCc.try_to_writeback_inodes_sbasbuh1hhjDubj)}(h h]h }(hj@DhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubj5)}(hreasonh]hreason}(hjNDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjCubeh}(h]h ]h"]h$]h&]jLjMuh1jhjQChhhjcChM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjMChhhjcChM ubah}(h]jHCah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjcChM hjJChhubjc)}(hhh]h)}(h'try to start writeback if none underwayh]h'try to start writeback if none underway}(hjxDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjuDhhubah}(h]h ]h"]h$]h&]uh1jbhjJChhhjcChM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhjIEhNhNubj)}(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)}(hjDh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM! hjDubj)}(hhh](j)}(h*``struct super_block *sb`` the superblock h](j)}(h``struct super_block *sb``h]j)}(hjDh]hstruct super_block *sb}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjDubj)}(hhh]h)}(hthe superblockh]hthe superblock}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDhM hjDubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjDhM hjDubj)}(hG``enum wb_reason reason`` reason why some writeback work was initiated h](j)}(h``enum wb_reason reason``h]j)}(hjDh]henum wb_reason reason}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjDubj)}(hhh]h)}(h,reason why some writeback work was initiatedh]h,reason why some writeback work was initiated}(hj EhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhM hjEubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjEhM hjDubeh}(h]h ]h"]h$]h&]uh1jhjDubh)}(h**Description**h]j)}(hj-Eh]h Description}(hj/EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+Eubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM! hjDubh)}(hFInvoke __writeback_inodes_sb_nr if no writeback is currently underway.h]hFInvoke __writeback_inodes_sb_nr if no writeback is currently underway.}(hjCEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM hjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsync_inodes_sb (C function)c.sync_inodes_sbhNtauh1hhjIEhhhNhNubh)}(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}(hjrEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjnEhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM. ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnEhhhjEhM. ubj/)}(hsync_inodes_sbh]j5)}(hsync_inodes_sbh]hsync_inodes_sb}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjnEhhhjEhM. ubj)}(h(struct super_block *sb)h]j)}(hstruct super_block *sbh](j )}(hjzh]hstruct}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubh)}(hhh]j5)}(h super_blockh]h super_block}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjEmodnameN classnameNjj)}j]j)}jjEsbc.sync_inodes_sbasbuh1hhjEubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjEubj*)}(hj-h]h*}(hjEhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjEubj5)}(hsbh]hsb}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjEubah}(h]h ]h"]h$]h&]jLjMuh1jhjnEhhhjEhM. ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjjEhhhjEhM. ubah}(h]jeEah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjEhM. hjgEhhubjc)}(hhh]h)}(hsync sb inode pagesh]hsync sb inode pages}(hj2FhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM. hj/Fhhubah}(h]h ]h"]h$]h&]uh1jbhjgEhhhjEhM. ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJFjjJFjjjuh1hhhhjIEhNhNubj)}(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)}(hjTFh]h Parameters}(hjVFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRFubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM2 hjNFubj)}(hhh]j)}(h*``struct super_block *sb`` the superblock h](j)}(h``struct super_block *sb``h]j)}(hjsFh]hstruct super_block *sb}(hjuFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqFubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM/ hjmFubj)}(hhh]h)}(hthe superblockh]hthe superblock}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhM/ hjFubah}(h]h ]h"]h$]h&]uh1jhjmFubeh}(h]h ]h"]h$]h&]uh1jhjFhM/ hjjFubah}(h]h ]h"]h$]h&]uh1jhjNFubh)}(h**Description**h]j)}(hjFh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM1 hjNFubh)}(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.}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM0 hjNFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hwrite_inode_now (C function)c.write_inode_nowhNtauh1hhjIEhhhNhNubh)}(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}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjFhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMV ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFhhhjGhMV ubj/)}(hwrite_inode_nowh]j5)}(hwrite_inode_nowh]hwrite_inode_now}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjFhhhjGhMV ubj)}(h(struct inode *inode, int sync)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj0GhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,Gubj)}(h h]h }(hj=GhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,Gubh)}(hhh]j5)}(hinodeh]hinode}(hjNGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKGubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjPGmodnameN classnameNjj)}j]j)}jjGsbc.write_inode_nowasbuh1hhj,Gubj)}(h h]h }(hjnGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,Gubj*)}(hj-h]h*}(hj|GhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj,Gubj5)}(hinodeh]hinode}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,Gubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj(Gubj)}(hint synch](j)}(hinth]hint}(hjGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjGubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGubj5)}(hsynch]hsync}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj(Gubeh}(h]h ]h"]h$]h&]jLjMuh1jhjFhhhjGhMV ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjFhhhjGhMV ubah}(h]jFah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjGhMV hjFhhubjc)}(hhh]h)}(hwrite an inode to diskh]hwrite an inode to disk}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMV hjGhhubah}(h]h ]h"]h$]h&]uh1jbhjFhhhjGhMV ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjHjjHjjjuh1hhhhjIEhNhNubj)}(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 Hh]h Parameters}(hj HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMZ hjHubj)}(hhh](j)}(h/``struct inode *inode`` inode to write to disk h](j)}(h``struct inode *inode``h]j)}(hj)Hh]hstruct inode *inode}(hj+HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'Hubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMW hj#Hubj)}(hhh]h)}(hinode to write to diskh]hinode to write to disk}(hjBHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>HhMW hj?Hubah}(h]h ]h"]h$]h&]uh1jhj#Hubeh}(h]h ]h"]h$]h&]uh1jhj>HhMW hj Hubj)}(h<``int sync`` whether the write should be synchronous or not h](j)}(h ``int sync``h]j)}(hjbHh]hint sync}(hjdHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`Hubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMX hj\Hubj)}(hhh]h)}(h.whether the write should be synchronous or noth]h.whether the write should be synchronous or not}(hj{HhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwHhMX hjxHubah}(h]h ]h"]h$]h&]uh1jhj\Hubeh}(h]h ]h"]h$]h&]uh1jhjwHhMX hj Hubeh}(h]h ]h"]h$]h&]uh1jhjHubh)}(h**Description**h]j)}(hjHh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMZ hjHubh)}(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.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMY hjHubh)}(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.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chM\ hjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h sync_inode_metadata (C function)c.sync_inode_metadatahNtauh1hhjIEhhhNhNubh)}(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}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjHhhhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMq ubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHhhhjHhMq ubj/)}(hsync_inode_metadatah]j5)}(hsync_inode_metadatah]hsync_inode_metadata}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjHhhhjHhMq ubj)}(h(struct inode *inode, int wait)h](j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hj.IhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj*Iubj)}(h h]h }(hj;IhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*Iubh)}(hhh]j5)}(hinodeh]hinode}(hjLIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNImodnameN classnameNjj)}j]j)}jjIsbc.sync_inode_metadataasbuh1hhj*Iubj)}(h h]h }(hjlIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*Iubj*)}(hj-h]h*}(hjzIhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj*Iubj5)}(hinodeh]hinode}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*Iubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj&Iubj)}(hint waith](j)}(hinth]hint}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubj5)}(hwaith]hwait}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj&Iubeh}(h]h ]h"]h$]h&]jLjMuh1jhjHhhhjHhMq ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjHhhhjHhMq ubah}(h]jHah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjHhMq hjHhhubjc)}(hhh]h)}(hwrite an inode to diskh]hwrite an inode to disk}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMq hjIhhubah}(h]h ]h"]h$]h&]uh1jbhjHhhhjHhMq ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjIjjIjjjuh1hhhhjIEhNhNubj)}(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)}(hjJh]h Parameters}(hj JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMu hjJubj)}(hhh](j)}(h*``struct inode *inode`` the inode to sync h](j)}(h``struct inode *inode``h]j)}(hj'Jh]hstruct inode *inode}(hj)JhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Jubah}(h]h ]h"]h$]h&]uh1jhY/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:68: ./fs/fs-writeback.chMr hj!Jubj)}(hhh]h)}(hthe inode to synch]hthe inode to sync}(hj@JhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[in] the logical relationship with the new inode (optional)h]h>[in] the logical relationship with the new inode (optional)}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhKhjUubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjUhKhjTubeh}(h]h ]h"]h$]h&]uh1jhjTubh)}(h**Description**h]j)}(hj Vh]h Description}(hj VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhjTubh)}(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:}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhjTubjC)}(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;}(hj5VhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chKhj1Vubah}(h]h ]h"]h$]h&]uh1jChj.VubjC)}(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()}(hjNVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chMhjJVubah}(h]h ]h"]h$]h&]uh1jChj.Vubeh}(h]h ]h"]h$]h&]jCjuh1jChjCVhKhjTubh)}(hcThe LSM may use **context_inode** in inode_init_security_anon(), but a reference to it is not held.h](hThe LSM may use }(hjiVhhhNhNubj)}(h**context_inode**h]h context_inode}(hjqVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiVubhB in inode_init_security_anon(), but a reference to it is not held.}(hjiVhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chMhjTubh)}(h4Returns the newly created file* or an error pointer.h]h4Returns the newly created file* or an error pointer.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chMhjTubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hanon_inode_getfd (C function)c.anon_inode_getfdhNtauh1hhjIEhhhNhNubh)}(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}(hjVhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjVhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM ubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVhhhjVhM ubj/)}(hanon_inode_getfdh]j5)}(hanon_inode_getfdh]hanon_inode_getfd}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjVhhhjVhM ubj)}(hM(const char *name, const struct file_operations *fops, void *priv, int flags)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubj)}(hcharh]hchar}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjVubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVubj*)}(hj-h]h*}(hj-WhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjVubj5)}(hnameh]hname}(hj:WhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjVubj)}(h"const struct file_operations *fopsh](j )}(hjUh]hconst}(hjSWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOWubj)}(h h]h }(hj`WhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOWubj )}(hjzh]hstruct}(hjnWhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOWubj)}(h h]h }(hj{WhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOWubh)}(hhh]j5)}(hfile_operationsh]hfile_operations}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNjj)}j]j)}jjVsbc.anon_inode_getfdasbuh1hhjOWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOWubj*)}(hj-h]h*}(hjWhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjOWubj5)}(hfopsh]hfops}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOWubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjVubj)}(h void *privh](j)}(hvoidh]hvoid}(hjWhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjWubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWubj*)}(hj-h]h*}(hjWhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjWubj5)}(hprivh]hpriv}(hj XhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjVubj)}(h int flagsh](j)}(hinth]hint}(hj"XhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjXubj)}(h h]h }(hj0XhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubj5)}(hflagsh]hflags}(hj>XhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjVubeh}(h]h ]h"]h$]h&]jLjMuh1jhjVhhhjVhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjVhhhjVhM ubah}(h]jVah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjVhM hjVhhubjc)}(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}(hjhXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM hjeXhhubah}(h]h ]h"]h$]h&]uh1jbhjVhhhjVhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjXjjXjjjuh1hhhhjIEhNhNubj)}(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)}(hjXh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM$hjXubj)}(hhh](j)}(hA``const char *name`` [in] name of the "class" of the new file h](j)}(h``const char *name``h]j)}(hjXh]hconst char *name}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM$hjXubj)}(hhh]h)}(h+[in] name of the "class" of the new fileh]h/[in] name of the “class” of the new file}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhM$hjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhM$hjXubj)}(hP``const struct file_operations *fops`` [in] file operations for the new file h](j)}(h&``const struct file_operations *fops``h]j)}(hjXh]h"const struct file_operations *fops}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM%hjXubj)}(hhh]h)}(h([in] file operations for the new fileh]h([in] file operations for the new file}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhM%hjXubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjXhM%hjXubj)}(hS``void *priv`` [in] private data for the new file (will be file's private_data) h](j)}(h``void *priv``h]j)}(hjYh]h void *priv}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM&hjYubj)}(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)}(hj4YhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0YhM&hj1Yubah}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhj0YhM&hjXubj)}(h``int flags`` [in] flags h](j)}(h ``int flags``h]j)}(hjTYh]h int flags}(hjVYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRYubah}(h]h ] h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM'hjNYubj)}(hhh]h)}(h [in] flagsh]h [in] flags}(hjmYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjiYhM'hjjYubah}(h]h ]h"]h$]h&]uh1jhjNYubeh}(h]h ]h"]h$]h&]uh1jhjiYhM'hjXubeh}(h]h ]h"]h$]h&]uh1jhjXubh)}(h**Description**h]j)}(hjYh]h Description}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM)hjXubh)}(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.}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:71: ./fs/anon_inodes.chM(hjXubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%setattr_should_drop_sgid (C function)c.setattr_should_drop_sgidhNtauh1hhjIEhhhNhNubh)}(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}(hjYhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjYhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYhhhjYhKubj/)}(hsetattr_should_drop_sgidh]j5)}(hsetattr_should_drop_sgidh]hsetattr_should_drop_sgid}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjYhhhjYhKubj)}(h4(struct mnt_idmap *idmap, const struct inode *inode)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj Zubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Zubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj/ZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,Zubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj1ZmodnameN classnameNjj)}j]j)}jjYsbc.setattr_should_drop_sgidasbuh1hhj Zubj)}(h h]h }(hjOZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj Zubj*)}(hj-h]h*}(hj]ZhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj Zubj5)}(hidmaph]hidmap}(hjjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj Zubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj Zubj)}(hconst struct inode *inodeh](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)}(hinodeh]hinode}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNjj)}j]jKZc.setattr_should_drop_sgidasbuh1hhjZubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubj*)}(hj-h]h*}(hjZhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjZubj5)}(hinodeh]hinode}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj Zubeh}(h]h ]h"]h$]h&]jLjMuh1jhjYhhhjYhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjYhhhjYhKubah}(h]jYah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjYhKhjYhhubjc)}(hhh]h)}(h4determine whether the setgid bit needs to be removedh]h4determine whether the setgid bit needs to be removed}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj[hhubah}(h]h ]h"]h$]h&]uh1jbhjYhhhjYhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj7[jj7[jjjuh1hhhhjIEhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from ``const struct inode *inode`` inode to check **Description** This function determines whether the setgid bit needs to be removed. We retain backwards compatibility and require setgid bit to be removed unconditionally if S_IXGRP is set. Otherwise we have the exact same requirements as setattr_prepare() and setattr_copy(). **Return** ATTR_KILL_SGID if setgid bit needs to be removed, 0 otherwise.h](h)}(h**Parameters**h]j)}(hjA[h]h Parameters}(hjC[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?[ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj;[ubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj`[h]hstruct mnt_idmap *idmap}(hjb[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^[ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjZ[ubj)}(hhh]h)}(h+idmap of the mount **inode** was found fromh](hidmap of the mount }(hjy[hhhNhNubj)}(h **inode**h]hinode}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjy[ubh was found from}(hjy[hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhju[hKhjv[ubah}(h]h ]h"]h$]h&]uh1jhjZ[ubeh}(h]h ]h"]h$]h&]uh1jhju[hKhjW[ubj)}(h-``const struct inode *inode`` inode to check h](j)}(h``const struct inode *inode``h]j)}(hj[h]hconst struct 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:74: ./fs/attr.chKhj[ubj)}(hhh]h)}(hinode to checkh]hinode to check}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[hKhj[ubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhj[hKhjW[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&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj;[ubh)}(hXThis function determines whether the setgid bit needs to be removed. We retain backwards compatibility and require setgid bit to be removed unconditionally if S_IXGRP is set. Otherwise we have the exact same requirements as setattr_prepare() and setattr_copy().h]hXThis function determines whether the setgid bit needs to be removed. We retain backwards compatibility and require setgid bit to be removed unconditionally if S_IXGRP is set. Otherwise we have the exact same requirements as setattr_prepare() and setattr_copy().}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj;[ubh)}(h **Return**h]j)}(hj \h]hReturn}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj \ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj;[ubh)}(h>ATTR_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.}(hj#\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj;[ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(setattr_should_drop_suidgid (C function)c.setattr_should_drop_suidgidhNtauh1hhjIEhhhNhNubh)}(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}(hjR\hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjN\hhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chK1ubj)}(h h]h }(hja\hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjN\hhhj`\hK1ubj/)}(hsetattr_should_drop_suidgidh]j5)}(hsetattr_should_drop_suidgidh]hsetattr_should_drop_suidgid}(hjs\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjo\ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjN\hhhj`\hK1ubj)}(h.(struct mnt_idmap *idmap, struct inode *inode)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)}jju\sbc.setattr_should_drop_suidgidasbuh1hhj\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 reftargetj!]modnameN classnameNjj)}j]j\c.setattr_should_drop_suidgidasbuh1hhj\ubj)}(h h]h }(hj=]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubj*)}(hj-h]h*}(hjK]hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj\ubj5)}(hinodeh]hinode}(hjX]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj\ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjN\hhhj`\hK1ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjJ\hhhj`\hK1ubah}(h]jE\ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj`\hK1hjG\hhubjc)}(hhh]h)}(h8determine whether the set{g,u}id bit needs to be droppedh]h8determine whether the set{g,u}id bit needs to be dropped}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chK1hj]hhubah}(h]h ]h"]h$]h&]uh1jbhjG\hhhj`\hK1ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhjIEhNhNubj)}(hX(**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from ``struct inode *inode`` inode to check **Description** This function determines whether the set{g,u}id bits need to be removed. If the setuid bit needs to be removed ATTR_KILL_SUID is returned. If the setgid bit needs to be removed ATTR_KILL_SGID is returned. If both set{g,u}id bits need to be removed the corresponding mask of both flags is returned. **Return** A mask of ATTR_KILL_S{G,U}ID indicating which - if any - setid bits to remove, 0 otherwise.h](h)}(h**Parameters**h]j)}(hj]h]h Parameters}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chK5hj]ubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj]h]hstruct mnt_idmap *idmap}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chK3hj]ubj)}(hhh]h)}(h+idmap of the mount **inode** was found fromh](hidmap of the mount }(hj]hhhNhNubj)}(h **inode**h]hinode}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubh was found from}(hj]hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj]hK3hj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hK3hj]ubj)}(h'``struct inode *inode`` inode to check 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:74: ./fs/attr.chK4hj^ubj)}(hhh]h)}(hinode to checkh]hinode to check}(hj'^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#^hK4hj$^ubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhj#^hK4hj]ubeh}(h]h ]h"]h$]h&]uh1jhj]ubh)}(h**Description**h]j)}(hjI^h]h Description}(hjK^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG^ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chK6hj]ubh)}(hX)This function determines whether the set{g,u}id bits need to be removed. If the setuid bit needs to be removed ATTR_KILL_SUID is returned. If the setgid bit needs to be removed ATTR_KILL_SGID is returned. If both set{g,u}id bits need to be removed the corresponding mask of both flags is returned.h]hX)This function determines whether the set{g,u}id bits need to be removed. If the setuid bit needs to be removed ATTR_KILL_SUID is returned. If the setgid bit needs to be removed ATTR_KILL_SGID is returned. If both set{g,u}id bits need to be removed the corresponding mask of both flags is returned.}(hj_^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chK5hj]ubh)}(h **Return**h]j)}(hjp^h]hReturn}(hjr^hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn^ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chK;hj]ubh)}(h[A mask of ATTR_KILL_S{G,U}ID indicating which - if any - setid bits to remove, 0 otherwise.h]h[A mask of ATTR_KILL_S{G,U}ID indicating which - if any - setid bits to remove, 0 otherwise.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chK_hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj^ubj5)}(hidmaph]hidmap}(hjK_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj^ubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjd_hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj`_ubj)}(h h]h }(hjq_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.setattr_prepareasbuh1hhj`_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)}(hstruct iattr *attrh](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)}(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_prepareasbuh1hhj_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&]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)}(h2check if attribute changes to a dentry are allowedh]h2check if attribute changes to a dentry are allowed}(hjU`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjR`hhubah}(h]h ]h"]h$]h&]uh1jbhj^hhhj^hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjm`jjm`jjjuh1hhhhjIEhNhNubj)}(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)}(hjw`h]h Parameters}(hjy`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju`ubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjq`ubj)}(hhh](j)}(hH``struct mnt_idmap *idmap`` idmap of the mount the inode was found from h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj`h]hstruct mnt_idmap *idmap}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj`ubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hKhj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hKhj`ubj)}(h*``struct dentry *dentry`` dentry to check h](j)}(h``struct dentry *dentry``h]j)}(hj`h]hstruct dentry *dentry}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj`ubj)}(hhh]h)}(hdentry to checkh]hdentry to check}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hKhj`ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj`hKhj`ubj)}(h,``struct iattr *attr`` attributes to change h](j)}(h``struct iattr *attr``h]j)}(hjah]hstruct iattr *attr}(hj ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjaubj)}(hhh]h)}(hattributes to changeh]hattributes to change}(hj!ahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahKhjaubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1jhjahKhj`ubeh}(h]h ]h"]h$]h&]uh1jhjq`ubh)}(h**Description**h]j)}(hjCah]h Description}(hjEahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAaubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjq`ubh)}(hXeCheck if we are allowed to change the attributes contained in **attr** in the given dentry. This includes the normal unix access permission checks, as well as checks for rlimits and others. The function also clears SGID bit from mode if user is not allowed to set it. Also file capabilities and IMA extended attributes are cleared if ATTR_KILL_PRIV is set.h](h>Check if we are allowed to change the attributes contained in }(hjYahhhNhNubj)}(h**attr**h]hattr}(hjaahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjYaubhX 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.}(hjYahhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjq`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 }(hjzahhhNhNubj)}(h **idmap**h]hidmap}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzaubhB. This function will then take care to map the inode according to }(hjzahhhNhNubj)}(h **idmap**h]hidmap}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzaubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjzahhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzaubh.}(hjzahhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjq`ubh)}(hiShould be called as the first thing in ->setattr implementations, possibly after taking additional locks.h]hiShould be called as the first thing in ->setattr implementations, possibly after taking additional locks.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjq`ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hinode_newsize_ok (C function)c.inode_newsize_okhNtauh1hhjIEhhhNhNubh)}(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}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjahhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjahhhjahKubj/)}(hinode_newsize_okh]j5)}(hinode_newsize_okh]hinode_newsize_ok}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj bubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjahhhjahKubj)}(h*(const struct inode *inode, loff_t offset)h](j)}(hconst struct inode *inodeh](j )}(hjUh]hconst}(hj+bhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'bubj)}(h h]h }(hj8bhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'bubj )}(hjzh]hstruct}(hjFbhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj'bubj)}(h h]h }(hjSbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj'bubh)}(hhh]j5)}(hinodeh]hinode}(hjdbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjabubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfbmodnameN classnameNjj)}j]j)}jjbsbc.inode_newsize_okasbuh1hhj'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)}(hinodeh]hinode}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'bubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#bubj)}(h loff_t offseth](h)}(hhh]j5)}(hloff_th]hloff_t}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNjj)}j]jbc.inode_newsize_okasbuh1hhjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubj5)}(hoffseth]hoffset}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj#bubeh}(h]h ]h"]h$]h&]jLjMuh1jhjahhhjahKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjahhhjahKubah}(h]jaah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjahKhjahhubjc)}(hhh]h)}(h+may this inode be truncated to a given sizeh]h+may this inode be truncated to a given size}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjchhubah}(h]h ]h"]h$]h&]uh1jbhjahhhjahKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj)cjj)cjjjuh1hhhhjIEhNhNubj)}(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)}(hj3ch]h Parameters}(hj5chhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1cubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj-cubj)}(hhh](j)}(h8``const struct inode *inode`` the inode to be truncated h](j)}(h``const struct inode *inode``h]j)}(hjRch]hconst struct inode *inode}(hjTchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPcubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjLcubj)}(hhh]h)}(hthe inode to be truncatedh]hthe inode to be truncated}(hjkchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjgchKhjhcubah}(h]h ]h"]h$]h&]uh1jhjLcubeh}(h]h ]h"]h$]h&]uh1jhjgchKhjIcubj)}(h6``loff_t offset`` the new size to assign to the inode h](j)}(h``loff_t offset``h]j)}(hjch]h loff_t offset}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhjcubj)}(hhh]h)}(h#the new size to assign to the inodeh]h#the new size to assign to the inode}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchKhjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchKhjIcubeh}(h]h ]h"]h$]h&]uh1jhj-cubh)}(h**Description**h]j)}(hjch]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj-cubh)}(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.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj-cubh)}(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. }(hjchhhNhNubj)}(h **inode**h]hinode}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh must be a file (not directory), with appropriate permissions to allow truncate (inode_newsize_ok does NOT check these conditions).}(hjchhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj-cubh)}(h **Return**h]j)}(hjdh]hReturn}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj dubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj-cubh)}(h"0 on success, -ve errno on failureh]h"0 on success, -ve errno on failure}(hj$dhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chKhj-cubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsetattr_copy (C function)c.setattr_copyhNtauh1hhjIEhhhNhNubh)}(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}(hjSdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjOdhhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM4ubj)}(h h]h }(hjbdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOdhhhjadhM4ubj/)}(h setattr_copyh]j5)}(h setattr_copyh]h setattr_copy}(hjtdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpdubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjOdhhhjadhM4ubj)}(hH(struct mnt_idmap *idmap, struct inode *inode, const struct iattr *attr)h](j)}(hstruct mnt_idmap *idmaph](j )}(hjzh]hstruct}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNjj)}j]j)}jjvdsbc.setattr_copyasbuh1hhjdubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj*)}(hj-h]h*}(hjdhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjdubj5)}(hidmaph]hidmap}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjdubj)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjdubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubh)}(hhh]j5)}(hinodeh]hinode}(hj ehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj"emodnameN classnameNjj)}j]jdc.setattr_copyasbuh1hhjdubj)}(h h]h }(hj>ehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj*)}(hj-h]h*}(hjLehhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjdubj5)}(hinodeh]hinode}(hjYehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjdubj)}(hconst struct iattr *attrh](j )}(hjUh]hconst}(hjrehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjneubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjneubj )}(hjzh]hstruct}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjneubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjneubh)}(hhh]j5)}(hiattrh]hiattr}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjemodnameN classnameNjj)}j]jdc.setattr_copyasbuh1hhjneubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjneubj*)}(hj-h]h*}(hjehhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjneubj5)}(hattrh]hattr}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjneubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjdubeh}(h]h ]h"]h$]h&]jLjMuh1jhjOdhhhjadhM4ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjKdhhhjadhM4ubah}(h]jFdah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjadhM4hjHdhhubjc)}(hhh]h)}(h3copy simple metadata updates into the generic inodeh]h3copy simple metadata updates into the generic inode}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM4hj fhhubah}(h]h ]h"]h$]h&]uh1jbhjHdhhhjadhM4ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj&fjj&fjjjuh1hhhhjIEhNhNubj)}(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)}(hj0fh]h Parameters}(hj2fhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.fubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM8hj*fubj)}(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)}(hjOfh]hstruct mnt_idmap *idmap}(hjQfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMfubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM5hjIfubj)}(hhh]h)}(h+idmap of the mount the inode was found fromh]h+idmap of the mount the inode was found from}(hjhfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdfhM5hjefubah}(h]h ]h"]h$]h&]uh1jhjIfubeh}(h]h ]h"]h$]h&]uh1jhjdfhM5hjFfubj)}(h0``struct inode *inode`` the inode to be updated h](j)}(h``struct inode *inode``h]j)}(hjfh]hstruct inode *inode}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM6hjfubj)}(hhh]h)}(hthe inode to be updatedh]hthe inode to be updated}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhM6hjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhM6hjFfubj)}(h0``const struct iattr *attr`` the new attributes h](j)}(h``const struct iattr *attr``h]j)}(hjfh]hconst struct iattr *attr}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM7hjfubj)}(hhh]h)}(hthe new attributesh]hthe new attributes}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhM7hjfubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjfhM7hjFfubeh}(h]h ]h"]h$]h&]uh1jhj*fubh)}(h**Description**h]j)}(hjfh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM9hj*fubh)}(h:setattr_copy must be called with i_rwsem held exclusively.h]h:setattr_copy must be called with i_rwsem held exclusively.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM8hj*fubh)}(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.}(hj!ghhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chM:hj*fubh)}(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 }(hj0ghhhNhNubj)}(h **idmap**h]hidmap}(hj8ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0gubhB. This function will then take care to map the inode according to }(hj0ghhhNhNubj)}(h **idmap**h]hidmap}(hjJghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0gubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hj0ghhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hj\ghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0gubh.}(hj0ghhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMAhj*fubh)}(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.}(hjughhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMGhj*fubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hnotify_change (C function)c.notify_changehNtauh1hhjIEhhhNhNubh)}(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}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjghhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjghhhjghMubj/)}(h notify_changeh]j5)}(h notify_changeh]h notify_change}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjghhhjghMubj)}(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}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj)}j]j)}jjgsbc.notify_changeasbuh1hhjgubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubj*)}(hj-h]h*}(hj-hhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjgubj5)}(hidmaph]hidmap}(hj:hhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(hstruct dentry *dentryh](j )}(hjzh]hstruct}(hjShhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOhubj)}(h h]h }(hj`hhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOhubh)}(hhh]j5)}(hdentryh]hdentry}(hjqhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjshmodnameN classnameNjj)}j]jhc.notify_changeasbuh1hhjOhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOhubj*)}(hj-h]h*}(hjhhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjOhubj5)}(hdentryh]hdentry}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOhubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(hstruct iattr *attrh](j )}(hjzh]hstruct}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubh)}(hhh]j5)}(hiattrh]hiattr}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjhmodnameN classnameNjj)}j]jhc.notify_changeasbuh1hhjhubj)}(h h]h }(hjhhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubj*)}(hj-h]h*}(hj ihhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhubj5)}(hattrh]hattr}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubj)}(h'struct delegated_inode *delegated_inodeh](j )}(hjzh]hstruct}(hj3ihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj/iubj)}(h h]h }(hj@ihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/iubh)}(hhh]j5)}(hdelegated_inodeh]hdelegated_inode}(hjQihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSimodnameN classnameNjj)}j]jhc.notify_changeasbuh1hhj/iubj)}(h h]h }(hjoihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/iubj*)}(hj-h]h*}(hj}ihhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj/iubj5)}(hdelegated_inodeh]hdelegated_inode}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/iubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjgubeh}(h]h ]h"]h$]h&]jLjMuh1jhjghhhjghMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjghhhjghMubah}(h]jgah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjghMhjghhubjc)}(hhh]h)}(h(modify attributes of a filesystem objecth]h(modify attributes of a filesystem object}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhjihhubah}(h]h ]h"]h$]h&]uh1jbhjghhhjghMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjijjijjjuh1hhhhjIEhNhNubj)}(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)}(hjih]h Parameters}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhjiubj)}(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)}(hjih]hstruct mnt_idmap *idmap}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhjiubj)}(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&]uh1hhj jhMhj jubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1jhj jhMhjiubj)}(h*``struct dentry *dentry`` object affected h](j)}(h``struct dentry *dentry``h]j)}(hj.jh]hstruct dentry *dentry}(hj0jhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,jubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhj(jubj)}(hhh]h)}(hobject affectedh]hobject affected}(hjGjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjCjhMhjDjubah}(h]h ]h"]h$]h&]uh1jhj(jubeh}(h]h ]h"]h$]h&]uh1jhjCjhMhjiubj)}(h&``struct iattr *attr`` new attributes h](j)}(h``struct iattr *attr``h]j)}(hjgjh]hstruct iattr *attr}(hjijhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjejubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhjajubj)}(hhh]h)}(hnew attributesh]hnew attributes}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|jhMhj}jubah}(h]h ]h"]h$]h&]uh1jhjajubeh}(h]h ]h"]h$]h&]uh1jhj|jhMhjiubj)}(hU``struct delegated_inode *delegated_inode`` returns inode, if the inode is delegated h](j)}(h+``struct delegated_inode *delegated_inode``h]j)}(hjjh]h'struct delegated_inode *delegated_inode}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhjjubj)}(hhh]h)}(h(returns inode, if the inode is delegatedh]h(returns inode, if the inode is delegated}(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)}(hjjh]h Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhjiubh)}(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.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhjiubh)}(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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhjiubh)}(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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhjiubh)}(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 }(hjkhhhNhNubj)}(h **idmap**h]hidmap}(hj&khhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubhB. This function will then take care to map the inode according to }(hjkhhhNhNubj)}(h **idmap**h]hidmap}(hj8khhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjkhhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjJkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubh.}(hjkhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:74: ./fs/attr.chMhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hd_path (C function)c.d_pathhNtauh1hhjIEhhhNhNubh)}(hhh](j)}(h>char * d_path (const struct path *path, char *buf, int buflen)h]j)}(hohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubj5)}(hstarth]hstart}(hjLohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjnubj)}(h loff_t endh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjhohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjomodnameN classnameNjj)}j]jnnc.dax_layout_busy_page_rangeasbuh1hhjaoubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaoubj5)}(hendh]hend}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaoubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjnubeh}(h]h ]h"]h$]h&]jLjMuh1jhj/nhhhj@nhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj+nhhhj@nhMubah}(h]j&nah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj@nhMhj(nhhubjc)}(hhh]h)}(h%find first pinned page in **mapping**h](hfind first pinned page in }(hjohhhNhNubj)}(h **mapping**h]hmapping}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjohhubah}(h]h ]h"]h$]h&]uh1jbhj(nhhhj@nhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjojjojjjuh1hhhhjIEhNhNubj)}(hXN**Parameters** ``struct address_space *mapping`` address space to scan for a page with ref count > 1 ``loff_t start`` Starting offset. Page containing 'start' is included. ``loff_t end`` End offset. Page containing 'end' is included. If 'end' is LLONG_MAX, pages from 'start' till the end of file are included. **Description** DAX requires ZONE_DEVICE mapped pages. These pages are never 'onlined' to the page allocator so they are considered idle when page->count == 1. A filesystem uses this interface to determine if any page in the mapping is busy, i.e. for DMA, or other get_user_pages() usages. It is expected that the filesystem is holding locks to block the establishment of new mappings in this address_space. I.e. it expects to be able to run unmap_mapping_range() and subsequently not race mapping_mapped() becoming true.h](h)}(h**Parameters**h]j)}(hjoh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjoubj)}(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 ph]hstruct address_space *mapping}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhj pubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjpubj)}(hhh]h)}(h3address space to scan for a page with ref count > 1h]h3address space to scan for a page with ref count > 1}(hj&phhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"phMhj#pubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhj"phMhjpubj)}(hG``loff_t start`` Starting offset. Page containing 'start' is included. h](j)}(h``loff_t start``h]j)}(hjFph]h loff_t start}(hjHphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDpubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhj@pubj)}(hhh]h)}(h5Starting offset. Page containing 'start' is included.h]h9Starting offset. Page containing ‘start’ is included.}(hj_phhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[phMhj\pubah}(h]h ]h"]h$]h&]uh1jhj@pubeh}(h]h ]h"]h$]h&]uh1jhj[phMhjpubj)}(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)}(hjph]h loff_t end}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}pubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjypubj)}(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.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjpubah}(h]h ]h"]h$]h&]uh1jhjypubeh}(h]h ]h"]h$]h&]uh1jhjphMhjpubeh}(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&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjoubh)}(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.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjoubh)}(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.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjoubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdax_iomap_rw (C function)c.dax_iomap_rwhNtauh1hhjIEhhhNhNubh)}(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}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj)}j]j)}j dax_iomap_rwsbc.dax_iomap_rwasbuh1hhj qhhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMubj)}(h h]h }(hj4qhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj qhhhj3qhMubj/)}(h dax_iomap_rwh]j5)}(hj0qh]h dax_iomap_rw}(hjFqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBqubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj qhhhj3qhMubj)}(hH(struct kiocb *iocb, struct iov_iter *iter, const struct iomap_ops *ops)h](j)}(hstruct kiocb *iocbh](j )}(hjzh]hstruct}(hjaqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj]qubj)}(h h]h }(hjnqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]qubh)}(hhh]j5)}(hkiocbh]hkiocb}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|qubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj)}j]j.qc.dax_iomap_rwasbuh1hhj]qubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj]qubj*)}(hj-h]h*}(hjqhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj]qubj5)}(hiocbh]hiocb}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]qubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjYqubj)}(hstruct iov_iter *iterh](j )}(hjzh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubh)}(hhh]j5)}(hiov_iterh]hiov_iter}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj)}j]j.qc.dax_iomap_rwasbuh1hhjqubj)}(h h]h }(hj rhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubj*)}(hj-h]h*}(hjrhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjqubj5)}(hiterh]hiter}(hj(rhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjYqubj)}(hconst struct iomap_ops *opsh](j )}(hjUh]hconst}(hjArhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=rubj)}(h h]h }(hjNrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=rubj )}(hjzh]hstruct}(hj\rhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj=rubj)}(h h]h }(hjirhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=rubh)}(hhh]j5)}(h iomap_opsh]h iomap_ops}(hjzrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|rmodnameN classnameNjj)}j]j.qc.dax_iomap_rwasbuh1hhj=rubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj=rubj*)}(hj-h]h*}(hjrhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj=rubj5)}(hopsh]hops}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj=rubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjYqubeh}(h]h ]h"]h$]h&]jLjMuh1jhj qhhhj3qhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjqhhhj3qhMubah}(h]jqah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj3qhMhjqhhubjc)}(hhh]h)}(hPerform I/O to a DAX fileh]hPerform I/O to a DAX file}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjrhhubah}(h]h ]h"]h$]h&]uh1jbhjqhhhj3qhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjrjjrjjjuh1hhhhjIEhNhNubj)}(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)}(hjrh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjrubj)}(hhh](j)}(h6``struct kiocb *iocb`` The control block for this I/O h](j)}(h``struct kiocb *iocb``h]j)}(hjsh]hstruct kiocb *iocb}(hj shhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjsubj)}(hhh]h)}(hThe control block for this I/Oh]hThe control block for this I/O}(hj7shhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3shMhj4subah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhj3shMhjsubj)}(h=``struct iov_iter *iter`` The addresses to do I/O from or to h](j)}(h``struct iov_iter *iter``h]j)}(hjWsh]hstruct iov_iter *iter}(hjYshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUsubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjQsubj)}(hhh]h)}(h"The addresses to do I/O from or toh]h"The addresses to do I/O from or to}(hjpshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlshMhjmsubah}(h]h ]h"]h$]h&]uh1jhjQsubeh}(h]h ]h"]h$]h&]uh1jhjlshMhjsubj)}(hF``const struct iomap_ops *ops`` iomap ops passed from the file system h](j)}(h``const struct iomap_ops *ops``h]j)}(hjsh]hconst struct iomap_ops *ops}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjsubj)}(hhh]h)}(h%iomap ops passed from the file systemh]h%iomap ops passed from the file system}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshMhjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshMhjsubeh}(h]h ]h"]h$]h&]uh1jhjrubh)}(h**Description**h]j)}(hjsh]h Description}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjrubh)}(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.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjrubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdax_iomap_fault (C function)c.dax_iomap_faulthNtauh1hhjIEhhhNhNubh)}(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}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj)}j]j)}jdax_iomap_faultsbc.dax_iomap_faultasbuh1hhj thhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM ubj)}(h h]h }(hj5thhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj thhhj4thM ubj/)}(hdax_iomap_faulth]j5)}(hj1th]hdax_iomap_fault}(hjGthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCtubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj thhhj4thM 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}(hjbthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj^tubj)}(h h]h }(hjothhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^tubh)}(hhh]j5)}(hvm_faulth]hvm_fault}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}tubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj)}j]j/tc.dax_iomap_faultasbuh1hhj^tubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^tubj*)}(hj-h]h*}(hjthhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj^tubj5)}(hvmfh]hvmf}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^tubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZtubj)}(hunsigned int orderh](j)}(hunsignedh]hunsigned}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubj)}(hinth]hint}(hjthhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubj5)}(horderh]horder}(hj uhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZtubj)}(hunsigned long *pfnph](j)}(hunsignedh]hunsigned}(hj#uhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjuubj)}(h h]h }(hj1uhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj)}(hlongh]hlong}(hj?uhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjuubj)}(h h]h }(hjMuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj*)}(hj-h]h*}(hj[uhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjuubj5)}(hpfnph]hpfnp}(hjhuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZtubj)}(hint *iomap_errph](j)}(hinth]hint}(hjuhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj}uubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}uubj*)}(hj-h]h*}(hjuhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj}uubj5)}(h iomap_errph]h iomap_errp}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}uubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZtubj)}(hconst struct iomap_ops *opsh](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)}(h iomap_opsh]h iomap_ops}(hjuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjumodnameN classnameNjj)}j]j/tc.dax_iomap_faultasbuh1hhjuubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj*)}(hj-h]h*}(hj(vhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjuubj5)}(hopsh]hops}(hj5vhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZtubeh}(h]h ]h"]h$]h&]jLjMuh1jhj thhhj4thM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjthhhj4thM ubah}(h]jtah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj4thM hjthhubjc)}(hhh]h)}(h!handle a page fault on a DAX fileh]h!handle a page fault on a DAX file}(hj_vhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM hj\vhhubah}(h]h ]h"]h$]h&]uh1jbhjthhhj4thM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjwvjjwvjjjuh1hhhhjIEhNhNubj)}(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)}(hjvh]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhj{vubj)}(hhh](j)}(h6``struct vm_fault *vmf`` The description of the fault h](j)}(h``struct vm_fault *vmf``h]j)}(hjvh]hstruct vm_fault *vmf}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM hjvubj)}(hhh]h)}(hThe description of the faulth]hThe description of the fault}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhM hjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhM hjvubj)}(h5``unsigned int order`` Order of the page to fault in h](j)}(h``unsigned int order``h]j)}(hjvh]hunsigned int order}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chM hjvubj)}(hhh]h)}(hOrder of the page to fault inh]hOrder of the page to fault in}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhM hjvubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjvhM hjvubj)}(hR``unsigned long *pfnp`` PFN to insert for synchronous faults if fsync is required h](j)}(h``unsigned long *pfnp``h]j)}(hjwh]hunsigned long *pfnp}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhj wubj)}(hhh]h)}(h9PFN to insert for synchronous faults if fsync is requiredh]h9PFN to insert for synchronous faults if fsync is required}(hj+whhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'whMhj(wubah}(h]h ]h"]h$]h&]uh1jhj wubeh}(h]h ]h"]h$]h&]uh1jhj'whMhjvubj)}(hE``int *iomap_errp`` Storage for detailed error code in case of error h](j)}(h``int *iomap_errp``h]j)}(hjKwh]hint *iomap_errp}(hjMwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIwubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhjEwubj)}(hhh]h)}(h0Storage for detailed error code in case of errorh]h0Storage for detailed error code in case of error}(hjdwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`whMhjawubah}(h]h ]h"]h$]h&]uh1jhjEwubeh}(h]h ]h"]h$]h&]uh1jhj`whMhjvubj)}(hF``const struct iomap_ops *ops`` Iomap ops passed from the file system h](j)}(h``const struct iomap_ops *ops``h]j)}(hjwh]hconst struct iomap_ops *ops}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhj~wubj)}(hhh]h)}(h%Iomap ops passed from the file systemh]h%Iomap ops passed from the file system}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhMhjwubah}(h]h ]h"]h$]h&]uh1jhj~wubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjvubeh}(h]h ]h"]h$]h&]uh1jhj{vubh)}(h**Description**h]j)}(hjwh]h Description}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhj{vubh)}(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.}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMhj{vubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"dax_finish_sync_fault (C function)c.dax_finish_sync_faulthNtauh1hhjIEhhhNhNubh)}(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}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj xmodnameN classnameNjj)}j]j)}jdax_finish_sync_faultsbc.dax_finish_sync_faultasbuh1hhjxhhhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMUubj)}(h h]h }(hj)xhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxhhhj(xhMUubj/)}(hdax_finish_sync_faulth]j5)}(hj%xh]hdax_finish_sync_fault}(hj;xhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7xubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjxhhhj(xhMUubj)}(h=(struct vm_fault *vmf, unsigned int order, unsigned long pfn)h](j)}(hstruct vm_fault *vmfh](j )}(hjzh]hstruct}(hjVxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRxubj)}(h h]h }(hjcxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRxubh)}(hhh]j5)}(hvm_faulth]hvm_fault}(hjtxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvxmodnameN classnameNjj)}j]j#xc.dax_finish_sync_faultasbuh1hhjRxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRxubj*)}(hj-h]h*}(hjxhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjRxubj5)}(hvmfh]hvmf}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjNxubj)}(hunsigned int orderh](j)}(hunsignedh]hunsigned}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubj)}(hinth]hint}(hjxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjxubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubj5)}(horderh]horder}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjNxubj)}(hunsigned long pfnh](j)}(hunsignedh]hunsigned}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjyubj)}(h h]h }(hj%yhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj)}(hlongh]hlong}(hj3yhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjyubj)}(h h]h }(hjAyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj5)}(hpfnh]hpfn}(hjOyhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjNxubeh}(h]h ]h"]h$]h&]jLjMuh1jhjxhhhj(xhMUubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjwhhhj(xhMUubah}(h]jwah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj(xhMUhjwhhubjc)}(hhh]h)}(hfinish synchronous page faulth]hfinish synchronous page fault}(hjyyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMUhjvyhhubah}(h]h ]h"]h$]h&]uh1jbhjwhhhj(xhMUubeh}(h]h ](jfunctioneh"]h$]h&]jjjjyjjyjjjuh1hhhhjIEhNhNubj)}(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)}(hjyh]h Parameters}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMYhjyubj)}(hhh](j)}(h6``struct vm_fault *vmf`` The description of the fault h](j)}(h``struct vm_fault *vmf``h]j)}(hjyh]hstruct vm_fault *vmf}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMVhjyubj)}(hhh]h)}(hThe description of the faulth]hThe description of the fault}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhMVhjyubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjyhMVhjyubj)}(h5``unsigned int order`` Order of entry to be inserted h](j)}(h``unsigned int order``h]j)}(hjyh]hunsigned int order}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMWhjyubj)}(hhh]h)}(hOrder of entry to be insertedh]hOrder of entry to be inserted}(hj zhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhMWhj zubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjzhMWhjyubj)}(h$``unsigned long pfn`` PFN to insert h](j)}(h``unsigned long pfn``h]j)}(hj,zh]hunsigned long pfn}(hj.zhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*zubah}(h]h ]h"]h$]h&]uh1jhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMXhj&zubj)}(hhh]h)}(h PFN to inserth]h PFN to insert}(hjEzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAzhMXhjBzubah}(h]h ]h"]h$]h&]uh1jhj&zubeh}(h]h ]h"]h$]h&]uh1jhjAzhMXhjyubeh}(h]h ]h"]h$]h&]uh1jhjyubh)}(h**Description**h]j)}(hjgzh]h Description}(hjizhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjezubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMZhjyubh)}(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.}(hj}zhhhNhNubah}(h]h ]h"]h$]h&]uh1hhP/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:80: ./fs/dax.chMYhjyubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$simple_rename_timestamp (C function)c.simple_rename_timestamphNtauh1hhjIEhhhNhNubh)}(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}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjzhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM8ubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzhhhjzhM8ubj/)}(hsimple_rename_timestamph]j5)}(hsimple_rename_timestamph]hsimple_rename_timestamp}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjzhhhjzhM8ubj)}(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}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjzubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubh)}(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)}jjzsbc.simple_rename_timestampasbuh1hhjzubj)}(h h]h }(hj'{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjzubj*)}(hj-h]h*}(hj5{hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjzubj5)}(hold_dirh]hold_dir}(hjB{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjzubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzubj)}(hstruct dentry *old_dentryh](j )}(hjzh]hstruct}(hj[{hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjW{ubj)}(h h]h }(hjh{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjW{ubh)}(hhh]j5)}(hdentryh]hdentry}(hjy{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjv{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{{modnameN classnameNjj)}j]j#{c.simple_rename_timestampasbuh1hhjW{ubj)}(h h]h }(hj{hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjW{ubj*)}(hj-h]h*}(hj{hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjW{ubj5)}(h old_dentryh]h old_dentry}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjW{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzubj)}(hstruct inode *new_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}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{modnameN classnameNjj)}j]j#{c.simple_rename_timestampasbuh1hhj{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)}(hnew_dirh]hnew_dir}(hj"|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzubj)}(hstruct dentry *new_dentryh](j )}(hjzh]hstruct}(hj;|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj7|ubj)}(h h]h }(hjH|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7|ubh)}(hhh]j5)}(hdentryh]hdentry}(hjY|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjV|ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj[|modnameN classnameNjj)}j]j#{c.simple_rename_timestampasbuh1hhj7|ubj)}(h h]h }(hjw|hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7|ubj*)}(hj-h]h*}(hj|hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj7|ubj5)}(h new_dentryh]h new_dentry}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj7|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjzubeh}(h]h ]h"]h$]h&]jLjMuh1jhjzhhhjzhM8ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjzhhhjzhM8ubah}(h]jzah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjzhM8hjzhhubjc)}(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:83: ./fs/libfs.chM8hj|hhubah}(h]h ]h"]h$]h&]uh1jbhjzhhhjzhM8ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj|jj|jjjuh1hhhhjIEhNhNubj)}(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)}(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:83: ./fs/libfs.chM<hj|ubj)}(hhh](j)}(h/``struct inode *old_dir`` old parent directory h](j)}(h``struct inode *old_dir``h]j)}(hj|h]hstruct inode *old_dir}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM9hj|ubj)}(hhh]h)}(hold parent directoryh]hold parent directory}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hM9hj}ubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]uh1jhj}hM9hj|ubj)}(h;``struct dentry *old_dentry`` dentry that is being renamed h](j)}(h``struct dentry *old_dentry``h]j)}(hj6}h]hstruct dentry *old_dentry}(hj8}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4}ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM:hj0}ubj)}(hhh]h)}(hdentry that is being renamedh]hdentry that is being renamed}(hjO}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjK}hM:hjL}ubah}(h]h ]h"]h$]h&]uh1jhj0}ubeh}(h]h ]h"]h$]h&]uh1jhjK}hM:hj|ubj)}(h/``struct inode *new_dir`` new parent directory h](j)}(h``struct inode *new_dir``h]j)}(hjo}h]hstruct inode *new_dir}(hjq}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm}ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM;hji}ubj)}(hhh]h)}(hnew parent directoryh]hnew parent directory}(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;hj|ubj)}(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:83: ./fs/libfs.chM<hj}ubj)}(hhh]h)}(htarget for renameh]htarget for rename}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM>hj|ubh)}(hPOSIX mandates that the old and new parent directories have their ctime and mtime updated, and that inodes of **old_dentry** and **new_dentry** (if any), have their ctime updated.h](hnPOSIX mandates that the old and new parent directories have their ctime and mtime updated, and that inodes of }(hj}hhhNhNubj)}(h**old_dentry**h]h old_dentry}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubh and }(hj}hhhNhNubj)}(h**new_dentry**h]h new_dentry}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubh$ (if any), have their ctime updated.}(hj}hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM=hj|ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsimple_setattr (C function)c.simple_setattrhNtauh1hhjIEhhhNhNubh)}(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}(hjL~hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjH~hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hj[~hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjH~hhhjZ~hMubj/)}(hsimple_setattrh]j5)}(hsimple_setattrh]hsimple_setattr}(hjm~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hji~ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjH~hhhjZ~hMubj)}(hE(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *iattr)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)}jjo~sbc.simple_setattrasbuh1hhj~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 *dentryh](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]j~c.simple_setattrasbuh1hhj~ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj~ubj*)}(hj-h]h*}(hjEhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj~ubj5)}(hdentryh]hdentry}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj~ubj)}(hstruct iattr *iattrh](j )}(hjzh]hstruct}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubh)}(hhh]j5)}(hiattrh]hiattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j~c.simple_setattrasbuh1hhjgubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjgubj5)}(hiattrh]hiattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj~ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjH~hhhjZ~hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjD~hhhjZ~hMubah}(h]j?~ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjZ~hMhjA~hhubjc)}(hhh]h)}(hsetattr for simple filesystemh]hsetattr for simple filesystem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjA~hhhjZ~hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(hX**Parameters** ``struct mnt_idmap *idmap`` idmap of the target mount ``struct dentry *dentry`` dentry ``struct iattr *iattr`` iattr structure **Description** Returns 0 on success, -error on failure. simple_setattr is a simple ->setattr implementation without a proper implementation of size changes. It can either be used for in-memory filesystems or special files on simple regular filesystems. Anything that needs to change on-disk or wire state on size changes needs its own setattr method.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubj)}(hhh](j)}(h6``struct mnt_idmap *idmap`` idmap of the target mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hj-h]hstruct mnt_idmap *idmap}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj'ubj)}(hhh]h)}(hidmap of the target mounth]hidmap of the target mount}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhMhjCubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhjBhMhj$ubj)}(h!``struct dentry *dentry`` dentry h](j)}(h``struct dentry *dentry``h]j)}(hjfh]hstruct dentry *dentry}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj`ubj)}(hhh]h)}(hdentryh]hdentry}(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 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:83: ./fs/libfs.chMhjubj)}(hhh]h)}(hiattr structureh]hiattr structure}(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&]uh1jhj؀ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubh)}(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:83: ./fs/libfs.chMhjubh)}(hdsimple_setattr is a simple ->setattr implementation without a proper implementation of size changes.h]hdsimple_setattr is a simple ->setattr implementation without a proper implementation of size changes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubh)}(hIt can either be used for in-memory filesystems or special files on simple regular filesystems. Anything that needs to change on-disk or wire state on size changes needs its own setattr method.h]hIt can either be used for in-memory filesystems or special files on simple regular filesystems. Anything that needs to change on-disk or wire state on size changes needs its own setattr method.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$simple_read_from_buffer (C function)c.simple_read_from_bufferhNtauh1hhjIEhhhNhNubh)}(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_bufferasbuh1hhj9hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMiubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9hhhjahMiubj/)}(hsimple_read_from_bufferh]j5)}(hj^h]hsimple_read_from_buffer}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjpubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj9hhhjahMiubj)}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htoh]hto}(hjʁhhhNhNubah}(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_bufferasbuh1hhj߁ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj߁ubj5)}(hcounth]hcount}(hjhhhNhNubah}(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 reftargetj0modnameN classnameNjj)}j]j\c.simple_read_from_bufferasbuh1hhj'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)}(hpposh]hppos}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst void *fromh](j )}(hjUh]hconst}(hjhhhNhNubah}(h]h ]jah"]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)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj|ubj5)}(hfromh]hfrom}(hjĂhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj|ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hsize_t availableh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj݂ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j\c.simple_read_from_bufferasbuh1hhjقubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjقubj5)}(h availableh]h available}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjقubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj9hhhjahMiubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj5hhhjahMiubah}(h]j0ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjahMihj2hhubjc)}(hhh]h)}(h'copy data from the buffer to user spaceh]h'copy data from the buffer to user space}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMihj3hhubah}(h]h ]h"]h$]h&]uh1jbhj2hhhjahMiubeh}(h]h ](jfunctioneh"]h$]h&]jjjjNjjNjjjuh1hhhhjIEhNhNubj)}(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:83: ./fs/libfs.chMmhjRubj)}(hhh](j)}(h5``void __user *to`` the user space buffer to read to h](j)}(h``void __user *to``h]j)}(hjwh]hvoid __user *to}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMjhjqubj)}(hhh]h)}(h the user space buffer to read toh]h the user space buffer to read to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMjhjubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhjhMjhjnubj)}(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:83: ./fs/libfs.chMkhjubj)}(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ŃhMkhjƃubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjŃhMkhjnubj)}(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:83: ./fs/libfs.chMlhjubj)}(hhh]h)}(h"the current position in the bufferh]h"the current position in the buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMlhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMlhjnubj)}(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:83: ./fs/libfs.chMmhjubj)}(hhh]h)}(hthe buffer to read fromh]hthe buffer to read from}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hMmhj8ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7hMmhjnubj)}(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:83: ./fs/libfs.chMnhjUubj)}(hhh]h)}(hthe size of the bufferh]hthe size of the buffer}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMnhjqubah}(h]h ]h"]h$]h&]uh1jhjUubeh}(h]h ]h"]h$]h&]uh1jhjphMnhjnubeh}(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:83: ./fs/libfs.chMphjRubh)}(hThe simple_read_from_buffer() function reads up to **count** bytes from the buffer **from** at offset **ppos** into the user space address starting at **to**.h](h3The simple_read_from_buffer() function reads up to }(hjhhhNhNubj)}(h **count**h]hcount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes from the buffer }(hjhhhNhNubj)}(h**from**h]hfrom}(hjƄhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh at offset }(hjhhhNhNubj)}(h**ppos**h]hppos}(hj؄hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) into the user space address starting at }(hjhhhNhNubj)}(h**to**h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMohjRubh)}(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:83: ./fs/libfs.chMrhjRubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#simple_write_to_buffer (C function)c.simple_write_to_bufferhNtauh1hhjIEhhhNhNubh)}(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:83: ./fs/libfs.chMubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@hhhjhhMubj/)}(hsimple_write_to_bufferh]j5)}(hjeh]hsimple_write_to_buffer}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj@hhhjhhMubj)}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htoh]hto}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hsize_t availableh](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]jcc.simple_write_to_bufferasbuh1hhjԅubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjԅubj5)}(h availableh]h available}(hjhhhNhNubah}(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]jcc.simple_write_to_bufferasbuh1hhjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjOhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hpposh]hppos}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst void __user *fromh](j )}(hjUh]hconst}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubj)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubh__user}(hjqhhhNhNubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjqubj5)}(hfromh]hfrom}(hjˆhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubeh}(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]jcc.simple_write_to_bufferasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hcounth]hcount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj@hhhjhhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj<hhhjhhMubah}(h]j7ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhhMhj9hhubjc)}(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:83: ./fs/libfs.chMhj:hhubah}(h]h ]h"]h$]h&]uh1jbhj9hhhjhhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1hhhhjIEhNhNubj)}(hXV**Parameters** ``void *to`` the buffer to write to ``size_t available`` the size of the buffer ``loff_t *ppos`` the current position in the buffer ``const void __user *from`` the user space buffer to read from ``size_t count`` the maximum number of bytes to read **Description** The simple_write_to_buffer() function reads up to **count** bytes from the user space address starting at **from** into the buffer **to** at offset **ppos**. On success, the number of bytes written is returned and the offset **ppos** is advanced by this number, or negative value is returned on error.h](h)}(h**Parameters**h]j)}(hj_h]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjYubj)}(hhh](j)}(h$``void *to`` the buffer to write to h](j)}(h ``void *to``h]j)}(hj~h]hvoid *to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjxubj)}(hhh]h)}(hthe buffer to write toh]hthe buffer to write to}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhjuubj)}(h,``size_t available`` the size of the buffer h](j)}(h``size_t available``h]j)}(hjh]hsize_t available}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubj)}(hhh]h)}(hthe size of the bufferh]hthe size of the buffer}(hjЇhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj̇hMhj͇ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj̇hMhjuubj)}(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:83: ./fs/libfs.chMhjubj)}(hhh]h)}(h"the current position in the bufferh]h"the current position in the buffer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjuubj)}(h?``const void __user *from`` the user space buffer to read from h](j)}(h``const void __user *from``h]j)}(hj)h]hconst void __user *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:83: ./fs/libfs.chMhj#ubj)}(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&]uh1jhj#ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhjuubj)}(h5``size_t count`` the maximum number of bytes to read h](j)}(h``size_t count``h]j)}(hjbh]h size_t count}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj\ubj)}(hhh]h)}(h#the maximum number of bytes to readh]h#the maximum number of bytes to read}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhMhjxubah}(h]h ]h"]h$]h&]uh1jhj\ubeh}(h]h ]h"]h$]h&]uh1jhjwhMhjuubeh}(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:83: ./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 }(hjhhhNhNubj)}(h **count**h]hcount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh/ bytes from the user space address starting at }(hjhhhNhNubj)}(h**from**h]hfrom}(hj͈hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh into the buffer }(hjhhhNhNubj)}(h**to**h]hto}(hj߈hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh at offset }(hjhhhNhNubj)}(h**ppos**h]hppos}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhD is advanced by this number, or negative value is returned on error.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$memory_read_from_buffer (C function)c.memory_read_from_bufferhNtauh1hhjIEhhhNhNubh)}(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:83: ./fs/libfs.chMubj)}(h h]h }(hjphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGhhhjohMubj/)}(hmemory_read_from_bufferh]j5)}(hjlh]hmemory_read_from_buffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj~ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjGhhhjohMubj)}(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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htoh]hto}(hjƉhhhNhNubah}(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&]uh1j4hj߉ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jjc.memory_read_from_bufferasbuh1hhjۉubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjۉubj5)}(hcounth]hcount}(hjhhhNhNubah}(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]jjc.memory_read_from_bufferasbuh1hhj#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)}(hpposh]hppos}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst void *fromh](j )}(hjUh]hconst}(hj|hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubj)}(hvoidh]hvoid}(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)}(hfromh]hfrom}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hsize_t availableh](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]jjc.memory_read_from_bufferasbuh1hhjՊubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjՊubj5)}(h availableh]h available}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjՊubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjGhhhjohMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjChhhjohMubah}(h]j>ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjohMhj@hhubjc)}(hhh]h)}(hcopy data from the bufferh]hcopy data from the buffer}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj/hhubah}(h]h ]h"]h$]h&]uh1jbhj@hhhjohMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjJjjJjjjuh1hhhhjIEhNhNubj)}(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:83: ./fs/libfs.chMhjNubj)}(hhh](j)}(h0``void *to`` the kernel space buffer to read to h](j)}(h ``void *to``h]j)}(hjsh]hvoid *to}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjmubj)}(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&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjubj)}(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:83: ./fs/libfs.chMhjubj)}(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&]uh1hhjhMhj‹ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjubj)}(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:83: ./fs/libfs.chMhjߋubj)}(hhh]h)}(h"the current position in the bufferh]h"the current position in the buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjߋubeh}(h]h ]h"]h$]h&]uh1jhjhMhjjubj)}(h-``const void *from`` the buffer to read from h](j)}(h``const void *from``h]j)}(hjh]hconst void *from}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubj)}(hhh]h)}(hthe buffer to read fromh]hthe buffer to read from}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjjubj)}(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:83: ./fs/libfs.chMhjQubj)}(hhh]h)}(hthe size of the bufferh]hthe size of the buffer}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjjubeh}(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:83: ./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 }(hjhhhNhNubj)}(h **count**h]hcount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh bytes from the buffer }(hjhhhNhNubj)}(h**from**h]hfrom}(hjŒhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh at offset }(hjhhhNhNubj)}(h**ppos**h]hppos}(hjԌhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh+ into the kernel space address starting at }(hjhhhNhNubj)}(h**to**h]hto}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhD is advanced by this number, or negative value is returned on error.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjNubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$generic_encode_ino32_fh (C function)c.generic_encode_ino32_fhhNtauh1hhjIEhhhNhNubh)}(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:83: ./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}(hjahhhNhNubah}(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}(hj}hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjcsbc.generic_encode_ino32_fhasbuh1hhjyubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyubj*)}(hj-h]h*}(hjɍhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjyubj5)}(hinodeh]hinode}(hj֍hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjyubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjuubj)}(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]jc.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)}(hfhh]hfh}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjuubj)}(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*}(hj`hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj@ubj5)}(hmax_lenh]hmax_len}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjuubj)}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.generic_encode_ino32_fhasbuh1hhjubj)}(h h]h }(hjŽhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjЎhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjݎhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjuubeh}(h]h ]h"]h$]h&]jLjMuh1jhj<hhhjNhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj8hhhjNhMubah}(h]j3ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjNhMhj5hhubjc)}(hhh]h)}(h-generic export_operations->encode_fh functionh]h-generic export_operations->encode_fh function}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj5hhhjNhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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)}(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:83: ./fs/libfs.chMhj#ubj)}(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:83: ./fs/libfs.chMhjBubj)}(hhh]h)}(hthe object to encodeh]hthe object to encode}(hjahhhNhNubah}(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:83: ./fs/libfs.chMhj{ubj)}(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&]uh1jhj{ubeh}(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)}(hjh]h int *max_len}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubj)}(hhh]h)}(h/maximum length to store there (in 4 byte units)h]h/maximum length to store there (in 4 byte units)}(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 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:83: ./fs/libfs.chMhjubj)}(hhh]h)}(h!parent directory inode, if wantedh]h!parent directory inode, if wanted}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj?ubeh}(h]h ]h"]h$]h&]uh1jhj#ubh)}(h**Description**h]j)}(hj.h]h Description}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj#ubh)}(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:83: ./fs/libfs.chMhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!generic_fh_to_dentry (C function)c.generic_fh_to_dentryhNtauh1hhjIEhhhNhNubh)}(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}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjohhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjohhhjhMubh)}(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_dentryasbuh1hhjohhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjohhhjhMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjohhhjhMubj/)}(hgeneric_fh_to_dentryh]j5)}(hjh]hgeneric_fh_to_dentry}(hjҐhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjΐubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjohhhjhMubj)}(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}(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&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jc.generic_fh_to_dentryasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj7hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hsbh]hsb}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct fid *fidh](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)}(hfidh]hfid}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj)}j]jc.generic_fh_to_dentryasbuh1hhjYubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjYubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjYubj5)}(hfidh]hfid}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjYubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int fh_lenh](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)}(hfh_lenh]hfh_len}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjɑubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(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&]noemphjLjMuh1jhjubj)}(hDstruct inode *(*get_inode)(struct super_block *sb, u64 ino, u32 gen)h](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.generic_fh_to_dentryasbuh1hhj3ubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj*)}(hjh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj5)}(h get_inodeh]h get_inode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj*)}(hjh]h(}(hjÒhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj )}(hjzh]hstruct}(hjВhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(h h]h }(hjݒhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubh)}(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.generic_fh_to_dentryasbuh1hhj3ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj5)}(hsbh]hsb}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubj*)}(hjh]h,}(hj5hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubh)}(hhh]j5)}(hu64h]hu64}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjUmodnameN classnameNjj)}j]jc.generic_fh_to_dentryasbuh1hhj3ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj5)}(hinoh]hino}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubj*)}(hjh]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubh)}(hhh]j5)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.generic_fh_to_dentryasbuh1hhj3ubj)}(h h]h }(hjɓhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj5)}(hgenh]hgen}(hjדhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjohhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjkhhhjhMubah}(h]jfah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhhubjc)}(hhh]h)}(h4generic helper for the fh_to_dentry export operationh]h4generic helper for the fh_to_dentry export operation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj&jj&jjjuh1hhhhjIEhNhNubj)}(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)}(hj0h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj*ubj)}(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:83: ./fs/libfs.chMhjIubj)}(hhh]h)}(h.filesystem to do the file handle conversion onh]h.filesystem to do the file handle conversion on}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhMhjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhMhjFubj)}(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:83: ./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}(hjÔhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubj)}(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&]uh1hhj֔hMhjהubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj֔hMhjFubj)}(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:83: ./fs/libfs.chMhjubj)}(hhh]h)}(htype of file handleh]htype of file handle}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjFubj)}(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)}(hj3h]hEstruct inode *(*get_inode) (struct super_block *sb, u64 ino, u32 gen)}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj-ubj)}(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&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhjHhMhjFubeh}(h]h ]h"]h$]h&]uh1jhj*ubh)}(h**Description**h]j)}(hjnh]h Description}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj*ubh)}(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:83: ./fs/libfs.chMhj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!generic_fh_to_parent (C function)c.generic_fh_to_parenthNtauh1hhjIEhhhNhNubh)}(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}(hjוhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjӕhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjӕhhhjhMubh)}(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_parentasbuh1hhjӕhhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjӕhhhjhMubj*)}(hj-h]h*}(hj%hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjӕhhhjhMubj/)}(hgeneric_fh_to_parenth]j5)}(hjh]hgeneric_fh_to_parent}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjӕhhhjhMubj)}(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}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjqmodnameN classnameNjj)}j]jc.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}(hjhhhNhNubah}(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 hjubj)}(h h]h }(hjΖhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hfidh]hfid}(hjߖhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjܖubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.generic_fh_to_parentasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfidh]hfid}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjIubj)}(h int fh_lenh](j)}(hinth]hint}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj-ubj)}(h h]h }(hj?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj-ubj5)}(hfh_lenh]hfh_len}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjIubj)}(h int fh_typeh](j)}(hinth]hint}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjbubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubj5)}(hfh_typeh]hfh_type}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubeh}(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 }(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.generic_fh_to_parentasbuh1hhjubj)}(h h]h }(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)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)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj*)}(hjh]h(}(hj'hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj )}(hjzh]hstruct}(hj4hhhNhNubah}(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]jc.generic_fh_to_parentasbuh1hhjubj)}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjh]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hu64h]hu64}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.generic_fh_to_parentasbuh1hhjubj)}(h h]h }(hj՘hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hinoh]hino}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubj*)}(hjh]h,}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.generic_fh_to_parentasbuh1hhjubj)}(h h]h }(hj-hhhNhNubah}(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&]jLjMuh1jhjӕhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjϕhhhjhMubah}(h]jʕah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhj̕hhubjc)}(hhh]h)}(h4generic helper for the fh_to_parent export operationh]h4generic helper for the fh_to_parent export operation}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjohhubah}(h]h ]h"]h$]h&]uh1jbhj̕hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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:83: ./fs/libfs.chMhjubj)}(hhh](j)}(hJ``struct super_block *sb`` filesystem to do the file handle conversion on h](j)}(h``struct super_block *sb``h]j)}(hjh]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubj)}(hhh]h)}(h.filesystem to do the file handle conversion onh]h.filesystem to do the file handle conversion on}(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 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:83: ./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&]uh1jhjhMhjubj)}(h2``int fh_len`` length of the file handle in bytes h](j)}(h``int fh_len``h]j)}(hj%h]h int fh_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:83: ./fs/libfs.chMhjubj)}(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&]uh1hhj:hMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjubj)}(h$``int fh_type`` type of file handle h](j)}(h``int fh_type``h]j)}(hj^h]h int fh_type}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjXubj)}(hhh]h)}(htype of file handleh]htype of file handle}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshMhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMhjubj)}(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:83: ./fs/libfs.chMhjubj)}(hhh]h)}(h%filesystem callback to retrieve inodeh]h%filesystem callback to retrieve inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(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:83: ./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}(hjhhhNhNubah}(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:83: ./fs/libfs.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!__generic_file_fsync (C function)c.__generic_file_fsynchNtauh1hhjIEhhhNhNubh)}(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&]uh1jhj7hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj7hhhjIhMubj/)}(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.hj7hhhjIhMubj)}(h;(struct file *file, loff_t start, loff_t end, int datasync)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubh)}(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_fsyncasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubj*)}(hj-h]h*}(hjěhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjtubj5)}(hfileh]hfile}(hjћhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjpubj)}(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]jc.__generic_file_fsyncasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hstarth]hstart}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjpubj)}(h loff_t endh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNjj)}j]jc.__generic_file_fsyncasbuh1hhj.ubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.ubj5)}(hendh]hend}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjpubj)}(h int datasynch](j)}(hinth]hint}(hjzhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubj5)}(hdatasynch]hdatasync}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjpubeh}(h]h ]h"]h$]h&]jLjMuh1jhj7hhhjIhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj3hhhjIhMubah}(h]j.ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjIhMhj0hhubjc)}(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:83: ./fs/libfs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj0hhhjIhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj؜jj؜jjjuh1hhhhjIEhNhNubj)}(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:83: ./fs/libfs.chMhjܜubj)}(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:83: ./fs/libfs.chMhjubj)}(hhh]h)}(hfile to synchronizeh]hfile to synchronize}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h'``loff_t start`` start offset in bytes h](j)}(h``loff_t start``h]j)}(hj:h]h loff_t start}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj4ubj)}(hhh]h)}(hstart offset in bytesh]hstart offset in bytes}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMhjPubah}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjOhMhjubj)}(h/``loff_t end`` end offset in bytes (inclusive) h](j)}(h``loff_t end``h]j)}(hjsh]h loff_t end}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjmubj)}(hhh]h)}(hend offset in bytes (inclusive)h]hend offset in bytes (inclusive)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h=``int datasync`` only synchronize essential metadata if true h](j)}(h``int datasync``h]j)}(hjh]h int datasync}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM hjubj)}(hhh]h)}(h+only synchronize essential metadata if trueh]h+only synchronize essential metadata if true}(hjŝhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubeh}(h]h ]h"]h$]h&]uh1jhjܜubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM hjܜubh)}(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:83: ./fs/libfs.chM hjܜubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_file_fsync (C function)c.generic_file_fsynchNtauh1hhjIEhhhNhNubh)}(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}(hj,hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj(hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM0ubj)}(h h]h }(hj;hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj(hhhj:hM0ubj/)}(hgeneric_file_fsynch]j5)}(hgeneric_file_fsynch]hgeneric_file_fsync}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj(hhhj:hM0ubj)}(h;(struct file *file, loff_t start, loff_t end, int datasync)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjeubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubh)}(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_fsyncasbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjeubj5)}(hfileh]hfile}(hjžhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubj)}(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]jc.generic_file_fsyncasbuh1hhjמubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjמubj5)}(hstarth]hstart}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjמubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubj)}(h loff_t endh](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]jc.generic_file_fsyncasbuh1hhjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hendh]hend}(hjRhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubj)}(h int datasynch](j)}(hinth]hint}(hjkhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjgubj)}(h h]h }(hjyhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubj5)}(hdatasynch]hdatasync}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubeh}(h]h ]h"]h$]h&]jLjMuh1jhj(hhhj:hM0ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj$hhhj:hM0ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj:hM0hj!hhubjc)}(hhh]h)}(h>generic fsync implementation for simple filesystems with flushh]h>generic fsync implementation for simple filesystems with flush}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM0hjhhubah}(h]h ]h"]h$]h&]uh1jbhj!hhhj:hM0ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjɟjjɟjjjuh1hhhhjIEhNhNubj)}(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)}(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:83: ./fs/libfs.chM4hj͟ubj)}(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:83: ./fs/libfs.chM2hjubj)}(hhh]h)}(hfile to synchronizeh]hfile to synchronize}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM2hjubj)}(h'``loff_t start`` start offset in bytes h](j)}(h``loff_t start``h]j)}(hj+h]h loff_t start}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM3hj%ubj)}(hhh]h)}(hstart offset in bytesh]hstart offset in bytes}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hM3hjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hM3hjubj)}(h/``loff_t end`` end offset in bytes (inclusive) h](j)}(h``loff_t end``h]j)}(hjdh]h loff_t end}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM4hj^ubj)}(hhh]h)}(hend offset in bytes (inclusive)h]hend offset in bytes (inclusive)}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhM4hjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhM4hjubj)}(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:83: ./fs/libfs.chM6hjubj)}(hhh]h)}(h+only synchronize essential metadata if trueh]h+only synchronize essential metadata if true}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM5hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM6hjubeh}(h]h ]h"]h$]h&]uh1jhj͟ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&generic_check_addressable (C function)c.generic_check_addressablehNtauh1hhjIEhhhNhNubh)}(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:83: ./fs/libfs.chMGubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMGubj/)}(hgeneric_check_addressableh]j5)}(hgeneric_check_addressableh]hgeneric_check_addressable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMGubj)}(h)(unsigned blocksize_bits, u64 num_blocks)h](j)}(hunsigned blocksize_bitsh](j)}(hunsignedh]hunsigned}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj0ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubj5)}(hblocksize_bitsh]hblocksize_bits}(hjPhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj,ubj)}(hu64 num_blocksh](h)}(hhh]j5)}(hu64h]hu64}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj)}j]j)}jjsbc.generic_check_addressableasbuh1hhjeubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjeubj5)}(h num_blocksh]h num_blocks}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj,ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMGubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMGubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMGhjhhubjc)}(hhh]h)}(h#Check addressability of file systemh]h#Check addressability of file system}(hjġhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMGhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMGubeh}(h]h ](jfunctioneh"]h$]h&]jjjjܡjjܡjjjuh1hhhhjIEhNhNubj)}(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:83: ./fs/libfs.chMKhjubj)}(hhh](j)}(h:``unsigned blocksize_bits`` log of file system block size h](j)}(h``unsigned blocksize_bits``h]j)}(hjh]hunsigned blocksize_bits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMHhjubj)}(hhh]h)}(hlog of file system block sizeh]hlog of file system block size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMHhjubj)}(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:83: ./fs/libfs.chMIhj8ubj)}(hhh]h)}(hnumber of blocks in file systemh]hnumber of blocks in file system}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMIhjTubah}(h]h ]h"]h$]h&]uh1jhj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMIhjubeh}(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&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMKhjubh)}(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:83: ./fs/libfs.chMJhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsimple_nosetlease (C function)c.simple_nosetleasehNtauh1hhjIEhhhNhNubh)}(hhh](j)}(hXint simple_nosetlease (struct file *filp, int arg, struct file_lease **flp, void **priv)h]j)}(hWint simple_nosetlease(struct file *filp, int arg, struct file_lease **flp, void **priv)h](j)}(hinth]hint}(hjТhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj̢hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjߢhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj̢hhhjޢhMubj/)}(hsimple_nosetleaseh]j5)}(hsimple_nosetleaseh]hsimple_nosetlease}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj̢hhhjޢhMubj)}(hB(struct file *filp, int arg, struct file_lease **flp, void **priv)h](j)}(hstruct file *filph](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)}(hfileh]hfile}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj-modnameN classnameNjj)}j]j)}jjsbc.simple_nosetleaseasbuh1hhj 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)}(hfilph]hfilp}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hint argh](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj5)}(hargh]harg}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct file_lease **flph](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_leaseh]h file_lease}(hjңhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjϣubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjԣmodnameN classnameNjj)}j]jGc.simple_nosetleaseasbuh1hhjubj)}(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)}(hflph]hflp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void **privh](j)}(hvoidh]hvoid}(hj1hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj-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-ubj*)}(hj-h]h*}(hjZhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj-ubj5)}(hprivh]hpriv}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubeh}(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%generic helper for prohibiting leasesh]h%generic helper for prohibiting leases}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjŢhhhjޢhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(hXf**Parameters** ``struct file *filp`` file pointer ``int arg`` type of lease to obtain ``struct file_lease **flp`` new lease supplied for insertion ``void **priv`` private data for lm_setup operation **Description** Generic helper for filesystems that do not wish to allow leases to be set. All arguments are ignored and it just returns -EINVAL.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:83: ./fs/libfs.chMhjubj)}(hhh](j)}(h#``struct file *filp`` file pointer h](j)}(h``struct file *filp``h]j)}(hjҤh]hstruct file *filp}(hjԤhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjФubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj̤ubj)}(hhh]h)}(h file pointerh]h file pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhj̤ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjɤ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:83: ./fs/libfs.chMhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjɤubj)}(h=``struct file_lease **flp`` new lease supplied for insertion h](j)}(h``struct file_lease **flp``h]j)}(hjDh]hstruct file_lease **flp}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj>ubj)}(hhh]h)}(h new lease supplied for insertionh]h new lease supplied for insertion}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjYhMhjZubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1jhjYhMhjɤubj)}(h4``void **priv`` private data for lm_setup operation h](j)}(h``void **priv``h]j)}(hj}h]h void **priv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjwubj)}(hhh]h)}(h#private data for lm_setup operationh]h#private data for lm_setup operation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjhMhjɤubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubh)}(hGeneric helper for filesystems that do not wish to allow leases to be set. All arguments are ignored and it just returns -EINVAL.h]hGeneric helper for filesystems that do not wish to allow leases to be set. All arguments are ignored and it just returns -EINVAL.}(hjΥhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsimple_get_link (C function)c.simple_get_linkhNtauh1hhjIEhhhNhNubh)}(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:83: ./fs/libfs.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhj hMubj)}(h h]h }(hj'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMubj*)}(hj-h]h*}(hj5hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhj hMubj/)}(hsimple_get_linkh]j5)}(hsimple_get_linkh]hsimple_get_link}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hMubj)}(hG(struct dentry *dentry, struct inode *inode, struct delayed_call *done)h](j)}(hstruct dentry *dentryh](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)}jjHsbc.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)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZubj)}(hstruct inode *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)}(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}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjЦubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZubj)}(hstruct delayed_call *doneh](j )}(hjzh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@ubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@ubh)}(hhh]j5)}(h delayed_callh]h delayed_call}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN 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)}(hdoneh]hdone}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjZubeh}(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)}(h3generic helper to get the target of "fast" symlinksh]h7generic helper to get the target of “fast” symlinks}(hjŧhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj§hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjݧjjݧjjjuh1hhhhjIEhNhNubj)}(hX+**Parameters** ``struct dentry *dentry`` not used here ``struct inode *inode`` the symlink inode ``struct delayed_call *done`` not used here **Description** Generic helper for filesystems to use for symlink inodes where a pointer to the symlink target is stored in ->i_link. NOTE: this isn't normally called, since as an optimization the path lookup code uses any non-NULL ->i_link directly, without calling ->get_link(). But ->get_link() still must be set, to mark the inode_operations as being for a symlink. **Return** the symlink targeth](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubj)}(hhh](j)}(h(``struct dentry *dentry`` not used here h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./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)}(hj?h]hstruct inode *inode}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj9ubj)}(hhh]h)}(hthe symlink inodeh]hthe symlink inode}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMhjUubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjThMhjubj)}(h,``struct delayed_call *done`` not used here h](j)}(h``struct delayed_call *done``h]j)}(hjxh]hstruct delayed_call *done}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjrubj)}(hhh]h)}(h not used hereh]h not used here}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubh)}(hXcGeneric helper for filesystems to use for symlink inodes where a pointer to the symlink target is stored in ->i_link. NOTE: this isn't normally called, since as an optimization the path lookup code uses any non-NULL ->i_link directly, without calling ->get_link(). But ->get_link() still must be set, to mark the inode_operations as being for a symlink.h]hXeGeneric helper for filesystems to use for symlink inodes where a pointer to the symlink target is stored in ->i_link. NOTE: this isn’t normally called, since as an optimization the path lookup code uses any non-NULL ->i_link directly, without calling ->get_link(). But ->get_link() still must be set, to mark the inode_operations as being for a symlink.}(hjɨhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubh)}(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:83: ./fs/libfs.chMhjubh)}(hthe symlink targeth]hthe symlink target}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!generic_ci_d_compare (C function)c.generic_ci_d_comparehNtauh1hhjIEhhhNhNubh)}(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:83: ./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}(hj@hhhNhNubah}(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}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjXubj)}(h h]h }(hjihhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubj )}(hjzh]hstruct}(hjwhhhNhNubah}(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.generic_ci_d_compareasbuh1hhjXubj)}(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&]noemphjLjMuh1jhjTubj)}(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&]noemphjLjMuh1jhjTubj)}(hconst char *strh](j )}(hjUh]hconst}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj6ubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj)}(hcharh]hchar}(hjUhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj6ubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj*)}(hj-h]h*}(hjqhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj6ubj5)}(hstrh]hstr}(hj~hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjTubj)}(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&]uh1j4hjͪubah}(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}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjTubeh}(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)}(hd_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:83: ./fs/libfs.chMmhjhhubah}(h]h ]h"]h$]h&]uh1jbhjٮhhhjhMmubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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:83: ./fs/libfs.chMqhjubj)}(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)}(hjαh]hconst struct inode *parent}(hjбhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj̱ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMqhjȱubj)}(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&]uh1hhjhMqhjubah}(h]h ]h"]h$]h&]uh1jhjȱubeh}(h]h ]h"]h$]h&]uh1jhjhMqhjűubj)}(h/``const struct qstr *name`` name under lookup. h](j)}(h``const struct qstr *name``h]j)}(hjh]hconst struct qstr *name}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMrhjubj)}(hhh]h)}(hname under lookup.h]hname under lookup.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjűubj)}(hI``const struct qstr *folded_name`` Optional pre-folded name under lookup h](j)}(h"``const struct qstr *folded_name``h]j)}(hj@h]hconst struct qstr *folded_name}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMshj:ubj)}(hhh]h)}(h%Optional pre-folded name under lookuph]h%Optional pre-folded name under lookup}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhMshjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMshjűubj)}(h#``const u8 *de_name`` Dirent name. h](j)}(h``const u8 *de_name``h]j)}(hjyh]hconst u8 *de_name}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMthjsubj)}(hhh]h)}(h Dirent name.h]h Dirent name.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjhMthjűubj)}(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:83: ./fs/libfs.chMuhjubj)}(hhh]h)}(hdirent name length.h]hdirent name length.}(hj˲hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDzhMuhjȲubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjDzhMuhjű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:83: ./fs/libfs.chMwhjubh)}(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}(hj hhhNhNubah}(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:83: ./fs/libfs.chMvhjubh)}(h **Return**h]j)}(hj8h]hReturn}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMzhjubh)}(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.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM{hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!generic_set_sb_d_ops (C function)c.generic_set_sb_d_opshNtauh1hhjIEhhhNhNubh)}(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}(hj}hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjyhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjyhhhjhMubj/)}(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.hjyhhhjhMubj)}(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 }(hjdzhhhNhNubah}(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.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&]jLjMuh1jhjyhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjuhhhjhMubah}(h]jpah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjrhhubjc)}(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}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj:hhubah}(h]h ]h"]h$]h&]uh1jbhjrhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjUjjUjjjuh1hhhhjIEhNhNubj)}(hX**Parameters** ``struct super_block *sb`` superblock to be configured **Description** Filesystems supporting casefolding and/or fscrypt can call this helper at mount-time to configure default dentry_operations to the best set of dentry operations required for the enabled features. The helper must be called after these have been configured, but before the root dentry is created.h](h)}(h**Parameters**h]j)}(hj_h]h Parameters}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjYubj)}(hhh]j)}(h7``struct super_block *sb`` superblock to be configured h](j)}(h``struct super_block *sb``h]j)}(hj~h]hstruct super_block *sb}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjxubj)}(hhh]h)}(hsuperblock to be configuredh]hsuperblock to be configured}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjhMhjuubah}(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:83: ./fs/libfs.chMhjYubh)}(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.}(hjϴhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjYubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%inode_maybe_inc_iversion (C function)c.inode_maybe_inc_iversionhNtauh1hhjIEhhhNhNubh)}(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:83: ./fs/libfs.chMubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMubj/)}(hinode_maybe_inc_iversionh]j5)}(hinode_maybe_inc_iversionh]hinode_maybe_inc_iversion}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hMubj)}(h!(struct inode *inode, bool force)h](j)}(hstruct inode *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)}(hinodeh]hinode}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNjj)}j]j)}jj sbc.inode_maybe_inc_iversionasbuh1hhj6ubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj6ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj6ubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj2ubj)}(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}(hjǵhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj2ubeh}(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)}(hincrements i_versionh]hincrements i_version}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjIEhNhNubj)}(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:83: ./fs/libfs.chMhj ubj)}(hhh](j)}(hH``struct inode *inode`` inode with the i_version that should be 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:83: ./fs/libfs.chMhj,ubj)}(hhh]h)}(h/inode with the i_version that should be updatedh]h/inode with the i_version that should be updated}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhMhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMhj)ubj)}(hA``bool force`` increment the counter even if it's not necessary? h](j)}(h``bool force``h]j)}(hjkh]h bool force}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhjeubj)}(hhh]h)}(h1increment the counter even if it's not necessary?h]h3increment the counter even if it’s not necessary?}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(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:83: ./fs/libfs.chMhj ubh)}(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:83: ./fs/libfs.chMhj ubh)}(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.}(hj˶hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj ubh)}(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.}(hjڶhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chMhj ubh)}(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:83: ./fs/libfs.chMhj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!inode_query_iversion (C function)c.inode_query_iversionhNtauh1hhjIEhhhNhNubh)}(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&]uh1j4hjubah}(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:83: ./fs/libfs.chM ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj<hM ubj/)}(hinode_query_iversionh]j5)}(hj9h]hinode_query_iversion}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjKubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj<hM ubj)}(h(struct inode *inode)h]j)}(hstruct inode *inodeh](j )}(hjzh]hstruct}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjfubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubh)}(hhh]j5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j7c.inode_query_iversionasbuh1hhjfubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjfubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjfubj5)}(hinodeh]hinode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjfubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjbubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj<hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj<hM ubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj<hM hj hhubjc)}(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:83: ./fs/libfs.chM hjhhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj<hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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)}(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:83: ./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)}(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:83: ./fs/libfs.chMhj&ubj)}(hhh]h)}(h)inode from which i_version should be readh]h)inode from which i_version should be read}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhj#ubah}(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:83: ./fs/libfs.chMhjubh)}(hRead the inode i_version counter. This should be used by callers that wish to store the returned i_version for later comparison. This will guarantee that a later query of the i_version will result in a different value if anything has changed.h]hRead the inode i_version counter. This should be used by callers that wish to store the returned i_version for later comparison. This will guarantee that a later query of the i_version will result in a different value if anything has changed.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./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:83: ./fs/libfs.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!simple_inode_init_ts (C function)c.simple_inode_init_tshNtauh1hhjIEhhhNhNubh)}(hhh](j)}(hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM hj6ubj)}(hhh]h)}(hthe name to be createdh]hthe name to be created}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhM hjRubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhjQhM hjubeh}(h]h ]h"]h$]h&]uh1jhj޻ubh)}(h**Description**h]j)}(hjwh]h Description}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM hj޻ubh)}(hRequired lock is taken and a lookup in performed prior to creating an object in a directory. No permission checking is performed.h]hRequired lock is taken and a lookup in performed prior to creating an object in a directory. No permission checking is performed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.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:83: ./fs/libfs.chM hj޻ubh)}(hQa negative dentry on which vfs_create() or similar may be attempted, or an error.h]hQa negative dentry on which vfs_create() or similar may be attempted, or an error.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:83: ./fs/libfs.chM hj޻ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hposix_acl_chmod (C function)c.posix_acl_chmodhNtauh1hhjIEhhhNhNubh)}(hhh](j)}(hSint posix_acl_chmod (struct mnt_idmap *idmap, struct dentry *dentry, umode_t mode)h]j)}(hQint posix_acl_chmod(struct mnt_idmap *idmap, struct dentry *dentry, umode_t mode)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj߼hhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMOubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj߼hhhjhMOubj/)}(hposix_acl_chmodh]j5)}(hposix_acl_chmodh]hposix_acl_chmod}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj߼hhhjhMOubj)}(h>(struct mnt_idmap *idmap, struct dentry *dentry, umode_t mode)h](j)}(hstruct mnt_idmap *idmaph](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)}(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.posix_acl_chmodasbuh1hhjubj)}(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)}(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]jZc.posix_acl_chmodasbuh1hhjubj)}(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}(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]jZc.posix_acl_chmodasbuh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hj1hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj߼hhhjhMOubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjۼhhhjhMOubah}(h]jּah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMOhjؼhhubjc)}(hhh]h)}(hchmod a posix aclh]hchmod a posix acl}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMOhjXhhubah}(h]h ]h"]h$]h&]uh1jbhjؼhhhjhMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjjsjjsjjjuh1hhhhjIEhNhNubj)}(hX#**Parameters** ``struct mnt_idmap *idmap`` idmap of the mount **inode** was found from ``struct dentry *dentry`` dentry to check permissions on ``umode_t mode`` the new mode of **inode** **Description** If the dentry has been found through an idmapped mount the idmap of the vfsmount must be passed through **idmap**. This function will then take care to map the inode according to **idmap** before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass **nop_mnt_idmap**.h](h)}(h**Parameters**h]j)}(hj}h]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMShjwubj)}(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:86: ./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:86: ./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)}(hj h]h umode_t mode}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMShjubj)}(hhh]h)}(hthe new mode of **inode**h](hthe new mode of }(hj9hhhNhNubj)}(h **inode**h]hinode}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1hhj5hMShj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hMShjubeh}(h]h ]h"]h$]h&]uh1jhjwubh)}(h**Description**h]j)}(hjih]h Description}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMUhjwubh)}(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 }(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMThjwubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"posix_acl_update_mode (C function)c.posix_acl_update_modehNtauh1hhjIEhhhNhNubh)}(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:86: ./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}(hj!hhhNhNubah}(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}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNjj)}j]j)}jjsbc.posix_acl_update_modeasbuh1hhjubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjmhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hidmaph]hidmap}(hjzhhhNhNubah}(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.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&]noemphjLjMuh1jhjubj)}(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]j[c.posix_acl_update_modeasbuh1hhjubj)}(h h]h }(hj$hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj2hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hmode_ph]hmode_p}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct posix_acl **aclh](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 posix_aclh]h posix_acl}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjxmodnameN classnameNjj)}j]j[c.posix_acl_update_modeasbuh1hhjTubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjTubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjTubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjTubj5)}(haclh]hacl}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(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)}(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:86: ./fs/posix_acl.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjٿhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./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)}(hj'h]hstruct mnt_idmap *idmap}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhj!ubj)}(hhh]h)}(h+idmap of the mount **inode** was found fromh](hidmap of the mount }(hj@hhhNhNubj)}(h **inode**h]hinode}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh was found from}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj<hMhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMhjubj)}(h%``struct inode *inode`` target inode h](j)}(h``struct inode *inode``h]j)}(hjrh]hstruct inode *inode}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjlubj)}(hhh]h)}(h target inodeh]h target inode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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:86: ./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:86: ./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}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./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 }(hj5hhhNhNubj)}(h***acl**h]h*acl}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh/ to NULL to indicate that no ACL should be set.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./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).}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./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 }(hjehhhNhNubj)}(h **idmap**h]hidmap}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubhB. This function will then take care to map the inode according to }(hjehhhNhNubj)}(h **idmap**h]hidmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh before checking permissions. On non-idmapped mounts or if permission checking is to be performed on the raw inode simply pass }(hjehhhNhNubj)}(h**nop_mnt_idmap**h]h nop_mnt_idmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubh.}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./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:86: ./fs/posix_acl.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!posix_acl_from_xattr (C function)c.posix_acl_from_xattrhNtauh1hhjIEhhhNhNubh)}(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:86: ./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 }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hj'hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hposix_acl_from_xattrh]j5)}(hjh]hposix_acl_from_xattr}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubah}(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}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOubj)}(h h]h }(hj`hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubh)}(hhh]j5)}(huser_namespaceh]huser_namespace}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsmodnameN classnameNjj)}j]jc.posix_acl_from_xattrasbuh1hhjOubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjOubj5)}(husernsh]huserns}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjKubj)}(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&]noemphjLjMuh1jhjKubj)}(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]jc.posix_acl_from_xattrasbuh1hhjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hsizeh]hsize}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjKubeh}(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}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjvhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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:86: ./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:86: ./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:86: ./fs/posix_acl.chMhjubj)}(hhh]h)}(h%the uapi representation of POSIX ACLsh]h%the uapi representation of POSIX ACLs}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhj ubah}(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)}(hj,h]h size_t size}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhj&ubj)}(hhh]h)}(hthe size of **void**h](h the size of }(hjEhhhNhNubj)}(h**void**h]hvoid}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(h]h ]h"]h$]h&]uh1hhjAhMhjBubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhjAhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjuh]h Description}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./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:86: ./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:86: ./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:86: ./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:86: ./fs/posix_acl.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_set_acl (C function) c.vfs_set_aclhNtauh1hhjIEhhhNhNubh)}(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&]uh1jhj hhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM5ubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhjhM5ubj/)}(h vfs_set_aclh]j5)}(h vfs_set_aclh]h vfs_set_acl}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhjhM5ubj)}(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}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj)}j]j)}jj4sb c.vfs_set_aclasbuh1hhjJubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjJubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFubj)}(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*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFubj)}(hconst char *acl_nameh](j )}(hjUh]hconst}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,ubj)}(h h]h }(hj=hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubj)}(hcharh]hchar}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj,ubj)}(h h]h }(hjYhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubj*)}(hj-h]h*}(hjghhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj,ubj5)}(hacl_nameh]hacl_name}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFubj)}(hstruct posix_acl *kaclh](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 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_aclasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hkaclh]hkacl}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFubeh}(h]h ]h"]h$]h&]jLjMuh1jhj hhhjhM5ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhjhM5ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM5hjhhubjc)}(hhh]h)}(hset posix aclsh]hset posix acls}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM5hj hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM5ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj&jj&jjjuh1hhhhjIEhNhNubj)}(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)}(hj0h]h Parameters}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM9hj*ubj)}(hhh](j)}(h/``struct mnt_idmap *idmap`` idmap of the mount h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjOh]hstruct mnt_idmap *idmap}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM6hjIubj)}(hhh]h)}(hidmap of the mounth]hidmap of the mount}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjdhM6hjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhM6hjFubj)}(hJ``struct dentry *dentry`` the dentry based on which to set 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:86: ./fs/posix_acl.chM7hjubj)}(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&]uh1hhjhM7hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM7hjFubj)}(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:86: ./fs/posix_acl.chM8hjubj)}(hhh]h)}(hthe name of the posix aclh]hthe name of the posix acl}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM8hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM8hjFubj)}(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:86: ./fs/posix_acl.chM9hjubj)}(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&]uh1hhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjFubeh}(h]h ]h"]h$]h&]uh1jhj*ubh)}(h**Description**h]j)}(hj5h]h Description}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM;hj*ubh)}(h\This function sets **kacl**. The caller must all posix_acl_release() on **kacl** afterwards.h](hThis function sets }(hjKhhhNhNubj)}(h**kacl**h]hkacl}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh-. The caller must all posix_acl_release() on }(hjKhhhNhNubj)}(h**kacl**h]hkacl}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh afterwards.}(hjKhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM:hj*ubh)}(h **Return**h]j)}(hjh]hReturn}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chM=hj*ubh)}(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:86: ./fs/posix_acl.chM>hj*ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_get_acl (C function) c.vfs_get_aclhNtauh1hhjIEhhhNhNubh)}(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:86: ./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}(hj$hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(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}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;ubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;ubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hj]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNjj)}j]j c.vfs_get_aclasbuh1hhj;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)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj7ubj)}(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&]noemphjLjMuh1jhj7ubj)}(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}(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)}(hacl_nameh]hacl_name}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj7ubeh}(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:86: ./fs/posix_acl.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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:86: ./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:86: ./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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./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}(hj hhhNhNubah}(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}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhj:ubj)}(hhh]h)}(hthe name of the posix aclh]hthe name of the posix acl}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhMhjVubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhjUhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj{h]h Description}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./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:86: ./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:86: ./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:86: ./fs/posix_acl.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_remove_acl (C function)c.vfs_remove_aclhNtauh1hhjIEhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hvfs_remove_aclh]j5)}(hvfs_remove_aclh]hvfs_remove_acl}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubah}(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}(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)}jj.sbc.vfs_remove_aclasbuh1hhjDubj)}(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 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_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&]noemphjLjMuh1jhj@ubj)}(hconst char *acl_nameh](j )}(hjUh]hconst}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj&ubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj)}(hcharh]hchar}(hjEhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj&ubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&ubj*)}(hj-h]h*}(hjahhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj&ubj5)}(hacl_nameh]hacl_name}(hjnhhhNhNubah}(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)}(hremove posix aclsh]hremove posix acls}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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:86: ./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:86: ./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:86: ./fs/posix_acl.chMhj ubj)}(hhh]h)}(h4the dentry based on which to retrieve the posix aclsh]h4the dentry based on which to retrieve the posix acls}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj'hMhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hMhjubj)}(h3``const char *acl_name`` the name of the posix acl h](j)}(h``const char *acl_name``h]j)}(hjKh]hconst char *acl_name}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./fs/posix_acl.chMhjEubj)}(hhh]h)}(hthe name of the posix aclh]hthe name of the posix acl}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hMhjaubah}(h]h ]h"]h$]h&]uh1jhjEubeh}(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:86: ./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:86: ./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:86: ./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:86: ./fs/posix_acl.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hfill_mg_cmtime (C function)c.fill_mg_cmtimehNtauh1hhjIEhhhNhNubh)}(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:89: ./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 hj+ubj)}(h h]h }(hj<hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj+ubh)}(hhh]j5)}(hkstath]hkstat}(hjMhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjOmodnameN classnameNjj)}j]j)}jjsbc.fill_mg_cmtimeasbuh1hhj+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)}(hstath]hstat}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj'ubj)}(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]jic.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&]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 reftargetj modnameN classnameNjj)}j]jic.fill_mg_cmtimeasbuh1hhjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj3hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hinodeh]hinode}(hj@hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj'ubeh}(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}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK hjghhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhK ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK$hjubj)}(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:89: ./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:89: ./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:89: ./fs/stat.chK#hjubj)}(hhh]h)}(h$inode from which to grab the c/mtimeh]h$inode from which to grab the c/mtime}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hK#hj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hK#hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjXh]h Description}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK%hjubh)}(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 }(hjnhhhNhNubj)}(h **inode**h]hinode}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh=, grab the ctime and mtime out if it and store the result in }(hjnhhhNhNubj)}(h**stat**h]hstat}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubhr. When fetching the value, flag it as QUERIED (if not already) so the next write will record a distinct timestamp.}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chK$hjubh)}(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:89: ./fs/stat.chK(hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_fillattr (C function)c.generic_fillattrhNtauh1hhjIEhhhNhNubh)}(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:89: ./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}(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 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.generic_fillattrasbuh1hhj 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)}(hidmaph]hidmap}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(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]jGc.generic_fillattrasbuh1hhj{ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj{ubj5)}(h request_maskh]h request_mask}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj{ubeh}(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]jGc.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}(hj7hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj3ubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubh)}(hhh]j5)}(hkstath]hkstat}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjWmodnameN classnameNjj)}j]jGc.generic_fillattrasbuh1hhj3ubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj3ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj3ubj5)}(hstath]hstat}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubeh}(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:89: ./fs/stat.chKBhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKBubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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:89: ./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:89: ./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)}(hj2h]hu32 request_mask}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKDhj,ubj)}(hhh]h)}(hstatx request_maskh]hstatx request_mask}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhKDhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhKDhjubj)}(h3``struct inode *inode`` Inode to use as the source h](j)}(h``struct inode *inode``h]j)}(hjkh]hstruct inode *inode}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKEhjeubj)}(hhh]h)}(hInode to use as the sourceh]hInode to use as the source}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKEhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhKEhjubj)}(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:89: ./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:89: ./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:89: ./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}(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}(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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$generic_fill_statx_attr (C function)c.generic_fill_statx_attrhNtauh1hhjIEhhhNhNubh)}(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}(hjihhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjehhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKuubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjehhhjwhKuubj/)}(hgeneric_fill_statx_attrh]j5)}(hgeneric_fill_statx_attrh]hgeneric_fill_statx_attr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjehhhjwhKuubj)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hj%hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(hkstath]hkstat}(hj6hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj8modnameN classnameNjj)}j]jc.generic_fill_statx_attrasbuh1hhjubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjbhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hstath]hstat}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjehhhjwhKuubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjahhhjwhKuubah}(h]j\ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjwhKuhj^hhubjc)}(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:89: ./fs/stat.chKuhjhhubah}(h]h ]h"]h$]h&]uh1jbhj^hhhjwhKuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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:89: ./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:89: ./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:89: ./fs/stat.chKwhj ubj)}(hhh]h)}(h$Where to fill in the attribute flagsh]h$Where to fill in the attribute flags}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hKwhj)ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj(hKwhjubeh}(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&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./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.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKxhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h-generic_fill_statx_atomic_writes (C function)"c.generic_fill_statx_atomic_writeshNtauh1hhjIEhhhNhNubh)}(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:89: ./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}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hunsigned int unit_minh](j)}(hunsignedh]hunsigned}(hjBhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj>ubj)}(h h]h }(hjPhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubj)}(hinth]hint}(hj^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj>ubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubj5)}(hunit_minh]hunit_min}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubeh}(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&]jLjMjTuh1jjUjVhjhhhjhKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhKhjhhubjc)}(hhh]h)}(h&Fill in atomic writes statx attributesh]h&Fill in atomic writes statx attributes}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjChhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj^jj^jjjuh1hhhhjIEhNhNubj)}(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)}(hjhh]h Parameters}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjbubj)}(hhh](j)}(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:89: ./fs/stat.chKhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj~ubj)}(hI``unsigned int unit_min`` Minimum supported atomic write length in bytes h](j)}(h``unsigned int unit_min``h]j)}(hjh]hunsigned int unit_min}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./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&]uh1jhjhKhj~ubj)}(hI``unsigned int unit_max`` Maximum supported atomic write length in bytes h](j)}(h``unsigned int unit_max``h]j)}(hjh]hunsigned int unit_max}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjubj)}(hhh]h)}(h.Maximum supported atomic write length in bytesh]h.Maximum supported atomic write length in bytes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhj~ubj)}(hW``unsigned int unit_max_opt`` Optimised maximum supported atomic write length in bytes h](j)}(h``unsigned int unit_max_opt``h]j)}(hj2h]hunsigned int unit_max_opt}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhj,ubj)}(hhh]h)}(h8Optimised maximum supported atomic write length in bytesh]h8Optimised maximum supported atomic write length in bytes}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhKhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhKhj~ubeh}(h]h ]h"]h$]h&]uh1jhjbubh)}(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:89: ./fs/stat.chKhjbubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_getattr_nosec (C function)c.vfs_getattr_nosechNtauh1hhjIEhhhNhNubh)}(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:89: ./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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjhhhNhNubah}(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 reftargetj*modnameN classnameNjj)}j]j)}jjsbc.vfs_getattr_nosecasbuh1hhjubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjVhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hpathh]hpath}(hjchhhNhNubah}(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 hjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubh)}(hhh]j5)}(hkstath]hkstat}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jDc.vfs_getattr_nosecasbuh1hhjxubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjxubj5)}(hstath]hstat}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(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]jDc.vfs_getattr_nosecasbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(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}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj0ubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubj)}(hinth]hint}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj0ubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubj5)}(h query_flagsh]h query_flags}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubeh}(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:89: ./fs/stat.chKhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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:89: ./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:89: ./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:89: ./fs/stat.chKhj ubj)}(hhh]h)}(h!structure to return attributes inh]h!structure to return attributes in}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hKhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hKhjubj)}(hF``u32 request_mask`` STATX_xxx flags indicating what the caller wants h](j)}(h``u32 request_mask``h]j)}(hjIh]hu32 request_mask}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhjCubj)}(hhh]h)}(h0STATX_xxx flags indicating what the caller wantsh]h0STATX_xxx flags indicating what the caller wants}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hKhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hKhjubj)}(h=``unsigned int query_flags`` Query mode (AT_STATX_SYNC_TYPE) h](j)}(h``unsigned int query_flags``h]j)}(hjh]hunsigned int query_flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:89: ./fs/stat.chKhj|ubj)}(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&]uh1jhj|ubeh}(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:89: ./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:89: ./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:89: ./fs/stat.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_fsync_range (C function)c.vfs_fsync_rangehNtauh1hhjIEhhhNhNubh)}(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&]uh1jhj hhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhjhKubj/)}(hvfs_fsync_rangeh]j5)}(hvfs_fsync_rangeh]hvfs_fsync_range}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhjhKubj)}(h;(struct file *file, loff_t start, loff_t end, int datasync)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj)}(h h]h }(hj[hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubh)}(hhh]j5)}(hfileh]hfile}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnmodnameN classnameNjj)}j]j)}jj4sbc.vfs_fsync_rangeasbuh1hhjJubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjJubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFubj)}(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]jc.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&]noemphjLjMuh1jhjFubj)}(h loff_t endh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jc.vfs_fsync_rangeasbuh1hhjubj)}(h h]h }(hj)hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hendh]hend}(hj7hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFubj)}(h int datasynch](j)}(hinth]hint}(hjPhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjLubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLubj5)}(hdatasynch]hdatasync}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFubeh}(h]h ]h"]h$]h&]jLjMuh1jhj hhhjhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhjhKubah}(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:92: ./fs/sync.chKhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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:92: ./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:92: ./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:92: ./fs/sync.chKhj ubj)}(hhh]h)}(h6offset in bytes of the beginning of data range to synch]h6offset in bytes of the beginning of data range to sync}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hKhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj%hKhjubj)}(hD``loff_t end`` offset in bytes of the end of data range (inclusive) h](j)}(h``loff_t end``h]j)}(hjIh]h loff_t end}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjCubj)}(hhh]h)}(h4offset in bytes of the end of data range (inclusive)h]h4offset in bytes of the end of data range (inclusive)}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^hKhj_ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhj^hKhjubj)}(h'``int datasync`` perform only datasync 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:92: ./fs/sync.chKhj|ubj)}(hhh]h)}(hperform only datasynch]hperform only datasync}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhj|ubeh}(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/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:92: ./fs/sync.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_fsync (C function) c.vfs_fsynchNtauh1hhjIEhhhNhNubh)}(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}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj4hhhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4hhhjFhKubj/)}(h vfs_fsynch]j5)}(h vfs_fsynch]h vfs_fsync}(hjYhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj4hhhjFhKubj)}(h!(struct file *file, int datasync)h](j)}(hstruct file *fileh](j )}(hjzh]hstruct}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubh)}(hhh]j5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jj[sb c.vfs_fsyncasbuh1hhjqubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjqubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjmubj)}(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&]noemphjLjMuh1jhjmubeh}(h]h ]h"]h$]h&]jLjMuh1jhj4hhhjFhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj0hhhjFhKubah}(h]j+ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjFhKhj-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:92: ./fs/sync.chKhj*hhubah}(h]h ]h"]h$]h&]uh1jbhj-hhhjFhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjEjjEjjjuh1hhhhjIEhNhNubj)}(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)}(hjOh]h Parameters}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjIubj)}(hhh](j)}(h#``struct file *file`` file to sync h](j)}(h``struct file *file``h]j)}(hjnh]hstruct file *file}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjhubj)}(hhh]h)}(h file to synch]h file to sync}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhKhjeubj)}(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:92: ./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&]uh1jhjhKhjeubeh}(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&]uh1hhQ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:92: ./fs/sync.chKhjIubh)}(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:92: ./fs/sync.chKhjIubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"__vfs_setxattr_locked (C function)c.__vfs_setxattr_lockedhNtauh1hhjIEhhhNhNubh)}(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}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjGhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGhhhjYhMubj/)}(h__vfs_setxattr_lockedh]j5)}(h__vfs_setxattr_lockedh]h__vfs_setxattr_locked}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjGhhhjYhMubj)}(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}(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)}jjnsbc.__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)}(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 }(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_setxattr_lockedasbuh1hhjubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjDhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(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&]noemphjLjMuh1jhjubj)}(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}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(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]jc.__vfs_setxattr_lockedasbuh1hhj ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ubj5)}(hsizeh]hsize}(hjShhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h int flagsh](j)}(hinth]hint}(hjlhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhubj5)}(hflagsh]hflags}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubeh}(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 }(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&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjGhhhjYhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjChhhjYhMubah}(h]j>ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjYhMhj@hhubjc)}(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:95: ./fs/xattr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj@hhhjYhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj:jj:jjjuh1hhhhjIEhNhNubj)}(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)}(hjDh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chM hj>ubj)}(hhh](j)}(hC``struct mnt_idmap *idmap`` idmap of the mount of the target inode h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjch]hstruct mnt_idmap *idmap}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chM hj]ubj)}(hhh]h)}(h&idmap of the mount of the target inodeh]h&idmap of the mount of the target inode}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhM hjyubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjxhM hjZubj)}(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:95: ./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 hjZubj)}(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:95: ./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 hjZubj)}(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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chM hjubj)}(hhh]h)}(hvalue to set **name** toh](h value to set }(hj'hhhNhNubj)}(h**name**h]hname}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh to}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj#hM hj$ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj#hM hjZubj)}(h"``size_t size`` size of **value** h](j)}(h``size_t size``h]j)}(hjYh]h size_t size}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chM hjSubj)}(hhh]h)}(hsize of **value**h](hsize of }(hjrhhhNhNubj)}(h **value**h]hvalue}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1hhjnhM hjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhM hjZubj)}(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:95: ./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&]uh1jhjhMhjZubj)}(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:95: ./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&]uh1jhjhMhjZubeh}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_listxattr (C function)c.vfs_listxattrhNtauh1hhjIEhhhNhNubh)}(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}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNjj)}j]j)}j vfs_listxattrsbc.vfs_listxattrasbuh1hhj.hhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.hhhjVhMubj/)}(h vfs_listxattrh]j5)}(hjSh]h vfs_listxattr}(hjihhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj.hhhjVhMubj)}(h0(struct dentry *dentry, char *list, size_t 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]jQc.vfs_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&]noemphjLjMuh1jhj|ubj)}(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&]noemphjLjMuh1jhj|ubj)}(h size_t sizeh](h)}(hhh]j5)}(hsize_th]hsize_t}(hj9hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj;modnameN classnameNjj)}j]jQc.vfs_listxattrasbuh1hhj2ubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubj5)}(hsizeh]hsize}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj|ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj.hhhjVhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj*hhhjVhMubah}(h]j%ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjVhMhj'hhubjc)}(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:95: ./fs/xattr.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj'hhhjVhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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:95: ./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:95: ./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)}(hj h]h char *list}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubj)}(hhh]h)}(h buffer to store xattr names intoh]h buffer to store xattr names into}(hj"hhhNhNubah}(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)}(hjBh]h size_t size}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhj<ubj)}(hhh]h)}(hsize of the bufferh]hsize of the buffer}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhMhjXubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhjWhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(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:95: ./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:95: ./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:95: ./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:95: ./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:95: ./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:95: ./fs/xattr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%__vfs_removexattr_locked (C function)c.__vfs_removexattr_lockedhNtauh1hhjIEhhhNhNubh)}(hhh](j)}(hint __vfs_removexattr_locked (struct mnt_idmap *idmap, struct dentry *dentry, const char *name, struct delegated_inode *delegated_inode)h]j)}(hint __vfs_removexattr_locked(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, struct delegated_inode *delegated_inode)h](j)}(hinth]hint}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chM ubj)}(h h]h }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj'hM ubj/)}(h__vfs_removexattr_lockedh]j5)}(h__vfs_removexattr_lockedh]h__vfs_removexattr_locked}(hj:hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj6ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj'hM 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}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRubh)}(hhh]j5)}(h mnt_idmaph]h mnt_idmap}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNjj)}j]j)}jj<sbc.__vfs_removexattr_lockedasbuh1hhjRubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjRubj5)}(hidmaph]hidmap}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjNubj)}(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&]noemphjLjMuh1jhjNubj)}(hconst char *nameh](j )}(hjUh]hconst}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4ubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj)}(hcharh]hchar}(hjShhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj4ubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj*)}(hj-h]h*}(hjohhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj4ubj5)}(hnameh]hname}(hj|hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjNubj)}(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&]noemphjLjMuh1jhjNubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj'hM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj'hM ubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj'hM hjhhubjc)}(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:95: ./fs/xattr.chM hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj'hM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.jjjuh1hhhhjIEhNhNubj)}(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)}(hj8h]h Parameters}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhj2ubj)}(hhh](j)}(hC``struct mnt_idmap *idmap`` idmap of the mount of the target inode h](j)}(h``struct mnt_idmap *idmap``h]j)}(hjWh]hstruct mnt_idmap *idmap}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjQubj)}(hhh]h)}(h&idmap of the mount of the target inodeh]h&idmap of the mount of the target inode}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjNubj)}(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:95: ./fs/xattr.chMhjubj)}(hhh]h)}(hobject to perform setxattr onh]hobject to perform setxattr on}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjNubj)}(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:95: ./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&]uh1jhjhMhjNubj)}(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:95: ./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&]uh1jhjhMhjNubeh}(h]h ]h"]h$]h&]uh1jhj2ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hgeneric_listxattr (C function)c.generic_listxattrhNtauh1hhjIEhhhNhNubh)}(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}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj`modnameN classnameNjj)}j]j)}jgeneric_listxattrsbc.generic_listxattrasbuh1hhjWhhhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWhhhjhMjubj/)}(hgeneric_listxattrh]j5)}(hj|h]hgeneric_listxattr}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjWhhhjhMjubj)}(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]jzc.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&]uh1jhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj9hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbufferh]hbuffer}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hsize_t buffer_sizeh](h)}(hhh]j5)}(hsize_th]hsize_t}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNjj)}j]jzc.generic_listxattrasbuh1hhj[ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubj5)}(h buffer_sizeh]h buffer_size}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj[ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjWhhhjhMjubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjShhhjhMjubah}(h]jNah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMjhjPhhubjc)}(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:95: ./fs/xattr.chMjhjhhubah}(h]h ]h"]h$]h&]uh1jbhjPhhhjhMjubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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:95: ./fs/xattr.chMnhjubj)}(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:95: ./fs/xattr.chMkhjubj)}(hhh]h)}(hdentry to list the xattrsh]hdentry to list the xattrs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMkhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMkhjubj)}(h``char *buffer`` result buffer h](j)}(h``char *buffer``h]j)}(hj2h]h char *buffer}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMlhj,ubj)}(hhh]h)}(h result bufferh]h result buffer}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhMlhjHubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhjGhMlhjubj)}(h*``size_t buffer_size`` size of **buffer** h](j)}(h``size_t buffer_size``h]j)}(hjkh]hsize_t buffer_size}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMmhjeubj)}(hhh]h)}(hsize of **buffer**h](hsize of }(hjhhhNhNubj)}(h **buffer**h]hbuffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhjhMmhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhMmhjubeh}(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:95: ./fs/xattr.chMohjubh)}(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:95: ./fs/xattr.chMnhjubh)}(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:95: ./fs/xattr.chMqhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hxattr_full_name (C function)c.xattr_full_namehNtauh1hhjIEhhhNhNubh)}(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:95: ./fs/xattr.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 }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hj@hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hxattr_full_nameh]j5)}(hxattr_full_nameh]hxattr_full_name}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjMubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h7(const struct xattr_handler *handler, const char *name)h](j)}(h#const struct xattr_handler *handlerh](j )}(hjUh]hconst}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(h h]h }(hjzhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubh)}(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)}jjSsbc.xattr_full_nameasbuh1hhjiubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjiubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjiubj5)}(hhandlerh]hhandler}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjiubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubj)}(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*}(hj1hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hnameh]hname}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjeubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjhhubjc)}(hhh]h)}(h'Compute full attribute name from suffixh]h'Compute full attribute name from suffix}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjehhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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)}(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:95: ./fs/xattr.chMhjubj)}(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:95: ./fs/xattr.chMhjubj)}(hhh]h)}(h&handler of the xattr_handler operationh]h&handler of the xattr_handler operation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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:95: ./fs/xattr.chMhjubj)}(hhh]h)}(h*name passed to the xattr_handler operationh]h*name passed to the xattr_handler operation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]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:95: ./fs/xattr.chMhjubh)}(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.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubh)}(h**Note**h]j)}(hjDh]hNote}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubh)}(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.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhR/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:95: ./fs/xattr.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!mnt_get_write_access (C function)c.mnt_get_write_accesshNtauh1hhjIEhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hmnt_get_write_accessh]j5)}(hmnt_get_write_accessh]hmnt_get_write_access}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(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.mnt_get_write_accessasbuh1hhjubj)}(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&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]j|ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhj~hhubjc)}(hhh]h)}(h5get write access to a mount without freeze protectionh]h5get write access to a mount without freeze protection}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjEhhubah}(h]h ]h"]h$]h&]uh1jbhj~hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1hhhhjIEhNhNubj)}(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)}(hjjh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjdubj)}(hhh]j)}(h:``struct vfsmount *m`` the mount on which to take a write h](j)}(h``struct vfsmount *m``h]j)}(hjh]hstruct vfsmount *m}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubj)}(hhh]h)}(h"the mount on which to take a writeh]h"the mount on which to take a write}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjdubh)}(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:98: ./fs/namespace.chMhjdubh)}(hXSThis tells the low-level filesystem that a write is about to be performed to it, and makes sure that writes are allowed (mnt it read-write) before returning success. This operation does not protect against filesystem being frozen. When the write operation is finished, mnt_put_write_access() must be called. This is effectively a refcount.h]hXSThis tells the low-level filesystem that a write is about to be performed to it, and makes sure that writes are allowed (mnt it read-write) before returning success. This operation does not protect against filesystem being frozen. When the write operation is finished, mnt_put_write_access() must be called. This is effectively a refcount.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjdubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmnt_want_write (C function)c.mnt_want_writehNtauh1hhjIEhhhNhNubh)}(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&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(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.hjhhhjhMubj)}(h(struct vfsmount *m)h]j)}(hstruct vfsmount *mh](j )}(hjzh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjBubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjfmodnameN classnameNjj)}j]j)}jj,sbc.mnt_want_writeasbuh1hhjBubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjBubj5)}(hj h]hm}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubeh}(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)}(hget write access to a mounth]hget write access to a mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(hX**Parameters** ``struct vfsmount *m`` the mount on which to take a write **Description** This tells the low-level filesystem that a write is about to be performed to it, and makes sure that writes are allowed (mount is read-write, filesystem is not frozen) before returning success. When the write operation is finished, mnt_drop_write() must be called. This is effectively a refcount.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubj)}(hhh]j)}(h:``struct vfsmount *m`` the mount on which to take a write h](j)}(h``struct vfsmount *m``h]j)}(hj h]hstruct vfsmount *m}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubj)}(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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjDh]h Description}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubh)}(hX*This tells the low-level filesystem that a write is about to be performed to it, and makes sure that writes are allowed (mount is read-write, filesystem is not frozen) before returning success. When the write operation is finished, mnt_drop_write() must be called. This is effectively a refcount.h]hX*This tells the low-level filesystem that a write is about to be performed to it, and makes sure that writes are allowed (mount is read-write, filesystem is not frozen) before returning success. When the write operation is finished, mnt_drop_write() must be called. This is effectively a refcount.}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h mnt_want_write_file (C function)c.mnt_want_write_filehNtauh1hhjIEhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hmnt_want_write_fileh]j5)}(hmnt_want_write_fileh]hmnt_want_write_file}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(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.mnt_want_write_fileasbuh1hhjubj)}(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&]jLjMuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMubah}(h]j|ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhj~hhubjc)}(hhh]h)}(h"get write access to a file's mounth]h$get write access to a file’s mount}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjFhhubah}(h]h ]h"]h$]h&]uh1jbhj~hhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjajjajjjuh1hhhhjIEhNhNubj)}(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)}(hjkh]h Parameters}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjeubj)}(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)}(hjh]hstruct file *file}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjeubh)}(hXThis is like mnt_want_write, but if the file is already open for writing it skips incrementing mnt_writers (since the open file already has a reference) and instead only does the freeze protection and the check for emergency r/o remounts. This must be paired with mnt_drop_write_file.h]hXThis is like mnt_want_write, but if the file is already open for writing it skips incrementing mnt_writers (since the open file already has a reference) and instead only does the freeze protection and the check for emergency r/o remounts. This must be paired with mnt_drop_write_file.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!mnt_put_write_access (C function)c.mnt_put_write_accesshNtauh1hhjIEhhhNhNubh)}(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&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM(ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM(ubj/)}(hmnt_put_write_accessh]j5)}(hmnt_put_write_accessh]hmnt_put_write_access}(hj+hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj'ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM(ubj)}(h(struct vfsmount *mnt)h]j)}(hstruct vfsmount *mnth](j )}(hjzh]hstruct}(hjGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjCubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjgmodnameN classnameNjj)}j]j)}jj-sbc.mnt_put_write_accessasbuh1hhjCubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjCubj5)}(hmnth]hmnt}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(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)}(hgive up write access to a mounth]hgive up write access to a mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM(hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./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)}(hj h]hstruct vfsmount *mnt}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./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}(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)}(hjFh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM+hjubh)}(hTells the low-level filesystem that we are done performing writes to it. Must be matched with mnt_get_write_access() call above.h]hTells the low-level filesystem that we are done performing writes to it. Must be matched with mnt_get_write_access() call above.}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM*hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmnt_drop_write (C function)c.mnt_drop_writehNtauh1hhjIEhhhNhNubh)}(hhh](j)}(h*void mnt_drop_write (struct vfsmount *mnt)h]j)}(h)void mnt_drop_write(struct vfsmount *mnt)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM8ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM8ubj/)}(hmnt_drop_writeh]j5)}(hmnt_drop_writeh]hmnt_drop_write}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM8ubj)}(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}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM8ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM8ubah}(h]j~ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM8hjhhubjc)}(hhh]h)}(hgive up write access to a mounth]hgive up write access to a mount}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM8hjHhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM8ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjcjjcjjjuh1hhhhjIEhNhNubj)}(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)}(hjmh]h Parameters}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM<hjgubj)}(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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM9hjubj)}(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&]uh1hhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM9hjubah}(h]h ]h"]h$]h&]uh1jhjgubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM;hjgubh)}(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM:hjgubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hvfs_create_mount (C function)c.vfs_create_mounthNtauh1hhjIEhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubh)}(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)}jvfs_create_mountsbc.vfs_create_mountasbuh1hhjhhhjhMubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hjZhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hvfs_create_mounth]j5)}(hjIh]hvfs_create_mount}(hjkhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(h(struct fs_context *fc)h]j)}(hstruct fs_context *fch](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 fs_contexth]h fs_context}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jGc.vfs_create_mountasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hfch]hfc}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(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*Create a mount for a configured superblockh]h*Create a mount for a configured superblock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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)}(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:98: ./fs/namespace.chMhj#ubj)}(hhh]j)}(hQ``struct fs_context *fc`` The configuration context with the superblock attached h](j)}(h``struct fs_context *fc``h]j)}(hjHh]hstruct fs_context *fc}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjBubj)}(hhh]h)}(h6The configuration context with the superblock attachedh]h6The configuration context with the superblock attached}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhj?ubah}(h]h ]h"]h$]h&]uh1jhj#ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhj#ubh)}(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhj#ubh)}(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhj#ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hpath_is_mountpoint (C function)c.path_is_mountpointhNtauh1hhjIEhhhNhNubh)}(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&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./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 }(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)}(hpathh]hpath}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjNmodnameN classnameNjj)}j]j)}jjsbc.path_is_mountpointasbuh1hhjubj)}(h h]h }(hjlhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjzhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hpathh]hpath}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(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)}(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubj)}(hhh]h)}(h path to checkh]h path to check}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(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:98: ./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.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjCubah}(h]h ]h"]h$]h&]uh1jzhjUhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmay_umount_tree (C function)c.may_umount_treehNtauh1hhjIEhhhNhNubh)}(hhh](j)}(h(int may_umount_tree (struct vfsmount *m)h]j)}(h'int may_umount_tree(struct vfsmount *m)h](j)}(hinth]hint}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjxhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM-ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxhhhjhM-ubj/)}(hmay_umount_treeh]j5)}(hmay_umount_treeh]hmay_umount_tree}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjxhhhjhM-ubj)}(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&]jLjMuh1jhjxhhhjhM-ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjthhhjhM-ubah}(h]joah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM-hjqhhubjc)}(hhh]h)}(hcheck if a mount tree is busyh]hcheck if a mount tree is busy}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM-hj8hhubah}(h]h ]h"]h$]h&]uh1jbhjqhhhjhM-ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjSjjSjjjuh1hhhhjIEhNhNubj)}(h**Parameters** ``struct vfsmount *m`` root of mount tree **Description** This is called to check if a tree of mounts has any open files, pwds, chroots or sub mounts that are busy.h](h)}(h**Parameters**h]j)}(hj]h]h Parameters}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[ubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM1hjWubj)}(hhh]j)}(h*``struct vfsmount *m`` root of mount tree h](j)}(h``struct vfsmount *m``h]j)}(hj|h]hstruct vfsmount *m}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM.hjvubj)}(hhh]h)}(hroot of mount treeh]hroot of mount tree}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM.hjubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhjhM.hjsubah}(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM0hjWubh)}(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM/hjWubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmay_umount (C function) c.may_umounthNtauh1hhjIEhhhNhNubh)}(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&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMIubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhj hMIubj/)}(h may_umounth]j5)}(h may_umounth]h may_umount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhj hMIubj)}(h(struct vfsmount *mnt)h]j)}(hstruct vfsmount *mnth](j )}(hjzh]hstruct}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubh)}(hhh]j5)}(hvfsmounth]hvfsmount}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj)}j]j)}jjsb c.may_umountasbuh1hhj5ubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj5ubj5)}(hmnth]hmnt}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj1ubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj hMIubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj hMIubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMIhjhhubjc)}(hhh]h)}(hcheck if a mount point is busyh]hcheck if a mount point is busy}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMIhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj hMIubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMMhjubj)}(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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMJhjubj)}(hhh]h)}(h root of mounth]h root of mount}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMJhjubah}(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMLhjubh)}(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.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMKhjubh)}(hDoesn't take quota and stuff into account. IOW, in some cases it will give false negatives. The main reason why it's here is that we need a non-destructive way to look for easily umountable filesystems.h]hDoesn’t take quota and stuff into account. IOW, in some cases it will give false negatives. The main reason why it’s here is that we need a non-destructive way to look for easily umountable filesystems.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMPhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h clone_private_mount (C function)c.clone_private_mounthNtauh1hhjIEhhhNhNubh)}(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 hjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM4 ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM4 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_mountasbuh1hhjhhhjhM4 ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM4 ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhM4 ubj/)}(hclone_private_mounth]j5)}(hjh]hclone_private_mount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM4 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}(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]jc.clone_private_mountasbuh1hhjubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjkhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hpathh]hpath}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubah}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhM4 ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhM4 ubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM4 hjhhubjc)}(hhh]h)}(h create a private clone of a pathh]h create a private clone of a path}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM4 hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM4 ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM8 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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM5 hjubj)}(hhh]h)}(h path to cloneh]h path to clone}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM5 hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM5 hjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM7 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 }(hj4hhhNhNubj)}(h**path**h]hpath}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh. 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).}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM6 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().}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM: hjubh)}(hRelease with mntput().h]hRelease with mntput().}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chM< hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hmnt_set_expiry (C function)c.mnt_set_expiryhNtauh1hhjIEhhhNhNubh)}(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&]uh1jhjhhhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hmnt_set_expiryh]j5)}(hmnt_set_expiryh]hmnt_set_expiry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(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}(hj)hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct list_head *expiry_listh](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 list_headh]h list_head}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNjj)}j]j c.mnt_set_expiryasbuh1hhj>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)}(h expiry_listh]h expiry_list}(hjhhhNhNubah}(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!Put a mount on an expiration listh]h!Put a mount on an expiration list}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjIEhNhNubj)}(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&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubj)}(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&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjubj)}(hhh]h)}(hThe mount to list.h]hThe mount to list.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h?``struct list_head *expiry_list`` The list to add the mount to.h](j)}(h!``struct list_head *expiry_list``h]j)}(hj=h]hstruct list_head *expiry_list}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhj7ubj)}(hhh]h)}(hThe list to add the mount to.h]hThe list to add the mount to.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhV/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:98: ./fs/namespace.chMhjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjIEhhhNhNubeh}(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&]uh1hhjhhhhhKfubh)}(hhh](h)}(hsysctl interfaceh]hsysctl interface}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKiubh)}(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:107: ./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}(hj!hhhNhNubah}(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}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNjj)}j]j)}jjsbc.proc_dostringasbuh1hhjubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjmhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htableh]htable}(hjzhhhNhNubah}(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}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]j[c.proc_dostringasbuh1hhj 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)}(hlenph]hlenp}(hjF 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}(hjb hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjd modnameN classnameNjj)}j]j[c.proc_dostringasbuh1hhj[ 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&]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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhj hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(hXg**Parameters** ``const struct ctl_table *table`` the sysctl table ``int dir`` ``TRUE`` if this is a write to the sysctl file ``void *buffer`` the user buffer ``size_t *lenp`` the size of the user buffer ``loff_t *ppos`` file position **Description** Reads/writes a string from/to the user buffer. If the kernel buffer provided is not large enough to hold the string, the string is truncated. The copied string is ``NULL-terminated``. If the string is being read by the user process, it is copied and a newline '\n' is added. It is truncated if the buffer is not large enough. Returns 0 on success.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhj ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hj h]hconst struct ctl_table *table}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhj ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj ubj)}(h;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hj? h]hint dir}(hjA hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj= ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhj9 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&]uh1jhjX ubh& if this is a write to the sysctl file}(hjX hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjT hKhjU ubah}(h]h ]h"]h$]h&]uh1jhj9 ubeh}(h]h ]h"]h$]h&]uh1jhjT hKhj 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:107: ./kernel/sysctl.chKhj ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj ubj)}(h-``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:107: ./kernel/sysctl.chKhj ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hj h]h loff_t *ppos}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhj ubj)}(hhh]h)}(h file positionh]h file position}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj hKhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hj3 h]h Description}(hj5 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1 ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhj ubh)}(hXEReads/writes a string from/to the user buffer. If the kernel buffer provided is not large enough to hold the string, the string is truncated. The copied string is ``NULL-terminated``. If the string is being read by the user process, it is copied and a newline '\n' is added. It is truncated if the buffer is not large enough.h](hReads/writes a string from/to the user buffer. If the kernel buffer provided is not large enough to hold the string, the string is truncated. The copied string is }(hjI hhhNhNubj)}(h``NULL-terminated``h]hNULL-terminated}(hjQ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjI 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.}(hjI hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhj ubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hjj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chKhj ubeh}(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}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMEubj)}(h h]h }(hj hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj hMEubj/)}(h proc_doboolh]j5)}(h proc_doboolh]h proc_dobool}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj hMEubj)}(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 sb 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)}(htableh]htable}(hjJ hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hint dirh](j)}(hinth]hint}(hjc hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj_ ubj)}(h h]h }(hjq 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]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&]noemphjLjMuh1jhj ubj)}(h loff_t *pposh](h)}(hhh]j5)}(hloff_th]hloff_t}(hj2 hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj4 modnameN classnameNjj)}j]j+  c.proc_doboolasbuh1hhj+ 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)}(hpposh]hppos}(hjk hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj+ ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj hhhj hMEubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj hMEubah}(h]j ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj hMEhj hhubjc)}(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:107: ./kernel/sysctl.chMEhj hhubah}(h]h ]h"]h$]h&]uh1jbhj hhhj hMEubeh}(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:107: ./kernel/sysctl.chMIhj 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:107: ./kernel/sysctl.chMFhj ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(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;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hjh]hint dir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMGhj 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$hMGhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj$hMGhj ubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hjVh]h void *buffer}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMHhjPubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMHhjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMHhj ubj)}(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:107: ./kernel/sysctl.chMIhjubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMIhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMIhj ubj)}(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:107: ./kernel/sysctl.chMJhjubj)}(hhh]h)}(h file positionh]h file position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMJhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMJhj 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&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMLhj 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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMKhj 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:107: ./kernel/sysctl.chMNhj ubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMQhj 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}(hjfhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjbhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMmubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbhhhjthMmubj/)}(h proc_dointvech]j5)}(h proc_dointvech]h proc_dointvec}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjbhhhjthMmubj)}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.proc_dointvecasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htableh]htable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hint dirh](j)}(hinth]hint}(hj0hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj,ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubj5)}(hdirh]hdir}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *bufferh](j)}(hvoidh]hvoid}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjaubj)}(h h]h }(hjshhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjaubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubeh}(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]jc.proc_dointvecasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hlenph]hlenp}(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]jc.proc_dointvecasbuh1hhjubj)}(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}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjbhhhjthMmubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj^hhhjthMmubah}(h]jYah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjthMmhj[hhubjc)}(hhh]h)}(hread a vector of integersh]hread a vector of integers}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMmhj_hhubah}(h]h ]h"]h$]h&]uh1jbhj[hhhjthMmubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhjhNhNubj)}(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)}(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:107: ./kernel/sysctl.chMqhj~ubj)}(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:107: ./kernel/sysctl.chMnhjubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMnhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMnhjubj)}(h;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hjh]hint dir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMohjubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& if this is a write to the sysctl file}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMohjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMohjubj)}(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:107: ./kernel/sysctl.chMphjubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hMphj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj8hMphjubj)}(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&]uh1jhjZubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMqhjVubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhMqhjrubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(h]h ]h"]h$]h&]uh1jhjqhMqhjubj)}(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:107: ./kernel/sysctl.chMrhjubj)}(hhh]h)}(h file positionh]h file position}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMrhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMrhjubeh}(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&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMthj~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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMshj~ubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMvhj~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:107: ./kernel/sysctl.chMubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj hhhj2hMubj/)}(hproc_douintvech]j5)}(hproc_douintvech]hproc_douintvec}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj hhhj2hMubj)}(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}(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 ctl_tableh]h ctl_table}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjGsbc.proc_douintvecasbuh1hhj]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)}(htableh]htable}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjYubj)}(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}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjYubj)}(h void *bufferh](j)}(hvoidh]hvoid}(hj#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hj1hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj?hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hbufferh]hbuffer}(hjLhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjYubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjeubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNjj)}j]jc.proc_douintvecasbuh1hhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjaubj5)}(hlenph]hlenp}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjYubj)}(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]jc.proc_douintvecasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjYubeh}(h]h ]h"]h$]h&]jLjMuh1jhj hhhj2hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj2hMubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj2hMhjhhubjc)}(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:107: ./kernel/sysctl.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj2hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj8jj8jjjuh1hhhhjhNhNubj)}(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)}(hjBh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./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)}(hjah]hconst struct ctl_table *table}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj[ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhMhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMhjXubj)}(h;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hjh]hint dir}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& if this is a write to the sysctl file}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjXubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hjh]h void *buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjXubj)}(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:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjXubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjSh]h loff_t *ppos}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjMubj)}(hhh]h)}(h file positionh]h file position}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMhjiubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjXubeh}(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&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj<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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj<ubh)}(hReturns 0 on success.h]hReturns 0 on success.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj<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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hproc_dointvec_minmaxh]j5)}(hproc_dointvec_minmaxh]hproc_dointvec_minmax}(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 }(hj,hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj )}(hjzh]hstruct}(hj:hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubh)}(hhh]j5)}(h ctl_tableh]h ctl_table}(hjXhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjUubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjZmodnameN classnameNjj)}j]j)}jjsbc.proc_dointvec_minmaxasbuh1hhjubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(htableh]htable}(hjhhhNhNubah}(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}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(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]jtc.proc_dointvec_minmaxasbuh1hhjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjRhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hlenph]hlenp}(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}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj)}j]jtc.proc_dointvec_minmaxasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjtubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubeh}(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-read a vector of integers with min/max valuesh]h-read a vector of integers with min/max values}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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)}(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:107: ./kernel/sysctl.chMhjubj)}(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}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hMhj5ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjubj)}(h;``int dir`` ``TRUE`` if this is a write to the sysctl file h](j)}(h ``int dir``h]j)}(hjXh]hint dir}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjRubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh& if this is a write to the sysctl file}(hjqhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjmhMhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hjh]h void *buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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:107: ./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&hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjLh]h Description}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubh)}(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.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubh)}(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).}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubh)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubeh}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hproc_douintvec_minmaxh]j5)}(hproc_douintvec_minmaxh]hproc_douintvec_minmax}(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&]uh1j4hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNjj)}j]j)}jjsbc.proc_douintvec_minmaxasbuh1hhjubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjShhhNhNubah}(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}(hjyhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjuubj5)}(hdirh]hdir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjuubeh}(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]jAc.proc_douintvec_minmaxasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hlenph]hlenp}(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}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj)}j]jAc.proc_douintvec_minmaxasbuh1hhjAubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubj*)}(hj-h]h*}(hjthhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjAubj5)}(hpposh]hppos}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubeh}(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)}(h2read a vector of unsigned ints with min/max valuesh]h2read a vector of unsigned ints with min/max values}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhjhNhNubj)}(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. This routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max). There is a final sanity check for 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)}(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:107: ./kernel/sysctl.chMhjubj)}(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:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(h.``TRUE`` if this is a write to the sysctl fileh](j)}(h``TRUE``h]hTRUE}(hjBhhhNhNubah}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMhjubj)}(h!``void *buffer`` the user buffer h](j)}(h``void *buffer``h]j)}(hjlh]h void *buffer}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjfubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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:107: ./kernel/sysctl.chMhjubj)}(hhh]h)}(h file positionh]h file position}(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&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubh)}(hReads/writes up to table->maxlen/sizeof(unsigned int) unsigned integer values from/to the user buffer, treated as an ASCII string. Negative strings are not allowed.h]hReads/writes up to table->maxlen/sizeof(unsigned int) unsigned integer values from/to the user buffer, treated as an ASCII string. Negative strings are not allowed.}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubh)}(hThis routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max). There is a final sanity check for UINT_MAX to avoid having to support wrap around uses from userspace.h]hThis routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max). There is a final sanity check for UINT_MAX to avoid having to support wrap around uses from userspace.}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubh)}(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}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjubeh}(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}(hj|hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjxhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjxhhhjhMubj/)}(hproc_dou8vec_minmaxh]j5)}(hproc_dou8vec_minmaxh]hproc_dou8vec_minmax}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjxhhhjhMubj)}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.proc_dou8vec_minmaxasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj 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}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjBubj)}(h h]h }(hjThhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjBubj5)}(hdirh]hdir}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h void *bufferh](j)}(hvoidh]hvoid}(hj{hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjwubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjwubj5)}(hbufferh]hbuffer}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubeh}(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]jc.proc_dou8vec_minmaxasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hlenph]hlenp}(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}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj modnameN classnameNjj)}j]jc.proc_dou8vec_minmaxasbuh1hhj 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)}(hpposh]hppos}(hjN hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjxhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjthhhjhMubah}(h]joah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjqhhubjc)}(hhh]h)}(h3read a vector of unsigned chars with min/max valuesh]h3read a vector of unsigned chars with min/max values}(hjx hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhju hhubah}(h]h ]h"]h$]h&]uh1jbhjqhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj jj jjjuh1hhhhjhNhNubj)}(hXx**Parameters** ``const struct ctl_table *table`` the sysctl table ``int dir`` ``TRUE`` if this is a write to the sysctl file ``void *buffer`` the user buffer ``size_t *lenp`` the size of the user buffer ``loff_t *ppos`` file position **Description** Reads/writes up to table->maxlen/sizeof(u8) unsigned chars values from/to the user buffer, treated as an ASCII string. Negative strings are not allowed. This routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max). Returns 0 on success or an error on SYSCTL_USER_TO_KERN(dir) == true and the range check fails.h](h)}(h**Parameters**h]j)}(hj h]h Parameters}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./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:107: ./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:107: ./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)}(hj9!h]h void *buffer}(hj;!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7!ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj3!ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(hjR!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjN!hMhjO!ubah}(h]h ]h"]h$]h&]uh1jhj3!ubeh}(h]h ]h"]h$]h&]uh1jhjN!hMhj ubj)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hjr!h]h size_t *lenp}(hjt!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjp!ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhjl!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&]uh1jhjl!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:107: ./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:107: ./kernel/sysctl.chMhj ubh)}(hReads/writes up to table->maxlen/sizeof(u8) unsigned chars values from/to the user buffer, treated as an ASCII string. Negative strings are not allowed.h]hReads/writes up to table->maxlen/sizeof(u8) unsigned chars values from/to the user buffer, treated as an ASCII string. Negative strings are not allowed.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj ubh)}(hrThis routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max).h]hrThis routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max).}(hj "hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj ubh)}(h_Returns 0 on success or an error on SYSCTL_USER_TO_KERN(dir) == true and the range check fails.h]h_Returns 0 on success or an error on SYSCTL_USER_TO_KERN(dir) == true and the range check fails.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMhj ubeh}(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}(hjI"hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjE"hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMLubj)}(h h]h }(hjX"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjE"hhhjW"hMLubj/)}(hproc_doulongvec_minmaxh]j5)}(hproc_doulongvec_minmaxh]hproc_doulongvec_minmax}(hjj"hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjf"ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjE"hhhjW"hMLubj)}(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)}jjl"sbc.proc_doulongvec_minmaxasbuh1hhj"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 }(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}(hjH#hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjD#ubj)}(h h]h }(hjV#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjD#ubj*)}(hj-h]h*}(hjd#hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjD#ubj5)}(hbufferh]hbuffer}(hjq#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjD#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_doulongvec_minmaxasbuh1hhj#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_doulongvec_minmaxasbuh1hhj#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&]jLjMuh1jhjE"hhhjW"hMLubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjA"hhhjW"hMLubah}(h]j<"ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjW"hMLhj>"hhubjc)}(hhh]h)}(h2read a vector of long integers with min/max valuesh]h2read a vector of long integers with min/max values}(hjE$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMLhjB$hhubah}(h]h ]h"]h$]h&]uh1jbhj>"hhhjW"hMLubeh}(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 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)}(hjg$h]h Parameters}(hji$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhje$ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMPhja$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:107: ./kernel/sysctl.chMMhj$ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(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;``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:107: ./kernel/sysctl.chMNhj$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$hMNhj$ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMNhj}$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:107: ./kernel/sysctl.chMOhj%ubj)}(hhh]h)}(hthe user bufferh]hthe user buffer}(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)}(h-``size_t *lenp`` the size of the user buffer h](j)}(h``size_t *lenp``h]j)}(hj?%h]h size_t *lenp}(hjA%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=%ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMPhj9%ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hjX%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjT%hMPhjU%ubah}(h]h ]h"]h$]h&]uh1jhj9%ubeh}(h]h ]h"]h$]h&]uh1jhjT%hMPhj}$ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjx%h]h loff_t *ppos}(hjz%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv%ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMQhjr%ubj)}(hhh]h)}(h file positionh]h file position}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hMQhj%ubah}(h]h ]h"]h$]h&]uh1jhjr%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMQhj}$ubeh}(h]h ]h"]h$]h&]uh1jhja$ubh)}(h**Description**h]j)}(hj%h]h Description}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMShja$ubh)}(hReads/writes up to table->maxlen/sizeof(unsigned long) unsigned long values from/to the user buffer, treated as an ASCII string.h]hReads/writes up to table->maxlen/sizeof(unsigned long) unsigned long values from/to the user buffer, treated as an ASCII string.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMRhja$ubh)}(hrThis routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max).h]hrThis routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max).}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMUhja$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:107: ./kernel/sysctl.chMXhja$ubeh}(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:107: ./kernel/sysctl.chMjubj)}(h h]h }(hj%&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj&hhhj$&hMjubj/)}(hproc_do_large_bitmaph]j5)}(hproc_do_large_bitmaph]hproc_do_large_bitmap}(hj7&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3&ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj&hhhj$&hMjubj)}(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}(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}(hjn&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 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)}jj9&sbc.proc_do_large_bitmapasbuh1hhjO&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)}(htableh]htable}(hj&hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjO&ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjK&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&]noemphjLjMuh1jhjK&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*}(hj1'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&]noemphjLjMuh1jhjK&ubj)}(h size_t *lenph](h)}(hhh]j5)}(hsize_th]hsize_t}(hjZ'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjW'ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\'modnameN classnameNjj)}j]j&c.proc_do_large_bitmapasbuh1hhjS'ubj)}(h h]h }(hjx'hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjS'ubj*)}(hj-h]h*}(hj'hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjS'ubj5)}(hlenph]hlenp}(hj'hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjS'ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjK&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&]noemphjLjMuh1jhjK&ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj&hhhj$&hMjubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj&hhhj$&hMjubah}(h]j &ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj$&hMjhj &hhubjc)}(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:107: ./kernel/sysctl.chMjhj(hhubah}(h]h ]h"]h$]h&]uh1jbhj &hhhj$&hMjubeh}(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)}(hj4(h]h Parameters}(hj6(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2(ubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMnhj.(ubj)}(hhh](j)}(h3``const struct ctl_table *table`` the sysctl table h](j)}(h!``const struct ctl_table *table``h]j)}(hjS(h]hconst struct ctl_table *table}(hjU(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ(ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMkhjM(ubj)}(hhh]h)}(hthe sysctl tableh]hthe sysctl table}(hjl(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjh(hMkhji(ubah}(h]h ]h"]h$]h&]uh1jhjM(ubeh}(h]h ]h"]h$]h&]uh1jhjh(hMkhjJ(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:107: ./kernel/sysctl.chMlhj(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(hMlhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hMlhjJ(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:107: ./kernel/sysctl.chMmhj(ubj)}(hhh]h)}(hthe user bufferh]hthe 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(hMmhjJ(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:107: ./kernel/sysctl.chMnhj)ubj)}(hhh]h)}(hthe size of the user bufferh]hthe size of the user buffer}(hj%)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!)hMnhj")ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj!)hMnhjJ(ubj)}(h``loff_t *ppos`` file position h](j)}(h``loff_t *ppos``h]j)}(hjE)h]h loff_t *ppos}(hjG)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC)ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:107: ./kernel/sysctl.chMohj?)ubj)}(hhh]h)}(h file positionh]h file position}(hj^)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZ)hMohj[)ubah}(h]h ]h"]h$]h&]uh1jhj?)ubeh}(h]h ]h"]h$]h&]uh1jhjZ)hMohjJ(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:107: ./kernel/sysctl.chMqhj.(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:107: ./kernel/sysctl.chMphj.(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:107: ./kernel/sysctl.chMshj.(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:107: ./kernel/sysctl.chMwhj.(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubeh}(h]sysctl-interfaceah ]h"]sysctl interfaceah$]h&]uh1hhjhhhhhKiubh)}(hhh](h)}(hproc filesystem interfaceh]hproc filesystem interface}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)hhhhhKoubh)}(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:113: ./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}(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)}(hpidh]hpid}(hjW*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjT*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjY*modnameN classnameNjj)}j]j)}jj*sbc.proc_flush_pidasbuh1hhj5*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)}(hpidh]hpid}(hj*hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5*ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj1*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:113: ./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:113: ./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:113: ./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)}(hjJ+h]h Description}(hjL+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjH+ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./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.}(hj`+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./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.}(hjo+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./fs/proc/base.chM hj*ubh)}(h**NOTE**h]j)}(hj+h]hNOTE}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~+ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:113: ./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:113: ./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&]uh1hhjhhhhhKoubeh}(h]the-proc-filesystemah ]h"]the proc filesystemah$]h&]uh1hhhhhhhhKfubh)}(hhh](h)}(h Events based on file descriptorsh]h Events based on file descriptors}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+hhhhhKuubh)}(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:119: ./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}(hj1,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}(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 eventfd_ctxh]h eventfd_ctx}(hjk,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjh,ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjm,modnameN classnameNjj)}j]j)}jj3,sbc.eventfd_signal_maskasbuh1hhjI,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)}(hctxh]hctx}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjI,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjE,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]j,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&]noemphjLjMuh1jhjE,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-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chK/hj-hhubah}(h]h ]h"]h$]h&]uh1jbhj,hhhj,hK/ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj0-jj0-jjjuh1hhhhj+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:-h]h Parameters}(hj<-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8-ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chK3hj4-ubj)}(hhh](j)}(hA``struct eventfd_ctx *ctx`` [in] Pointer to the eventfd context. h](j)}(h``struct eventfd_ctx *ctx``h]j)}(hjY-h]hstruct eventfd_ctx *ctx}(hj[-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW-ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chK0hjS-ubj)}(hhh]h)}(h$[in] Pointer to the eventfd context.h]h$[in] Pointer to the eventfd context.}(hjr-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjn-hK0hjo-ubah}(h]h ]h"]h$]h&]uh1jhjS-ubeh}(h]h ]h"]h$]h&]uh1jhjn-hK0hjP-ubj)}(h!``__poll_t mask`` [in] poll mask h](j)}(h``__poll_t mask``h]j)}(hj-h]h __poll_t mask}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chK1hj-ubj)}(hhh]h)}(h[in] poll maskh]h[in] poll mask}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-hK1hj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1jhj-hK1hjP-ubeh}(h]h ]h"]h$]h&]uh1jhj4-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:119: ./fs/eventfd.chK3hj4-ubh)}(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).}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chK2hj4-ubeh}(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}(hj.hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj.hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKaubj)}(h h]h }(hj!.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj.hhhj .hKaubj/)}(heventfd_ctx_puth]j5)}(heventfd_ctx_puth]heventfd_ctx_put}(hj3.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/.ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj.hhhj .hKaubj)}(h(struct eventfd_ctx *ctx)h]j)}(hstruct eventfd_ctx *ctxh](j )}(hjzh]hstruct}(hjO.hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjK.ubj)}(h h]h }(hj\.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjK.ubh)}(hhh]j5)}(h eventfd_ctxh]h eventfd_ctx}(hjm.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjj.ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjo.modnameN classnameNjj)}j]j)}jj5.sbc.eventfd_ctx_putasbuh1hhjK.ubj)}(h h]h }(hj.hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjK.ubj*)}(hj-h]h*}(hj.hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjK.ubj5)}(hctxh]hctx}(hj.hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjK.ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjG.ubah}(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)}(h5Releases a reference to the internal eventfd context.h]h5Releases a reference to the internal eventfd context.}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKahj.hhubah}(h]h ]h"]h$]h&]uh1jbhj.hhhj .hKaubeh}(h]h ](jfunctioneh"]h$]h&]jjjj.jj.jjjuh1hhhhj+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)}(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:119: ./fs/eventfd.chKehj.ubj)}(hhh]j)}(h=``struct eventfd_ctx *ctx`` [in] Pointer to eventfd context. h](j)}(h``struct eventfd_ctx *ctx``h]j)}(hj/h]hstruct eventfd_ctx *ctx}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKbhj /ubj)}(hhh]h)}(h [in] Pointer to eventfd context.h]h [in] Pointer to eventfd context.}(hj,/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(/hKbhj)/ubah}(h]h ]h"]h$]h&]uh1jhj /ubeh}(h]h ]h"]h$]h&]uh1jhj(/hKbhj /ubah}(h]h ]h"]h$]h&]uh1jhj.ubh)}(h**Description**h]j)}(hjN/h]h Description}(hjP/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjL/ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKdhj.ubh)}(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().}(hjd/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKchj.ubeh}(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}(hj/hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj/hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKubj)}(h h]h }(hj/hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj/hhhj/hKubj/)}(heventfd_ctx_remove_wait_queueh]j5)}(heventfd_ctx_remove_wait_queueh]heventfd_ctx_remove_wait_queue}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj/hhhj/hKubj)}(h?(struct eventfd_ctx *ctx, wait_queue_entry_t *wait, __u64 *cnt)h](j)}(hstruct eventfd_ctx *ctxh](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 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_ctx_remove_wait_queueasbuh1hhj/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)}(hctxh]hctx}(hj)0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubj)}(hwait_queue_entry_t *waith](h)}(hhh]j5)}(hwait_queue_entry_th]hwait_queue_entry_t}(hjE0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjB0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjG0modnameN classnameNjj)}j]j 0c.eventfd_ctx_remove_wait_queueasbuh1hhj>0ubj)}(h h]h }(hjc0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>0ubj*)}(hj-h]h*}(hjq0hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj>0ubj5)}(hwaith]hwait}(hj~0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubj)}(h __u64 *cnth](h)}(hhh]j5)}(h__u64h]h__u64}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj0modnameN classnameNjj)}j]j 0c.eventfd_ctx_remove_wait_queueasbuh1hhj0ubj)}(h h]h }(hj0hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj0ubj*)}(hj-h]h*}(hj0hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj0ubj5)}(hcnth]hcnt}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj/ubeh}(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)}(h0Read the current counter and removes wait queue.h]h0Read the current counter and removes wait queue.}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKhj0hhubah}(h]h ]h"]h$]h&]uh1jbhj/hhhj/hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjj1jj1jjjuh1hhhhj+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)}(hj1h]h Parameters}(hj!1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKhj1ubj)}(hhh](j)}(h=``struct eventfd_ctx *ctx`` [in] Pointer to eventfd context. h](j)}(h``struct eventfd_ctx *ctx``h]j)}(hj>1h]hstruct eventfd_ctx *ctx}(hj@1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<1ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKhj81ubj)}(hhh]h)}(h [in] Pointer to eventfd context.h]h [in] Pointer to eventfd context.}(hjW1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjS1hKhjT1ubah}(h]h ]h"]h$]h&]uh1jhj81ubeh}(h]h ]h"]h$]h&]uh1jhjS1hKhj51ubj)}(h<``wait_queue_entry_t *wait`` [in] Wait queue to be removed. h](j)}(h``wait_queue_entry_t *wait``h]j)}(hjw1h]hwait_queue_entry_t *wait}(hjy1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju1ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKhjq1ubj)}(hhh]h)}(h[in] Wait queue to be removed.h]h[in] Wait queue to be removed.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hKhj1ubah}(h]h ]h"]h$]h&]uh1jhjq1ubeh}(h]h ]h"]h$]h&]uh1jhj1hKhj51ubj)}(h:``__u64 *cnt`` [out] Pointer to the 64-bit counter value. h](j)}(h``__u64 *cnt``h]j)}(hj1h]h __u64 *cnt}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKhj1ubj)}(hhh]h)}(h*[out] Pointer to the 64-bit counter value.h]h*[out] Pointer to the 64-bit counter value.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hKhj1ubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhj1hKhj51ubeh}(h]h ]h"]h$]h&]uh1jhj1ubh)}(h**Description**h]j)}(hj1h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKhj1ubh)}(h:Returns ``0`` if successful, or the following error codes:h](hReturns }(hj2hhhNhNubj)}(h``0``h]h0}(hj 2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh- if successful, or the following error codes:}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKhj1ubh option_list)}(hhh]hoption_list_item)}(hhh](h option_group)}(hhh]hoption)}(h-EAGAINh](h option_string)}(h-Eh]h-E}hj92sbah}(h]h ]h"]h$]h&]uh1j72hj32ubhoption_argument)}(hAGAINh]hAGAIN}(hjI2hhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1jG2hj32ubeh}(h]h ]h"]h$]h&]uh1j12hj.2ubah}(h]h ]h"]h$]h&]uh1j,2hj)2ubh description)}(h$: The operation would have blocked. h]h)}(h#: The operation would have blocked.h]h#: The operation would have blocked.}(hjj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKhjf2ubah}(h]h ]h"]h$]h&]uh1jd2hj)2ubeh}(h]h ]h"]h$]h&]uh1j'2hj$2ubah}(h]h ]h"]h$]h&]uh1j"2hjx2hKhj1ubh)}(hxThis is used to atomically remove a wait queue entry from the eventfd wait queue head, and read/reset the counter value.h]hxThis is used to atomically remove a wait queue entry from the eventfd wait queue head, and read/reset the counter value.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chKhj1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj+hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](heventfd_fget (C function)c.eventfd_fgethNtauh1hhj+hhhNhNubh)}(hhh](j)}(h#struct file * eventfd_fget (int fd)h]j)}(h!struct file *eventfd_fget(int fd)h](j )}(hjzh]hstruct}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM:ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2hhhj2hM:ubh)}(hhh]j5)}(hfileh]hfile}(hj2hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j]j)}j eventfd_fgetsbc.eventfd_fgetasbuh1hhj2hhhj2hM:ubj)}(h h]h }(hj2hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2hhhj2hM:ubj*)}(hj-h]h*}(hj3hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj2hhhj2hM:ubj/)}(h eventfd_fgeth]j5)}(hj2h]h eventfd_fget}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj2hhhj2hM:ubj)}(h(int fd)h]j)}(hint fdh](j)}(hinth]hint}(hj43hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj03ubj)}(h h]h }(hjB3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj03ubj5)}(hfdh]hfd}(hjP3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj03ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj,3ubah}(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)}(h2Acquire a reference of an eventfd file descriptor.h]h2Acquire a reference of an eventfd file descriptor.}(hjz3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM:hjw3hhubah}(h]h ]h"]h$]h&]uh1jbhj2hhhj2hM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjj3jj3jjjuh1hhhhj+hNhNubj)}(hX**Parameters** ``int fd`` [in] Eventfd file descriptor. **Description** Returns a pointer to the eventfd file structure in case of success, or the following error pointer: -EBADF : Invalid **fd** file descriptor. -EINVAL : The **fd** file descriptor is not an eventfd file.h](h)}(h**Parameters**h]j)}(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:119: ./fs/eventfd.chM>hj3ubj)}(hhh]j)}(h)``int fd`` [in] Eventfd file descriptor. h](j)}(h ``int fd``h]j)}(hj3h]hint fd}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM;hj3ubj)}(hhh]h)}(h[in] Eventfd file descriptor.h]h[in] Eventfd file descriptor.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hM;hj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhj3hM;hj3ubah}(h]h ]h"]h$]h&]uh1jhj3ubh)}(h**Description**h]j)}(hj3h]h Description}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM=hj3ubh)}(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:}(hj 4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM<hj3ubj#2)}(hhh](j(2)}(hhh](j-2)}(hhh]j22)}(h-EBADFh](j82)}(h-Eh]h-E}hj(4sbah}(h]h ]h"]h$]h&]uh1j72hj$4ubjH2)}(hBADFh]hBADF}(hj64hhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1jG2hj$4ubeh}(h]h ]h"]h$]h&]uh1j12hj!4ubah}(h]h ]h"]h$]h&]uh1j,2hj4ubje2)}(h!: Invalid **fd** file descriptor.h]h)}(hjS4h](h : Invalid }(hjU4hhhNhNubj)}(h**fd**h]hfd}(hj\4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU4ubh file descriptor.}(hjU4hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM?hjQ4ubah}(h]h ]h"]h$]h&]uh1jd2hj4ubeh}(h]h ]h"]h$]h&]uh1j'2hj4ubj(2)}(hhh](j-2)}(hhh]j22)}(h-EINVALh](j82)}(h-Eh]h-E}hj4sbah}(h]h ]h"]h$]h&]uh1j72hj4ubjH2)}(hINVALh]hINVAL}(hj4hhhNhNubah}(h]h ]h"]h$]h&] delimiterhuh1jG2hj4ubeh}(h]h ]h"]h$]h&]uh1j12hj4ubah}(h]h ]h"]h$]h&]uh1j,2hj4ubje2)}(h4: The **fd** file descriptor is not an eventfd file.h]h)}(hj4h](h: The }(hj4hhhNhNubj)}(h**fd**h]hfd}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj4ubh( file descriptor is not an eventfd file.}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chM@hj4ubah}(h]h ]h"]h$]h&]uh1jd2hj4ubeh}(h]h ]h"]h$]h&]uh1j'2hj4ubeh}(h]h ]h"]h$]h&]uh1j"2hjt4hM?hj3ubeh}(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}(hj 5hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj5hhhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chMTubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5hhhj5hMTubh)}(hhh]j5)}(h eventfd_ctxh]h eventfd_ctx}(hj)5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj&5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj+5modnameN classnameNjj)}j]j)}jeventfd_ctx_fdgetsbc.eventfd_ctx_fdgetasbuh1hhj5hhhj5hMTubj)}(h h]h }(hjJ5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5hhhj5hMTubj*)}(hj-h]h*}(hjX5hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj5hhhj5hMTubj/)}(heventfd_ctx_fdgeth]j5)}(hjG5h]heventfd_ctx_fdget}(hji5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hje5ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj5hhhj5hMTubj)}(h(int fd)h]j)}(hint fdh](j)}(hinth]hint}(hj5hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj5ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5ubj5)}(hfdh]hfd}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj|5ubah}(h]h ]h"]h$]h&]jLjMuh1jhj5hhhj5hMTubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj5hhhj5hMTubah}(h]j4ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj5hMThj4hhubjc)}(hhh]h)}(h5Acquires a reference to the internal eventfd context.h]h5Acquires a reference to the internal eventfd context.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chMThj5hhubah}(h]h ]h"]h$]h&]uh1jbhj4hhhj5hMTubeh}(h]h ](jfunctioneh"]h$]h&]jjjj5jj5jjjuh1hhhhj+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)}(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:119: ./fs/eventfd.chMXhj5ubj)}(hhh]j)}(h)``int fd`` [in] Eventfd file descriptor. h](j)}(h ``int fd``h]j)}(hj 6h]hint fd}(hj 6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj 6ubah}(h]h ]h"]h$]h&]uh1jhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chMUhj6ubj)}(hhh]h)}(h[in] Eventfd file descriptor.h]h[in] Eventfd file descriptor.}(hj$6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj 6hMUhj!6ubah}(h]h ]h"]h$]h&]uh1jhj6ubeh}(h]h ]h"]h$]h&]uh1jhj 6hMUhj6ubah}(h]h ]h"]h$]h&]uh1jhj5ubh)}(h**Description**h]j)}(hjF6h]h Description}(hjH6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjD6ubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chMWhj5ubh)}(htReturns a pointer to the internal eventfd context, otherwise the error pointers returned by the following functions:h]htReturns a pointer to the internal eventfd context, otherwise the error pointers returned by the following functions:}(hj\6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chMVhj5ubh)}(h eventfd_fgeth]h eventfd_fget}(hjk6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhU/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:119: ./fs/eventfd.chMYhj5ubeh}(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)}(hhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj >ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj >ubh)}(hhh]j5)}(h eventpollh]h eventpoll}(hj->hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/>modnameN classnameNjj)}j]j)}jj=sb c.ep_pollasbuh1hhj >ubj)}(h h]h }(hjM>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj >ubj*)}(hj-h]h*}(hj[>hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj >ubj5)}(heph]hep}(hjh>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj >ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubj)}(h!struct epoll_event __user *eventsh](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 epoll_eventh]h epoll_event}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj>modnameN classnameNjj)}j]jI> c.ep_pollasbuh1hhj}>ubj)}(h h]h }(hj>hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj}>ubh__user}(hj}>hhhNhNubj)}(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)}(heventsh]hevents}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj}>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubj)}(h int maxeventsh](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)}(h maxeventsh]h maxevents}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj>ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj>ubj)}(hstruct timespec64 *timeouth](j )}(hjzh]hstruct}(hj8?hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj4?ubj)}(h h]h }(hjE?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4?ubh)}(hhh]j5)}(h timespec64h]h timespec64}(hjV?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjS?ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjX?modnameN classnameNjj)}j]jI> c.ep_pollasbuh1hhj4?ubj)}(h h]h }(hjt?hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4?ubj*)}(hj-h]h*}(hj?hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj4?ubj5)}(htimeouth]htimeout}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4?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)}(hNRetrieves ready events, and delivers them to the caller-supplied event buffer.h]hNRetrieves ready events, and delivers them to the caller-supplied event buffer.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj?hhubah}(h]h ]h"]h$]h&]uh1jbhj=hhhj=hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhj8hNhNubj)}(hX**Parameters** ``struct eventpoll *ep`` Pointer to the eventpoll context. ``struct epoll_event __user *events`` Pointer to the userspace buffer where the ready events should be stored. ``int maxevents`` Size (in terms of number of events) of the caller event buffer. ``struct timespec64 *timeout`` Maximum timeout for the ready events fetch operation, in timespec. If the timeout is zero, the function will not block, while if the **timeout** ptr is NULL, the function will block until at least one event has been retrieved (or an error occurred). **Return** the number of ready events which have been fetched, or an error code, in case of error.h](h)}(h**Parameters**h]j)}(hj?h]h Parameters}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj?ubj)}(hhh](j)}(h;``struct eventpoll *ep`` Pointer to the eventpoll context. h](j)}(h``struct eventpoll *ep``h]j)}(hj?h]hstruct eventpoll *ep}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj?ubj)}(hhh]h)}(h!Pointer to the eventpoll context.h]h!Pointer to the eventpoll context.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hMhj@ubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj?ubj)}(ho``struct epoll_event __user *events`` Pointer to the userspace buffer where the ready events should be stored. h](j)}(h%``struct epoll_event __user *events``h]j)}(hj3@h]h!struct epoll_event __user *events}(hj5@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1@ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj-@ubj)}(hhh]h)}(hHPointer to the userspace buffer where the ready events should be stored.h]hHPointer to the userspace buffer where the ready events should be stored.}(hjL@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhjI@ubah}(h]h ]h"]h$]h&]uh1jhj-@ubeh}(h]h ]h"]h$]h&]uh1jhjH@hMhj?ubj)}(hR``int maxevents`` Size (in terms of number of events) of the caller event buffer. h](j)}(h``int maxevents``h]j)}(hjm@h]h int maxevents}(hjo@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjk@ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhjg@ubj)}(hhh]h)}(h?Size (in terms of number of events) of the caller event buffer.h]h?Size (in terms of number of events) of the caller event buffer.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hMhj@ubah}(h]h ]h"]h$]h&]uh1jhjg@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj?ubj)}(hX``struct timespec64 *timeout`` Maximum timeout for the ready events fetch operation, in timespec. If the timeout is zero, the function will not block, while if the **timeout** ptr is NULL, the function will block until at least one event has been retrieved (or an error occurred). h](j)}(h``struct timespec64 *timeout``h]j)}(hj@h]hstruct timespec64 *timeout}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj@ubj)}(hhh]h)}(hMaximum timeout for the ready events fetch operation, in timespec. If the timeout is zero, the function will not block, while if the **timeout** ptr is NULL, the function will block until at least one event has been retrieved (or an error occurred).h](hMaximum timeout for the ready events fetch operation, in timespec. If the timeout is zero, the function will not block, while if the }(hj@hhhNhNubj)}(h **timeout**h]htimeout}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubhi ptr is NULL, the function will block until at least one event has been retrieved (or an error occurred).}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj@ubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj?ubeh}(h]h ]h"]h$]h&]uh1jhj?ubh)}(h **Return**h]j)}(hj@h]hReturn}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj?ubh)}(hWthe number of ready events which have been fetched, or an error code, in case of error.h]hWthe number of ready events which have been fetched, or an error code, in case of error.}(hj AhhhNhNubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhj?ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj8hhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hep_loop_check_proc (C function)c.ep_loop_check_prochNtauh1hhj8hhhNhNubh)}(hhh](j)}(h8int ep_loop_check_proc (struct eventpoll *ep, int depth)h]j)}(h7int ep_loop_check_proc(struct eventpoll *ep, int depth)h](j)}(hinth]hint}(hj9AhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj5AhhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chM ubj)}(h h]h }(hjHAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj5AhhhjGAhM ubj/)}(hep_loop_check_proch]j5)}(hep_loop_check_proch]hep_loop_check_proc}(hjZAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVAubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj5AhhhjGAhM ubj)}(h!(struct eventpoll *ep, int depth)h](j)}(hstruct eventpoll *eph](j )}(hjzh]hstruct}(hjvAhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrAubh)}(hhh]j5)}(h eventpollh]h eventpoll}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNjj)}j]j)}jj\Asbc.ep_loop_check_procasbuh1hhjrAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrAubj*)}(hj-h]h*}(hjAhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjrAubj5)}(heph]hep}(hjAhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrAubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjnAubj)}(h int depthh](j)}(hinth]hint}(hjAhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjAubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubj5)}(hdepthh]hdepth}(hjBhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjnAubeh}(h]h ]h"]h$]h&]jLjMuh1jhj5AhhhjGAhM ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj1AhhhjGAhM ubah}(h]j,Aah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjGAhM hj.Ahhubjc)}(hhh]h)}(hverify that adding an epoll file **ep** inside another epoll file does not create closed loops, and determine the depth of the subtree starting at **ep**h](h!verify that adding an epoll file }(hj.BhhhNhNubj)}(h**ep**h]hep}(hj6BhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.Bubhl inside another epoll file does not create closed loops, and determine the depth of the subtree starting at }(hj.BhhhNhNubj)}(h**ep**h]hep}(hjHBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.Bubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chM hj+Bhhubah}(h]h ]h"]h$]h&]uh1jbhj.AhhhjGAhM ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjfBjjfBjjjuh1hhhhj8hNhNubj)}(h**Parameters** ``struct eventpoll *ep`` the :c:type:`struct eventpoll ` to be currently checked. ``int depth`` Current depth of the path being checked. **Return** depth of the subtree, or INT_MAX if we found a loop or went too deep.h](h)}(h**Parameters**h]j)}(hjpBh]h Parameters}(hjrBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnBubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chM hjjBubj)}(hhh](j)}(h]``struct eventpoll *ep`` the :c:type:`struct eventpoll ` to be currently checked. h](j)}(h``struct eventpoll *ep``h]j)}(hjBh]hstruct eventpoll *ep}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chM hjBubj)}(hhh]h)}(hCthe :c:type:`struct eventpoll ` to be currently checked.h](hthe }(hjBhhhNhNubh)}(h&:c:type:`struct eventpoll `h]j)}(hjBh]hstruct eventpoll}(hjBhhhNhNubah}(h]h ](jKjc-typeeh"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]refdocjW refdomainjreftypetype refexplicitrefwarnjj]j` eventpolluh1hhjBhM hjBubh to be currently checked.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhjBhM hjBubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjBhM hjBubj)}(h7``int depth`` Current depth of the path being checked. h](j)}(h ``int depth``h]j)}(hjBh]h int depth}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhjBubj)}(hhh]h)}(h(Current depth of the path being checked.h]h(Current depth of the path being checked.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChMhjCubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjChMhjBubeh}(h]h ]h"]h$]h&]uh1jhjjBubh)}(h **Return**h]j)}(hj&Ch]hReturn}(hj(ChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$Cubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMhjjBubh)}(hEdepth of the subtree, or INT_MAX if we found a loop or went too deep.h]hEdepth of the subtree, or INT_MAX if we found a loop or went too deep.}(hjint 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}(hjkChhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjgChhhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMJubj)}(h h]h }(hjzChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgChhhjyChMJubj/)}(h ep_loop_checkh]j5)}(h ep_loop_checkh]h ep_loop_check}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjgChhhjyChMJubj)}(h,(struct eventpoll *ep, struct eventpoll *to)h](j)}(hstruct eventpoll *eph](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 eventpollh]h eventpoll}(hjChhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjCmodnameN classnameNjj)}j]j)}jjCsbc.ep_loop_checkasbuh1hhjCubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjCubj*)}(hj-h]h*}(hjChhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjCubj5)}(heph]hep}(hjDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjCubj)}(hstruct eventpoll *toh](j )}(hjzh]hstruct}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj)}(h h]h }(hj'DhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubh)}(hhh]j5)}(h eventpollh]h eventpoll}(hj8DhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5Dubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:DmodnameN classnameNjj)}j]jCc.ep_loop_checkasbuh1hhjDubj)}(h h]h }(hjVDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubj*)}(hj-h]h*}(hjdDhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjDubj5)}(htoh]hto}(hjqDhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjCubeh}(h]h ]h"]h$]h&]jLjMuh1jhjgChhhjyChMJubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjcChhhjyChMJubah}(h]j^Cah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjyChMJhj`Chhubjc)}(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 (}(hjDhhhNhNubj)}(h**to**h]hto}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh*) into another epoll file (represented by }(hjDhhhNhNubj)}(h**ep**h]hep}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubh2) does not create closed loops or too deep chains.}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMJhjDhhubah}(h]h ]h"]h$]h&]uh1jbhj`ChhhjyChMJubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhj8hNhNubj)}(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)}(hjDh]h Parameters}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMNhjDubj)}(hhh](j)}(hE``struct eventpoll *ep`` Pointer to the epoll we are inserting into. h](j)}(h``struct eventpoll *ep``h]j)}(hjEh]hstruct eventpoll *ep}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMNhjDubj)}(hhh]h)}(h+Pointer to the epoll we are inserting into.h]h+Pointer to the epoll we are inserting into.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhMNhjEubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhjEhMNhjDubj)}(h>``struct eventpoll *to`` Pointer to the epoll to be inserted. h](j)}(h``struct eventpoll *to``h]j)}(hj9Eh]hstruct eventpoll *to}(hj;EhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7Eubah}(h]h ]h"]h$]h&]uh1jhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMOhj3Eubj)}(hhh]h)}(h$Pointer to the epoll to be inserted.h]h$Pointer to the epoll to be inserted.}(hjREhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNEhMOhjOEubah}(h]h ]h"]h$]h&]uh1jhj3Eubeh}(h]h ]h"]h$]h&]uh1jhjNEhMOhjDubeh}(h]h ]h"]h$]h&]uh1jhjDubh)}(h **Return**h]j)}(hjtEh]hReturn}(hjvEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrEubah}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMQhjDubh)}(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}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh if adding the epoll }(hjEhhhNhNubj)}(h**to**h]hto}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh inside the epoll }(hjEhhhNhNubj)}(h**from**h]hfrom}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh& does not violate the constraints, or }(hjEhhhNhNubj)}(h``-1``h]h-1}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh otherwise.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhW/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:125: ./fs/eventpoll.chMQhjDubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj8hhhNhNubeh}(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}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhhhhhKubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sysfs_create_file_ns (C function)c.sysfs_create_file_nshNtauh1hhjEhhhNhNubh)}(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}(hjFhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjFhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMgubj)}(h h]h }(hj%FhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFhhhj$FhMgubj/)}(hsysfs_create_file_nsh]j5)}(hsysfs_create_file_nsh]hsysfs_create_file_ns}(hj7FhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj3Fubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjFhhhj$FhMgubj)}(hD(struct kobject *kobj, const struct attribute *attr, const void *ns)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjSFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjOFubj)}(h h]h }(hj`FhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOFubh)}(hhh]j5)}(hkobjecth]hkobject}(hjqFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjnFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjsFmodnameN classnameNjj)}j]j)}jj9Fsbc.sysfs_create_file_nsasbuh1hhjOFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjOFubj*)}(hj-h]h*}(hjFhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjOFubj5)}(hkobjh]hkobj}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjOFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjKFubj)}(hconst struct attribute *attrh](j )}(hjUh]hconst}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj )}(hjzh]hstruct}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjFubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubh)}(hhh]j5)}(h attributeh]h attribute}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNjj)}j]jFc.sysfs_create_file_nsasbuh1hhjFubj)}(h h]h }(hjGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjFubj*)}(hj-h]h*}(hj*GhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjFubj5)}(hattrh]hattr}(hj7GhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjFubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjKFubj)}(hconst void *nsh](j )}(hjUh]hconst}(hjPGhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjLGubj)}(h h]h }(hj]GhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLGubj)}(hvoidh]hvoid}(hjkGhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjLGubj)}(h h]h }(hjyGhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjLGubj*)}(hj-h]h*}(hjGhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjLGubj5)}(hnsh]hns}(hjGhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjLGubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjKFubeh}(h]h ]h"]h$]h&]jLjMuh1jhjFhhhj$FhMgubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjFhhhj$FhMgubah}(h]j Fah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj$FhMghj Fhhubjc)}(hhh]h)}(h5create an attribute file for an object with custom nsh]h5create an attribute file for an object with custom ns}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMghjGhhubah}(h]h ]h"]h$]h&]uh1jbhj Fhhhj$FhMgubeh}(h]h ](jfunctioneh"]h$]h&]jjjjGjjGjjjuh1hhhhjEhNhNubj)}(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)}(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:131: ./fs/sysfs/file.chMkhjGubj)}(hhh](j)}(h3``struct kobject *kobj`` object we're creating for h](j)}(h``struct kobject *kobj``h]j)}(hjGh]hstruct kobject *kobj}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhhjGubj)}(hhh]h)}(hobject we're creating forh]hobject we’re creating for}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhMhhjHubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhjHhMhhjGubj)}(h6``const struct attribute *attr`` attribute descriptor h](j)}(h ``const struct attribute *attr``h]j)}(hj8Hh]hconst struct attribute *attr}(hj:HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6Hubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMihj2Hubj)}(hhh]h)}(hattribute descriptorh]hattribute descriptor}(hjQHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMHhMihjNHubah}(h]h ]h"]h$]h&]uh1jhj2Hubeh}(h]h ]h"]h$]h&]uh1jhjMHhMihjGubj)}(h:``const void *ns`` namespace the new file should belong toh](j)}(h``const void *ns``h]j)}(hjqHh]hconst void *ns}(hjsHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoHubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMkhjkHubj)}(hhh]h)}(h'namespace the new file should belong toh]h'namespace the new file should belong to}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMjhjHubah}(h]h ]h"]h$]h&]uh1jhjkHubeh}(h]h ]h"]h$]h&]uh1jhjHhMkhjGubeh}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$sysfs_add_file_to_group (C function)c.sysfs_add_file_to_grouphNtauh1hhjEhhhNhNubh)}(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}(hjHhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjHhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjHhhhjHhMubj/)}(hsysfs_add_file_to_grouph]j5)}(hsysfs_add_file_to_grouph]hsysfs_add_file_to_group}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjHubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjHhhhjHhMubj)}(hG(struct kobject *kobj, const struct attribute *attr, const char *group)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubh)}(hhh]j5)}(hkobjecth]hkobject}(hj&IhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj#Iubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj(ImodnameN classnameNjj)}j]j)}jjHsbc.sysfs_add_file_to_groupasbuh1hhjIubj)}(h h]h }(hjFIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjIubj*)}(hj-h]h*}(hjTIhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjIubj5)}(hkobjh]hkobj}(hjaIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjIubj)}(hconst struct attribute *attrh](j )}(hjUh]hconst}(hjzIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvIubj )}(hjzh]hstruct}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvIubh)}(hhh]j5)}(h attributeh]h attribute}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjIubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjImodnameN classnameNjj)}j]jBIc.sysfs_add_file_to_groupasbuh1hhjvIubj)}(h h]h }(hjIhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvIubj*)}(hj-h]h*}(hjIhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjvIubj5)}(hattrh]hattr}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvIubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjIubj)}(hconst char *grouph](j )}(hjUh]hconst}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJubj)}(h h]h }(hjJhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubj)}(hcharh]hchar}(hj JhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjJubj)}(h h]h }(hj.JhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJubj*)}(hj-h]h*}(hjHash the attribute name and namespace tag and kill the victim.h]h>Hash the attribute name and namespace tag and kill the victim.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj Tubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#sysfs_remove_file_self (C function)c.sysfs_remove_file_selfhNtauh1hhjEhhhNhNubh)}(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}(hj UhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjUhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hj.UhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjUhhhj-UhMubj/)}(hsysfs_remove_file_selfh]j5)}(hsysfs_remove_file_selfh]hsysfs_remove_file_self}(hj@UhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj\ubj*)}(hj-h]h*}(hjL]hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj\ubj5)}(hattrh]hattr}(hjY]hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj\ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjm\ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj4\hhhjF\hMSubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj0\hhhjF\hMSubah}(h]j+\ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjF\hMShj-\hhubjc)}(hhh]h)}(hremove binary file for object.h]hremove binary file for object.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMShj]hhubah}(h]h ]h"]h$]h&]uh1jbhj-\hhhjF\hMSubeh}(h]h ](jfunctioneh"]h$]h&]jjjj]jj]jjjuh1hhhhjEhNhNubj)}(hp**Parameters** ``struct kobject *kobj`` object. ``const struct bin_attribute *attr`` attribute descriptor.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:131: ./fs/sysfs/file.chMWhj]ubj)}(hhh](j)}(h!``struct kobject *kobj`` object. 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:131: ./fs/sysfs/file.chMThj]ubj)}(hhh]h)}(hobject.h]hobject.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hMThj]ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]hMThj]ubj)}(h:``const struct bin_attribute *attr`` attribute descriptor.h](j)}(h$``const struct bin_attribute *attr``h]j)}(hj]h]h const struct bin_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:131: ./fs/sysfs/file.chMVhj]ubj)}(hhh]h)}(hattribute descriptor.h]hattribute descriptor.}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMUhj^ubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhj^hMVhj]ubeh}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$sysfs_file_change_owner (C function)c.sysfs_file_change_ownerhNtauh1hhjEhhhNhNubh)}(hhh](j)}(h^int sysfs_file_change_owner (struct kobject *kobj, const char *name, kuid_t kuid, kgid_t kgid)h]j)}(h]int sysfs_file_change_owner(struct kobject *kobj, const char *name, kuid_t kuid, kgid_t kgid)h](j)}(hinth]hint}(hjW^hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjS^hhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hjf^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjS^hhhje^hMubj/)}(hsysfs_file_change_ownerh]j5)}(hsysfs_file_change_ownerh]hsysfs_file_change_owner}(hjx^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjt^ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjS^hhhje^hMubj)}(hB(struct kobject *kobj, const char *name, kuid_t kuid, kgid_t kgid)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)}jjz^sbc.sysfs_file_change_ownerasbuh1hhj^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 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}(hjJ_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj^ubj)}(h kuid_t kuidh](h)}(hhh]j5)}(hkuid_th]hkuid_t}(hjf_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjc_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjh_modnameN classnameNjj)}j]j^c.sysfs_file_change_ownerasbuh1hhj__ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj__ubj5)}(hkuidh]hkuid}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj__ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj^ubj)}(h kgid_t kgidh](h)}(hhh]j5)}(hkgid_th]hkgid_t}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj_modnameN classnameNjj)}j]j^c.sysfs_file_change_ownerasbuh1hhj_ubj)}(h h]h }(hj_hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj_ubj5)}(hkgidh]hkgid}(hj_hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj^ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjS^hhhje^hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjO^hhhje^hMubah}(h]jJ^ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhje^hMhjL^hhubjc)}(hhh]h)}(hchange owner of a sysfs file.h]hchange owner of a sysfs file.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj`hhubah}(h]h ]h"]h$]h&]uh1jbhjL^hhhje^hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj`jj`jjjuh1hhhhjEhNhNubj)}(hX_**Parameters** ``struct kobject *kobj`` object. ``const char *name`` name of the file to change. ``kuid_t kuid`` new owner's kuid ``kgid_t kgid`` new owner's kgid **Description** This function looks up the sysfs entry **name** under **kobj** and changes the ownership to **kuid**/**kgid**. Returns 0 on success or error code 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&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj `ubj)}(hhh](j)}(h!``struct kobject *kobj`` object. h](j)}(h``struct kobject *kobj``h]j)}(hjE`h]hstruct kobject *kobj}(hjG`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC`ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj?`ubj)}(hhh]h)}(hobject.h]hobject.}(hj^`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZ`hMhj[`ubah}(h]h ]h"]h$]h&]uh1jhj?`ubeh}(h]h ]h"]h$]h&]uh1jhjZ`hMhj<`ubj)}(h1``const char *name`` name of the file to change. 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&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjx`ubj)}(hhh]h)}(hname of the file to change.h]hname of the file to change.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hMhj`ubah}(h]h ]h"]h$]h&]uh1jhjx`ubeh}(h]h ]h"]h$]h&]uh1jhj`hMhj<`ubj)}(h!``kuid_t kuid`` new owner's kuid h](j)}(h``kuid_t kuid``h]j)}(hj`h]h kuid_t kuid}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj`ubj)}(hhh]h)}(hnew owner's kuidh]hnew owner’s kuid}(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!``kgid_t kgid`` new owner's kgid h](j)}(h``kgid_t kgid``h]j)}(hj`h]h kgid_t kgid}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj`ubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj`ubj)}(hhh]h)}(hnew owner's kgidh]hnew owner’s kgid}(hj ahhhNhNubah}(h]h ]h"]h$]h&]uh1hhjahMhjaubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhjahMhj<`ubeh}(h]h ]h"]h$]h&]uh1jhj `ubh)}(h**Description**h]j)}(hj+ah]h Description}(hj-ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)aubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj `ubh)}(hnThis function looks up the sysfs entry **name** under **kobj** and changes the ownership to **kuid**/**kgid**.h](h'This function looks up the sysfs entry }(hjAahhhNhNubj)}(h**name**h]hname}(hjIahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAaubh under }(hjAahhhNhNubj)}(h**kobj**h]hkobj}(hj[ahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAaubh and changes the ownership to }(hjAahhhNhNubj)}(h**kuid**h]hkuid}(hjmahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAaubh/}(hjAahhhNhNubj)}(h**kgid**h]hkgid}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAaubh.}(hjAahhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj `ubh)}(h.Returns 0 on success or error code on failure.h]h.Returns 0 on success or error code on failure.}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj `ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_change_owner (C function)c.sysfs_change_ownerhNtauh1hhjEhhhNhNubh)}(hhh](j)}(hGint sysfs_change_owner (struct kobject *kobj, kuid_t kuid, kgid_t kgid)h]j)}(hFint sysfs_change_owner(struct kobject *kobj, kuid_t kuid, kgid_t kgid)h](j)}(hinth]hint}(hjahhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjahhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjahhhjahMubj/)}(hsysfs_change_ownerh]j5)}(hsysfs_change_ownerh]hsysfs_change_owner}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjahhhjahMubj)}(h0(struct kobject *kobj, kuid_t kuid, kgid_t kgid)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}(hj"bhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj$bmodnameN classnameNjj)}j]j)}jjasbc.sysfs_change_ownerasbuh1hhjbubj)}(h h]h }(hjBbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubj*)}(hj-h]h*}(hjPbhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjbubj5)}(hkobjh]hkobj}(hj]bhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubj)}(h kuid_t kuidh](h)}(hhh]j5)}(hkuid_th]hkuid_t}(hjybhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj{bmodnameN classnameNjj)}j]j>bc.sysfs_change_ownerasbuh1hhjrbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrbubj5)}(hkuidh]hkuid}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrbubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubj)}(h kgid_t kgidh](h)}(hhh]j5)}(hkgid_th]hkgid_t}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjbmodnameN classnameNjj)}j]j>bc.sysfs_change_ownerasbuh1hhjbubj)}(h h]h }(hjbhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbubj5)}(hkgidh]hkgid}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjbubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjaubeh}(h]h ]h"]h$]h&]jLjMuh1jhjahhhjahMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjahhhjahMubah}(h]jaah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjahMhjahhubjc)}(hhh]h)}(h!change owner of the given object.h]h!change owner of the given object.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjchhubah}(h]h ]h"]h$]h&]uh1jbhjahhhjahMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj/cjj/cjjjuh1hhhhjEhNhNubj)}(hX**Parameters** ``struct kobject *kobj`` object. ``kuid_t kuid`` new owner's kuid ``kgid_t kgid`` new owner's kgid **Description** Change the owner of the default directory, files, groups, and attributes of **kobj** to **kuid**/**kgid**. Note that sysfs_change_owner mirrors how the sysfs entries for a kobject are added by driver core. In summary, sysfs_change_owner() takes care of the default directory entry for **kobj**, the default attributes associated with the ktype of **kobj** and the default attributes associated with the ktype of **kobj**. Additional properties not added by driver core have to be changed by the driver or subsystem which created them. This is similar to how driver/subsystem specific entries are removed. Returns 0 on success or error code on failure.h](h)}(h**Parameters**h]j)}(hj9ch]h Parameters}(hj;chhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7cubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj3cubj)}(hhh](j)}(h!``struct kobject *kobj`` object. h](j)}(h``struct kobject *kobj``h]j)}(hjXch]hstruct kobject *kobj}(hjZchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVcubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjRcubj)}(hhh]h)}(hobject.h]hobject.}(hjqchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmchMhjncubah}(h]h ]h"]h$]h&]uh1jhjRcubeh}(h]h ]h"]h$]h&]uh1jhjmchMhjOcubj)}(h!``kuid_t kuid`` new owner's kuid h](j)}(h``kuid_t kuid``h]j)}(hjch]h kuid_t kuid}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjcubj)}(hhh]h)}(hnew owner's kuidh]hnew owner’s kuid}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchMhjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchMhjOcubj)}(h!``kgid_t kgid`` new owner's kgid h](j)}(h``kgid_t kgid``h]j)}(hjch]h kgid_t kgid}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjcubj)}(hhh]h)}(hnew owner's kgidh]hnew owner’s kgid}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhjchMhjcubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1jhjchMhjOcubeh}(h]h ]h"]h$]h&]uh1jhj3cubh)}(h**Description**h]j)}(hjdh]h Description}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj3cubh)}(hX\Change the owner of the default directory, files, groups, and attributes of **kobj** to **kuid**/**kgid**. Note that sysfs_change_owner mirrors how the sysfs entries for a kobject are added by driver core. In summary, sysfs_change_owner() takes care of the default directory entry for **kobj**, the default attributes associated with the ktype of **kobj** and the default attributes associated with the ktype of **kobj**. Additional properties not added by driver core have to be changed by the driver or subsystem which created them. This is similar to how driver/subsystem specific entries are removed.h](hLChange the owner of the default directory, files, groups, and attributes of }(hjdhhhNhNubj)}(h**kobj**h]hkobj}(hj#dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh to }(hjdhhhNhNubj)}(h**kuid**h]hkuid}(hj5dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh/}(hjdhhhNhNubj)}(h**kgid**h]hkgid}(hjGdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh. Note that sysfs_change_owner mirrors how the sysfs entries for a kobject are added by driver core. In summary, sysfs_change_owner() takes care of the default directory entry for }(hjdhhhNhNubj)}(h**kobj**h]hkobj}(hjYdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh6, the default attributes associated with the ktype of }(hjdhhhNhNubj)}(h**kobj**h]hkobj}(hjkdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh9 and the default attributes associated with the ktype of }(hjdhhhNhNubj)}(h**kobj**h]hkobj}(hj}dhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh. Additional properties not added by driver core have to be changed by the driver or subsystem which created them. This is similar to how driver/subsystem specific entries are removed.}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj3cubh)}(h.Returns 0 on success or error code on failure.h]h.Returns 0 on success or error code on failure.}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj3cubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_emit (C function) c.sysfs_emithNtauh1hhjEhhhNhNubh)}(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}(hjdhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjdhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hjdhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdhhhjdhMubj/)}(h sysfs_emith]j5)}(h sysfs_emith]h sysfs_emit}(hjdhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjdhhhjdhMubj)}(h!(char *buf, const char *fmt, ...)h](j)}(h char *bufh](j)}(hcharh]hchar}(hjehhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjdubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj*)}(hj-h]h*}(hjehhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjdubj5)}(hbufh]hbuf}(hj+ehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjdubj)}(hconst char *fmth](j )}(hjUh]hconst}(hjDehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj@eubj)}(h h]h }(hjQehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@eubj)}(hcharh]hchar}(hj_ehhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj@eubj)}(h h]h }(hjmehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj@eubj*)}(hj-h]h*}(hj{ehhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj@eubj5)}(hfmth]hfmt}(hjehhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj@eubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjdubj)}(h...h]j*)}(h...h]h...}(hjehhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjeubah}(h]h ]h"]h$]h&]noemphjLjMuh1jhjdubeh}(h]h ]h"]h$]h&]jLjMuh1jhjdhhhjdhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjdhhhjdhMubah}(h]jdah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjdhMhjdhhubjc)}(hhh]h)}(h0scnprintf equivalent, aware of PAGE_SIZE buffer.h]h0scnprintf equivalent, aware of PAGE_SIZE buffer.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjehhubah}(h]h ]h"]h$]h&]uh1jbhjdhhhjdhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjejjejjjuh1hhhhjEhNhNubj)}(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)}(hjeh]h Parameters}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjeubj)}(hhh](j)}(h)``char *buf`` start of PAGE_SIZE buffer. h](j)}(h ``char *buf``h]j)}(hj fh]h char *buf}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj fubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjfubj)}(hhh]h)}(hstart of PAGE_SIZE buffer.h]hstart of PAGE_SIZE buffer.}(hj%fhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!fhMhj"fubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1jhj!fhMhjfubj)}(h``const char *fmt`` format h](j)}(h``const char *fmt``h]j)}(hjEfh]hconst char *fmt}(hjGfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCfubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj?fubj)}(hhh]h)}(hformath]hformat}(hj^fhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZfhMhj[fubah}(h]h ]h"]h$]h&]uh1jhj?fubeh}(h]h ]h"]h$]h&]uh1jhjZfhMhjfubj)}(h)``...`` optional arguments to **format** h](j)}(h``...``h]j)}(hj~fh]h...}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj|fubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjxfubj)}(hhh]h)}(h optional arguments to **format**h](hoptional arguments to }(hjfhhhNhNubj)}(h **format**h]hformat}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubeh}(h]h ]h"]h$]h&]uh1hhjfhMhjfubah}(h]h ]h"]h$]h&]uh1jhjxfubeh}(h]h ]h"]h$]h&]uh1jhjfhMhjfubeh}(h]h ]h"]h$]h&]uh1jhjeubh)}(h**Description**h]j)}(hjfh]h Description}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjeubh)}(h0Returns number of characters written to **buf**.h](h(Returns number of characters written to }(hjfhhhNhNubj)}(h**buf**h]hbuf}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubh.}(hjfhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjeubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_emit_at (C function)c.sysfs_emit_athNtauh1hhjEhhhNhNubh)}(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}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjghhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hj-ghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjghhhj,ghMubj/)}(h sysfs_emit_ath]j5)}(h sysfs_emit_ath]h sysfs_emit_at}(hj?ghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;gubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjghhhj,ghMubj)}(h)(char *buf, int at, const char *fmt, ...)h](j)}(h char *bufh](j)}(hcharh]hchar}(hj[ghhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjWgubj)}(h h]h }(hjighhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjWgubj*)}(hj-h]h*}(hjwghhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjWgubj5)}(hbufh]hbuf}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWgubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjSgubj)}(hint ath](j)}(hinth]hint}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubj5)}(hath]hat}(hjghhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjSgubj)}(hconst char *fmth](j )}(hjUh]hconst}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubj)}(hcharh]hchar}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjgubj)}(h h]h }(hjghhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjgubj*)}(hj-h]h*}(hj hhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjgubj5)}(hfmth]hfmt}(hjhhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjgubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjSgubj)}(h...h]j*)}(hjeh]h...}(hj/hhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj+hubah}(h]h ]h"]h$]h&]noemphjLjMuh1jhjSgubeh}(h]h ]h"]h$]h&]jLjMuh1jhjghhhj,ghMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjghhhj,ghMubah}(h]jgah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj,ghMhjghhubjc)}(hhh]h)}(h0scnprintf equivalent, aware of PAGE_SIZE buffer.h]h0scnprintf equivalent, aware of PAGE_SIZE buffer.}(hjXhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjUhhhubah}(h]h ]h"]h$]h&]uh1jbhjghhhj,ghMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjphjjphjjjuh1hhhhjEhNhNubj)}(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)}(hjzhh]h Parameters}(hj|hhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxhubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjthubj)}(hhh](j)}(h)``char *buf`` start of PAGE_SIZE buffer. h](j)}(h ``char *buf``h]j)}(hjhh]h char *buf}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjhubj)}(hhh]h)}(hstart of PAGE_SIZE buffer.h]hstart of PAGE_SIZE buffer.}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMhjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjhubj)}(hX``int at`` offset in **buf** to start write in bytes **at** must be >= 0 && < PAGE_SIZE h](j)}(h ``int at``h]j)}(hjhh]hint at}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjhubj)}(hhh]h)}(hLoffset in **buf** to start write in bytes **at** must be >= 0 && < PAGE_SIZEh](h offset in }(hjhhhhNhNubj)}(h**buf**h]hbuf}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh to start write in bytes }(hjhhhhNhNubj)}(h**at**h]hat}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubh must be >= 0 && < PAGE_SIZE}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjhubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjhubj)}(h``const char *fmt`` format h](j)}(h``const char *fmt``h]j)}(hj0ih]hconst char *fmt}(hj2ihhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.iubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhj*iubj)}(hhh]h)}(hformath]hformat}(hjIihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEihMhjFiubah}(h]h ]h"]h$]h&]uh1jhj*iubeh}(h]h ]h"]h$]h&]uh1jhjEihMhjhubj)}(h&``...`` optional arguments to **fmt** h](j)}(h``...``h]j)}(hjiih]h...}(hjkihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjgiubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjciubj)}(hhh]h)}(hoptional arguments to **fmt**h](hoptional arguments to }(hjihhhNhNubj)}(h**fmt**h]hfmt}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]uh1hhj~ihMhjiubah}(h]h ]h"]h$]h&]uh1jhjciubeh}(h]h ]h"]h$]h&]uh1jhj~ihMhjhubeh}(h]h ]h"]h$]h&]uh1jhjthubh)}(h**Description**h]j)}(hjih]h Description}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjthubh)}(hBReturns number of characters written starting at &**buf**[**at**].h](h:Returns number of characters written starting at &**buf**[}(hjihhhNhNubj)}(h**at**h]hat}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubh].}(hjihhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjthubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'sysfs_bin_attr_simple_read (C function)c.sysfs_bin_attr_simple_readhNtauh1hhjEhhhNhNubh)}(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}(hj jhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj jubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjjmodnameN classnameNjj)}j]j)}jsysfs_bin_attr_simple_readsbc.sysfs_bin_attr_simple_readasbuh1hhjjhhhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMubj)}(h h]h }(hj.jhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjjhhhj-jhMubj/)}(hsysfs_bin_attr_simple_readh]j5)}(hj*jh]hsysfs_bin_attr_simple_read}(hj@jhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjread() 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)}(hjlh]h Parameters}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM hjlubj)}(hhh](j)}(h:``struct file *file`` attribute file which is being read. h](j)}(h``struct file *file``h]j)}(hjlh]hstruct file *file}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjlubj)}(hhh]h)}(h#attribute file which is being read.h]h#attribute file which is being read.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjlhMhjmubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjlubj)}(h@``struct kobject *kobj`` object to which the attribute belongs. h](j)}(h``struct kobject *kobj``h]j)}(hj#mh]hstruct kobject *kobj}(hj%mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!mubah}(h]h ]h"]h$]h&]uh1jhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chMhjmubj)}(hhh]h)}(h&object to which the attribute belongs.h]h&object to which the attribute belongs.}(hjread() 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 }(hjXnhhhNhNubj)}(h **private**h]hprivate}(hj`nhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXnubh and }(hjXnhhhNhNubj)}(h**size**h]hsize}(hjrnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXnubh~ members in struct bin_attribute must be set to the buffer’s location and size before the bin_attribute is created in sysfs.}(hjXnhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM#hjlubh)}(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 }(hjnhhhNhNubj)}(h**off**h]hoff}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh and }(hjnhhhNhNubj)}(h **count**h]hcount}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh: is done in sysfs_kf_bin_read(). Negative value check for }(hjnhhhNhNubj)}(h**off**h]hoff}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh. is done in vfs_setpos() and default_llseek().}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM'hjlubh)}(h+Returns number of bytes written to **buf**.h](h#Returns number of bytes written to }(hjnhhhNhNubj)}(h**buf**h]hbuf}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjnubh.}(hjnhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhX/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:131: ./fs/sysfs/file.chM*hjlubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hsysfs_create_link (C function)c.sysfs_create_linkhNtauh1hhjEhhhNhNubh)}(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}(hjohhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj ohhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKTubj)}(h h]h }(hj ohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj ohhhjohKTubj/)}(hsysfs_create_linkh]j5)}(hsysfs_create_linkh]hsysfs_create_link}(hj2ohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj.oubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj ohhhjohKTubj)}(h@(struct kobject *kobj, struct kobject *target, const char *name)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjNohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjJoubj)}(h h]h }(hj[ohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJoubh)}(hhh]j5)}(hkobjecth]hkobject}(hjlohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjioubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjnomodnameN classnameNjj)}j]j)}jj4osbc.sysfs_create_linkasbuh1hhjJoubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjJoubj*)}(hj-h]h*}(hjohhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjJoubj5)}(hkobjh]hkobj}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjJoubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFoubj)}(hstruct kobject *targeth](j )}(hjzh]hstruct}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubh)}(hhh]j5)}(hkobjecth]hkobject}(hjohhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjomodnameN classnameNjj)}j]joc.sysfs_create_linkasbuh1hhjoubj)}(h h]h }(hjohhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjoubj*)}(hj-h]h*}(hj phhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjoubj5)}(htargeth]htarget}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFoubj)}(hconst char *nameh](j )}(hjUh]hconst}(hj0phhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj,pubj)}(h h]h }(hj=phhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,pubj)}(hcharh]hchar}(hjKphhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj,pubj)}(h h]h }(hjYphhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,pubj*)}(hj-h]h*}(hjgphhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj,pubj5)}(hnameh]hname}(hjtphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,pubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjFoubeh}(h]h ]h"]h$]h&]jLjMuh1jhj ohhhjohKTubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj ohhhjohKTubah}(h]joah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjohKThjohhubjc)}(hhh]h)}(h#create symlink between two objects.h]h#create symlink between two objects.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKThjphhubah}(h]h ]h"]h$]h&]uh1jbhjohhhjohKTubeh}(h]h ](jfunctioneh"]h$]h&]jjjjpjjpjjjuh1hhhhjEhNhNubj)}(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)}(hjph]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKXhjpubj)}(hhh](j)}(hL``struct kobject *kobj`` object whose directory we're creating the link in. h](j)}(h``struct kobject *kobj``h]j)}(hjph]hstruct kobject *kobj}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKUhjpubj)}(hhh]h)}(h2object whose directory we're creating the link in.h]h4object whose directory we’re creating the link in.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphKUhjpubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhjphKUhjpubj)}(h5``struct kobject *target`` object we're pointing to. h](j)}(h``struct kobject *target``h]j)}(hjqh]hstruct kobject *target}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKVhjqubj)}(hhh]h)}(hobject we're pointing to.h]hobject we’re pointing to.}(hj1qhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-qhKVhj.qubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhj-qhKVhjpubj)}(h)``const char *name`` name of the symlink.h](j)}(h``const char *name``h]j)}(hjQqh]hconst char *name}(hjSqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOqubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKXhjKqubj)}(hhh]h)}(hname of the symlink.h]hname of the symlink.}(hjjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKWhjgqubah}(h]h ]h"]h$]h&]uh1jhjKqubeh}(h]h ]h"]h$]h&]uh1jhjfqhKXhjpubeh}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%sysfs_create_link_nowarn (C function)c.sysfs_create_link_nowarnhNtauh1hhjEhhhNhNubh)}(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}(hjqhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjqhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKaubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqhhhjqhKaubj/)}(hsysfs_create_link_nowarnh]j5)}(hsysfs_create_link_nowarnh]hsysfs_create_link_nowarn}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjqhhhjqhKaubj)}(h@(struct kobject *kobj, struct kobject *target, const char *name)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjqubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubh)}(hhh]j5)}(hkobjecth]hkobject}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjrmodnameN classnameNjj)}j]j)}jjqsbc.sysfs_create_link_nowarnasbuh1hhjqubj)}(h h]h }(hj&rhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqubj*)}(hj-h]h*}(hj4rhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjqubj5)}(hkobjh]hkobj}(hjArhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjqubj)}(hstruct kobject *targeth](j )}(hjzh]hstruct}(hjZrhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjVrubj)}(h h]h }(hjgrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVrubh)}(hhh]j5)}(hkobjecth]hkobject}(hjxrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjurubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjzrmodnameN classnameNjj)}j]j"rc.sysfs_create_link_nowarnasbuh1hhjVrubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjVrubj*)}(hj-h]h*}(hjrhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjVrubj5)}(htargeth]htarget}(hjrhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjVrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjqubj)}(hconst char *nameh](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)}(hnameh]hname}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjqubeh}(h]h ]h"]h$]h&]jLjMuh1jhjqhhhjqhKaubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjqhhhjqhKaubah}(h]jqah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjqhKahjqhhubjc)}(hhh]h)}(h#create symlink between two objects.h]h#create symlink between two objects.}(hj8shhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKahj5shhubah}(h]h ]h"]h$]h&]uh1jbhjqhhhjqhKaubeh}(h]h ](jfunctioneh"]h$]h&]jjjjPsjjPsjjjuh1hhhhjEhNhNubj)}(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)}(hjZsh]h Parameters}(hj\shhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXsubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKehjTsubj)}(hhh](j)}(hL``struct kobject *kobj`` object whose directory we're creating the link in. h](j)}(h``struct kobject *kobj``h]j)}(hjysh]hstruct kobject *kobj}(hj{shhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwsubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKbhjssubj)}(hhh]h)}(h2object whose directory we're creating the link in.h]h4object whose directory we’re creating the link in.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshKbhjsubah}(h]h ]h"]h$]h&]uh1jhjssubeh}(h]h ]h"]h$]h&]uh1jhjshKbhjpsubj)}(h5``struct kobject *target`` object we're pointing to. h](j)}(h``struct kobject *target``h]j)}(hjsh]hstruct kobject *target}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKchjsubj)}(hhh]h)}(hobject we're pointing to.h]hobject we’re pointing to.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshKchjsubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjshKchjpsubj)}(h*``const char *name`` name of the symlink. h](j)}(h``const char *name``h]j)}(hjsh]hconst char *name}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKdhjsubj)}(hhh]h)}(hname of the symlink.h]hname of the symlink.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthKdhjtubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1jhjthKdhjpsubeh}(h]h ]h"]h$]h&]uh1jhjTsubh)}(h**Description**h]j)}(hj&th]h Description}(hj(thhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$tubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKfhjTsubj{)}(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@thhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKehjvoid sysfs_remove_link(struct kobject *kobj, const char *name)h](j)}(hvoidh]hvoid}(hjuthhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjqthhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjqthhhjthKubj/)}(hsysfs_remove_linkh]j5)}(hsysfs_remove_linkh]hsysfs_remove_link}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjqthhhjthKubj)}(h((struct kobject *kobj, const char *name)h](j)}(hstruct kobject *kobjh](j )}(hjzh]hstruct}(hjthhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubh)}(hhh]j5)}(hkobjecth]hkobject}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjtmodnameN classnameNjj)}j]j)}jjtsbc.sysfs_remove_linkasbuh1hhjtubj)}(h h]h }(hjthhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubj*)}(hj-h]h*}(hjthhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjtubj5)}(hkobjh]hkobj}(hj uhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjtubj)}(hconst char *nameh](j )}(hjUh]hconst}(hj$uhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj uubj)}(h h]h }(hj1uhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj uubj)}(hcharh]hchar}(hj?uhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj uubj)}(h h]h }(hjMuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj uubj*)}(hj-h]h*}(hj[uhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj uubj5)}(hnameh]hname}(hjhuhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj uubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjtubeh}(h]h ]h"]h$]h&]jLjMuh1jhjqthhhjthKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjmthhhjthKubah}(h]jhtah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjthKhjjthhubjc)}(hhh]h)}(h%remove symlink in object's directory.h]h'remove symlink in object’s directory.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjuhhubah}(h]h ]h"]h$]h&]uh1jbhjjthhhjthKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjujjujjjuh1hhhhjEhNhNubj)}(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)}(hjuh]h Parameters}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjuubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hjuh]hstruct kobject *kobj}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjuubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhKhjuubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1jhjuhKhjuubj)}(h3``const char *name`` name of the symlink to remove.h](j)}(h``const char *name``h]j)}(hj vh]hconst char *name}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj vubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjvubj)}(hhh]h)}(hname of the symlink to remove.h]hname of the symlink to remove.}(hj%vhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhj"vubah}(h]h ]h"]h$]h&]uh1jhjvubeh}(h]h ]h"]h$]h&]uh1jhj!vhKhjuubeh}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjEhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!sysfs_rename_link_ns (C function)c.sysfs_rename_link_nshNtauh1hhjEhhhNhNubh)}(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}(hjfvhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjbvhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKubj)}(h h]h }(hjuvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjbvhhhjtvhKubj/)}(hsysfs_rename_link_nsh]j5)}(hsysfs_rename_link_nsh]hsysfs_rename_link_ns}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjbvhhhjtvhKubj)}(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}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubh)}(hhh]j5)}(hkobjecth]hkobject}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNjj)}j]j)}jjvsbc.sysfs_rename_link_nsasbuh1hhjvubj)}(h h]h }(hjvhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubj*)}(hj-h]h*}(hjvhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjvubj5)}(hkobjh]hkobj}(hjvhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjvubj)}(hstruct kobject *targh](j )}(hjzh]hstruct}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj)}(h h]h }(hj"whhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubh)}(hhh]j5)}(hkobjecth]hkobject}(hj3whhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0wubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5wmodnameN classnameNjj)}j]jvc.sysfs_rename_link_nsasbuh1hhjwubj)}(h h]h }(hjQwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubj*)}(hj-h]h*}(hj_whhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjwubj5)}(htargh]htarg}(hjlwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjvubj)}(hconst char *oldh](j )}(hjUh]hconst}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubj)}(hcharh]hchar}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubj*)}(hj-h]h*}(hjwhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjwubj5)}(holdh]hold}(hjwhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjvubj)}(hconst char *newh](j )}(hjUh]hconst}(hjwhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjwubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubj)}(hcharh]hchar}(hjwhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjwubj)}(h h]h }(hj xhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjwubj*)}(hj-h]h*}(hjxhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjwubj5)}(hnewh]hnew}(hj&xhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjvubj)}(hconst void *new_nsh](j )}(hjUh]hconst}(hj?xhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj;xubj)}(h h]h }(hjLxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;xubj)}(hvoidh]hvoid}(hjZxhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj;xubj)}(h h]h }(hjhxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj;xubj*)}(hj-h]h*}(hjvxhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj;xubj5)}(hnew_nsh]hnew_ns}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj;xubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjvubeh}(h]h ]h"]h$]h&]jLjMuh1jhjbvhhhjtvhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj^vhhhjtvhKubah}(h]jYvah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjtvhKhj[vhhubjc)}(hhh]h)}(h%rename symlink in object's directory.h]h'rename symlink in object’s directory.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjxhhubah}(h]h ]h"]h$]h&]uh1jbhj[vhhhjtvhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjxjjxjjjuh1hhhhjEhNhNubj)}(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)}(hjxh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjxubj)}(hhh](j)}(h2``struct kobject *kobj`` object we're acting for. h](j)}(h``struct kobject *kobj``h]j)}(hjxh]hstruct kobject *kobj}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhjxubj)}(hhh]h)}(hobject we're acting for.h]hobject we’re acting for.}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjyhKhjyubah}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]uh1jhjyhKhjxubj)}(h3``struct kobject *targ`` object we're pointing to. h](j)}(h``struct kobject *targ``h]j)}(hj'yh]hstruct kobject *targ}(hj)yhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%yubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:134: ./fs/sysfs/symlink.chKhj!yubj)}(hhh]h)}(hobject we're pointing to.h]hobject we’re pointing to.}(hj@yhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjopen() is still protected by debugfs though. Any struct file_operations defined by means of DEFINE_DEBUGFS_ATTRIBUTE() is protected against file removals and thus, may be used here.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h;``umode_t mode`` the permission that the file should have. h](j)}(h``umode_t mode``h]j)}(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:143: ./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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hj*h]hstruct dentry *parent}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.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]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.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj@ubah}(h]h ]h"]h$]h&]uh1jhj$ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhjubj)}(h``void *data`` a pointer to something that the caller will want to get to later on. The inode.i_private pointer will point to this value on the open() call. h](j)}(h``void *data``h]j)}(hjdh]h void *data}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj^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.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjzubah}(h]h ]h"]h$]h&]uh1jhj^ubeh}(h]h ]h"]h$]h&]uh1jhjyhMhjubj)}(hp``const struct file_operations *fops`` a pointer to a struct file_operations that should be used for this file. h](j)}(h&``const struct file_operations *fops``h]j)}(hjh]h"const struct file_operations *fops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjubj)}(hhh]h)}(hHa pointer to a struct file_operations that should be used for this file.h]hHa pointer to a struct file_operations that should be used for this file.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./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:143: ./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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./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:143: ./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:143: ./fs/debugfs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%debugfs_create_file_size (C function)c.debugfs_create_file_sizehNtauh1hhj[zhhhNhNubh)}(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&]uh1jhj9hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMubj)}(h h]h }(hjLhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj9hhhjKhMubj/)}(hdebugfs_create_file_sizeh]j5)}(hdebugfs_create_file_sizeh]hdebugfs_create_file_size}(hj^hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj9hhhjKhMubj)}(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}(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)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjrubj)}(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)}jj`sbc.debugfs_create_file_sizeasbuh1hhjӁ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&]noemphjLjMuh1jhjrubj)}(hstruct dentry *parenth](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)}(hdentryh]hdentry}(hj?hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj<ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjAmodnameN classnameNjj)}j]jc.debugfs_create_file_sizeasbuh1hhjubj)}(h h]h }(hj]hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjkhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjxhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjrubj)}(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&]noemphjLjMuh1jhjrubj)}(h"const struct file_operations *fopsh](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 )}(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)}(hfile_operationsh]hfile_operations}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.debugfs_create_file_sizeasbuh1hhjςubj)}(h h]h }(hj*hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjςubj*)}(hj-h]h*}(hj8hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjςubj5)}(hfopsh]hfops}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjςubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjrubj)}(hloff_t file_sizeh](h)}(hhh]j5)}(hloff_th]hloff_t}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj^ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjcmodnameN classnameNjj)}j]jc.debugfs_create_file_sizeasbuh1hhjZubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjZubj5)}(h file_sizeh]h file_size}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjZubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjrubeh}(h]h ]h"]h$]h&]jLjMuh1jhj9hhhjKhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj5hhhjKhMubah}(h]j0ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjKhMhj2hhubjc)}(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:143: ./fs/debugfs/inode.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhj2hhhjKhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjσjjσjjjuh1hhhhj[zhNhNubj)}(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:143: ./fs/debugfs/inode.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&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj hMhjubj)}(h;``umode_t mode`` the permission that the file should have. h](j)}(h``umode_t mode``h]j)}(hj1h]h umode_t mode}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj+ubj)}(hhh]h)}(h)the permission that the file should have.h]h)the permission that the file should have.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhMhjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhMhjubj)}(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)}(hjjh]hstruct dentry *parent}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM hjdubj)}(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:143: ./fs/debugfs/inode.chMhjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(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:143: ./fs/debugfs/inode.chM hjubj)}(hhh]h)}(ha pointer to something that the caller will want to get to later on. The inode.i_private pointer will point to this value on the open() call.h]ha pointer to something that the caller will want to get to later on. The inode.i_private pointer will point to this value on the open() call.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM hjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj܄ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhj؄ubj)}(hhh]h)}(hHa pointer to a struct file_operations that should be used for this file.h]hHa pointer to a struct file_operations that should be used for this file.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM hjubah}(h]h ]h"]h$]h&]uh1jhj؄ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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:143: ./fs/debugfs/inode.chMhjubj)}(hhh]h)}(hinitial file sizeh]hinitial file size}(hj1hhhNhNubah}(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)}(hjSh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjӃubh)}(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.)}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjӃubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_dir (C function)c.debugfs_create_dirhNtauh1hhj[zhhhNhNubh)}(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:143: ./fs/debugfs/inode.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)}jdebugfs_create_dirsbc.debugfs_create_dirasbuh1hhjhhhjhM#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/)}(hdebugfs_create_dirh]j5)}(hjՅh]hdebugfs_create_dir}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM#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}(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)}(hnameh]hname}(hjVhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(hstruct dentry *parenth](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)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jӅc.debugfs_create_dirasbuh1hhjkubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjkubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjkubj5)}(hparenth]hparent}(hjƆhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjkubeh}(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,create a directory in the debugfs filesystemh]h,create a directory in the debugfs filesystem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM#hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM#ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[zhNhNubj)}(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:143: ./fs/debugfs/inode.chM'hj ubj)}(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)}(hj1h]hconst char *name}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM%hj+ubj)}(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.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM$hjGubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhjFhM%hj(ubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the directory will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjkh]hstruct dentry *parent}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM(hjeubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM&hjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjhM(hj(ubeh}(h]h ]h"]h$]h&]uh1jhj ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM*hj ubh)}(hAThis function creates a directory in debugfs with the given name.h]hAThis function creates a directory in debugfs with the given name.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM)hj ubh)}(hX(This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the file is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned.h]hX(This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the file is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned.}(hj̇hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM+hj 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 -}(hjۇhhhNhNubj)}(h ``ENODEV``h]hENODEV}(hjhhhNhNubah}(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:143: ./fs/debugfs/inode.chM1hj ubh)}(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:143: ./fs/debugfs/inode.chM4hj ubh)}(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:143: ./fs/debugfs/inode.chM5hj ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%debugfs_create_automount (C function)c.debugfs_create_automounthNtauh1hhj[zhhhNhNubh)}(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}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj?hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMWubj)}(h h]h }(hjQhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?hhhjPhMWubh)}(hhh]j5)}(hdentryh]hdentry}(hjbhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj_ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjdmodnameN classnameNjj)}j]j)}jdebugfs_create_automountsbc.debugfs_create_automountasbuh1hhj?hhhjPhMWubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj?hhhjPhMWubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj?hhhjPhMWubj/)}(hdebugfs_create_automounth]j5)}(hjh]hdebugfs_create_automount}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj?hhhjPhMWubj)}(hL(const char *name, struct dentry *parent, debugfs_automount_t f, void *data)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 }(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)}(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}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj5ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj:modnameN classnameNjj)}j]j~c.debugfs_create_automountasbuh1hhjubj)}(h h]h }(hjVhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjdhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjqhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(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]j~c.debugfs_create_automountasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hjFh]hf}(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 }(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&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj?hhhjPhMWubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj;hhhjPhMWubah}(h]j6ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjPhMWhj8hhubjc)}(hhh]h)}(h0create automount point in the debugfs filesystemh]h0create automount point in the debugfs filesystem}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMWhj!hhubah}(h]h ]h"]h$]h&]uh1jbhj8hhhjPhMWubeh}(h]h ](jfunctioneh"]h$]h&]jjjj<jj<jjjuh1hhhhj[zhNhNubj)}(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)}(hjFh]h Parameters}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./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)}(hjeh]hconst char *name}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMXhj_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&]uh1hhjzhMXhj{ubah}(h]h ]h"]h$]h&]uh1jhj_ubeh}(h]h ]h"]h$]h&]uh1jhjzhMXhj\ubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./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:143: ./fs/debugfs/inode.chMYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM[hj\ubj)}(h\``debugfs_automount_t f`` function to be called when pathname resolution steps on that one. h](j)}(h``debugfs_automount_t f``h]j)}(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:143: ./fs/debugfs/inode.chM\hjҊubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM\hjubah}(h]h ]h"]h$]h&]uh1jhjҊubeh}(h]h ]h"]h$]h&]uh1jhjhM\hj\ubj)}(h/``void *data`` opaque argument to pass to f(). h](j)}(h``void *data``h]j)}(hjh]h void *data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM]hj ubj)}(hhh]h)}(hopaque argument to pass to f().h]hopaque argument to pass to f().}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hM]hj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hM]hj\ubeh}(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&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM_hj@ubh)}(h/**f** should return what ->d_automount() would.h](j)}(h**f**h]hf}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubh* should return what ->d_automount() would.}(hjbhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM^hj@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h#debugfs_create_symlink (C function)c.debugfs_create_symlinkhNtauh1hhj[zhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./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_symlinksbc.debugfs_create_symlinkasbuh1hhjhhhjhMubj)}(h h]h }(hjߋhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjhhhjhMubj/)}(hdebugfs_create_symlinkh]j5)}(hj܋h]hdebugfs_create_symlink}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(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 }(hj&hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hj4hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjBhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjPhhhNhNubah}(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}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubh)}(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_symlinkasbuh1hhjrubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjrubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjrubj5)}(hparenth]hparent}(hj͌hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjrubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hconst char *targeth](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)}(htargeth]htarget}(hj*hhhNhNubah}(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]h)}(h0create a symbolic link in the debugfs filesystemh]h0create a symbolic link in the debugfs filesystem}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjQhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjljjljjjuh1hhhhj[zhNhNubj)}(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)}(hjvh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjpubj)}(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:143: ./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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(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:143: ./fs/debugfs/inode.chMhjɍubj)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjubah}(h]h ]h"]h$]h&]uh1jhjɍubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(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)}(hj h]hconst char *target}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./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.}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjpubh)}(h**Description**h]j)}(hjEh]h Description}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjpubh)}(hiThis function creates a symbolic link with the given name in debugfs that links to the given target path.h]hiThis function creates a symbolic link with the given name in debugfs that links to the given target path.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjpubh)}(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.}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjpubh)}(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 -}(hjyhhhNhNubj)}(h ``ENODEV``h]hENODEV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubh will be returned.}(hjyhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_remove (C function)c.debugfs_removehNtauh1hhj[zhhhNhNubh)}(hhh](j)}(h+void debugfs_remove (struct dentry *dentry)h]j)}(h*void debugfs_remove(struct dentry *dentry)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMubj)}(h h]h }(hjɎhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjȎhMubj/)}(hdebugfs_removeh]j5)}(hdebugfs_removeh]hdebugfs_remove}(hjێhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj׎ubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjȎhMubj)}(h(struct dentry *dentry)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.debugfs_removeasbuh1hhjubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjChhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hdentryh]hdentry}(hjPhhhNhNubah}(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)}(hrecursively removes a directoryh]hrecursively removes a directory}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjwhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjȎhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[zhNhNubj)}(hX**Parameters** ``struct dentry *dentry`` a pointer to a the dentry of the directory to be removed. If this parameter is NULL or an error value, nothing will be done. **Description** This function recursively removes a directory tree in debugfs that was previously created with a call to another debugfs function (like debugfs_create_file() or variants thereof.) This function is required to be called in order for the file to be removed, no automatic cleanup of files will happen when a module is removed, you are responsible here.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjubj)}(hhh]j)}(h``struct dentry *dentry`` a pointer to a the dentry of the directory to be removed. If this parameter is NULL or an error value, nothing will be done. h](j)}(h``struct dentry *dentry``h]j)}(hjh]hstruct dentry *dentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjubj)}(hhh]h)}(h}a pointer to a the dentry of the directory to be removed. If this parameter is NULL or an error value, nothing will be done.h]h}a pointer to a the dentry of the directory to be removed. If this parameter is NULL or an error value, nothing will be done.}(hjԏhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjя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&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./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.)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./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:143: ./fs/debugfs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h&debugfs_lookup_and_remove (C function)c.debugfs_lookup_and_removehNtauh1hhj[zhhhNhNubh)}(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}(hjKhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjGhhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMubj)}(h h]h }(hjZhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjGhhhjYhMubj/)}(hdebugfs_lookup_and_removeh]j5)}(hdebugfs_lookup_and_removeh]hdebugfs_lookup_and_remove}(hjlhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjhubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjGhhhjYhMubj)}(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&]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)}jjnsbc.debugfs_lookup_and_removeasbuh1hhjubj)}(h h]h }(hj#hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj1hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hj>hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjGhhhjYhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjChhhjYhMubah}(h]j>ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjYhMhj@hhubjc)}(hhh]h)}(h4lookup a directory or file and recursively remove ith]h4lookup a directory or file and recursively remove it}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjehhubah}(h]h ]h"]h$]h&]uh1jbhj@hhhjYhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[zhNhNubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjubj)}(hhh](j)}(hW``const char *name`` a pointer to a string containing the name of the item to look up. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjubj)}(hhh]h)}(hAa pointer to a string containing the name of the item to look up.h]hAa pointer to a string containing the name of the item to look up.}(hj‘hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hF``struct dentry *parent`` a pointer to the parent dentry of the item. h](j)}(h``struct dentry *parent``h]j)}(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:143: ./fs/debugfs/inode.chMhjܑubj)}(hhh]h)}(h+a pointer to the parent dentry of the item.h]h+a pointer to the parent dentry of the item.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjܑubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjubh)}(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.}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h debugfs_change_name (C function)c.debugfs_change_namehNtauh1hhj[zhhhNhNubh)}(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}(hjbhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj^hhh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM)ubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj^hhhjphM)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.hj^hhhjphM)ubj)}(h-(struct dentry *dentry, const char *fmt, ...)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.debugfs_change_nameasbuh1hhjubj)}(h h]h }(hjݒhhhNhNubah}(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)}(hconst char *fmth](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)}(hfmth]hfmt}(hjUhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h...h]j*)}(hjeh]h...}(hjnhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjjubah}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj^hhhjphM)ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjZhhhjphM)ubah}(h]jUah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjphM)hjWhhubjc)}(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:143: ./fs/debugfs/inode.chM)hjhhubah}(h]h ]h"]h$]h&]uh1jbhjWhhhjphM)ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[zhNhNubj)}(hX**Parameters** ``struct dentry *dentry`` dentry of an object to be renamed. ``const char *fmt`` format for new name ``...`` variable arguments **Description** This function renames a file/directory in debugfs. The target must not exist for rename to succeed. This function will return 0 on success and -E... on failure. If debugfs is not enabled in the kernel, the value -``ENODEV`` will be returned.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM-hjubj)}(hhh](j)}(h=``struct dentry *dentry`` dentry of an object to be renamed. h](j)}(h``struct dentry *dentry``h]j)}(hjؓh]hstruct dentry *dentry}(hjړhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj֓ubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM*hjғubj)}(hhh]h)}(h"dentry of an object to be renamed.h]h"dentry of an object to be renamed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM*hjubah}(h]h ]h"]h$]h&]uh1jhjғubeh}(h]h ]h"]h$]h&]uh1jhjhM*hjϓubj)}(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:143: ./fs/debugfs/inode.chM+hj ubj)}(hhh]h)}(hformat for new nameh]hformat for new name}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&hM+hj'ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj&hM+hjϓubj)}(h``...`` variable arguments h](j)}(h``...``h]j)}(hjJh]h...}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]uh1jh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chKhjDubj)}(hhh]h)}(hvariable argumentsh]hvariable arguments}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_hKhj`ubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1jhj_hKhjϓubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chKhjubh)}(hdThis function renames a file/directory in debugfs. The target must not exist for rename to succeed.h]hdThis function renames a file/directory in debugfs. The target must not exist for rename to succeed.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh[/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:143: ./fs/debugfs/inode.chM,hjubh)}(h(struct file *file, struct debugfs_cancellation *cancellation)h](j)}(hstruct file *fileh](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)}(hfileh]hfile}(hjzhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjwubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj|modnameN classnameNjj)}j]j)}jjBsbc.debugfs_enter_cancellationasbuh1hhjXubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjXubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjXubj5)}(hfileh]hfile}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjXubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjTubj)}(h)struct debugfs_cancellation *cancellationh](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)}(hdebugfs_cancellationh]hdebugfs_cancellation}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.debugfs_enter_cancellationasbuh1hhjʙ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)}(h cancellationh]h cancellation}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjʙubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjTubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhj-hKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhj-hKubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj-hKhjhhubjc)}(hhh]h)}(henter a debugfs cancellationh]henter a debugfs cancellation}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjLhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj-hKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjgjjgjjjuh1hhhhj[zhNhNubj)}(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)}(hjqh]h Parameters}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjkubj)}(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:146: ./fs/debugfs/file.chKhjubj)}(hhh]h)}(hthe file being accessedh]hthe file being accessed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(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)}(hjɚh]h)struct debugfs_cancellation *cancellation}(hj˚hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjǚubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjÚubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjߚubah}(h]h ]h"]h$]h&]uh1jhjÚubeh}(h]h ]h"]h$]h&]uh1jhjޚhKhjubeh}(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&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjkubh)}(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:146: ./fs/debugfs/file.chKhjkubh)}(hXThis function can be used inside a debugfs handler that may need to be cancelled. As soon as this function is called, the cancellation's 'cancel' callback may be called, at which point the caller should proceed to call debugfs_leave_cancellation() and leave the debugfs handler function as soon as possible. Note that the 'cancel' callback is only ever called in the context of some kind of debugfs_remove().h]hXThis function can be used inside a debugfs handler that may need to be cancelled. As soon as this function is called, the cancellation’s ‘cancel’ callback may be called, at which point the caller should proceed to call debugfs_leave_cancellation() and leave the debugfs handler function as soon as possible. Note that the ‘cancel’ callback is only ever called in the context of some kind of debugfs_remove().}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjkubh)}(h?This function must be paired with debugfs_leave_cancellation().h]h?This function must be paired with debugfs_leave_cancellation().}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjkubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h'debugfs_leave_cancellation (C function)c.debugfs_leave_cancellationhNtauh1hhj[zhhhNhNubh)}(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}(hjhhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjdhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdhhhjvhKubj/)}(hdebugfs_leave_cancellationh]j5)}(hdebugfs_leave_cancellationh]hdebugfs_leave_cancellation}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjdhhhjvhKubj)}(h>(struct file *file, struct debugfs_cancellation *cancellation)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}(hjÛhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjśmodnameN classnameNjj)}j]j)}jjsbc.debugfs_leave_cancellationasbuh1hhjubj)}(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)}(h)struct debugfs_cancellation *cancellationh](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)}(hdebugfs_cancellationh]hdebugfs_cancellation}(hj5hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj7modnameN classnameNjj)}j]jߛc.debugfs_leave_cancellationasbuh1hhjubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjahhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(h cancellationh]h cancellation}(hjnhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjdhhhjvhKubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj`hhhjvhKubah}(h]j[ah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjvhKhj]hhubjc)}(hhh]h)}(hleave cancellation sectionh]hleave cancellation section}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjhhubah}(h]h ]h"]h$]h&]uh1jbhj]hhhjvhKubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[zhNhNubj)}(hX**Parameters** ``struct file *file`` the file being accessed ``struct debugfs_cancellation *cancellation`` the cancellation previously registered with debugfs_enter_cancellation() **Description** See the documentation of debugfs_enter_cancellation().h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjubj)}(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:146: ./fs/debugfs/file.chKhjӜubj)}(hhh]h)}(hthe file being accessedh]hthe file being accessed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1jhjӜubeh}(h]h ]h"]h$]h&]uh1jhjhKhjМubj)}(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:146: ./fs/debugfs/file.chKhj ubj)}(hhh]h)}(hHthe cancellation previously registered with debugfs_enter_cancellation()h]hHthe cancellation previously registered with debugfs_enter_cancellation()}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhj(ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj'hKhjМubeh}(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&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjubh)}(h6See the documentation of debugfs_enter_cancellation().h]h6See the documentation of debugfs_enter_cancellation().}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chKhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_u8 (C function)c.debugfs_create_u8hNtauh1hhj[zhhhNhNubh)}(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:146: ./fs/debugfs/file.chMQubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMQubj/)}(hdebugfs_create_u8h]j5)}(hdebugfs_create_u8h]hdebugfs_create_u8}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMQubj)}(hB(const char *name, umode_t mode, struct dentry *parent, u8 *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}(hj0hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj-ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj2modnameN classnameNjj)}j]j)}jjsbc.debugfs_create_u8asbuh1hhj)ubj)}(h h]h }(hjPhhhNhNubah}(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}(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]jLc.debugfs_create_u8asbuh1hhjsubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjsubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjsubj5)}(hparenth]hparent}(hjΞhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjsubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjȝubj)}(h u8 *valueh](h)}(hhh]j5)}(hu8h]hu8}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jLc.debugfs_create_u8asbuh1hhjubj)}(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&]jLjMuh1jhjhhhjhMQubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMQubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMQhjhhubjc)}(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}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMQhjJhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMQubeh}(h]h ](jfunctioneh"]h$]h&]jjjjejjejjjuh1hhhhj[zhNhNubj)}(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)}(hjoh]h Parameters}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMUhjiubj)}(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:146: ./fs/debugfs/file.chMRhjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMRhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMRhjubj)}(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:146: ./fs/debugfs/file.chMShjubj)}(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ܟhMShjݟubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjܟhMShjubj)}(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:146: ./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}(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:146: ./fs/debugfs/file.chMThjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMVhjubj)}(hU``u8 *value`` a pointer to the variable that the file should read to and write from. h](j)}(h ``u8 *value``h]j)}(hjLh]h u8 *value}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMXhjFubj)}(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.}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMWhjbubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhjahMXhjubeh}(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&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMZhjiubh)}(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:146: ./fs/debugfs/file.chMYhjiubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_u16 (C function)c.debugfs_create_u16hNtauh1hhj[zhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMuubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMuubj/)}(hdebugfs_create_u16h]j5)}(hdebugfs_create_u16h]hdebugfs_create_u16}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMuubj)}(hC(const char *name, umode_t mode, struct dentry *parent, u16 *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}(hjIhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj*ubj)}(h h]h }(hjWhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj*ubj*)}(hj-h]h*}(hjehhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj*ubj5)}(hnameh]hname}(hjrhhhNhNubah}(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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.debugfs_create_u16asbuh1hhjubj)}(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}(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_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)}(hparenth]hparent}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjѡubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj&ubj)}(h u16 *valueh](h)}(hhh]j5)}(hu16h]hu16}(hjHhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjJmodnameN classnameNjj)}j]jc.debugfs_create_u16asbuh1hhjAubj)}(h h]h }(hjfhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjAubj*)}(hj-h]h*}(hjthhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjAubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjAubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj&ubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMuubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjhMuubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMuhjhhubjc)}(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:146: ./fs/debugfs/file.chMuhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMuubeh}(h]h ](jfunctioneh"]h$]h&]jjjjâjjâjjjuh1hhhhj[zhNhNubj)}(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)}(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:146: ./fs/debugfs/file.chMyhjǢ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:146: ./fs/debugfs/file.chMvhjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMvhjubj)}(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:146: ./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&]uh1hhj:hMwhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj:hMwhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hj^h]hstruct dentry *parent}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMzhjXubj)}(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 }(hjwhhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubhF, then the file will be created in the root of the debugfs filesystem.}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMxhjtubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1jhjshMzhjubj)}(hV``u16 *value`` a pointer to the variable that the file should read to and write from. h](j)}(h``u16 *value``h]j)}(hjh]h u16 *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./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.}(hjãhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM{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)}(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:146: ./fs/debugfs/file.chM~hjǢ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:146: ./fs/debugfs/file.chM}hjǢubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_u32 (C function)c.debugfs_create_u32hNtauh1hhj[zhhhNhNubh)}(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}(hjOhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjKhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hj^hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjKhhhj]hMubj/)}(hdebugfs_create_u32h]j5)}(hdebugfs_create_u32h]hdebugfs_create_u32}(hjphhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjlubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjKhhhj]hMubj)}(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 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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjrsbc.debugfs_create_u32asbuh1hhjubj)}(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&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](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)}(hdentryh]hdentry}(hjQhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjNubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjSmodnameN classnameNjj)}j]jc.debugfs_create_u32asbuh1hhj/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)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj/ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h u32 *valueh](h)}(hhh]j5)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jc.debugfs_create_u32asbuh1hhjubj)}(h h]h }(hjĥhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjҥhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hvalueh]hvalue}(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)}(hMcreate a debugfs file that is used to read and write an unsigned 32-bit valueh]hMcreate a debugfs file that is used to read and write an unsigned 32-bit value}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjDhhhj]hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj!jj!jjjuh1hhhhj[zhNhNubj)}(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)}(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:146: ./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:146: ./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:146: ./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:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjզhhhNhNubj)}(h``NULL``h]hNULL}(hjݦhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjզubhF, then the file will be created in the root of the debugfs filesystem.}(hjզhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjҦubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjѦhMhjAubj)}(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}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./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:146: ./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:146: ./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:146: ./fs/debugfs/file.chMhj%ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_u64 (C function)c.debugfs_create_u64hNtauh1hhj[zhhhNhNubh)}(hhh](j)}(h[void debugfs_create_u64 (const char *name, umode_t mode, struct dentry *parent, u64 *value)h]j)}(hZvoid debugfs_create_u64(const char *name, umode_t mode, struct dentry *parent, u64 *value)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hdebugfs_create_u64h]j5)}(hdebugfs_create_u64h]hdebugfs_create_u64}(hjΧhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjʧubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(hC(const char *name, umode_t mode, struct dentry *parent, u64 *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)}jjЧsbc.debugfs_create_u64asbuh1hhjCubj)}(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_u64asbuh1hhjubj)}(h h]h }(hjͨhhhNhNubah}(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&]noemphjLjMuh1jhjubj)}(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]jfc.debugfs_create_u64asbuh1hhjubj)}(h h]h }(hj"hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj0hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hvalueh]hvalue}(hj=hhhNhNubah}(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]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}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjdhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[zhNhNubj)}(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&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./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:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjߩubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./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:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hj3hhhNhNubj)}(h``NULL``h]hNULL}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubhF, then the file will be created in the root of the debugfs filesystem.}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj0ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhjubj)}(hV``u64 *value`` a pointer to the variable that the file should read to and write from. h](j)}(h``u64 *value``h]j)}(hjfh]h u64 *value}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj`ubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj|ubah}(h]h ]h"]h$]h&]uh1jhj`ubeh}(h]h ]h"]h$]h&]uh1jhj{hMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubh)}(hThis function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](hdThis function creates a file in debugfs with the given name that contains the value of the variable }(hjhhhNhNubj)}(h **value**h]hvalue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh . If the }(hjhhhNhNubj)}(h**mode**h]hmode}(hjҪhhhNhNubah}(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:146: ./fs/debugfs/file.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!debugfs_create_ulong (C function)c.debugfs_create_ulonghNtauh1hhj[zhhhNhNubh)}(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}(hj hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./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}(hj,hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj(ubah}(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}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjDubj)}(h h]h }(hjUhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubj)}(hcharh]hchar}(hjchhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjDubj)}(h h]h }(hjqhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjDubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjDubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjDubeh}(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_ulongasbuh1hhjubj)}(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&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jīc.debugfs_create_ulongasbuh1hhjubj)}(h h]h }(hj+hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj9hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj@ubj)}(hunsigned long *valueh](j)}(hunsignedh]hunsigned}(hj_hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj[ubj)}(h h]h }(hjmhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj[ubj)}(hlongh]hlong}(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)}(hvalueh]hvalue}(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)}(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.}(hjάhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjˬhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[zhNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``unsigned long *value`` a pointer to the variable that the file should read to and write from. **Description** This function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./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&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./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.}(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:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjHh]h umode_t mode}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjBubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]hMhj^ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhj]hMhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./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 }(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:146: ./fs/debugfs/file.chMhjubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(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)}(hjͭh]hunsigned long *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:146: ./fs/debugfs/file.chMhjǭubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubah}(h]h ]h"]h$]h&]uh1jhjǭubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubh)}(hThis function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](hdThis function creates a file in debugfs with the given name that contains the value of the variable }(hjhhhNhNubj)}(h **value**h]hvalue}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh . If the }(hjhhhNhNubj)}(h**mode**h]hmode}(hj9hhhNhNubah}(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:146: ./fs/debugfs/file.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_x8 (C function)c.debugfs_create_x8hNtauh1hhj[zhhhNhNubh)}(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}(hjrhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjnhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjnhhhjhMubj/)}(hdebugfs_create_x8h]j5)}(hdebugfs_create_x8h]hdebugfs_create_x8}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjnhhhjhMubj)}(hB(const char *name, umode_t mode, struct dentry *parent, u8 *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&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.debugfs_create_x8asbuh1hhjubj)}(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}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjRubj)}(h h]h }(hjchhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRubh)}(hhh]j5)}(hdentryh]hdentry}(hjthhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjqubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjvmodnameN classnameNjj)}j]j+c.debugfs_create_x8asbuh1hhjRubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjRubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjRubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjRubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h u8 *valueh](h)}(hhh]j5)}(hu8h]hu8}(hjɯhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjƯubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj˯modnameN classnameNjj)}j]j+c.debugfs_create_x8asbuh1hhj¯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&]jLjMuh1jhjnhhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjjhhhjhMubah}(h]jeah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjghhubjc)}(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:146: ./fs/debugfs/file.chMhj)hhubah}(h]h ]h"]h$]h&]uh1jbhjghhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjDjjDjjjuh1hhhhj[zhNhNubj)}(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)}(hjNh]h Parameters}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjHubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjmh]hconst char *name}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjgubj)}(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&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubj)}(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:146: ./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&]uh1jhjhMhjdubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hj߰h]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjݰubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./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 }(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:146: ./fs/debugfs/file.chMhjubah}(h]h ]h"]h$]h&]uh1jhjٰubeh}(h]h ]h"]h$]h&]uh1jhjhMhjdubj)}(hT``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:146: ./fs/debugfs/file.chMhj%ubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@hMhjAubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhjdubeh}(h]h ]h"]h$]h&]uh1jhjHubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_x16 (C function)c.debugfs_create_x16hNtauh1hhj[zhhhNhNubh)}(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}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(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}(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)}(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}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNjj)}j]j)}jjsbc.debugfs_create_x16asbuh1hhjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j=c.debugfs_create_x16asbuh1hhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjdubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubeh}(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_x16asbuh1hhjԲ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&]jLjMuh1jhjhhhjhM(ubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj|hhhjhM(ubah}(h]jwah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhM(hjyhhubjc)}(hhh]h)}(hMcreate a debugfs file that is used to read and write an unsigned 16-bit valueh]hMcreate a debugfs file that is used to read and write an unsigned 16-bit value}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM(hj;hhubah}(h]h ]h"]h$]h&]uh1jbhjyhhhjhM(ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjVjjVjjjuh1hhhhj[zhNhNubj)}(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)}(hj`h]h Parameters}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj^ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM,hjZubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM)hjyubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM)hjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjhM)hjvubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM*hjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjѳhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjͳhM*hjγubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjͳhM*hjvubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM-hjubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hj hhhNhNubj)}(h``NULL``h]hNULL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhF, then the file will be created in the root of the debugfs filesystem.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM+hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM-hjvubj)}(hU``u16 *value`` a pointer to the variable that the file should read to and write from.h](j)}(h``u16 *value``h]j)}(hj=h]h u16 *value}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM.hj7ubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjRhM.hjSubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjRhM.hjvubeh}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_x32 (C function)c.debugfs_create_x32hNtauh1hhj[zhhhNhNubh)}(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:146: ./fs/debugfs/file.chM:ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM:ubj/)}(hdebugfs_create_x32h]j5)}(hdebugfs_create_x32h]hdebugfs_create_x32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM:ubj)}(hC(const char *name, umode_t mode, struct dentry *parent, u32 *value)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}(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)}(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}(hj3hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj0ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj5modnameN classnameNjj)}j]j)}jjsbc.debugfs_create_x32asbuh1hhj,ubj)}(h h]h }(hjShhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj,ubj5)}(hmodeh]hmode}(hjahhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj,ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj˴ubj)}(hstruct dentry *parenth](j )}(hjzh]hstruct}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jOc.debugfs_create_x32asbuh1hhjvubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjvubj*)}(hj-h]h*}(hjĵhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjvubj5)}(hparenth]hparent}(hjѵhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjvubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj˴ubj)}(h u32 *valueh](h)}(hhh]j5)}(hu32h]hu32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jOc.debugfs_create_x32asbuh1hhjubj)}(h h]h }(hj hhhNhNubah}(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&]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 32-bit valueh]hMcreate a debugfs file that is used to read and write an unsigned 32-bit value}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM:hjMhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM:ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjhjjhjjjuh1hhhhj[zhNhNubj)}(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)}(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:146: ./fs/debugfs/file.chM>hjlubj)}(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:146: ./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:146: ./fs/debugfs/file.chM<hjĶ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߶hM<hjubah}(h]h ]h"]h$]h&]uh1jhjĶubeh}(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 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:146: ./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}(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:146: ./fs/debugfs/file.chM=hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM?hjubj)}(hU``u32 *value`` a pointer to the variable that the file should read to and write from.h](j)}(h``u32 *value``h]j)}(hjOh]h u32 *value}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM@hjIubj)}(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&]uh1hhjdhM@hjeubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjdhM@hjubeh}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_x64 (C function)c.debugfs_create_x64hNtauh1hhj[zhhhNhNubh)}(hhh](j)}(h[void debugfs_create_x64 (const char *name, umode_t mode, struct dentry *parent, u64 *value)h]j)}(hZvoid debugfs_create_x64(const char *name, umode_t mode, struct dentry *parent, u64 *value)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMLubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMLubj/)}(hdebugfs_create_x64h]j5)}(hdebugfs_create_x64h]hdebugfs_create_x64}(hjɷhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjŷubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMLubj)}(hC(const char *name, umode_t mode, struct dentry *parent, u64 *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}(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}(hjEhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjBubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjGmodnameN classnameNjj)}j]j)}jj˷sbc.debugfs_create_x64asbuh1hhj>ubj)}(h h]h }(hjehhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj>ubj5)}(hmodeh]hmode}(hjshhhNhNubah}(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]jac.debugfs_create_x64asbuh1hhjubj)}(h h]h }(hjȸhhhNhNubah}(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)}(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]jac.debugfs_create_x64asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj+hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hvalueh]hvalue}(hj8hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(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)}(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}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMLhj_hhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMLubeh}(h]h ](jfunctioneh"]h$]h&]jjjjzjjzjjjuh1hhhhj[zhNhNubj)}(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)}(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:146: ./fs/debugfs/file.chMPhj~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:146: ./fs/debugfs/file.chMMhjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMMhjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(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:146: ./fs/debugfs/file.chMNhjֹ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&]uh1hhjhMNhjubah}(h]h ]h"]h$]h&]uh1jhjֹubeh}(h]h ]h"]h$]h&]uh1jhjhMNhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./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 }(hj.hhhNhNubj)}(h``NULL``h]hNULL}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubhF, then the file will be created in the root of the debugfs filesystem.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMOhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj*hMQhjubj)}(hU``u64 *value`` a pointer to the variable that the file should read to and write from.h](j)}(h``u64 *value``h]j)}(hjah]h u64 *value}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMRhj[ubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjvhMRhjwubah}(h]h ]h"]h$]h&]uh1jhj[ubeh}(h]h ]h"]h$]h&]uh1jhjvhMRhjubeh}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h"debugfs_create_size_t (C function)c.debugfs_create_size_thNtauh1hhj[zhhhNhNubh)}(hhh](j)}(havoid debugfs_create_size_t (const char *name, umode_t mode, struct dentry *parent, size_t *value)h]j)}(h`void debugfs_create_size_t(const char *name, umode_t mode, struct dentry *parent, size_t *value)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMnubj)}(h h]h }(hjɺhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjȺhMnubj/)}(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.hjhhhjȺhMnubj)}(hF(const char *name, umode_t mode, struct dentry *parent, size_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 }(hj hhhNhNubah}(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}(hjWhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjTubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjYmodnameN classnameNjj)}j]j)}jjݺsbc.debugfs_create_size_tasbuh1hhjPubj)}(h h]h }(hjwhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjPubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjPubeh}(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]jsc.debugfs_create_size_tasbuh1hhjubj)}(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&]noemphjLjMuh1jhjubj)}(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]jsc.debugfs_create_size_tasbuh1hhj 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)}(hvalueh]hvalue}(hjJhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjȺhMnubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjhhhjȺhMnubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjȺhMnhjhhubjc)}(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}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMnhjqhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjȺhMnubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[zhNhNubj)}(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:146: ./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)}(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:146: ./fs/debugfs/file.chMohjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjμhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjʼhMohj˼ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjʼhMohjubj)}(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:146: ./fs/debugfs/file.chMphjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMphjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMphjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hj'h]hstruct dentry *parent}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMshj!ubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hj@hhhNhNubj)}(h``NULL``h]hNULL}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubhF, then the file will be created in the root of the debugfs filesystem.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMqhj=ubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1jhj<hMshjubj)}(hX``size_t *value`` a pointer to the variable that the file should read to and write from.h](j)}(h``size_t *value``h]j)}(hjsh]h size_t *value}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMthjmubj)}(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&]uh1hhjhMthjubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1jhjhMthjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$debugfs_create_atomic_t (C function)c.debugfs_create_atomic_thNtauh1hhj[zhhhNhNubh)}(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}(hj̽hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjȽhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hj۽hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjȽhhhjڽhMubj/)}(hdebugfs_create_atomic_th]j5)}(hdebugfs_create_atomic_th]hdebugfs_create_atomic_t}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjȽhhhjڽhMubj)}(hH(const char *name, umode_t mode, struct dentry *parent, atomic_t *value)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)}jjsbc.debugfs_create_atomic_tasbuh1hhjbubj)}(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]jc.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)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hatomic_t *valueh](h)}(hhh]j5)}(hatomic_th]hatomic_t}(hj#hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj%modnameN classnameNjj)}j]jc.debugfs_create_atomic_tasbuh1hhjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjOhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hvalueh]hvalue}(hj\hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(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ڽhMhjhhubjc)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjڽhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[zhNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``atomic_t *value`` a pointer to the variable that the file should read to and write from.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./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:146: ./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&]uh1hhjܿhMhjݿubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjܿhMhjubj)}(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:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hj9h]hstruct dentry *parent}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj3ubj)}(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 }(hjRhhhNhNubj)}(h``NULL``h]hNULL}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubhF, then the file will be created in the root of the debugfs filesystem.}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjOubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1jhjNhMhjubj)}(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)}(hjh]hatomic_t *value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./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&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h debugfs_create_bool (C function)c.debugfs_create_boolhNtauh1hhj[zhhhNhNubh)}(hhh](j)}(h]void debugfs_create_bool (const char *name, umode_t mode, struct dentry *parent, bool *value)h]j)}(h\void debugfs_create_bool(const char *name, umode_t mode, struct dentry *parent, bool *value)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hdebugfs_create_boolh]j5)}(hdebugfs_create_boolh]hdebugfs_create_bool}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(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 }(hj(hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj)}(hcharh]hchar}(hj6hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjubj)}(h h]h }(hjDhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjRhhhNhNubah}(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}(hj{hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj}modnameN classnameNjj)}j]j)}jjsbc.debugfs_create_boolasbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubeh}(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]jc.debugfs_create_boolasbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(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&]noemphjLjMuh1jhjubj)}(h bool *valueh](j)}(hjh]hbool}(hj2hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj.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)}(hvalueh]hvalue}(hjZhhhNhNubah}(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)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[zhNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``bool *value`` a pointer to the variable that the file should read to and write from. **Description** This function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./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:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hj7h]hstruct dentry *parent}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj1ubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjPhhhNhNubj)}(h``NULL``h]hNULL}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubhF, then the file will be created in the root of the debugfs filesystem.}(hjPhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjMubah}(h]h ]h"]h$]h&]uh1jhj1ubeh}(h]h ]h"]h$]h&]uh1jhjLhMhjubj)}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj}ubj)}(hhh]h)}(hFa pointer to the variable that the file should read to and write from.h]hFa pointer to the variable that the file should read to and write from.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubh)}(hThis function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](hdThis function creates a file in debugfs with the given name that contains the value of the variable }(hjhhhNhNubj)}(h **value**h]hvalue}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh . If the }(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh9 variable is so set, it can be read from, and written to.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](hdebugfs_create_str (C function)c.debugfs_create_strhNtauh1hhj[zhhhNhNubh)}(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}(hj(hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj$hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMcubj)}(h h]h }(hj7hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$hhhj6hMcubj/)}(hdebugfs_create_strh]j5)}(hdebugfs_create_strh]hdebugfs_create_str}(hjIhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjEubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj$hhhj6hMcubj)}(hE(const char *name, umode_t mode, struct dentry *parent, char **value)h](j)}(hconst char *nameh](j )}(hjUh]hconst}(hjehhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjaubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubj)}(hcharh]hchar}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjaubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjaubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjaubj5)}(hnameh]hname}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjaubeh}(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)}jjKsbc.debugfs_create_strasbuh1hhjubj)}(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}(hj hhhNhNubah}(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]jc.debugfs_create_strasbuh1hhjubj)}(h h]h }(hjHhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjVhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjchhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj]ubj)}(h char **valueh](j)}(hcharh]hchar}(hj|hhhNhNubah}(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)hjxubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjxubj5)}(hvalueh]hvalue}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjxubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj]ubeh}(h]h ]h"]h$]h&]jLjMuh1jhj$hhhj6hMcubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj hhhj6hMcubah}(h]jah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj6hMchjhhubjc)}(hhh]h)}(hCcreate a debugfs file that is used to read and write a string valueh]hCcreate a debugfs file that is used to read and write a string value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMchjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhj6hMcubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[zhNhNubj)}(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:146: ./fs/debugfs/file.chMghjubj)}(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:146: ./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.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2hMdhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj2hMdhjubj)}(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&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMehjPubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkhMehjlubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjkhMehjubj)}(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:146: ./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 }(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:146: ./fs/debugfs/file.chMfhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhhjubj)}(hX``char **value`` a pointer to the variable that the file should read to and write from. h](j)}(h``char **value``h]j)}(hjh]h char **value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMjhjubj)}(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:146: ./fs/debugfs/file.chMihjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMjhjubeh}(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:146: ./fs/debugfs/file.chMlhjubh)}(hThis function creates a file in debugfs with the given name that contains the value of the variable **value**. If the **mode** variable is so set, it can be read from, and written to.h](hdThis function creates a file in debugfs with the given name that contains the value of the variable }(hj-hhhNhNubj)}(h **value**h]hvalue}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh . If the }(hj-hhhNhNubj)}(h**mode**h]hmode}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh9 variable is so set, it can be read from, and written to.}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMkhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h debugfs_create_blob (C function)c.debugfs_create_blobhNtauh1hhj[zhhhNhNubh)}(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 hj|hhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|hhhjhMubh)}(hhh]j5)}(hdentryh]hdentry}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j)}jdebugfs_create_blobsbc.debugfs_create_blobasbuh1hhj|hhhjhMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj|hhhjhMubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj|hhhjhMubj/)}(hdebugfs_create_blobh]j5)}(hjh]hdebugfs_create_blob}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hj|hhhjhMubj)}(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 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*}(hj1hhhNhNubah}(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}(hjZhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjWubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj\modnameN classnameNjj)}j]jc.debugfs_create_blobasbuh1hhjSubj)}(h h]h }(hjxhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjSubj5)}(hmodeh]hmode}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjSubeh}(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]jc.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)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h!struct debugfs_blob_wrapper *blobh](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)}(hdebugfs_blob_wrapperh]hdebugfs_blob_wrapper}(hj-hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj*ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj/modnameN classnameNjj)}j]jc.debugfs_create_blobasbuh1hhj 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)}(hblobh]hblob}(hjfhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhj|hhhjhMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjxhhhjhMubah}(h]jsah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMhjuhhubjc)}(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:146: ./fs/debugfs/file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjuhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[zhNhNubj)}(hXa**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``struct debugfs_blob_wrapper *blob`` a pointer to a struct debugfs_blob_wrapper which contains a pointer to the blob data and the size of the data. **Description** This function creates a file in debugfs with the given name that exports **blob->data** as a binary blob. If the **mode** variable is so set it can be read from and written to. This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the file is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned. If debugfs is not enabled in the kernel, the value ERR_PTR(-ENODEV) will be returned.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./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:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h:``umode_t mode`` the permission that the file should have h](j)}(h``umode_t mode``h]j)}(hj h]h umode_t mode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjCh]hstruct dentry *parent}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj=ubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hj\hhhNhNubj)}(h``NULL``h]hNULL}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\ubhF, then the file will be created in the root of the debugfs filesystem.}(hj\hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjYubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjubj)}(h``struct debugfs_blob_wrapper *blob`` a pointer to a struct debugfs_blob_wrapper which contains a pointer to the blob data and the size of the data. h](j)}(h%``struct debugfs_blob_wrapper *blob``h]j)}(hjh]h!struct debugfs_blob_wrapper *blob}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(hna pointer to a struct debugfs_blob_wrapper which contains a pointer to the blob data and the size of the data.h]hna pointer to a struct debugfs_blob_wrapper which contains a pointer to the blob data and the size of the data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubh)}(hThis function creates a file in debugfs with the given name that exports **blob->data** as a binary blob. If the **mode** variable is so set it can be read from and written to.h](hIThis function creates a file in debugfs with the given name that exports }(hjhhhNhNubj)}(h**blob->data**h]h blob->data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh as a binary blob. If the }(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh7 variable is so set it can be read from and written to.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubh)}(hX(This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the file is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned.h]hX(This function will return a pointer to a dentry if it succeeds. This pointer must be passed to the debugfs_remove() function when the file is to be removed (no automatic cleanup happens if your module is unloaded, you are responsible here.) If an error occurs, ERR_PTR(-ERROR) will be returned.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubh)}(hUIf debugfs is not enabled in the kernel, the value ERR_PTR(-ENODEV) will be returned.h]hUIf debugfs is not enabled in the kernel, the value ERR_PTR(-ENODEV) will be returned.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h%debugfs_create_u32_array (C function)c.debugfs_create_u32_arrayhNtauh1hhj[zhhhNhNubh)}(hhh](j)}(hvvoid debugfs_create_u32_array (const char *name, umode_t mode, struct dentry *parent, struct debugfs_u32_array *array)h]j)}(huvoid debugfs_create_u32_array(const char *name, umode_t mode, struct dentry *parent, struct debugfs_u32_array *array)h](j)}(hvoidh]hvoid}(hjRhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjNhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hjahhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjNhhhj`hMubj/)}(hdebugfs_create_u32_arrayh]j5)}(hdebugfs_create_u32_arrayh]hdebugfs_create_u32_array}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjoubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjNhhhj`hMubj)}(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 }(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&]uFh1jhjubj*)}(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)}jjusbc.debugfs_create_u32_arrayasbuh1hhjubj)}(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}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj2ubj)}(h h]h }(hjChhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubh)}(hhh]j5)}(hdentryh]hdentry}(hjThhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjQubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjVmodnameN classnameNjj)}j]j c.debugfs_create_u32_arrayasbuh1hhj2ubj)}(h h]h }(hjrhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj2ubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj2ubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj2ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct debugfs_u32_array *arrayh](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_u32_arrayh]hdebugfs_u32_array}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j c.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)}(harrayh]harray}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjNhhhj`hMubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhjJhhhj`hMubah}(h]jEah ](jZj[eh"]h$]h&]j_j`)jahuh1hhj`hMhjGhhubjc)}(hhh]h)}(h5create a debugfs file that is used to read u32 array.h]h5create a debugfs file that is used to read u32 array.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj$hhubah}(h]h ]h"]h$]h&]uh1jbhjGhhhj`hMubeh}(h]h ](jfunctioneh"]h$]h&]jjjj?jj?jjjuh1hhhhj[zhNhNubj)}(hX**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have. ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``struct debugfs_u32_array *array`` wrapper struct containing data pointer and size of the array. **Description** This function creates a file in debugfs with the given name that exports **array** as data. If the **mode** variable is so set it can be read from. Writing is not supported. Seek within the file is also not supported. Once array is created its size can not be changed.h](h)}(h**Parameters**h]j)}(hjIh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjCubj)}(hhh](j)}(hV``const char *name`` a pointer to a string containing the name of the file to create. h](j)}(h``const char *name``h]j)}(hjhh]hconst char *name}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjbubj)}(hhh]h)}(h@a pointer to a string containing the name of the file to create.h]h@a pointer to a string containing the name of the file to create.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}hMhj~ubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhj}hMhj_ubj)}(h;``umode_t mode`` the permission that the file should have. h](j)}(h``umode_t mode``h]j)}(hjh]h umode_t mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h)the permission that the file should have.h]h)the permission that the file should have.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj_ubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjh]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./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:146: ./fs/debugfs/file.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhj_ubj)}(hb``struct debugfs_u32_array *array`` wrapper struct containing data pointer and size of the array. h](j)}(h#``struct debugfs_u32_array *array``h]j)}(hj&h]hstruct debugfs_u32_array *array}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhj ubj)}(hhh]h)}(h=wrapper struct containing data pointer and size of the array.h]h=wrapper struct containing data pointer and size of the array.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;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)}(hjah]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM hjCubh)}(hX This function creates a file in debugfs with the given name that exports **array** as data. If the **mode** variable is so set it can be read from. Writing is not supported. Seek within the file is also not supported. Once array is created its size can not be changed.h](hIThis function creates a file in debugfs with the given name that exports }(hjwhhhNhNubj)}(h **array**h]harray}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh as data. If the }(hjwhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjwubh variable is so set it can be read from. Writing is not supported. Seek within the file is also not supported. Once array is created its size can not be changed.}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjCubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h!debugfs_print_regs32 (C function)c.debugfs_print_regs32hNtauh1hhj[zhhhNhNubh)}(hhh](j)}(h}void debugfs_print_regs32 (struct seq_file *s, const struct debugfs_reg32 *regs, int nregs, void __iomem *base, char *prefix)h]j)}(h|void debugfs_print_regs32(struct seq_file *s, const struct debugfs_reg32 *regs, int nregs, void __iomem *base, char *prefix)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhMubj/)}(hdebugfs_print_regs32h]j5)}(hdebugfs_print_regs32h]hdebugfs_print_regs32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhMubj)}(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}(hj%hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj"ubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj'modnameN classnameNjj)}j]j)}jjsbc.debugfs_print_regs32asbuh1hhjubj)}(h h]h }(hjEhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjShhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hj.h]hs}(hj`hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h const struct debugfs_reg32 *regsh](j )}(hjUh]hconst}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubh)}(hhh]j5)}(h debugfs_reg32h]h debugfs_reg32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jAc.debugfs_print_regs32asbuh1hhjtubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjtubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjtubj5)}(hregsh]hregs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjtubeh}(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}(hj8hhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhj4ubj)}(h h]h }(hjFhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubh__iomem}(hj4hhhNhNubj)}(h h]h }(hjXhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj4ubj*)}(hj-h]h*}(hjfhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hj4ubj5)}(hbaseh]hbase}(hjshhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj4ubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(h char *prefixh](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)}(hprefixh]hprefix}(hjhhhNhNubah}(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]h)}(h,use seq_print to describe a set of registersh]h,use seq_print to describe a set of registers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhMubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[zhNhNubj)}(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:146: ./fs/debugfs/file.chM#hjubj)}(hhh](j)}(hL``struct seq_file *s`` the seq_file structure being used to generate output h](j)}(h``struct seq_file *s``h]j)}(hj h]hstruct seq_file *s}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM hjubj)}(hhh]h)}(h4the seq_file structure being used to generate outputh]h4the seq_file structure being used to generate output}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5hM hj6ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj5hM hjubj)}(hQ``const struct debugfs_reg32 *regs`` an array if struct debugfs_reg32 structures h](j)}(h$``const struct debugfs_reg32 *regs``h]j)}(hjYh]h const struct debugfs_reg32 *regs}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM!hjSubj)}(hhh]h)}(h+an array if struct debugfs_reg32 structuresh]h+an array if struct debugfs_reg32 structures}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhM!hjoubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1jhjnhM!hjubj)}(h,``int nregs`` the length of the above array h](j)}(h ``int nregs``h]j)}(hjh]h int nregs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM"hjubj)}(hhh]h)}(hthe length of the above arrayh]hthe length of the above array}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM"hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM"hjubj)}(hL``void __iomem *base`` the base address to be used in reading the registers h](j)}(h``void __iomem *base``h]j)}(hjh]hvoid __iomem *base}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM#hjubj)}(hhh]h)}(h4the base address to be used in reading the registersh]h4the base address to be used in reading the registers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM#hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM#hjubj)}(h>``char *prefix`` a string to be prefixed to every output line h](j)}(h``char *prefix``h]j)}(hjh]h char *prefix}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM$hjubj)}(hhh]h)}(h,a string to be prefixed to every output lineh]h,a string to be prefixed to every output line}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM$hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM$hjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hj?h]h Description}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM&hjubh)}(hXThis function outputs a text block describing the current values of some 32-bit hardware registers. It is meant to be used within debugfs files based on seq_file that need to show registers, intermixed with other information. The prefix argument may be used to specify a leading string, because some peripherals have several blocks of identical registers, for example configuration of dma channelsh]hXThis function outputs a text block describing the current values of some 32-bit hardware registers. It is meant to be used within debugfs files based on seq_file that need to show registers, intermixed with other information. The prefix argument may be used to specify a leading string, because some peripherals have several blocks of identical registers, for example configuration of dma channels}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM%hjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h$debugfs_create_regset32 (C function)c.debugfs_create_regset32hNtauh1hhj[zhhhNhNubh)}(hhh](j)}(huvoid debugfs_create_regset32 (const char *name, umode_t mode, struct dentry *parent, struct debugfs_regset32 *regset)h]j)}(htvoid debugfs_create_regset32(const char *name, umode_t mode, struct dentry *parent, struct debugfs_regset32 *regset)h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(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}(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}(hj!hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetj#modnameN classnameNjj)}j]j)}jjsbc.debugfs_create_regset32asbuh1hhjubj)}(h h]h }(hjAhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj5)}(hmodeh]hmode}(hjOhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct dentry *parenth](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}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j=c.debugfs_create_regset32asbuh1hhjdubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjdubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjdubj5)}(hparenth]hparent}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjdubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubj)}(hstruct debugfs_regset32 *regseth](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_regset32h]hdebugfs_regset32}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]j=c.debugfs_create_regset32asbuh1hhjubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hj"hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hregseth]hregset}(hj/hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhjubeh}(h]h ]h"]h$]h&]jLjMuh1jhjhhhjhMOubeh}(h]h ]h"]h$]h&]jLjMjTuh1jjUjVhj|hhhjhMOubah}(h]jwah ](jZj[eh"]h$]h&]j_j`)jahuh1hhjhMOhjyhhubjc)}(hhh]h)}(h2create a debugfs file that returns register valuesh]h2create a debugfs file that returns register values}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMOhjVhhubah}(h]h ]h"]h$]h&]uh1jbhjyhhhjhMOubeh}(h]h ](jfunctioneh"]h$]h&]jjjjqjjqjjjuh1hhhhj[zhNhNubj)}(hX@**Parameters** ``const char *name`` a pointer to a string containing the name of the file to create. ``umode_t mode`` the permission that the file should have ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``struct debugfs_regset32 *regset`` a pointer to a struct debugfs_regset32, which contains a pointer to an array of register definitions, the array size and the base address where the register bank is to be found. **Description** This function creates a file in debugfs with the given name that reports the names and values of a set of 32-bit registers. If the **mode** variable is so set it can be read from. Writing is not supported.h](h)}(h**Parameters**h]j)}(hj{h]h Parameters}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjyubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMShjuubj)}(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:146: ./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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMPhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMPhjubj)}(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:146: ./fs/debugfs/file.chMQhjubj)}(hhh]h)}(h(the permission that the file should haveh]h(the permission that the file should have}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMQhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hj h]hstruct dentry *parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./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 }(hj%hhhNhNubj)}(h``NULL``h]hNULL}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubhF, then the file will be created in the root of the debugfs filesystem.}(hj%hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMRhj"ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj!hMThjubj)}(h``struct debugfs_regset32 *regset`` a pointer to a struct debugfs_regset32, which contains a pointer to an array of register definitions, the array size and the base address where the register bank is to be found. h](j)}(h#``struct debugfs_regset32 *regset``h]j)}(hjXh]hstruct debugfs_regset32 *regset}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMWhjRubj)}(hhh]h)}(ha pointer to a struct debugfs_regset32, which contains a pointer to an array of register definitions, the array size and the base address where the register bank is to be found.h]ha pointer to a struct debugfs_regset32, which contains a pointer to an array of register definitions, the array size and the base address where the register bank is to be found.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMUhjnubah}(h]h ]h"]h$]h&]uh1jhjRubeh}(h]h ]h"]h$]h&]uh1jhjmhMWhjubeh}(h]h ]h"]h$]h&]uh1jhjuubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMYhjuubh)}(hThis function creates a file in debugfs with the given name that reports the names and values of a set of 32-bit registers. If the **mode** variable is so set it can be read from. Writing is not supported.h](hThis function creates a file in debugfs with the given name that reports the names and values of a set of 32-bit registers. If the }(hjhhhNhNubj)}(h**mode**h]hmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB variable is so set it can be read from. Writing is not supported.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMXhjuubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubh)}(hhh]h}(h]h ]h"]h$]h&]entries](h(debugfs_create_devm_seqfile (C function)c.debugfs_create_devm_seqfilehNtauh1hhj[zhhhNhNubh)}(hhh](j)}(hvoid debugfs_create_devm_seqfile (struct device *dev, const char *name, struct dentry *parent, int (*read_fn)(struct seq_file *s, void *data))h]j)}(hvoid debugfs_create_devm_seqfile(struct device *dev, const char *name, struct dentry *parent, int (*read_fn)(struct seq_file *s, void *data))h](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjhhhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM|ubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjhhhjhM|ubj/)}(hdebugfs_create_devm_seqfileh]j5)}(hdebugfs_create_devm_seqfileh]hdebugfs_create_devm_seqfile}(hj hhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ](jGjHeh"]h$]h&]jLjMuh1j.hjhhhjhM|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}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1j hj$ubj)}(h h]h }(hj5hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhj$ubh)}(hhh]j5)}(hdeviceh]hdevice}(hjFhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjCubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjHmodnameN classnameNjj)}j]j)}jjsbc.debugfs_create_devm_seqfileasbuh1hhj$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)}(hdevh]hdev}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hj$ubeh}(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}(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&]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]jbc.debugfs_create_devm_seqfileasbuh1hhjubj)}(h h]h }(hj3hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjubj*)}(hj-h]h*}(hjAhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjubj5)}(hparenth]hparent}(hjNhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubeh}(h]h ]h"]h$]h&]noemphjLjMuh1jhj ubj)}(h.int (*read_fn)(struct seq_file *s, void *data)h](j)}(hinth]hint}(hjghhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjcubj)}(h h]h }(hjuhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj*)}(hjh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj5)}(hread_fnh]hread_fn}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubj*)}(hjh]h)}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj*)}(hjh]h(}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj )}(hjzh]hstruct}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1j hjcubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubh)}(hhh]j5)}(hseq_fileh]hseq_file}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjubah}(h]h ]h"]h$]h&] refdomainjreftypej reftargetjmodnameN classnameNjj)}j]jbc.debugfs_create_devm_seqfileasbuh1hhjcubj)}(h h]h }(hjhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj*)}(hj-h]h*}(hjhhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj5)}(hj.h]hs}(hjhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubj*)}(hjh]h,}(hj)hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj)}(h h]h }(hj6hhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj)}(hvoidh]hvoid}(hjDhhhNhNubah}(h]h ]j ah"]h$]h&]uh1jhjcubj)}(h h]h }(hjRhhhNhNubah}(h]h ]j*ah"]h$]h&]uh1jhjcubj*)}(hj-h]h*}(hj`hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubj5)}(hdatah]hdata}(hjmhhhNhNubah}(h]h ]j@ah"]h$]h&]uh1j4hjcubj*)}(hjh]h)}(hj{hhhNhNubah}(h]h ]j6ah"]h$]h&]uh1j)hjcubeh}(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.create a debugfs file that is bound to device.h]h.create a debugfs file that is bound to device.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM|hjhhubah}(h]h ]h"]h$]h&]uh1jbhjhhhjhM|ubeh}(h]h ](jfunctioneh"]h$]h&]jjjjjjjjjuh1hhhhj[zhNhNubj)}(hX**Parameters** ``struct device *dev`` device related to this debugfs file. ``const char *name`` name of the debugfs file. ``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. ``int (*read_fn)(struct seq_file *s, void *data)`` function pointer called to print the seq_file content.h](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubj)}(hhh](j)}(h<``struct device *dev`` device related to this debugfs file. h](j)}(h``struct device *dev``h]j)}(hjh]hstruct device *dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chM~hjubj)}(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&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhM~hjubj)}(h/``const char *name`` name of the debugfs file. h](j)}(h``const char *name``h]j)}(hjh]hconst char *name}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(hname of the debugfs file.h]hname of the debugfs file.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hMhj4ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj3hMhjubj)}(h``struct dentry *parent`` a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem. h](j)}(h``struct dentry *parent``h]j)}(hjWh]hstruct dentry *parent}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjQubj)}(hhh]h)}(ha pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is ``NULL``, then the file will be created in the root of the debugfs filesystem.h](hoa pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is }(hjphhhNhNubj)}(h``NULL``h]hNULL}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubhF, then the file will be created in the root of the debugfs filesystem.}(hjphhhNhNubeh}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjmubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjlhMhjubj)}(hi``int (*read_fn)(struct seq_file *s, void *data)`` function pointer called to print the seq_file content.h](j)}(h2``int (*read_fn)(struct seq_file *s, void *data)``h]j)}(hjh]h.int (*read_fn)(struct seq_file *s, void *data)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubj)}(hhh]h)}(h6function pointer called to print the seq_file content.h]h6function pointer called to print the seq_file content.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhZ/var/lib/git/docbuild/linux/Documentation/filesystems/api-summary:146: ./fs/debugfs/file.chMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj[zhhhNhNubeh}(h]debugfs-interfaceah ]h"]debugfs interfaceah$]h&]uh1hhjJzhhhhhKubeh}(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}(jjjjjDjCj|j|jijfjVjSjFEjCEjjj+j+j)j)j+j+j8j8jEjEjGzjDzjjjju nametypes}(jjjDj|jijVjFEjj+j)j+j8jEjGzjjuh}(jhjhjChhjjkjpjjjz j jtjyjjjBjGjbjgjjjj j;"j@"j$j$j&j&jK)jP)j,j$,j-j-jU/jZ/j1j1jO3jT3jG5jL5j6j6jI8jN8j9j9jK;jP;j%=j*=ji>jn>j?j?jkAjpAj|jDj Dj%DjEjEjGjGjgIjlIjJjJjLjLjMjMjqPjvPjRjRjTjTjVjVjZj Zj(]j-]j_j`j}ajajbjcj:ej?ejgjgjjj jjkjkjmjmjojojCqjHqjrjsjtjtjvjvjxjxjzjzjfj|j|j|jjj(j-jjjjj5j:jjjjj1j6jjjxj}jjj#j(j'j,j͙jҙjpjujjĤj&j+jTjYj@jEjjjjjjj0j5jjjjjj jbjgjojtjmjrjjjjj{jjJjOjjjjjGjLjjj"j'jjjgjljjjjjfjkjjjSjljjj#j(jjjYj^jjjwj|jRjWjjj9j>jjj4j9j j j~ j j5j:jCEjYjvj{jjjojtjQjVjfjkjjj!j!j%j%jA'jF'j)j)j:-j?-jd/ji/j1j 1j23j73j 6j%6j8j8j-;j2;j=j>j'@j,@jCjCjjIEjfEjkEjKHjPHjKj Kj9Nj>Nj(Qj-QjRjRj`TjeTjUjUjWZj\Zj$^j)^j`j`j-cj2cjJfjOfjgijlijljljojojrjrjujuj?yjDyj|j|jjjjj]jbjj jjjjjjjjjjjȝj͝jj$jjjjjPjUj/j4jjjjj\jajjjWj\jyj~jjjjjAjFjjjj$jjjjj(j-jjjNjSjjj jjjjjjxj}jZj_jjjBjGjj$jjj8j=jijnjjj. j3 jb jg jMjRj'j,jjjjjXj]jj$j\jaj!j!j^$jc$j&j&j(j(j+j+j.j.j1j1j3j3j^5jc5j7j7j{9j9jX<j]<j>j>j+Aj0AjHCjMCjeEjjEjFjFjHjHjJjJjPNjUNj'Rj,RjVjVjYjYjE\jJ\j^j^jajajFdjKdjgjgjvkj{kj&nj+njqjqjtjtjwjwjzjzj?~jD~j0j5j7j<j>jCj3j8jfjkjʕjϕj.j3jj$jjjâjȢjjjjjjj׮jܮjpjujjj jjjj]jbjּjۼj׿jܿjjjj jjjjjjjjj\jajjjjjj j+j0j>jCj%j*j jjNjSjjj|jjjj|jjjj~jjjjjjojtjjjjjjj+jj)jjjj j jYj^jjjjjjjojtj<"jA"j &j&j+j)j)j)j8j+j,j,j.j .j/j/j2j2j4j5j6j6jEj8j8j8js:jx:j}<j<j=j=j,Aj1Aj^CjcCjDzjEj FjFjHjHjsKjxKjNjNjPjPj8Rj=RjUjUjWWj\Wj ZjZj+\j0\jJ^jO^jajajdjdjgjgjijjjoj ojqjqjhtjmtjYvj^vjjJzjj[zjxzj}zj|j}j0j5jjj6j;jjjjj>jCjUjZjjjjjjjjj[j`jjjjjBjGjjjjjejjjwj|jjjjjjjjĽjjjj jsjxjEjJjjjwj|jju footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]transform_messages] transformerN include_log] decorationNhhub.